Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
mkii result On 14 Mar 2015, at 17:14, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 14.03.2015 um 15:54 schrieb Gerben Wierda gerben.wie...@rna.nl: I am running into two issues with my mkii-to-mkiv conversion project - The \chapter command in mkiv uses more whitespace

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Pablo Rodriguez
On 03/15/2015 03:16 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: [...] \setupnotation[footnote][indenting=yes,next] \setupfootnotedefinition[before={\setupindenting[big,yes]}] will give me what I want. But can anyone explain why *both* commands are needed? Toggling these two commands

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 15 Mar 2015 07:42:11 -0600, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Dear gang, In the attached example: For a given footnote I would like for the first line of each paragraph after paragraph one to be indented. What do I need to do to get this right? Thanks

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
mkiv result On 14 Mar 2015, at 17:14, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 14.03.2015 um 15:54 schrieb Gerben Wierda gerben.wie...@rna.nl: I am running into two issues with my mkii-to-mkiv conversion project - The \chapter command in mkiv uses more whitespace

[NTG-context] currentreferencerealpage wrong (how to detect even/odd pages?)

2015-03-15 Thread Harald Koenig
Hi, right now I use \currentreferencerealpage to detect if I'm on an even or odd page (because my picture placement rules depend on it) like this: \newcount\bildpage \bildpage=1 % ... \def\bild#1...{% {\global\bildpage=\realpageno}% \ifodd\bildpage \def\eo{o}\else \def\eo{e}\fi %

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
I’m struggling to make a minimal example.It happens in my project, so it is a result of my …/products/prd_book.tex and ../environment/env_cataoia.tex and the test file. I need to give three files, two of which differ between mkii and mkiv because of different font commands and lettrine vs

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
The itemize white space issue was a difference in handling \reference. In mkii a \reference between \startitemize and the first item did not produce empty space, in mkiv it does. I moved the \reference to inside the \item G On 14 Mar 2015, at 17:14, Wolfgang Schuster

[NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, In the attached example: For a given footnote I would like for the first line of each paragraph after paragraph one to be indented. What do I need to do to get this right? Thanks in advance, and Best wishes Idris \setupindenting[big,yes] \setupheads[indentnext=no]

Re: [NTG-context] Problem in using vlingrid() and hlingrid() macros (Metafun)

2015-03-15 Thread Fabrice
Hi, To solve my problem, I finally used a loop to draw a grid. Fabrice \starttext \start \switchtobodyfont[small] \startMPcode path p ; u := 2cm ; v:= 1cm ; p := (-u,-5v)--(3u,-5v)--(3u,4v)--(-u,4v)--cycle ; drawoptions(withpen pencircle scaled 0.5pt withcolor

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Pablo, On Sun, 15 Mar 2015 11:24:47 -0600, Pablo Rodriguez oi...@gmx.es wrote: Changing indenting to {yes, next} only the third paragraph in the footnote is indented. My guess is that the first next is already hardwired into the footnote mechanism. If you remove the next it should work.

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Wolfgang Schuster
Am 15.03.2015 um 14:42 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: Dear gang, In the attached example: For a given footnote I would like for the first line of each paragraph after paragraph one to be indented. What do I need to do to get this right? Thanks in

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Pablo, On Sun, 15 Mar 2015 10:29:25 -0600, Pablo Rodriguez oi...@gmx.es wrote: On 03/15/2015 03:16 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: [...] \setupnotation[footnote][indenting=yes,next] \setupfootnotedefinition[before={\setupindenting[big,yes]}] will give me what I want. But

Re: [NTG-context] currentreferencerealpage wrong (how to detect even/odd pages?)

2015-03-15 Thread Wolfgang Schuster
Am 15.03.2015 um 16:40 schrieb Harald Koenig koe...@tat.physik.uni-tuebingen.de: Hi, right now I use \currentreferencerealpage to detect if I'm on an even or odd page (because my picture placement rules depend on it) like this: \newcount\bildpage \bildpage=1 % ...

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Pablo Rodriguez
On 03/15/2015 05:55 PM, Wolfgang Schuster wrote: Am 15.03.2015 um 14:42 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear gang, In the attached example: For a given footnote I would like for the first line of each paragraph after paragraph one to be indented. What do I need to do to get

[NTG-context] Exporting highlights

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Ok, I'm rolling up my sleeves and taking another stab at exporting to xhtml (maybe even epub). Major project, so taking this one small step at a time. The immediate aim is to get correct output in a browser (I use Opera, and Chrome as a control). Test files attached.

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Wolfgang Schuster
Am 15.03.2015 um 19:19 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: Hi Pablo, On Sun, 15 Mar 2015 11:24:47 -0600, Pablo Rodriguez oi...@gmx.es wrote: Changing indenting to {yes, next} only the third paragraph in the footnote is indented. My guess is that the

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 15 Mar 2015 15:07:57 -0600, Pablo Rodriguez oi...@gmx.es wrote: I’m not sure whether this is clearer to me. It seems that your approach enables indenting by setting vertical space in paragraphs. I may be missing something, since I’d bet that the setups for notes approach is clearer.

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 15 Mar 2015 15:43:47 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 15.03.2015 um 19:19 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: Hi Pablo, On Sun, 15 Mar 2015 11:24:47 -0600, Pablo Rodriguez oi...@gmx.es wrote: Changing indenting to

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Wolfgang Schuster
Am 14.03.2015 um 15:54 schrieb Gerben Wierda gerben.wie...@rna.nl: I am running into two issues with my mkii-to-mkiv conversion project - The \chapter command in mkiv uses more whitespace between the header and the first paragraph. How can I influence this? The different space before

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Pablo Rodriguez
On 03/15/2015 07:36 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Sun, 15 Mar 2015 10:29:25 -0600, Pablo Rodriguez wrote: On 03/15/2015 03:16 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: [...] will give me what I want. But can anyone explain why *both* commands are needed? Toggling

[NTG-context] Now that I have something working on mkiv, I'd like to try ePUB

2015-03-15 Thread Gerben Wierda
Now that I have my book project basically running on mkiv (the layout probably has a few problems left, the main one currently being extra whitespace after a chapter heading compared to mkii), I’d like to try producing ePUB from it. ConTeXtgarden says I have to add a backend and points me to

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Alan BRASLAU
And I still suspect Wolfgang is just Hans in disguise :D It is Hans in his Superman disguise , :D. The ConTeXt meetings are a great opportunity to ask BOTH Hans and Wolfgang everything that you might have wanted to know about ConTeXt (and were afraid to ask on the mailing list). Alan

Re: [NTG-context] Styling captions inside \startcombination ... \stopcombination

2015-03-15 Thread Alan BRASLAU
On Sat, 14 Mar 2015 13:10:28 +0100 Hans Hagen pra...@wxs.nl wrote: the obvious: \setupcombinations[style={\switchtobodyfont[8pt]}] How about \switchtobodyfont[small] to handle nesting? Alan ___ If your question

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Wolfgang Schuster
Am 15.03.2015 um 22:58 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: On Sun, 15 Mar 2015 15:43:47 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com wrote: Am 15.03.2015 um 19:19 schrieb Idris Samawi Hamid ادريس سماوي حامد

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Wolfgang Schuster
Am 15.03.2015 um 15:57 schrieb Gerben Wierda gerben.wie...@rna.nl: The itemize white space issue was a difference in handling \reference. In mkii a \reference between \startitemize and the first item did not produce empty space, in mkiv it does. I moved the \reference to inside the \item

Re: [NTG-context] Exporting highlights

2015-03-15 Thread Aditya Mahajan
On Sun, 15 Mar 2015, Idris Samawi Hamid ادريس سماوي حامد wrote: [Dear Aditya, I sent this to the list; sending it to you to have a look as well. Any assistance is much appreciated, especially if I have to go the xslt route! Thanks in advance!!] It has been almost 1.5 years since I had a