Re: [NTG-context] pagebreak after columns
> On 09 Jan 2015, at 15:34, Hans Hagen wrote: > > > 1 \startcolumns : when balance is yes > 2 \startmixedcolumns : when balance is yes > 3 \startcolumnset: when balance is yes but balancing is manual > > guess what ... columnized itemized lists use 1 in mkii and 2 in mkiv Thank you, Hans and Wolfgang. I misunderstood what balance=yes does, but it seems to work now! Thomas ___ 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 ___
Re: [NTG-context] pagebreak after columns
On 1/9/2015 11:42 PM, Thomas A. Schmitz wrote: On 09 Jan 2015, at 14:01, Hans Hagen wrote: that's how balance=no works: in that case \column will go to a next column but still fill to the bottom columnsets is actually not meant to be used mixed unless in controlled situations (maybe i will redo columnsets in mkiv some day) hmm, so is there a column environment that can be used in mixed situations? 1 \startcolumns : when balance is yes 2 \startmixedcolumns : when balance is yes 3 \startcolumnset: when balance is yes but balancing is manual guess what ... columnized itemized lists use 1 in mkii and 2 in mkiv Hans - 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 ___
Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment
On 01/09/2015 11:36 PM, Fabrice wrote: > > \startxcell[frame=off] \startxtable[frame=off] seems to me a better option to remove the table frames. Pablo -- http://www.ousia.tk ___ 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 ___
Re: [NTG-context] pagebreak after columns
> Am 09.01.2015 um 23:42 schrieb Thomas A. Schmitz : > > >> On 09 Jan 2015, at 14:01, Hans Hagen wrote: >> >> that's how balance=no works: in that case \column will go to a next column >> but still fill to the bottom >> >> columnsets is actually not meant to be used mixed unless in controlled >> situations (maybe i will redo columnsets in mkiv some day) > > hmm, so is there a column environment that can be used in mixed situations? When you use a columns environment you have to set „balance=yes“. Wolfgang ___ 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 ___
Re: [NTG-context] pagebreak after columns
> On 09 Jan 2015, at 14:01, Hans Hagen wrote: > > that's how balance=no works: in that case \column will go to a next column > but still fill to the bottom > > columnsets is actually not meant to be used mixed unless in controlled > situations (maybe i will redo columnsets in mkiv some day) hmm, so is there a column environment that can be used in mixed situations? Thomas ___ 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 ___
Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment
\startxcell[frame=off] ___ 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 ___
Re: [NTG-context] About the macro ulcircle
Dear Hans, I do not have enough back from Metapost to think differently and I'm not you! :) Fabrice ___ 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 ___
Re: [NTG-context] pagebreak after columns
On 1/9/2015 9:29 PM, Thomas A. Schmitz wrote: Hi all, a somewhat belated happy new year to all of you! I’ve come across what seems to be a very old bug (I have found references to it in the mailing list from about 10 years ago): I get an unwanted page break after every column environment. Here’s an example with two different ones: \definecolumnset [mine] [n=2,balance=no,distance=1cm] \definemixedcolumns [mycolumns] [n=2,balance=no,distance=1cm] \starttext \input ward \startcolumnset [mine] \input ward \column \input ward \stopcolumnset \input ward \page \input ward \startmycolumns \input ward \column \input ward \stopmycolumns \input ward \stoptext Is this fixable? Thanks, and all best that's how balance=no works: in that case \column will go to a next column but still fill to the bottom columnsets is actually not meant to be used mixed unless in controlled situations (maybe i will redo columnsets in mkiv some day) Hans - 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 ___
[NTG-context] pagebreak after columns
Hi all, a somewhat belated happy new year to all of you! I’ve come across what seems to be a very old bug (I have found references to it in the mailing list from about 10 years ago): I get an unwanted page break after every column environment. Here’s an example with two different ones: \definecolumnset [mine] [n=2,balance=no,distance=1cm] \definemixedcolumns [mycolumns] [n=2,balance=no,distance=1cm] \starttext \input ward \startcolumnset [mine] \input ward \column \input ward \stopcolumnset \input ward \page \input ward \startmycolumns \input ward \column \input ward \stopmycolumns \input ward \stoptext Is this fixable? Thanks, and all best Thomas ___ 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 ___
Re: [NTG-context] About the macro ulcircle
On 1/9/2015 8:07 PM, Fabrice Couvreur wrote: Hi, I discovered some macro Metafun particular. I then wanted to outline, but it does not fit with the boundary of the quadrant. Can I have some explanation? Best regards, Fabrice \starttext \startMPcode u:=1cm ; pickup pencircle scaled 1pt ; fill ulcircle scaled 8u withcolor lightgray ; fill llcircle scaled 2u shifted (1u,0) withcolor lightgray ; fill lrcircle scaled 4u shifted (1u,1u) withcolor lightgray ; fill urcircle scaled 6u shifted (0,1u) withcolor lightgray ; label.lft(btex $x$ etex, (0,0.5u)) ; fill unitsquare scaled 1u withcolor lightgray ; draw unitsquare scaled 1u ; draw (-4u,0)--(0,0) dashed evenly ; draw (0,1u)--(0,4u) dashed evenly ; draw (1u,1u)--(3u,1u) dashed evenly ; draw (1u,0)--(1u,-1u) dashed evenly ; draw (-4u,0){up}..(0,4u)..(3u,1u){down} ; \stopMPcode \stoptext think different ... \starttext \startMPcode u:=1cm ; pickup pencircle scaled 1pt ; path p ; p := ulcircle scaled 8u; fill p withcolor red ; path q ; q := llcircle scaled 2u shifted (1u,0) ; fill q withcolor green ; path r ; r := lrcircle scaled 4u shifted (1u,1u); fill r withcolor blue ; path s ; s := urcircle scaled 6u shifted (0,1u) ; fill s withcolor yellow ; label.lft(btex $x$ etex, (0,0.5u)) ; fill unitsquare scaled 1u withcolor lightgray ; draw unitsquare scaled 1u ; draw (subpath (2,3) of p) dashed evenly ; draw (subpath (2,3) of q) dashed evenly ; draw (subpath (2,3) of r) dashed evenly ; draw (subpath (2,3) of s) dashed evenly ; draw (subpath (4,5) of p) dashed evenly withcolor green ; \stopMPcode \stoptext - 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 ___
[NTG-context] About the macro ulcircle
Hi, I discovered some macro Metafun particular. I then wanted to outline, but it does not fit with the boundary of the quadrant. Can I have some explanation ? Best regards, Fabrice \starttext \startMPcode u:=1cm ; pickup pencircle scaled 1pt ; fill ulcircle scaled 8u withcolor lightgray ; fill llcircle scaled 2u shifted (1u,0) withcolor lightgray ; fill lrcircle scaled 4u shifted (1u,1u) withcolor lightgray ; fill urcircle scaled 6u shifted (0,1u) withcolor lightgray ; label.lft(btex $x$ etex, (0,0.5u)) ; fill unitsquare scaled 1u withcolor lightgray ; draw unitsquare scaled 1u ; draw (-4u,0)--(0,0) dashed evenly ; draw (0,1u)--(0,4u) dashed evenly ; draw (1u,1u)--(3u,1u) dashed evenly ; draw (1u,0)--(1u,-1u) dashed evenly ; draw (-4u,0){up}..(0,4u)..(3u,1u){down} ; \stopMPcode \stoptext ___ 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 ___
Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment
Hi Pablo, Thank you for your cooperation. That's what I want except the frame. Fabrice ___ 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 ___
Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment
On 01/09/2015 02:23 PM, Fabrice Couvreur wrote: > Hi, > Is it possible to center horizontally and vertically the table with the > graphics? Hi Fabrice, adding an xtable might do what you want (but unless you have narrower left and right margins, there is no room to fit both tables [I guess]). \showframe \setuplayout[backspace=2.5cm, width=middle] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex,style=small] \setupTABLE[row][first][background=color,backgroundcolor=lightgray] \stopsetups \usemodule[graph] \definecolor[mycolor][c=.4,m=0,y=0,k=0] \starttext \startxtable \startxrow \startxcell \start \switchtobodyfont[small] \startMPpage[instance=graph] drawoptions(withpen pencircle scaled 1pt); w := 10cm; h := 8cm; ahlength := .25cm; draw begingraph (w,h) numeric xmin, xmax, ymin, ymax; xmin := 0; xmax :=100; ymax :=8000 ;ymin:=0; setrange((xmin,ymin),(xmax,ymax)); for x=xmin step 10 until xmax: grid.bot(format("@g",x),x) withcolor \MPcolor{mycolor} withpen pencircle scaled .3pt; endfor for y=ymin step 1000 until ymax: grid.lft(format("@g",y),y) withcolor \MPcolor{mycolor} withpen pencircle scaled .3pt; endfor glabel.bot(textext("Nombre de chaises"),OUT); glabel.lft(textext("Euros") rotated 90,OUT); glabel.bot("${\cal C}$",(5,3000)); glabel.top("${\cal R}$",(15,500)); save a; numeric a[]; a0 := 2000 ; a1 := 50 ; a2 := -0.2 ; gdraw makefunctionpath(xmin,90,1000,polynomial_function(a,2,x)); b0 := 0 ; b1 := 80 ; gdraw makefunctionpath(xmin,90,1000,polynomial_function(b,1,x)); endgraph ; \stopMPpage \stop \stopxcell \startxcell[align={lohi,middle}] \framed[frame=off,width=local,align={lohi,middle},location=middle]{% \bTABLE[setups=table:initialize] \bTR \bTD Jours \eTD \bTD Entrées \eTD \eTR \bTR \bTD 1 \eTD \bTD \unknown \eTD \eTR \bTR \bTD 2 \eTD \bTD \unknown \eTD \eTR \bTR \bTD 3 \eTD \bTD \unknown \eTD \eTR \bTR \bTD 4 \eTD \bTD \unknown \eTD \eTR \bTR \bTD 5 \eTD \bTD 870 \eTD \eTR \bTR \bTD 6 \eTD \bTD 910 \eTD \eTR \bTR \bTD 7 \eTD \bTD 1\,000 \eTD \eTR \eTABLE } \stopxcell \stopxrow \stopxtable \stoptext Just in case it helps, Pablo -- http://www.ousia.tk ___ 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 ___
[NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment
Hi, Is it possible to center horizontally and vertically the table with the graphics ? Best regards, Fabrice \defineparagraphs[TwoColumns][n=2] \setupparagraphs[TwoColumns][1][width=0.45\textwidth] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex,style=small] \setupTABLE[row][first][background=color,backgroundcolor=lightgray] \stopsetups \usemodule[graph] \definecolor[mycolor][c=.4,m=0,y=0,k=0] \starttext \startTwoColumns \start \switchtobodyfont[small] \startMPpage[instance=graph] drawoptions(withpen pencircle scaled 1pt); w := 10cm; h := 8cm; ahlength := .25cm; draw begingraph (w,h) numeric xmin, xmax, ymin, ymax; xmin := 0; xmax :=100; ymax :=8000 ;ymin:=0; setrange((xmin,ymin),(xmax,ymax)); for x=xmin step 10 until xmax: grid.bot(format("@g",x),x) withcolor \MPcolor{mycolor} withpen pencircle scaled .3pt; endfor for y=ymin step 1000 until ymax: grid.lft(format("@g",y),y) withcolor \MPcolor{mycolor} withpen pencircle scaled .3pt; endfor glabel.bot(textext("Nombre de chaises"),OUT); glabel.lft(textext("Euros") rotated 90,OUT); glabel.bot("${\cal C}$",(5,3000)); glabel.top("${\cal R}$",(15,500)); save a; numeric a[]; a0 := 2000 ; a1 := 50 ; a2 := -0.2 ; gdraw makefunctionpath(xmin,90,1000,polynomial_function(a,2,x)); b0 := 0 ; b1 := 80 ; gdraw makefunctionpath(xmin,90,1000,polynomial_function(b,1,x)); endgraph ; \stopMPpage \stop \TwoColumns \framed[frame=off,width=local,align={lohi,middle},location=middle]{% \bTABLE[setups=table:initialize] \bTR \bTD Jours \eTD \bTD Entrées \eTD \eTR \bTR \bTD 1 \eTD \bTD \unknown \eTD \eTR \bTR \bTD 2 \eTD \bTD \unknown \eTD \eTR \bTR \bTD 3 \eTD \bTD \unknown \eTD \eTR \bTR \bTD 4 \eTD \bTD \unknown \eTD \eTR \bTR \bTD 5 \eTD \bTD 870 \eTD \eTR \bTR \bTD 6 \eTD \bTD 910 \eTD \eTR \bTR \bTD 7 \eTD \bTD 1\,000 \eTD \eTR \eTABLE } \stopTwoColumns \stoptext ___ 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 ___
Re: [NTG-context] dealing with footnotes and ol in XML
On 01/09/2015 12:29 PM, Hans Hagen wrote: > [...] > I'll add this: > > \startluacode > local gsub = string.gsub > function xml.expressions.idstring(str) > return type(str) == "string" and gsub(str,"^#","") or "" > end > \stopluacode > > \startxmlsetups xml:footnote:ref > > \xmlfilter{main}{div[@class='footnotes']/ol/li[@id=idstring('\xmlatt{#1}{href}')]/command(xml:footnote:set)} > \stopxmlsetups > > As this id stuff happens more often. Many thanks for your reply and the code, Hans. I have an issue with multiparagraph footnotes. Here is the sample in ConTeXt code: \setuppapersize[A7] \setupbodyfont[15pt] \starttext \dorecurse{2}{A footnote\footnote {\dorecurse{2}{Footnote paragraph.\par}}} \dorecurse{3}{B footnote\footnote {Footnote paragraph.\par Footnote paragraph.}} \stoptext Footnotes that end with \par have wrong space with next footnote. I don’t know whether this is intended. How could I avoid that in XML? Many thanks for your help again, Pablo -- http://www.ousia.tk ___ 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 ___
Re: [NTG-context] dealing with footnotes and ol in XML
On 1/9/2015 12:18 PM, Hans Hagen wrote: \startxmlsetups xml:footnote:ref \xmlfilter{main}{div[@class='footnotes']/ol/li[@id=string.sub('\xmlatt{#1}{href}',2)]/command(xml:footnote:set)} \stopxmlsetups I'll add this: \startluacode local gsub = string.gsub function xml.expressions.idstring(str) return type(str) == "string" and gsub(str,"^#","") or "" end \stopluacode \startxmlsetups xml:footnote:ref \xmlfilter{main}{div[@class='footnotes']/ol/li[@id=idstring('\xmlatt{#1}{href}')]/command(xml:footnote:set)} \stopxmlsetups As this id stuff happens more often. Hans - 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 ___
Re: [NTG-context] dealing with footnotes and ol in XML
On 1/9/2015 11:41 AM, Pablo Rodriguez wrote: Dear list, I have the following sample: \startbuffer[demo] This is the first paragraph. first item second item text with footnote1 text with another footnote2 footnote text In two paragraphs↩ footnote text In two paragraphs↩ \stopbuffer \starttext \usemodule[html] \startxmlsetups xml:initialize \xmlsetsetup{#1}{*}{xml:*} \xmlsetsetup{\xmldocument}{a[@class='footnoteRef']}{xml:footnote} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:footnote \startfootnote \xmlfirst{main}{div[@class='footnotes']/ol/li[@id=string.sub('\xmlatt{#1}{href}',2)]} \stopfootnote \stopxmlsetups \setupitemize[margin=yes] \xmlprocessbuffer{main}{demo}{} \stoptext The first issue I’m experiencing is that I don’t know how to avoid that footnotes (implemented in XML as items in an ordered list) are also typeset as list items. Footnotes may be inside lists or contain lists, but footnotes themselves are only implemented as lists. The only way I know is to disable lists, but this is not an option. \startbuffer[demo] This is the first paragraph. first item second item text with footnoteid="fnref1">1 text with another footnoteid="fnref2">2 footnote textIn two paragraphshref="#fnref1">↩ footnote textIn two paragraphshref="#fnref2">↩ \stopbuffer \starttext \usemodule[html] \xmlregistersetup{xml:html:basics} \xmlregistersetup{xml:html:tables} \startxmlsetups xml:initialize \xmlsetsetup{#1}{a[@class='footnoteRef']}{xml:footnote:ref} \xmlsetsetup{#1}{div[@class='footnotes']}{} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:footnote:set \startfootnote \xmlflush{#1} \stopfootnote \stopxmlsetups \startxmlsetups xml:footnote:ref \xmlfilter{main}{div[@class='footnotes']/ol/li[@id=string.sub('\xmlatt{#1}{href}',2)]/command(xml:footnote:set)} \stopxmlsetups \xmlprocessbuffer{main}{demo}{} \stoptext -- - 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 ___
[NTG-context] dealing with footnotes and ol in XML
Dear list, I have the following sample: \startbuffer[demo] This is the first paragraph. first item second item text with footnote1 text with another footnote2 footnote text In two paragraphs↩ footnote text In two paragraphs↩ \stopbuffer \starttext \usemodule[html] \startxmlsetups xml:initialize \xmlsetsetup{#1}{*}{xml:*} \xmlsetsetup{\xmldocument}{a[@class='footnoteRef']}{xml:footnote} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:footnote \startfootnote \xmlfirst{main}{div[@class='footnotes']/ol/li[@id=string.sub('\xmlatt{#1}{href}',2)]} \stopfootnote \stopxmlsetups \setupitemize[margin=yes] \xmlprocessbuffer{main}{demo}{} \stoptext The first issue I’m experiencing is that I don’t know how to avoid that footnotes (implemented in XML as items in an ordered list) are also typeset as list items. Footnotes may be inside lists or contain lists, but footnotes themselves are only implemented as lists. The only way I know is to disable lists, but this is not an option. The second issue is that \setupitemize[margin=yes] doesn’t work. What am I missing here? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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 ___
Re: [NTG-context] dealing with the lang attribute in XML
On 01/07/2015 11:05 AM, Hans Hagen wrote: > On 1/7/2015 9:30 AM, Pablo Rodriguez wrote: >> [...] >> Which is the right way to to define language synonyms? > > \installanguage[foo][nl] Many thanks for your reply and the fixes, Hans. Pablo -- http://www.ousia.tk ___ 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 ___