gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Testing placeholders including free_text and tex_esca


From: Busser, Jim
Subject: Re: [Gnumed-devel] Testing placeholders including free_text and tex_escape
Date: Mon, 2 Feb 2015 20:25:59 +0000

On 2015-02-02, at 11:08 AM, Karsten Hilbert <address@hidden> wrote:

>> however the news that for me to utilize "tex\\" was obsolete leaves me 
>> uncertain what I need to do to achieve my intention.
> 
> The "tex\\" is obsolete because GNUmed now already knows the
> target language (courtesy of the template)

(courtesy of the template) means ??

        the option selected for Processing in the "Editing form template" dialog

and does that selection take precedence over (ignore) whatever may have been 
the file extension of the imported template? 


>> … in the event that I would retain 'tex\\' would GNUmed simply ignore it?
> 
> In case you retained "tex\\" from earlier use GNumed would
> include that as part of the text box prompt message, eg
> "tex\\Inside address…".

ok ...

> 
>> … do I still require to check the checkbox, at bottom left of the free text 
>> dialog, if I wish "Don not reformat text"?
> 
> That depends on what you enter. If you enter valid LaTeX code
> (such as the above) you need to check
> 
>       [x] Do not reformat text
> 
> If you enter plain text (potentially invalid LaTeX code) you
> need to keep this box unchecked.
> 
> I have now enhanced GNUmed to replace EOLs being passed into
> a LaTeX form template to get turned into the proper LaTeX
> representation "\\" + "\n".
> 
>> … is the placeholder 'tex_escape' of any use here?
>> 
>> If no, can an example be provided of where and how one would format (and 
>> use) a placeholder for
>> 
>>      u'tex_escape': u"args: string to escape"
>> 
>> as   $<tex_escape::?????::>$
> 
> Like that: $<tex_escape::some non-LaTeX-formatted text::max length>$

Does tex_escape work identically to

        free_text with "[x] Do not reformat text" forced-on

??

-- Jim


reply via email to

[Prev in Thread] Current Thread [Next in Thread]