[NTG-context] Footnotes on wrong page
I wrote about this a few days ago, but did not get a response, perhaps because I included sample code. So...this time I am including the main part of my code so you can perhaps see what I am doing wrong. My problem is that many of my footnotes show up on the wrong page. Sometimes the text that references the footnote is at the bottom of a page, and the footnote number shows up with a small graphic arrow next to it. In these cases, the actual footnote text will show up on the next page. Also in this case, the footnote number with the footnote text will usually be labeled 1, even though the next footnote after it (the one that really belongs on that page) is numbered 1 also. Sometimes footnote numbers appear in the text even though there is no footnote on any page that has that number. Any help is appreciated. Jeff Dodson _ Call Anyone, Anytime, Anywhere in the World - FREE! Free Internet calling from NetZero Voice Visit http://www.netzerovoice.com today! % Use t-ancientgreek module for typesetting ancient Koine Greek \usemodule[ancientgreek][font=Aristarcoj,scale=1.1] %\usemodule[ancientgreek][font=KadmosNew,scale=1] %\usemodule[ancientgreek][font=GreekGentiumAlt,scale=1] % Set up custom paper size \definepapersize[TradePaper][width=6in,height=9in] \setuppapersize[TradePaper][TradePaper] % Set up page layout \setuplayout [ topspace=.3in, %bottomspace=.25in, bottomspace=0in, bottom=.25in, bottomdistance=.1in, cutspace=0in, backspace=.5in, header=.2in, headerdistance=.1in, footer=0in, rightmargin=0in, leftmargin=0in, height=8.15in, width=4.75in ] % Use 12pt font by default \setupbodyfont[Serif,11pt] % Set up line-break tolerance \setuptolerance[horizontal,space,verytolerant] \raggedbottom % Set up indentation parameters \setupindenting[big,yes] %\setupindenting[medium,yes] \indenting[always] % Set up inter-paragraph spacing \setupwhitespace[medium] % Set up a counter that will act as our footnote label \newcounter\fnumlabel % Set up special command to turn off default footnote numbers next to footnote text \def\deffnumsoff#1{\tfxx} % Set up footnotes in paragraph form (n=0) with proper font size, etc., and no default footnote numbers. % Footnote numbers will be part of actual footnote text. \setupfootnotes[n=0,bodyfont=9pt,way=bypage,before=\crlf\hairline,textcommand=\vii\high,style=\it\vii,rule=off,numbercommand=\deffnumsoff,split=tolerant] % Left-justify footnotes \setupfootnotedefinition[distance=0pt] % Set up custom macro to replace default \footnote macro. This macro will include the footnote number % as part of the footnote text and then increment the footnote label counter for the next footnote. \def\fnote#1#2{\footnote[\fnumlabel]{\note[\fnumlabel]\localgreek{#1}, \ix{\it{#2}}}\increment\fnumlabel} % Set up footnotes so that there is hyphenation %\setupnote[footnote][align={normal,hyphenated}] \setupnote[footnote][align={nothyphenated,stretch,verytolerant}] % Set up macros to handle drop-cap chapter numbers %\def\DropChapOne{\DroppedCaps{}{Serif}{4\baselineskip}{0pt}{2\baselineskip}{3}} \def\DropChapOne{\DroppedCaps{}{Serif}{2.4\baselineskip}{5pt}{1\baselineskip}{2}} \def\DropChap{\DroppedCaps{}{Serif}{2.4\baselineskip}{5pt}{1\baselineskip}{2}} % Set up marker for verses \definemarking[verse][verses] % % Text formatting macros: % % Very large dropped number for first chapter number of book \def\bookbeg#1#2{\DropChapOne{#1}\marking[verse]{#1:#2}} % Large dropped number for subsequent chapter numbers \def\chapnum#1#2{\par\DropChap{#1}\marking[verse]{#1:#2}} % Smaller, bold number followed by a non-breaking space for verse numbers \def\versenum#1#2{{\tfx\bf #2}~\marking[verse]{#1:#2}} % Macro for all Greek text. Note that we turn off hyphenation in this text. \def\lg#1{\localgreek{#1}} \def\lag#1{\localaltgreek{#1}} % Book-style alternating pages \setuppagenumbering[alternative=doublesided,location=,way=bytext,partnumber=no] \setupbottomtexts[pagenumber] \setupbottom[style=\tf,state=high] % Clear out header texts, then set them up again \setupheadertexts[] \setupheadertexts[\setups{text a}][][][\setups{text b}] % Set up header text for odd pages \startsetups[text a] \hfill \getmarking[chapter] \hfill \llap{\getmarking[verse][first]--\getmarking[verse][last]} \stopsetups % Set up header text for even pages \startsetups[text b] \rlap{\getmarking[verse][first]--\getmarking[verse][last]} \hfill \getmarking[chapter] \hfill \stopsetups % Hairline under every header %\setupheader[text][after=\hairline] \setupbackgrounds[header][text][frame=off,bottomframe=on] % Special command to turn off chapter title numbers \def\nochapnum#1{\crlf\crlf\crlf} % Set up beginning-of-chapter pages so that they don't have headers \setuphead[chapter][numbercommand=\nochapnum,distance=0pt,header=high,footer=empty,textstyle=\tfd,alternative=middle] %
Re: [NTG-context] texsync --delete
� wrote: Hello Hans, could you please add the option --delete to @@rsync in texsync.rb? I've just realised, that cont-lmt.zip no more exists, but texsync never deleted it on my hard-disk. sure, but only if you also tell me how i can tell rsync to avoid deleting the context/user and context/third paths (and tested as well -) (there is now also ctxtools --update which just takes the zip) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texmfstart fails silently on incorrect input
Aditya Mahajan wrote: 2) Is whitespace not allowed before or after when defining with or using the = sign? Parially, space after = is fine, space before = is ignored silently. changing that would break things (esp when a space is set this way, and not using \space) This is because with \dosetvalue {one}{a}{ b} \onea is defined, while with \dosetvalue {one}{a }{ b} \onea is undefined. Hans, can \dosetvalue be defined to ignore the space of #2, something like \unprotect \def\dosetvalue#1#2#3% {\dodosetvalue{#1}[#2]#3} \def\dodosetvalue#1[#2#3]#4% {\doifelse{#3}{\space} [EMAIL PROTECTED] [EMAIL PROTECTED] With this \dosetvalue {one}{a }{ b} (\onea) works, but this does not work for \definestartstop [abstract] [before = {{\bf Abstract}}] indeed; if supported, this would have to take place in the comma list parser and the base assignment which would slow down things a lot I do not know the implication in terms of speed. In case there is a heavy penality, one can have a switch to ignore spaces in value assignments. hm, maybe some day (such changes would demand much testing) and will be easier to do once we have lua enhanced tex (end of year) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] a few questions on Arabtex
Dear friends, I have been trying again to get Arabtex running. I got the most recent version of apatch.sty etc. There are some problems. Question 1. context gets stuck When using Arabtex with Context (which I prefer now), the run stops on a command in apatch, \hc, referring to hepatch. Arabtex works normally with Latex, though. I already asked Prof. Lagally, but he wrote me that he believes the bug is probably related to Context. Question 2. question mark The Arabic question mark does not work: \zayd? results in an error, I am not sure, but I believe the question mark is remapped to something else (perhaps something unicode-ish) which Arabtex cannot handle. Does anybody have a clue? Regards, Robert Ermers %%% Question 1 (17.09.2001))) (D:\tex\localtexmf\tex\arabtex\./apatch.sty ! Undefined control sequence. l.190 \hc % default Hebrew font ? (ArabTeX) version 3.11d (23.10.2003): second phase of patching) (D:\tex\localtexmf\tex\arabtex\./hepatch.sty 3.10- patches for Hebrew (17.09.2001))) (D:\tex\texmf\tex\context\base\./type-exa.tex) (D:\tex\texmf\tex\context\base\./type-syn.tex) %%%Question 2 (D:\tex\texmf\tex\context\base\./type-akb.tex) systems : begin file test at line 11 ! Argument of [EMAIL PROTECTED]@token has an extra }. inserted text \par to be read again } [EMAIL PROTECTED] ...ent \fi \setbox [EMAIL PROTECTED] \hbox {#1} [EMAIL PROTECTED] \a@@putword [EMAIL PROTECTED] {\xpa [EMAIL PROTECTED] \a@@word \@@ } \fi [EMAIL PROTECTED] \xpa [EMAIL PROTECTED] [EMAIL PROTECTED] ...space \nxp [EMAIL PROTECTED] \a@@putword \xpa [EMAIL PROTECTED] \else \xp... to be read again ... l.14 \frr.g ^gywbk? ? Runaway argument? [EMAIL PROTECTED] \relax \else \ifx [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \else \ifx [EMAIL PROTECTED] |[EMAIL PROTECTED] \ETC. ! Paragraph ended before [EMAIL PROTECTED]@token was complete. \setupoutput[pdftex] \usemodule[m][arabtex] %\usemodule[m][hebtex] \usetypescript[postscript] \switchtotypeface[postscript] \setarab \vocalize \newtanwin \accentshigh \ligsfalse \novocalize \starttext \hwlndI \frr.g ^gywbk %\frr.g ^gywbk? %Use this to test the question mark \startarabic qfA nbk_A mn _dkr_A .hbIbI wmnzl %hwlndI? %unmark this to test the question mark hwlndI \stoparabic \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texmfstart fails silently on incorrect input
Aditya Mahajan wrote: Hi, when I try texmfstart whatever nothing happens. Shouldn't a warning or an error be given to say that texmfstart could not find 'whatever'. This will make it easier to detect typos while trying out commands by hand. I do get such a message when using texmfstart --verbose whatever, but I think that such a behaviour should be default. Hans, is it reasonable to define a method report_error(str) in class KpseRemote def report_error(str) $stderr.puts(str) end end and modify line 2110 of texmfstart.rb to def run(fullname) if ! fullname || fullname.empty? then %%%report(the file '#{$filename}' is not found) report_error(the file '#{$filename}' is not found) . Maybe there are other places also where an error report will be useful. there is the non-verbose checking def output(str) $stdout.puts(str) end so we can use output(the file '#{$filename}' is not found) (i dislike stderr -) Hans -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] hyphenatedurl
Ralf Schmitt wrote: Hi, is there a way to specify additional characters (e.g. ) to be used for hyphenation of urls using \hyphenatedurl{...}? in what respect? splitting should take place before an (see scanurl in supp-lan.tex) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texmfstart fails silently on incorrect input
On Mon, 5 Jun 2006, Hans Hagen wrote: Aditya Mahajan wrote: Hi, when I try texmfstart whatever nothing happens. Shouldn't a warning or an error be given to say that texmfstart could not find 'whatever'. This will make it easier to detect typos while trying out commands by hand. I do get such a message when using texmfstart --verbose whatever, but I think that such a behaviour should be default. Hans, is it reasonable to define a method report_error(str) in class KpseRemote def report_error(str) $stderr.puts(str) end end and modify line 2110 of texmfstart.rb to def run(fullname) if ! fullname || fullname.empty? then %%%report(the file '#{$filename}' is not found) report_error(the file '#{$filename}' is not found) . Maybe there are other places also where an error report will be useful. there is the non-verbose checking def output(str) $stdout.puts(str) end so we can use output(the file '#{$filename}' is not found) this will be fine. (i dislike stderr -) Any particular reason? Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texmfstart fails silently on incorrect input
Aditya Mahajan wrote: On Mon, 5 Jun 2006, Hans Hagen wrote: Aditya Mahajan wrote: Hi, when I try texmfstart whatever nothing happens. Shouldn't a warning or an error be given to say that texmfstart could not find 'whatever'. This will make it easier to detect typos while trying out commands by hand. I do get such a message when using texmfstart --verbose whatever, but I think that such a behaviour should be default. Hans, is it reasonable to define a method report_error(str) in class KpseRemote def report_error(str) $stderr.puts(str) end end and modify line 2110 of texmfstart.rb to def run(fullname) if ! fullname || fullname.empty? then %%%report(the file '#{$filename}' is not found) report_error(the file '#{$filename}' is not found) . Maybe there are other places also where an error report will be useful. there is the non-verbose checking def output(str) $stdout.puts(str) end so we can use output(the file '#{$filename}' is not found) this will be fine. (i dislike stderr -) Any particular reason? mostly that it takes more work to collect both when piping (to a log file) and so, either i want to see messages or not and verbose can control that Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] a few questions on Arabtex
R. Ermers wrote: Dear friends, I have been trying again to get Arabtex running. I got the most recent version of apatch.sty etc. There are some problems. Question 1. context gets stuck When using Arabtex with Context (which I prefer now), the run stops on a command in apatch, \hc, referring to hepatch. Arabtex works normally with Latex, though. I already asked Prof. Lagally, but he wrote me that he believes the bug is probably related to Context. Question 2. question mark The Arabic question mark does not work: \zayd? results in an error, I am not sure, but I believe the question mark is remapped to something else (perhaps something unicode-ish) which Arabtex cannot handle. Does anybody have a clue? Regards, Robert Ermers %%% Question 1 (17.09.2001))) (D:\tex\localtexmf\tex\arabtex\./apatch.sty ! Undefined control sequence. i checked your file here, and after removing arabtex from texmf-local (1999 patch version) i now havea 2005 patch version from tex live); it seems that your version is somewhere in between [2001 patch version] so ... at eurotex 2005 i discussed a few things with Klaus Lagally and we are both aware of dependencies and ways to make arabtex and context working, so ... first bring your arabtex in sync (take the version from the tex live dvd) loading : Context Font Macros / ArabTeX support (c:\data\develop/tex\texmf/tex/latex/arabtex/arabtex.sty (c:\data\develop/tex\texmf/tex/latex/arabtex/aconfig.sty 3.08 get ArabTeX configuration (01.11.1998)) 3.11 ArabTeX main module (22.08.2003) (c:\data\develop/tex\texmf/tex/latex/arabtex/arabaux.sty 3.11 auxiliary macros for ArabTeX (21.05.2003)) (c:\data\develop\context\sources/pdfr-ec.tex) (c:\data\develop/tex\texmf/tex/latex/arabtex/acmd.sty 3.11 Arabic command processing (20.08.2003)) (c:\data\develop/tex\texmf/tex/latex/arabtex/afonts.sty) (c:\data\develop/tex\texmf/tex/latex/arabtex/ascan.sty 3.11 standard ZDMG input encoding (22.08.2003) (ArabTeX) scanner for code `arabtex' installed. (ArabTeX) input encoding set to ArabTeX standard conventions.) (c:\data\develop/tex\texmf/tex/latex/arabtex/aparse.sty 3.11 get syllables (26.05.2003)) (c:\data\develop/tex\texmf/tex/latex/arabtex/awrite.sty 3.11 build output word (05.06.2003) (c:\data\develop/tex\texmf/tex/latex/arabtex/xarbsymb.sty 3.07 symbolic output encoding (15.07.1998)) (c:\data\develop/tex\texmf/tex/latex/arabtex/arabskel.sty 3.10 character skeleton definitions (04.06.2000)) (c:\data\develop/tex\texmf/tex/latex/arabtex/xarbskel.sty 3.09 character skeleton definitions (17.07.1999)) (c:\data\develop/tex\texmf/tex/latex/arabtex/aboxes.sty 3.11 build output boxes (28.05.2003)) (c:\data\develop/tex\texmf/tex/latex/arabtex/arabtoks.sty 3.09 ArabTeX CS token definitions (17.07.1999)) (c:\data\develop/tex\texmf/tex/latex/arabtex/arabchrs.sty 3.07 letter token definitions (11.07.1998))) (c:\data\develop/tex\texmf/tex/latex/arabtex/aligs.sty 3.11 compute ligatures (26.05.2003)) (c:\data\develop/tex\texmf/tex/latex/arabtex/aoutput.sty 3.10 build output lines (04.06.2000)) (c:\data\develop/tex\texmf/tex/latex/arabtex/abidir.sty 3.11 bidirectional linebreaking (22.08.2003)) (c:\data\develop/tex\texmf/tex/latex/arabtex/atrans.sty 3.11 generate the transliteration (14.06.2003) (ArabTeX) ZDMG transliteration.) (c:\data\develop/tex\texmf/tex/latex/arabtex/alatex.sty) (c:\data\develop/tex\texmf/tex/latex/arabtex/abjad.sty 3.11 abjad numerals (26.04.2003)) (c:\data\develop/tex\texmf/tex/latex/arabtex/apatch.sty - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] a few questions on Arabtex
Thanks Hans, for your quick reply. I downloaded the most recent files (again) from Lagally's website, since I don't have the texlive cd (may be I should). The most recent apatch.sty bear dates in 2006. I commented line 191 in apatch.sty. Everything seems to work normal now. Perhaps until I decide to write any hebrew texts, which is unlikely. Kind regards, Robert ! Undefined control sequence. l.191 \hc % default Hebrew font ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] a few questions on Arabtex (cont.)
Hans and other contexers, Again on Arabtex, a real challenge. 2. The problem with the questionmark remains unsolved, I am afraid. 3. There is also a problem with \rq (closing quotation marks). The result is expected to be abc, however it is abc' When combined with , needed to put a sukun, \rq is reinterpreted as hamza, e.g. \lq hwlndI\rq Somewhere down in the Arabtex code \rq is mapped to ', which is the symbol used for hamza. I would appreciate if you would look into that. Regards, Robert Ermers \setupoutput[pdftex] \usemodule[m][arabtex] \usetypescript[postscript] \switchtotypeface[postscript] \setarab \vocalize %\newtanwin %\accentshigh \ligsfalse %\novocalize \starttext \hwlndI \frr.g ^gywbk \frr.g ^gywbk? %Use this to test the question mark \startarabic qfA nbk_A mn _dkr_A .hbIbI wmnzl hwlndI? %unmark this to test the question mark \lq hwlndI\rq. \stoparabic \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Using Ralph Smith's Formal Script font
On Mon, 30 Jan 2006, Hans Hagen wrote: Aditya Mahajan wrote: How do I use Ralph Smith's formal script font [1] within context. I want to define a command like \mathrsfs{A} that will use A in this font. one can make symbols (see symb-*.tex), which is probably the best way to go here; otherwise peek into math-*.tex files to see how math symbols can be defined. (the tricky part is that normally math script fonts have more chars so overloading one by a RS fotn may give problems) This is an old mail. I could not figure out how to do this properly in CONTEXT. The closest that I managed was using scrload.tex from rsfs bundle, which uses %%--- scrload.tex \font\tenscr=rsfs10 % scaled \magstep1 \font\sevenscr=rsfs7 % scaled \magstep1 \font\fivescr=rsfs5 % scaled \magstep1 \skewchar\tenscr='177 \skewchar\sevenscr='177 \skewchar\fivescr='177 \newfam\scrfam \textfont\scrfam=\tenscr \scriptfont\scrfam=\sevenscr \scriptscriptfont\scrfam=\fivescr \def\scr{\fam\scrfam} %% -- using this definition I get a command \scr which is same as \cal but uses ralph smith formal script font. The trouble is that the fonts are not scaled to document font size. Mojca's suggestion of using \def\mathrsfs#1{\text{\definedfont[RalfSmithFormalScript]#1}} and using $\mathrsfs{A}$ works, but does not give correct spacing for superscipts. Compare $\mathrsfs{A}^T$ with ${\scr A}^T. What is the context way of doing the same as scrload.tex. Looking at math-*.tex and font-ini.tex, I tried %--- \def\scr{\mathortext{\fam\purefamily{ralphscript}}{\symbolicfont{RalphScript}}} \definefontsynonym [RalphScript][Serif] \def\ralphscript#1{\mathortext\domathtext\donothing{\scr #1}} \definefamilysynonym [default] [ralphscript] [rsfs] % I do not understand this, and no wonder this does not work. What am I missing. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Grouping with \dosingleempty
Hi, I am confused why the following definition does not work as expected. \def\PM{\dosingleempty\doPM} \def\doPM[#1]{\iffirstargument P_{M_{#1}} \else P_{M_t}\fi} \starttext Why is $\widetilde \PM[T]$ not the same as $\widetilde P_{M_T}$ \stoptext Can I change the definition so that $\widetilede \PM$ is same as $\widetilde P_{M_t}$ and $\widetilede \PM[T]$ is same as $\widetilde P_{M_T}$ Thanks, Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Generating Module documentation
Hi, How does one generate module documentation? I copied mult-ini.tex to a temp directory and did texmfstart texexec --modules mult-ini.tex but did not get any output. Looking into texexec.rb, I tried to recreate a temp file to generate the documentation. The following \usemodule[abr-01,mod-01] \def\ModuleNumber{1} \starttext \readlocfile{mult-ini.tex}{}{} \stoptext gives This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5) (format=cont-en 2006.5.31) 5 JUN 2006 21:13 entering extended mode \write18 enabled. (e:\isoimage\usr\local\context\tex\texmf-local/web2c/natural.tcx) **f:/Research/real_time/examples/test2.tex \emergencyend (f:/Research/real_time/examples/test2.tex ConTeXt ver: 2006.05.28 13:28 fmt: 2006.5.31 int: english mes: english language: language en is active protectionstate 0 system : cont-new loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex color : palette rollover is available ) system : cont-old loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/user/cont-sys.tex system : module newmat loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/m-newmat.tex)) bodyfont: 12pt rm is loaded language: patterns nl-texnansi:texnansi-1-2:3 nl-ec:ec-2-2:3 fr- texnansi:texnansi-3-2:3 fr-ec:ec-4-2:3 de-texnansi:texnansi-5-2:3 de-e c:ec-6-2:3 it-texnansi:texnansi-7-2:3 it-ec:ec-8-2:3 pt-texnansi:texna nsi-9-2:3 pt-ec:ec-10-2:3 hr-ec:ec-11-2:3 pl-pl0:pl0-12-2:3 pl-ec:e c-13-2:3 pl-qx:qx-14-2:3 cz-il2:il2-15-2:3 cz-ec:ec-16-2:3 sk-il2:i l2-17-2:3 sk-ec:ec-18-2:3 sl-ec:ec-19-2:3 en-ec:ec-21-2:3 uk-ec:ec- 22-2:3 us-ec:ec-23-2:3 agr-agr:agr-24-2:3 da-ec:ec-25-2:3 sv-ec:ec- 26-2:3 af-ec:ec-27-2:3 no-ec:ec-28-2:3 deo-ec:ec-29-2:3 es-ec:ec-3 0-2:3 ca-ec:ec-31-2:3 la-ec:ec-32-2:3 ro-ec:ec-33-2:3 tr-ec:ec-34- 2:3 fi-ec:ec-36-2:3 hu-ec:ec-37-2:3 loaded specials: tex,postscript,rokicki loaded \openout2 = `test2.tui'. system : test2.top loaded (./test2.top specials: loading definition file tpd (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/spec-tpd.tex specials: loading definition file fdf (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/spec-fdf.tex) specials: fdf loaded ) specials: fdf,tpd loaded ) \openout0 = `test2-mpgraph.mp'. \openout0 = `mpgraph.mp'. systems : system commands are enabled system : module abr-01 loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/s-abr-01.tex check : logo AMSTEX replaces a macro, use CAPITALS! check : logo CONTEXT replaces a macro, use CAPITALS! check : logo ETEX replaces a macro, use CAPITALS! check : logo LAMSTEX replaces a macro, use CAPITALS! check : logo LATEX replaces a macro, use CAPITALS! check : logo MATHML replaces a macro, use CAPITALS! check : logo METAFONT replaces a macro, use CAPITALS! check : logo METAPOST replaces a macro, use CAPITALS! check : logo PDFETEX replaces a macro, use CAPITALS! check : logo PDFTEX replaces a macro, use CAPITALS! check : logo PICTEX replaces a macro, use CAPITALS! check : logo PPCHTEX replaces a macro, use CAPITALS! check : logo PRAGMA replaces a macro, use CAPITALS! check : logo TABLE replaces a macro, use CAPITALS! check : logo TEXADRES replaces a macro, use CAPITALS! check : logo TEXEDIT replaces a macro, use CAPITALS! check : logo TEXEXEC replaces a macro, use CAPITALS! check : logo TEXFORM replaces a macro, use CAPITALS! check : logo TEXSPELL replaces a macro, use CAPITALS! check : logo TEXUTIL replaces a macro, use CAPITALS! check : logo TEX replaces a macro, use CAPITALS! check : logo XML replaces a macro, use CAPITALS! check : logo XETEX replaces a macro, use CAPITALS! check : logo METAFUN replaces a macro, use CAPITALS! ) system : module mod-01 loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/s-mod-01.tex system : module mod-00 loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/s-mod-00.tex system : module units loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/m-units.tex check : unit Angstrom replaces a macro, use CAPITALS! ) test2-lang-a.tmp \openout4 = `test2-lang-a.tmp'. test2-lang-b.tmp \openout4 = `test2-lang-b.tmp'. test2-lang-c.tmp \openout4 =
[NTG-context] Referencing examples with identical labels in different sections
All, I have in my environment file: \defineenumeration [example] [location=serried, width=broad, text={\color[heavygreen]\bgroup\bold{Example}}, stopper={.\egroup}, style=slanted, inbetween=\blank, after=\blank] Now, I have a chapter with four sections. What can I do so that \startexample[exmpl:one] ... \stopexample in section one will be differentiated from \startexample[exmpl:one] ... \stopexample in section two? That is, a label in section two that refers to the exmpl:one will reference the exmpl:one in section one. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context