[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] placeholders in latex
From: |
Slappinjohn |
Subject: |
Re: [Gnumed-devel] placeholders in latex |
Date: |
Thu, 02 Feb 2012 11:34:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Iceowl/1.0b2 Icedove/3.1.16 |
Done. Applications were set, sensible-editor is vim, but none of these
is actually working.
After selecting episode and items gtklp shows up.
Marc
Am 01.02.2012 23:23, schrieb Karsten Hilbert:
> On Wed, Feb 01, 2012 at 10:46:56PM +0100, Slappinjohn wrote:
>
>> I was using openoffice/libreoffice for writing reports to collegues. The
>> main content was the SOAP-stuff but with some changes (like using better
>> language than you would normally use for your own notes).
> Nice to see GNUmed in actual use :-)
>
>> So openoffice seems not to be working in near future,
> I know :-(
>
>> I thought of completely converting this stuff to latex like
>> my billing-templates. But I have to review the entries in
>> SOAP before PDF-creation.
> Ah, I see. Well, paperwork is created like this:
>
> - export template
> - create instance
> - call instance.substitute_placeholders()
> - call instance.edit()
> - call instance.generate_output()
> - pass the output to the printing engine
>
> See the .edit() step ? This step is intended to allow just
> that: editing the substituted instance before actually
> generating the final output (PDF, mostly).
>
> In the case of LaTeX forms the .edit() step does this:
>
> - check the operating system configuration for the
> editor for one of the following mime types:
> u'application/x-latex'
> u'application/x-tex'
> u'text/plain'
> - run the command found
> - if none found then run "sensible-editor" (which will
> only work on Debian, of course ;-)
>
> In other words: configure your OS to have an editor for .tex
> files and GNUmed should automagically do something like what
> you want ;-)
>
> Karsten