Missing font switch in 'export=yes'
Hi. Consider the following example: <file name="feat1.tex"> \setupbackend[export=yes] \starttext \definetyping[EXAMPLE][escape=yes] This is a small example. See the backend output (export file). How to put a word in the example between tags? \startEXAMPLE Here we go /BTEX\bold{AGAIN}/ETEX \stopEXAMPLE \stoptext </file> The 'AGAIN' in PDF file created by 'context' is bold but in 'feat1.export' file the word isn't placed between any tag. Should I use some special command in order to put 'AGAIN' between apropriate tags? -- Bradley's Bromide: If computers get too powerful, we can organize them into a committee -- that will do them in.
On 15-8-2011 11:40, Vladimir Lomov wrote:
Hi.
Consider the following example:
<file name="feat1.tex"> \setupbackend[export=yes]
\starttext
\definetyping[EXAMPLE][escape=yes]
This is a small example.
See the backend output (export file). How to put a word in the example between tags?
\startEXAMPLE Here we go /BTEX\bold{AGAIN}/ETEX \stopEXAMPLE
\stoptext </file>
The 'AGAIN' in PDF file created by 'context' is bold but in 'feat1.export' file the word isn't placed between any tag.
Should I use some special command in order to put 'AGAIN' between apropriate tags?
\definestartstop[important][style=bold] \important{...} -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, 15 Aug 2011, Hans Hagen wrote:
On 15-8-2011 11:40, Vladimir Lomov wrote:
Hi.
Consider the following example:
<file name="feat1.tex"> \setupbackend[export=yes]
\starttext
\definetyping[EXAMPLE][escape=yes]
This is a small example.
See the backend output (export file). How to put a word in the example between tags?
\startEXAMPLE Here we go /BTEX\bold{AGAIN}/ETEX \stopEXAMPLE
\stoptext </file>
The 'AGAIN' in PDF file created by 'context' is bold but in 'feat1.export' file the word isn't placed between any tag.
Should I use some special command in order to put 'AGAIN' between apropriate tags?
\definestartstop[important][style=bold]
\important{...}
Or, if you don't need ths start-stop macros: \definehighlight[important][style=bold] Aditya
** Aditya Mahajan [2011-08-15 11:27:14 -0400]:
On Mon, 15 Aug 2011, Hans Hagen wrote:
On 15-8-2011 11:40, Vladimir Lomov wrote:
Hi.
Consider the following example:
<file name="feat1.tex"> \setupbackend[export=yes]
\starttext
\definetyping[EXAMPLE][escape=yes]
This is a small example.
See the backend output (export file). How to put a word in the example between tags?
\startEXAMPLE Here we go /BTEX\bold{AGAIN}/ETEX \stopEXAMPLE
\stoptext </file>
The 'AGAIN' in PDF file created by 'context' is bold but in 'feat1.export' file the word isn't placed between any tag.
Should I use some special command in order to put 'AGAIN' between apropriate tags?
\definestartstop[important][style=bold]
\important{...}
Or, if you don't need ths start-stop macros:
\definehighlight[important][style=bold]
Aditya
Thank you Hans and Aditya. Both examples work as expected. --- WBR, Vladimir Lomov -- There is no doubt that my lawyer is honest. For example, when he filed his income tax return last year, he declared half of his salary as 'unearned income.' -- Michael Lara
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Vladimir Lomov