[NTG-context] Wiki - question about Command/ pages which start with a space character
Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages exist : - https://wiki.contextgarden.net/Command/startbuffer - https://wiki.contextgarden.net/Command/_startbuffer If it is on purpose: - What is the purpose, and which page should contain which documentation? If it is not: - Is there a way to automatically merge the content of the couple of pages, and to remove the "wrong" pages, or should it be done manually ? Thanks for your help. List : Command/ attachment Command/ background Command/ bar Command/ beginblock Command/ button Command/ characterkerning Command/ comment Command/ completecombinedlist Command/ completelistoffloats Command/ completelistofsorts Command/ completelistofsynonyms Command/ completeregister Command/ copylabeltext Command/ ctxfunction Command/ ctxfunctiondefinition Command/ currentlabel Command/ delimitedtext Command/ description Command/ enumeration Command/ fence Command/ fraction Command/ framed Command/ framedtext Command/ getbuffer Command/ hbox Command/ help Command/ high Command/ highlight Command/ label Command/ labellanguage Command/ labeltext Command/ labeltexts Command/ language Command/ leftlabeltext Command/ linenote Command/ low Command/ lowhigh Command/ lowmidhigh Command/ margindata Command/ mathcommand Command/ mathdoubleextensible Command/ mathextensible Command/ mathframed Command/ mathmatrix Command/ mathornament Command/ mathoverextensible Command/ mathovertextextensible Command/ mathradical Command/ mathtriplet Command/ mathunderextensible Command/ mathundertextextensible Command/ mathunstacked Command/ nextparagraphs Command/ note Command/ ornament Command/ paragraphs Command/ placecombinedlist Command/ placefloat Command/ placelistoffloats Command/ placelistofsorts Command/ placelistofsynonyms Command/ placement Command/ placepairedbox Command/ placeregister Command/ presetlabeltext Command/ referenceformat Command/ register Command/ rightlabeltext Command/ script Command/ section Command/ seeregister Command/ setupcombinedlist Command/ setupitemgroup Command/ setuplabeltext Command/ setuppairedbox Command/ setupregister Command/ shift Command/ sorting Command/ startattachment Command/ startbackground Command/ startbuffer Command/ startcolumnset Command/ startcomment Command/ startdelimitedtext Command/ startdescription Command/ starteffect Command/ startenumeration Command/ startfittingpage Command/ startfloattext Command/ startformula Command/ startframedtext Command/ starthelp Command/ startindentedtext Command/ startitemgroup Command/ startlabeltext Command/ startlinenote Command/ startlines Command/ startmakeup Command/ startmathalignment Command/ startmathcases Command/ startmathmatrix Command/ startmixedcolumns Command/ startnarrower Command/ startnote Command/ startpagecolumns Command/ startparagraphs Command/ startparallel Command/ startplacefloat Command/ startplacepairedbox Command/ startsection Command/ startsectionblock Command/ startstartstop Command/ startstop Command/ startstyle Command/ starttabulate Command/ starttextbackground Command/ starttyping Command/ startviewerlayer Command/ startxtable Command/ stoplinenote Command/ style Command/ synonym Command/ textbackground Command/ textnote Command/ tooltip Command/ type Command/ typebuffer Command/ unit ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
Re: [NTG-context] Two issues with respect to sections in ConTeXt
Jairo A. del Rio schrieb am 05.06.2020 um 05:28: First: I made the following question wrt swapping section labels and section numbers: https://tex.stackexchange.com/questions/547761/how-to-swap-section-labels-and-section-numbers-in-context What I tried to do is the following section structure 1. Chapter (Name of chapter) 1. 2 Section (Name of section) Wolfgang Schuster offered the following solution for chapters in Spanish, thanks :) \setuplabeltext[es][chapter={, capítulo}] However, I asked if there is a way to use predefined section labels according to chapters, sections, parts, etc. e.g. Chapter (EN) or Capítulo (ES) without manually writing a \setuplabeltext for every language, so he suggested that I move my question here and there we are. Making the labels accessible is the simple part but not as part of the labeltext class. The harder part is to move the text to the right side of the number because by default most labels appear only on the left side. Below are a few examples of the current state of labeltexts. 1. Position When you set a label the text for a label you have to specify on which side of the content it should appear. In the following example I set a label which has text for the left and right side, both texts are separated by a comma. To get the text for a cetain side you use either the \left... or \right... command or but you can also use the \...texts command which adds both to the content in the second argument. What isn't possible is to set a single text and apply it to the right side of the text. \starttext \setuplabeltext[example={Left , Right}] \labeltext{example}1 \leftlabeltext{example}2\rightlabeltext{example} \labeltexts{example}{3} \stoptext 2. Languages Labels are only applied to the main language of a document which is set with the \mainlanguage command. Local changes of a language (which is used to apply local hyphenation patterns) don't change the label. \starttext \setuplabeltext [en] [language=English] \setuplabeltext [nl] [language=Dutch] \labeltext{language} \language[nl] \labeltext{language} \mainlanguage[nl] \labeltext{language} \stoptext To use language dependent texts you can use the \translate command but you to set the texts in the argument of the command. \starttext \translate [en=English,nl=Dutch] \language[nl] \translate [en=English,nl=Dutch] \stoptext 3. Sections Thee reason why you can't provide existing label texts for all sections labels is that a few of the main levels (part, chapter, section) have default values for the bodypartlabel key. When ConTeXt typesets the content of the section it applies the label which is set with this key to the section number, this means each chapter will now have "Chapter " as prefix for the number which changes all documents. % \setuphead % [section] % [bodypartlabel=] % default: bodypartlabel=section \starttext \section{A section without label} \setuplabeltext [en] [section={Section }] \section{A section with label} \stoptext 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] no color with interaction and reference format
Am 30.11.2011 um 12:56 schrieb Stefan Müller: Hi list, when I am using reference formats to put text in front of my text references, I get no color. Please see the following minimal example \setupinteraction[state=start] \definereferenceformat[insec][text=section~] \starttext \section[mylabel]{A Section} A Reference to \in{section}[mylabel] and \insec[mylabel]. \stoptext On my machine only the first reference is red (aka colored), but I think both should be, as it was some betas ago. Is this a bug or has the interface changed? I'm using standalone 2025 21:29 MkIV. I quick fix for strc-ref.mkvi but it’s better to change the \dosetXXXattributes command in mult-aux.mkiv. The problem is the test for the \colorattributehash macros which are never empty because the hold the full name of the namespace and not the value of the key. \unexpanded\def\execute_reference_format#name% {\start_goto_reference \edef\currentreferenceformat{#name}% \gdef\leftofreference {\referenceformatparameter\c!left}% \gdef\rightofreference {\referenceformatparameter\c!right }% \edef\currentreferenceformatlabel {\referenceformatparameter\c!label }% \edef\currentreferenceformattype{\referenceformatparameter\c!type}% \edef\currentreferenceformatsetups {\referenceformatparameter\c!setups }% \edef\currentreferenceformatautocase{\referenceformatparameter\c!autocase}% % \dosetreferenceformatattributes \c!style \c!color % \ifx\fontattributehash\empty \else % \resetinteractionparameter\c!style % \fi % \ifx\colorattributehash\empty \else % \resetinteractionparameter\c!contrastcolor % \resetinteractionparameter\c!color % \fi \edef\currentreferenceformatstyle {\referenceformatparameter\c!style }% \edef\currentreferenceformatcolor {\referenceformatparameter\c!color }% \dosetreferenceformatattributes \c!style \c!color \ifx\currentreferenceformatstyle\empty \else \resetinteractionparameter\c!style \fi \ifx\currentreferenceformatcolor\empty \else \resetinteractionparameter\c!contrastcolor \resetinteractionparameter\c!color \fi \ifx\currentreferenceformatlabel\autoreferencelabeltextflag \edef\currentreferenceformatlabel{\autoreferencelabeltext}% \fi \ifx\currentreferenceformatautocase\v!yes \setcharactercleaning[1]% \fi \ifx\currentreferenceformatlabel\empty \defaultleftreferencetoks {\referenceformatparameter\c!text}% \defaultrightreferencetoks\emptytoks \else \defaultleftreferencetoks {\leftlabeltext \currentreferenceformatlabel}% \defaultrightreferencetoks{\rightlabeltext\currentreferenceformatlabel}% \fi \ifx\currentreferenceformattype\empty \def\currentreferenceformattype{default}% \fi % \ifx\currentreferenceformatsetups\empty \def\currentreferencecontent{\filterreference\currentreferenceformattype}% \else \def\currentreferencecontent{\directsetup\currentreferenceformatsetups}% \fi % \let\leftofreferencecontent \empty \let\rightofreferencecontent\empty \pickup_goto_reference} 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] New structure ...
Hi ALan, thanks for your investigation. Here it keeps showing this error. Will have to see with next beta... KR Willi On May 19, 2009, at 5:48 PM, Alan Stone wrote: On Tue, May 19, 2009 at 5:17 PM, Willi Egger w.eg...@boede.nl wrote: Don't worry, Holland is still fine... But the problem I refer to is not in the dimension whether or not it is spelled correcltly. The error is still the same: ! Undefined control sequence. argument \reporttextprefixerror \secondoftwoarguments #1#2-#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1-\ifcsname #1 \endcsname \...@ea \secondoftwoarguments \el... argument ... {\??ef \??ef XY\currentheadnumber } {\useexternalfigure [\s!d... ... l.14 ...er][width=\the\dimexpr.5\textwidth\relax]} \starttext \chapter{One} \placefigure [here] [] {A figure} {\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5 \textwidth\relax]} \stoptext Willi With... \starttext \chapter{One} \placefigure [here] [] {A figure} % {\externalfigure[XY\currentheadnumber][width=0.5/textwidth]} {\externalfigure[XY\currentheadnumber][width=0.5\textwidth]} % {\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5 \texwidth\relax]} \stoptext I get: see attachment. -- Alan headnumber- test.pdf_ __ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] New structure ...
Hi all, I should call the current head number in a figure. I am getting the following error: ! Undefined control sequence. argument \reporttextprefixerror \secondoftwoarguments #1#2-#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1-\ifcsname #1 \endcsname \...@ea \secondoftwoarguments \el... argument ... {\??ef \??ef XY\currentheadnumber } {\useexternalfigure [\s!d... ... l.14 ...Y\currentheadnumber][width=0.5/textwidth]} Using: This is LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7) ConTeXt ver: 2009.05.14 16:44 MKIV fmt: 2009.5.19 int: english/ english Minimal example attached KR Willi headnumber-test.tex Description: Binary data ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New structure ...
{\externalfigure[XY\currentheadnumber][width=0.5\textwidth]} ^ Alan On Tue, May 19, 2009 at 11:41 AM, Willi Egger w.eg...@boede.nl wrote: Hi all, I should call the current head number in a figure. I am getting the following error: ! Undefined control sequence. argument \reporttextprefixerror \secondoftwoarguments #1#2-#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1-\ifcsname #1 \endcsname \...@ea \secondoftwoarguments \el... argument ... {\??ef \??ef XY\currentheadnumber } {\useexternalfigure [\s!d... ... l.14 ...Y\currentheadnumber][width=0.5/textwidth]} Using: This is LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7) ConTeXt ver: 2009.05.14 16:44 MKIV fmt: 2009.5.19 int: english/english Minimal example attached KR Willi ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Alan ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New structure ...
Hi Alan, thanks for your reply, humble but I can not see the difference in your replied line and the line stated in the example file. Sorry Willli On May 19, 2009, at 11:58 AM, Alan Stone wrote: {\externalfigure[XY\currentheadnumber][width=0.5\textwidth]} {\externalfigure[XY\currentheadnumber][width=0.5/textwidth]} Alan On Tue, May 19, 2009 at 11:41 AM, Willi Egger w.eg...@boede.nl wrote: Hi all, I should call the current head number in a figure. I am getting the following error: ! Undefined control sequence. argument \reporttextprefixerror \secondoftwoarguments #1#2-#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1-\ifcsname #1 \endcsname \...@ea \secondoftwoarguments \el... argument ... {\??ef \??ef XY\currentheadnumber } {\useexternalfigure [\s!d... ... l.14 ...Y\currentheadnumber][width=0.5/textwidth]} Using: This is LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7) ConTeXt ver: 2009.05.14 16:44 MKIV fmt: 2009.5.19 int: english/ english Minimal example attached KR Willi __ _ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ -- Alan __ _ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New structure ...
Don't worry, Holland is still fine... But the problem I refer to is not in the dimension whether or not it is spelled correcltly. The error is still the same: ! Undefined control sequence. argument \reporttextprefixerror \secondoftwoarguments #1#2-#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1-\ifcsname #1 \endcsname \...@ea \secondoftwoarguments \el... argument ... {\??ef \??ef XY\currentheadnumber } {\useexternalfigure [\s!d... ... l.14 ...er][width=\the\dimexpr.5\textwidth\relax]} \starttext \chapter{One} \placefigure [here] [] {A figure} {\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5\textwidth \relax]} \stoptext Willi On May 19, 2009, at 4:00 PM, luigi scarso wrote: On Tue, May 19, 2009 at 3:49 PM, Hans Hagen pra...@wxs.nl wrote: Alan Stone wrote: {\externalfigure[XY\currentheadnumber][width=0.5\textwidth]} \the\dimexpr.5\texidth\relax \the\dimexpr.5\texwidth\relax what's happening in Holland ? -- luigi __ _ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New structure ...
On Tue, May 19, 2009 at 5:17 PM, Willi Egger w.eg...@boede.nl wrote: Don't worry, Holland is still fine... But the problem I refer to is not in the dimension whether or not it is spelled correcltly. The error is still the same: ! Undefined control sequence. argument \reporttextprefixerror \secondoftwoarguments #1#2-#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1-\ifcsname #1 \endcsname \...@ea \secondoftwoarguments \el... argument ... {\??ef \??ef XY\currentheadnumber } {\useexternalfigure [\s!d... ... l.14 ...er][width=\the\dimexpr.5\textwidth\relax]} \starttext \chapter{One} \placefigure [here] [] {A figure} {\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5\textwidth\relax]} \stoptext Willi With... \starttext \chapter{One} \placefigure [here] [] {A figure} % {\externalfigure[XY\currentheadnumber][width=0.5/textwidth]} {\externalfigure[XY\currentheadnumber][width=0.5\textwidth]} % {\externalfigure[XY\currentheadnumber][width=\the\dimexpr.5\texwidth\relax]} \stoptext I get: see attachment. -- Alan headnumber-test.pdf Description: Adobe PDF document ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Fwd: how to change 'figure 1.1' to '그림 1.1'
-- Forwarded message -- From: Wolfgang Schuster [EMAIL PROTECTED] Date: 04.12.2007 11:11 Subject: Re: [NTG-context] how to change 'figure 1.1' to '그림 1.1' To: Dalyoung Jeong [EMAIL PROTECTED] 2007/12/4, Dalyoung Jeong [EMAIL PROTECTED]: Dear all, Last september, I asked about how to change the label text of figures and of tables in my own language. At that time, Wolfgang suggested me to make lang-kor.tex like lang- chi.tex. Yesterday, I made lang-kor.tex and test it. But it is not working. I got the following error message for a simple test file. . . (/usr/local/gwTeX/texmf.pkgs/tex/context/base/sort-lan.mkii)) (./test- label.tuo ) (./test-label.tuo) systems : begin file test-label at line 3 ! Undefined control sequence. argument \koreanencoding \doenableencoding ...\edef \characterencoding [EMAIL PROTECTED] @}\fi \edef \nocharacteren... to be read again \koencodedintro \dogetupsometextprefix ...csname #2#1#3\endcsname \else \ifcsname #2#3\endcs... \labeltexts #1#2-\leftlabeltext {#1} #2\rightlabeltext {#1} \sectionblocklabel ...sectionblock \c!label }}{#2} \fi ... l.9 \section{figures} ? Would you please check what is wrong in here? I test it using XeTeX+ ConTeXt in gwTeX(mac OSX 10.5). Thank you. Best regards, Dalyoung Hi, it is hard to reproduce your problem, I have no fonts on my system to test it and a test file is also missing but you can try the following method. Replace \unexpanded\def\koencoding{\enableencoding[\koreanencoding]} with \unexpanded\def\koencoding{\enableencoding[cjk-uni]} You use a undefined command \koreanecnoding and this will always fail, you should also remove the commented lines at the end of the files and change the file information, subtitle should Korean and not Chinese and you should also change the date. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to change 'figure 1.1' to ' 그림 1.1'
Dear all, Last september, I asked about how to change the label text of figures and of tables in my own language. At that time, Wolfgang suggested me to make lang-kor.tex like lang- chi.tex. Yesterday, I made lang-kor.tex and test it. But it is not working. I got the following error message for a simple test file. . . (/usr/local/gwTeX/texmf.pkgs/tex/context/base/sort-lan.mkii)) (./test- label.tuo ) (./test-label.tuo) systems : begin file test-label at line 3 ! Undefined control sequence. argument \koreanencoding \doenableencoding ...\edef \characterencoding [EMAIL PROTECTED] @}\fi \edef \nocharacteren... to be read again \koencodedintro \dogetupsometextprefix ...csname #2#1#3\endcsname \else \ifcsname #2#3\endcs... \labeltexts #1#2-\leftlabeltext {#1} #2\rightlabeltext {#1} \sectionblocklabel ...sectionblock \c!label }}{#2} \fi ... l.9 \section{figures} ? Would you please check what is wrong in here? I test it using XeTeX+ ConTeXt in gwTeX(mac OSX 10.5). Thank you. Best regards, Dalyoung lang-kor.tex Description: Binary data ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ' undefined inside \startformula .. \stopformula
Hi Aditya, I've copied your codes and replaced the original ones with them, but I failed when I make the formats: texexec --make --all It gives me the following message: --- (d:\ConTeXt\usr\local\context\tex\texmf-local/tex/context/base/math-pln.tex ! Undefined control sequence. \@@toks -\everymathematics \dodoappendtoks -\dodoglobal \@@toks [EMAIL PROTECTED] [EMAIL PROTECTED] \the [EMAIL PROTECTED] \@@toks \the ... l.382 \to \everymathematics ? q OK, entering \batchmode ConTeXt ver: 2006.12.20 23:52 MK II fmt: 2006.12.27 int: dutch/dutch fonts : needs map file: texnansi-public-lm fonts : needs map file: original-base fonts : needs map file: ec-public-lm fonts : needs map file: ec-base fonts : needs map file: lm-ec ! Missing \endcsname inserted. to be read again \@@ladefault \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... \defaultlanguage ...\??la #1\c!default \endcsname \fi \dogetupsometextprefix #1#2#3-\ifcsname #2#1 #3\endcsname \csname #2#1#3\end... \labeltexts #1#2-\leftlabeltext {#1} #2\rightlabeltext {#1} argument ...enumber {\pageprefixes \pagenumber } \@@nmright ... l.38 \protect \errorstopmode \dump \endinput ? q OK, entering \batchmodeTeXExec | generating tex format mptopdf -- On 12/27/06, Aditya Mahajan [EMAIL PROTECTED] wrote: On Tue, 26 Dec 2006, Sanjoy Mahajan wrote: I just noticed this test file failing: \starttext $f'(x)$ \startformula f^\prime(x)\quad f'(x) \stopformula \stoptext It gives: ! Undefined control sequence. l.4 f^\prime(x)\quad f' (x) This is a typo in math-pln.tex. The end of the file should be \bgroup \catcode`\_ = 13 \catcode`\' = 13 \doglobal\appendtoks \let_\activemathunderscore \let'\activemathquote \to \everymathematics %--- was \everymath \egroup Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] New context version
Hi, Thanks for the link to the faq. I did what was said there: 1. I installed the lm fonts 2. I emended the miktex.ini file according to the specifications The texexec -- make en nl still fails (see end of log) My test file, the one I am working on, apparently processes normally, but the output is dvi rather than pdf. References are not processed. Something is still wrong. Could anyone help me out? Help greatly appreciated! Regards, Robert This is pdfeTeX, Version 3.141592-1.20a-2.2 (MiKTeX 2.4) (INITEX) 28 AUG 2005 15:55 entering extended mode ***cont-en (J:\tex\texmf\tex\context\base\cont-en.tex (J:\tex\texmf\tex\context\base\context.tex (J:\tex\texmf\tex\context\base\syst-pln.tex \maxdimen=\dimen10 \hideskip=\skip10 \centering=\skip11 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \interdisplaylinepenalty=\count23 \interfootnotelinepenalty=\count24 \bigskipamount=\skip13 \jot=\dimen13 \medskipamount=\skip14 \normalbaselineskip=\skip15 \normallineskip=\skip16 \normallineskiplimit=\dimen14 \smallskipamount=\skip17 \mscount=\count25 \tabs=\box11 \tabsyet=\box12 \tabsdone=\box13 ) (J:\tex\texmf\tex\context\base\syst-prm.tex) (J:\tex\texmf\tex\context\base\syst-etx.tex) (J:\tex\texmf\tex\context\base\syst-omg.tex) (J:\tex\texmf\tex\context\base\syst-xtx.tex) (J:\tex\texmf\tex\context\base\syst-gen.tex loading : Context System Macros / General ... bodyfont: style mm (mm) defined ) (J:\tex\texmf\tex\context\base\./type-map.tex) (J:\tex\texmf\tex\context\base\./type-spe.tex) (J:\tex\texmf\tex\context\base\./type-akb.tex) (J:\tex\localtexmf\tex\context\base\./type-loc.tex)) ConTeXt ver: 2005.08.19 fmt: 2005.8.28 int: english mes: english fonts : needs map file: original-base fonts : needs map file: ec-public-lm fonts : needs map file: ec-base ! Missing \endcsname inserted. to be read again \@@ladefault \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... \defaultlanguage ...\??la #1\c!default \endcsname \fi \dogetupsometextprefix #1#2#3-\ifcsname #2#1 #3\endcsname \csname #2#1#3\end... \labeltexts #1#2-\leftlabeltext {#1} #2\rightlabeltext {#1} argument ...enumber {\pageprefixes \pagenumber } \@@nmright ... l.44 \protect \errorstopmode \dump \endinput ? ! Missing \endcsname inserted. to be read again \@@ladefault \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... \defaultlanguage ...\??la #1\c!default \endcsname \fi \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... \dogetupsometextprefix ... #2\defaultlanguage {#1} #3\endcsname \csname #2\de... \labeltexts #1#2-\leftlabeltext {#1} #2\rightlabeltext {#1} ... l.44 \protect \errorstopmode \dump \endinput ? ! Missing \endcsname inserted. to be read again \@@ladefault \defaultlanguage ...faultlanguage \csname \??la #1 \c!default \endcsname \fi \defaultlanguage ...\??la #1\c!default \endcsname \fi \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... \dogetupsometextprefix ... #2\defaultlanguage {#1} #3\endcsname \csname #2\de... \labeltexts #1#2-\leftlabeltext {#1} #2\rightlabeltext {#1} ... l.44 \protect \errorstopmode \dump \endinput ? ! Missing \endcsname inserted. to be read again \@@la \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... to be read again \@@ladefault \defaultlanguage ...faultlanguage \csname \??la #1 \c!default \endcsname \fi \defaultlanguage ...\??la #1\c!default \endcsname \fi \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... ... l.44 \protect \errorstopmode \dump \endinput ? ! Missing \endcsname inserted. to be read again \@@ladefault \defaultlanguage #1
RE: [NTG-context] New context version
Hi, I have been trying to get Context working properly for the last 4 hours or so. I don't know what to do. I found out that the commands \defaultlanguage \dogetupsometextprefix occur in a file called lang-lab.tex. But I don't know what to do with this knowledge. I am ahead a deadline for a publication. Help is greatly appreciated! Regards, Robert Thanks for the link to the faq. I did what was said there: 1. I installed the lm fonts 2. I emended the miktex.ini file according to the specifications The texexec -- make en nl still fails (see end of log) My test file, the one I am working on, apparently processes normally, but the output is dvi rather than pdf. References are not processed. Something is still wrong. Could anyone help me out? Help greatly appreciated! Regards, Robert This is pdfeTeX, Version 3.141592-1.20a-2.2 (MiKTeX 2.4) (INITEX) 28 AUG 2005 15:55 entering extended mode ***cont-en (J:\tex\texmf\tex\context\base\cont-en.tex (J:\tex\texmf\tex\context\base\context.tex (J:\tex\texmf\tex\context\base\syst-pln.tex \maxdimen=\dimen10 \hideskip=\skip10 \centering=\skip11 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \interdisplaylinepenalty=\count23 \interfootnotelinepenalty=\count24 \bigskipamount=\skip13 \jot=\dimen13 \medskipamount=\skip14 \normalbaselineskip=\skip15 \normallineskip=\skip16 \normallineskiplimit=\dimen14 \smallskipamount=\skip17 \mscount=\count25 \tabs=\box11 \tabsyet=\box12 \tabsdone=\box13 ) (J:\tex\texmf\tex\context\base\syst-prm.tex) (J:\tex\texmf\tex\context\base\syst-etx.tex) (J:\tex\texmf\tex\context\base\syst-omg.tex) (J:\tex\texmf\tex\context\base\syst-xtx.tex) (J:\tex\texmf\tex\context\base\syst-gen.tex loading : Context System Macros / General ... bodyfont: style mm (mm) defined ) (J:\tex\texmf\tex\context\base\./type-map.tex) (J:\tex\texmf\tex\context\base\./type-spe.tex) (J:\tex\texmf\tex\context\base\./type-akb.tex) (J:\tex\localtexmf\tex\context\base\./type-loc.tex)) ConTeXt ver: 2005.08.19 fmt: 2005.8.28 int: english mes: english fonts : needs map file: original-base fonts : needs map file: ec-public-lm fonts : needs map file: ec-base ! Missing \endcsname inserted. to be read again \@@ladefault \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... \defaultlanguage ...\??la #1\c!default \endcsname \fi \dogetupsometextprefix #1#2#3-\ifcsname #2#1 #3\endcsname \csname #2#1#3\end... \labeltexts #1#2-\leftlabeltext {#1} #2\rightlabeltext {#1} argument ...enumber {\pageprefixes \pagenumber } \@@nmright ... l.44 \protect \errorstopmode \dump \endinput ? ! Missing \endcsname inserted. to be read again \@@ladefault \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... \defaultlanguage ...\??la #1\c!default \endcsname \fi \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... \dogetupsometextprefix ... #2\defaultlanguage {#1} #3\endcsname \csname #2\de... \labeltexts #1#2-\leftlabeltext {#1} #2\rightlabeltext {#1} ... l.44 \protect \errorstopmode \dump \endinput ? ! Missing \endcsname inserted. to be read again \@@ladefault \defaultlanguage ...faultlanguage \csname \??la #1 \c!default \endcsname \fi \defaultlanguage ...\??la #1\c!default \endcsname \fi \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... \dogetupsometextprefix ... #2\defaultlanguage {#1} #3\endcsname \csname #2\de... \labeltexts #1#2-\leftlabeltext {#1} #2\rightlabeltext {#1} ... l.44 \protect \errorstopmode \dump \endinput ? ! Missing \endcsname inserted. to be read again \@@la \defaultlanguage #1-[EMAIL PROTECTED] \ifx \csname \??la #1 \c!default \endcsname \empty ... to be read again \@@ladefault \defaultlanguage ...faultlanguage \csname \??la #1 \c!default \endcsname \fi \defaultlanguage ...\??la #1\c!default \endcsname
[NTG-context] Problem with \seeindex
Hi all, in a german text with a lot of czech words I get an error when using \seeindex \seeindex{Polda}{Bu\v{s}ina, Leopold} does not work! (./seeindex_test.tuo ! Missing number, treated as zero. to be read again \let \dobuildtextaccent ... \char \normalaccent #1\let \char \normalchar #2} argument Bu\dobuildtextaccent \char 2 0 sina, Leopold \labeltexts #1#2-\leftlabeltext {#1}#2 \rightlabeltext {#1} \doregisterpagehowto ...d #1\c!paginacommando }{#2 }\dostopattributes \limitatetext ...it \empty \normallimitatetext {#1 }\leftlimit {#3}\else \spe... ... l.37 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0} What do I wrong? Thanks for any help Bernd %#ConTeXt % % \starttext % \enableregime[il1] % Eingabe-Codierung \mainlanguage[de] \setupencoding[default=texnansi] % Test with \type{\seeindex}\crlf \type{\seeindex{Polda}{Bu\v{s}ina, Leopold}} \blank Dr. Hodina kam \dots \index{Hodina+Franz} \seeindex{Dr. Hodina}{Hodina, Franz} \blank in Bhmen und Mhren \dots \index[Boehmen]{Bhmen} \index[Maehren]{Mhren} \blank Erv\'{i}n P\v{r}ichystal, Bauernsohn \dots \index[Prichystal]{P\v{r}ichystal+Erv\'{i}n} \blank Josef Zachar,Schmied\dots \index{Zachar+Josef}\index{\it Schmied} \seeindex{Onkel Zachar}{Zachar, Josef} \blank Leopold Bu\v{s}ina, Sohn eines Dachdeckers \dots \index[Busina]{Bu\v{s}ina+Leopold} Polda -- sein Rufname \seeindex{Polda}{Bu\v{s}ina, Leopold} % produziert Fehler!!! \blank[2*big] \placeindex % \stoptext % ENDE This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2004.6.20) 21 JUN 2004 17:35 entering extended mode \write18 enabled. **cont-en seeindex_test.tex (./seeindex_test.tex{/var/lib/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2004.4.9 fmt: 2004.6.20 int: english mes: english language : language en is active protectionstate 0 system : cont-new loaded (/usr/local/share/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! color : palette rollover is available system (E-TEX) : [line 255] system (E-TEX) : [line 310] ) system : cont-old loaded (/usr/local/share/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (/usr/local/share/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (/var/lib/texmf/tex/context/config/cont-sys.tex) bodyfont : 12pt rm is loaded language : patterns 2:2-cz-2 3:2-cz-2 4:2-en-2 5:2-uk-2 6:2-de-2 7:2-fr-2 8:2-es-2 9:2-it-2 10:2-nl-2 loaded specials : tex,postscript,rokicki loaded \openout2 = `seeindex_test.tui'. system : seeindex_test.top loaded (./seeindex_test.top) \openout0 = `mpgraph.mp'. \openout0 = `mpgraph.mp'. (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) fonts : needs map file: ec-public-lm.map fonts : needs map file: original-base.map systems: begin file seeindex_test at line 4 (./seeindex_test.tuo ! Missing number, treated as zero. to be read again \let \dobuildtextaccent ... \char \normalaccent #1\let \char \normalchar #2} argument Bu\dobuildtextaccent \char 2 0 sina, Leopold \labeltexts #1#2-\leftlabeltext {#1}#2 \rightlabeltext {#1} \doregisterpagehowto ...d #1\c!paginacommando }{#2 }\dostopattributes \limitatetext ...it \empty \normallimitatetext {#1 }\leftlimit {#3}\else \spe... ... l.37 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0} ? ) columns: balanced in 17 step(s) [1.1] systems: end file seeindex_test at line 35 ) Here is how much of TeX's memory you used: 428 strings out of 66597 6660 string characters out of 725107 4412659 words of memory out of 5507791 31628 multiletter control sequences out of 1+5 10453 words of font info for 35 fonts, out of 50 for 1000 62 hyphenation exceptions out of 1000 44i,17n,49p,157b,627s stack positions out of 1500i,500n,5000p,20b,5000s 0 PDF objects out of 30 0 named destinations out of 131072 0 words of extra memory for PDF output out of 65536 Output written on seeindex_test.dvi (1 page, 1500 bytes).
[NTG-context] \seeindex problem
Hi, when I use \seeindex{Polda}{Bu\v{s}ina, Leopold} I get the following messages: This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2004.5.18) 15 JUN 2004 20:21 entering extended mode \write18 enabled. **cont-en seeindex_test.tex (./seeindex_test.tex{/var/lib/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2004.4.9 fmt: 2004.5.18 int: english mes: english language : language en is active protectionstate 0 system : cont-new loaded (/usr/local/share/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! color : palette rollover is available system (E-TEX) : [line 255] system (E-TEX) : [line 310] ) system : cont-old loaded (/usr/local/share/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (/usr/local/share/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (/var/lib/texmf/tex/context/config/cont-sys.tex) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded \openout2 = `seeindex_test.tui'. system : seeindex_test.top loaded (./seeindex_test.top) \openout0 = `mpgraph.mp'. \openout0 = `mpgraph.mp'. (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo) fonts : needs map file: ec-public-lm.map fonts : needs map file: original-base.map systems: begin file seeindex_test at line 4 (./seeindex_test.tuo ! Missing number, treated as zero. to be read again \let \dobuildtextaccent ... \char \normalaccent #1\let \char \normalchar #2} argument Bu\dobuildtextaccent \char 2 0 sina, Leopold \labeltexts #1#2-\leftlabeltext {#1}#2 \rightlabeltext {#1} \doregisterpagehowto ...d #1\c!paginacommando }{#2 }\dostopattributes \limitatetext ...it \empty \normallimitatetext {#1 }\leftlimit {#3}\else \spe... ... l.45 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0} ? ! Emergency stop. to be read again \let \dobuildtextaccent ... \char \normalaccent #1\let \char \normalchar #2} argument Bu\dobuildtextaccent \char 2 0 sina, Leopold \labeltexts #1#2-\leftlabeltext {#1}#2 \rightlabeltext {#1} \doregisterpagehowto ...d #1\c!paginacommando }{#2 }\dostopattributes \limitatetext ...it \empty \normallimitatetext {#1 }\leftlimit {#3}\else \spe... ... l.45 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0} End of file on the terminal! here my testfile: % \starttext % \enableregime[windows] \mainlanguage[de] \setupencoding[default=texnansi] % Test with \type{\seeindex}\crlf \type{\seeindex{Polda}{Bu\v{s}ina, Leopold}} \blank Dr. Hodina kam \dots \index{Hodina+Franz} \seeindex{Dr. Hodina}{Hodina, Franz} \blank in Böhmen und Mähren \dots \index[Boehmen]{Böhmen} \index[Maehren]{Mähren} \blank Erv\'{i}n P\v{r}ichystal, Bauernsohn \dots \index[Prichystal]{P\v{r}ichystal+Erv\'{i}n} \blank Josef Zachar,Schmied\dots \index{Zachar+Josef}\index{\it Schmied} \seeindex{Onkel Zachar}{Zachar, Josef} \blank Leopold Bu\v{s}ina, Sohn eines Dachdeckers \dots \index[Busina]{Bu\v{s}ina+Leopold} Polda -- sein Rufname \seeindex{Polda}{Bu\v{s}ina, Leopold} % produziert Fehler!!! \blank[2*big] \placeindex % \stoptext Thanks for help Bernd ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context