Re: [NTG-context] counting characters when dealing with XML

2015-01-22 Thread Pablo Rodriguez
On 01/21/2015 12:36 AM, Hans Hagen wrote: On 1/20/2015 8:50 PM, Pablo Rodriguez wrote: Dear list, I have a question when dealing with XML. Is there any way to write a conditional based on the number of characters in a given field? [...] let tex do the work .. counting is not accurate for

[NTG-context] bug when dealing with XML classes?

2015-01-22 Thread Pablo Rodriguez
Hans, I have the following sample: \setupbodyfont[30pt] \startbuffer[demo] doc h1This is my title/h1 div class=section class=level1 class=hidden h1This title is hidden/h1 /div div class=section level1 hidden h1This title is not hidden/h1 pText/p

Re: [NTG-context] Problem with luacode

2015-01-22 Thread Hans Hagen
On 1/20/2015 8:03 PM, Eric Gerard wrote: Hello Hans, sorry for that, here is the code I used to check some LUACODE. \definepapersize[normal][width=14.85cm, height=21cm] \setupbodyfont[10pt] \enableregime[il1] \setupcolor[xwi] \setuplayout[backspace=16mm,

Re: [NTG-context] bug when dealing with XML classes?

2015-01-22 Thread Hans Hagen
On 1/22/2015 7:42 PM, Pablo Rodriguez wrote: Hans, I have the following sample: \setupbodyfont[30pt] \startbuffer[demo] doc h1This is my title/h1 div class=section class=level1 class=hidden h1This title is hidden/h1 /div div class=section level1 hidden

Re: [NTG-context] linking to html etc. documents from pdf.

2015-01-22 Thread Aditya Mahajan
On Thu, 22 Jan 2015, John Culleton wrote: DTP programs like Inkscape and Scribus have facilities for linking to urls. Pdftex does also. If this facility exists in Context can some kind soul point me to the documentation? You mean useURL? http://wiki.contextgarden.net/Command/useURL Aditya

[NTG-context] linking to html etc. documents from pdf.

2015-01-22 Thread John Culleton
DTP programs like Inkscape and Scribus have facilities for linking to urls. Pdftex does also. If this facility exists in Context can some kind soul point me to the documentation? Thanks in advance. -- John Culleton Wexford Press Free list of books for self-publishers:

Re: [NTG-context] linking to html etc. documents from pdf.

2015-01-22 Thread Hans Hagen
On 1/22/2015 9:34 PM, John Culleton wrote: DTP programs like Inkscape and Scribus have facilities for linking to urls. Pdftex does also. If this facility exists in Context can some kind soul point me to the documentation? One of the oldest features of context \setupinteraction[state=start]

Re: [NTG-context] Formatting bibliographic inline references and publications list

2015-01-22 Thread Alan BRASLAU
From what I can see, the only *significant* style difference that you seek is the use of \letterspace and \sc for names (authors or editors). The use of old numbers is trivial as they will be used if specified for the rest of the document. How else does your university's standard differ from the

Re: [NTG-context] bug when dealing with XML classes?

2015-01-22 Thread Pablo Rodriguez
On 01/22/2015 07:57 PM, Hans Hagen wrote: On 1/22/2015 7:42 PM, Pablo Rodriguez wrote: [...] ConTeXt MkIV is not able to understand class=section level1 hidden as class=section class=level1 class=hidden It has nothing to do with understanding: successive attributes with the

Re: [NTG-context] layers for odd and even pages

2015-01-22 Thread Pablo Rodriguez
On 01/20/2015 11:39 PM, Wolfgang Schuster wrote: Am 20.01.2015 um 20:14 schrieb Pablo Rodriguez: [...] I need different layers in even and odd pages and that they are hidden on empty pages. Which is the way to do it? Not sure if this is the best way but it works. Many thanks for your

Re: [NTG-context] Page Breaks after Headings

2015-01-22 Thread Pablo Rodriguez
On 01/20/2015 11:41 PM, Malte Stien wrote: Hi all, Is there a way I can avoid page breaks after “headings”, i.e. \section, \subsection, \subject, \subsubject, etc? Hi Malte, since I experienced this before and Wolfgang kindly explained to me, the workaround is: