ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Missing font switch in 'export=yes'
@ 2011-08-15  9:40 Vladimir Lomov
  2011-08-15 13:16 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Vladimir Lomov @ 2011-08-15  9:40 UTC (permalink / raw)
  To: General mailing list for ConTeXt users

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.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Missing font switch in 'export=yes'
  2011-08-15  9:40 Missing font switch in 'export=yes' Vladimir Lomov
@ 2011-08-15 13:16 ` Hans Hagen
  2011-08-15 15:27   ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2011-08-15 13:16 UTC (permalink / raw)
  To: Vladimir Lomov, General mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Missing font switch in 'export=yes'
  2011-08-15 13:16 ` Hans Hagen
@ 2011-08-15 15:27   ` Aditya Mahajan
  2011-08-16  1:19     ` Vladimir Lomov
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2011-08-15 15:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Missing font switch in 'export=yes'
  2011-08-15 15:27   ` Aditya Mahajan
@ 2011-08-16  1:19     ` Vladimir Lomov
  0 siblings, 0 replies; 4+ messages in thread
From: Vladimir Lomov @ 2011-08-16  1:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

** 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-16  1:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-15  9:40 Missing font switch in 'export=yes' Vladimir Lomov
2011-08-15 13:16 ` Hans Hagen
2011-08-15 15:27   ` Aditya Mahajan
2011-08-16  1:19     ` Vladimir Lomov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).