Re: [NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX
On 12/6/2022 10:04 PM, Rik Kabel via ntg-context wrote: On 2022-12-06 15:32, Hans Hagen via ntg-context wrote: On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote: \definelabel[X][text=] \startTEXpage[offset=1cm] \X\X[a]\X[b]\X\par \convertnumber{R}{\ref[number][a]} \convertnumber{G}{\ref[number][b]} \stopTEXpage maybe like this: \definelabel[X][text=] \startTEXpage[offset=1cm] (\X) (\X[a]) (\X[b]) (\X) \par \doifelsereferencefound {a} {\convertnumber{number}{\currentreferencenumber}} {} \par \doifelsereferencefound {a} {\convertnumber{R}{\currentreferencenumber}} {} \par \doifelsereferencefound {b} {\convertnumber{G}{\currentreferencenumber}} {} \stopTEXpage - Hans Hagen | PRAGMA ADE Perfect! Thank you. It looks like \currentreference number is initially empty, and when \doifelsereferencefound succeeds it is set to that value, and remains set to that value until another \doifelsereferencefound is encountered. If \doifelsereferencefound fails, \currentreference is again empty. Is that correct? yes, btw, there are some more \currentreference* available Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX
On 2022-12-06 15:32, Hans Hagen via ntg-context wrote: On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote: \definelabel[X][text=] \startTEXpage[offset=1cm] \X\X[a]\X[b]\X\par \convertnumber{R}{\ref[number][a]} \convertnumber{G}{\ref[number][b]} \stopTEXpage maybe like this: \definelabel[X][text=] \startTEXpage[offset=1cm] (\X) (\X[a]) (\X[b]) (\X) \par \doifelsereferencefound {a} {\convertnumber{number}{\currentreferencenumber}} {} \par \doifelsereferencefound {a} {\convertnumber{R}{\currentreferencenumber}} {} \par \doifelsereferencefound {b} {\convertnumber{G}{\currentreferencenumber}} {} \stopTEXpage - Hans Hagen | PRAGMA ADE Perfect! Thank you. It looks like \currentreference number is initially empty, and when \doifelsereferencefound succeeds it is set to that value, and remains set to that value until another \doifelsereferencefound is encountered. If \doifelsereferencefound fails, \currentreference is again empty. Is that correct? -- Rik ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX
On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote: \definelabel[X][text=] \startTEXpage[offset=1cm] \X\X[a]\X[b]\X\par \convertnumber{R}{\ref[number][a]} \convertnumber{G}{\ref[number][b]} \stopTEXpage maybe like this: \definelabel[X][text=] \startTEXpage[offset=1cm] (\X) (\X[a]) (\X[b]) (\X) \par \doifelsereferencefound {a} {\convertnumber{number}{\currentreferencenumber}} {} \par \doifelsereferencefound {a} {\convertnumber{R}{\currentreferencenumber}} {} \par \doifelsereferencefound {b} {\convertnumber{G}{\currentreferencenumber}} {} \stopTEXpage - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX
On 2022-01-19 12:39, Rik Kabel via ntg-context wrote: This is still a problem with the current standalone. \definelabel[X][text=] \startTEXpage[offset=1cm] \X\X[a]\X[b]\X\par \convertnumber{R}{\ref[number][a]} \convertnumber{G}{\ref[number][b]} \stopTEXpage %% The above example fails to compile when there is no tuc file, %% complaining of a missing number in line 4. When lines 4 %% and 5 are removed and the file is compiled, producing %% a .tuc file, and then they are restored, the example %% compiles without error. The effect of having or not having %% an associated .tuc file does seem a bit odd. Surely there is a way to get the number from a label reference that can then be converted to a numeral of choice. -- Rik (A year later) Is there still no way to do this without resorting to the .tuc-file gimmick? The need is to take a label reference number and display it under a different numberconversion regime. -- Rik ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX
This is still a problem with the current standalone. \definelabel[X][text=] \startTEXpage[offset=1cm] \X\X[a]\X[b]\X\par \convertnumber{R}{\ref[number][a]} \convertnumber{G}{\ref[number][b]} \stopTEXpage %% The above example fails to compile when there is no tuc file, %% complaining of a missing number in line 4. When lines 4 %% and 5 are removed and the file is compiled, producing %% a .tuc file, and then they are restored, the example %% compiles without error. The effect of having or not having %% an associated .tuc file does seem a bit odd. Surely there is a way to get the number from a label reference that can then be converted to a numeral of choice. -- Rik ___ 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] Convertnumber with \ref[number] fails in MkIV, works in LMTX
On 10/28/2021 02:56, Hans Hagen wrote: On 10/28/2021 4:58 AM, Rik Kabel via ntg-context wrote: Following up on my own note, I see that this fails under LMTX if compiled in a clean directory, but succeeds if first compiled with the troublesome line removed, and then, restoring the line, compiled a second time. It also works by placing a .tuc file from an older version of the document into the directory before compiling. Very strange indeed. The expected output, from one of those successful compilations: So. I am clearly doing something wrong, but sometimes LMTX is letting me get away with it. -- Rik On 10/27/2021 21:47, Rik Kabel via ntg-context wrote: Hello list, The following fails with ConTeXt ver: 2021.10.24 21:45 MKIV but works with the companion LMTX. The error message is:tex error > tex error on line 6 in file G:/TestConTeXt/convert.tex: ! Incompatible glue units , pointing to the second \convertnumber line. \definelabel[XX]%[text=,before=,after=,alternative=inright] \startTEXpage[offset=2em] abc\XX[xx]\par \ref[number][xx] · \convertnumber{r}{1} · \convertnumber{R}{\ref[number][xx]} \stopTEXpage In this case I am trying to display with roman numerals the number generated in the label created through \definelabel. Suggestions welcomed. the conmversion is (partly) done in lua so at some point the \ref[number][xx] gets scanned which is more robust in lmtx than in mkiv normally one does the conversion differently: \definelabel[XX][numberconversion=R] \definelabel[YY][XX][numberconversion=A] \startTEXpage[offset=2em] 1: \XX[xx]\par 2: \YY[xx] \stopTEXpage Hans (Resending because attachment was too large.) That generates a new labeled item albeit with a roman numeral label. I am trying to get the value of a previously generated numeric label converted roman numerals. So, consider that I have a numeric label identifying a paragraph of text. I want to reference that label in another place but need to do it in Latin. I want to convert the original label number to a roman numeral for use in that one place, not generate a new label displayed as a roman numeral. So, \definelabel[XX][text=¶] \define\Naa{\ref[number][aa]} \define[1]\Nnn{\ref[number][#1]} \define\Raa{\convertnumber{R}{\ref[number][aa]}} \define[1]\Rnn{\convertnumber{R}{\ref[number][#1]}} \startTEXpage[offset=2em] Paragraph\XX[aa]\par Paragraph\XX[bb]\par Paragraph\XX[cc]\par 1: \Naa\par 2: \Nnn{bb}\par % these fail without an existing tuc file: I: {\la Vide paragraphum \Raa.}\par II: {\la Vide paragraphum \Rnn{bb}.} \stopTEXpage should produce: Paragraph *¶ 1 *Paragraph *¶ 2* Paragraph *¶ 3* 1: 1 2: 2 I: Vide paragraphum I. II: Vide paragraphum II. but this fails without an existing good tuc file. If I comment out the two latin lines, compile (to failure), and then uncomment the lines and try again, it compiles without error. Does this mean that \ref[number][label] does not really return a number as \convertnumber expects? This is the case with today's upload as well (ConTeXt ver: 2021.10.28 10:19 LMTX). -- Rik ___ 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] Convertnumber with \ref[number] fails in MkIV, works in LMTX
On 10/28/2021 4:58 AM, Rik Kabel via ntg-context wrote: Following up on my own note, I see that this fails under LMTX if compiled in a clean directory, but succeeds if first compiled with the troublesome line removed, and then, restoring the line, compiled a second time. It also works by placing a .tuc file from an older version of the document into the directory before compiling. Very strange indeed. The expected output, from one of those successful compilations: So. I am clearly doing something wrong, but sometimes LMTX is letting me get away with it. -- Rik On 10/27/2021 21:47, Rik Kabel via ntg-context wrote: Hello list, The following fails with ConTeXt ver: 2021.10.24 21:45 MKIV but works with the companion LMTX. The error message is:tex error > tex error on line 6 in file G:/TestConTeXt/convert.tex: ! Incompatible glue units , pointing to the second \convertnumber line. \definelabel[XX]%[text=,before=,after=,alternative=inright] \startTEXpage[offset=2em] abc\XX[xx]\par \ref[number][xx] · \convertnumber{r}{1} · \convertnumber{R}{\ref[number][xx]} \stopTEXpage In this case I am trying to display with roman numerals the number generated in the label created through \definelabel. Suggestions welcomed. the conmversion is (partly) done in lua so at some point the \ref[number][xx] gets scanned which is more robust in lmtx than in mkiv normally one does the conversion differently: \definelabel[XX][numberconversion=R] \definelabel[YY][XX][numberconversion=A] \startTEXpage[offset=2em] 1: \XX[xx]\par 2: \YY[xx] \stopTEXpage Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX
Following up on my own note, I see that this fails under LMTX if compiled in a clean directory, but succeeds if first compiled with the troublesome line removed, and then, restoring the line, compiled a second time. It also works by placing a .tuc file from an older version of the document into the directory before compiling. Very strange indeed. The expected output, from one of those successful compilations: So. I am clearly doing something wrong, but sometimes LMTX is letting me get away with it. -- Rik On 10/27/2021 21:47, Rik Kabel via ntg-context wrote: Hello list, The following fails with ConTeXt ver: 2021.10.24 21:45 MKIV but works with the companion LMTX. The error message is:tex error > tex error on line 6 in file G:/TestConTeXt/convert.tex: ! Incompatible glue units , pointing to the second \convertnumber line. \definelabel[XX]%[text=,before=,after=,alternative=inright] \startTEXpage[offset=2em] abc\XX[xx]\par \ref[number][xx] · \convertnumber{r}{1} · \convertnumber{R}{\ref[number][xx]} \stopTEXpage In this case I am trying to display with roman numerals the number generated in the label created through \definelabel. Suggestions welcomed. -- Rik ___ 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 __ 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 ___
[NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX
Hello list, The following fails with ConTeXt ver: 2021.10.24 21:45 MKIV but works with the companion LMTX. The error message is:tex error > tex error on line 6 in file G:/TestConTeXt/convert.tex: ! Incompatible glue units , pointing to the second \convertnumber line. \definelabel[XX]%[text=,before=,after=,alternative=inright] \startTEXpage[offset=2em] abc\XX[xx]\par \ref[number][xx] · \convertnumber{r}{1} · \convertnumber{R}{\ref[number][xx]} \stopTEXpage In this case I am trying to display with roman numerals the number generated in the label created through \definelabel. Suggestions welcomed. -- Rik ___ 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] index x-ref problem
This is fixed in the latest beta. Thanks, Hans! Alan On Sat, May 19, 2018 at 8:05 AM Alan Bowenwrote: > IF I am doing this correctly, then, there seems to be problems in the > current standalone when there are two x-refs to a single heading. The > space after “and” is missing and should the order of the refs not be > alphabetical? > > MWE > > \starttext > \seeindex{animal}{cat} > \seeindex{animal}{quadruped} > > %\seeindex{animal}{whiskers} > > The \index{cat}cat has \index{whiskers} whiskers. > \blank[3*big] > \placeindex > \stoptext > > Uncomment the \seeindex{animal}{whiskers} and it gets even messier. > > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] index x-ref problem
IF I am doing this correctly, then, there seems to be problems in the current standalone when there are two x-refs to a single heading. The space after “and” is missing and should the order of the refs not be alphabetical? MWE \starttext \seeindex{animal}{cat} \seeindex{animal}{quadruped} %\seeindex{animal}{whiskers} The \index{cat}cat has \index{whiskers} whiskers. \blank[3*big] \placeindex \stoptext Uncomment the \seeindex{animal}{whiskers} and it gets even messier. 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \ref not working in current Ctx?
Hello, the wiki example doesn't work on my computer, although the wiki result seems OK: \starttext See page \ref[p][myref 1] and \ref[p][myref 2]. \page \reference[myref 1]{MyRef1} This is the first reference. \page \reference[myref 2]{MyRef2} This is the second one. \stoptext The result is: See page and ., i.e. missing numbers of referred pages. Maybe versions of Ctx on wiki and on my computer differ. The mine: ConTeXt ver: 2012.04.07 14:42 MKIV fmt: 2012.4.9 int: english/english A patch needed? Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t-Ref.log Description: Binary data t-Ref.mkiv Description: Binary data t-Ref.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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \ref not working in current Ctx?
Am 12.04.2012 um 08:48 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, the wiki example doesn't work on my computer, although the wiki result seems OK: \starttext See page \ref[p][myref 1] and \ref[p][myref 2]. \page \reference[myref 1]{MyRef1} This is the first reference. \page \reference[myref 2]{MyRef2} This is the second one. \stoptext The result is: See page and ., i.e. missing numbers of referred pages. Maybe versions of Ctx on wiki and on my computer differ. The mine: ConTeXt ver: 2012.04.07 14:42 MKIV fmt: 2012.4.9 int: english/english A patch needed? In MkIV you can use the \getreference command for this, see this mail for the arguments. http://news.gmane.org/gmane.comp.tex.context The \ref command is now only a synonym for \getreference and needs the same arguments. 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] \ref not working in current Ctx?
... OK, thank you. I also found your piece of code at http://www.mail-archive.com/ntg-context@ntg.nl/msg62816.html where usage is shown. But I still have a question: Is it possible to create a point (or anchor) which would know about the current section, so to retrieve this information later? See the code: \setupinteraction[state=start] \starttext See: \at[MyRef1] \about[MyRef1] \getreference[page][MyRef1] \getreference[title][MyRef1] \getreference[text][MyRef1] \getreference[number][MyRef1] \page \section{Sec1} \subsection{SSec1} \reference[MyRef1]{MyRef1} This is the first reference. \stoptext Gives: See: 2 “” 2 MyRef1 And I'm looking for a way to obtain: See: ... SSec1 ... - the current deepest (current) section name, or See: ... SSec1 ... - quoted current deepest (current) section name, like \about does, and See: ... 1.1 ... - the current section number. How to achieve this? Best regards, Lukas On Thu, 12 Apr 2012 13:53:05 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: In MkIV you can use the \getreference command for this, see this mail for the arguments. The \ref command is now only a synonym for \getreference and needs the same arguments. Wolfgang -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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] No numbers with `\ref` and floats like `\placetable`
On 30.10.2011, at 09:45, Wolfgang Schuster wrote: Am 29.10.2011 um 23:57 schrieb Andreas Harder: On 29.10.2011, at 23:47, Paul Menzel wrote: Dear ConTeXt folks, I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english That's also true for yesterdays beta. I’m aware of this but I hadn’t time so far to write a fix for this. Hi Wolfgang, still no fix? \starttext \placeformula[eq:1] \startformula a+b \stopformula \in{Equation:}[eq:1] \stoptext Regards Andreas ___ 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] No numbers with `\ref` and floats like `\placetable`
On 07.11.2011, at 12:03, Wolfgang Schuster wrote: Am 07.11.2011 um 11:53 schrieb Andreas Harder: On 30.10.2011, at 09:45, Wolfgang Schuster wrote: Am 29.10.2011 um 23:57 schrieb Andreas Harder: On 29.10.2011, at 23:47, Paul Menzel wrote: Dear ConTeXt folks, I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english That's also true for yesterdays beta. I’m aware of this but I hadn’t time so far to write a fix for this. Hi Wolfgang, still no fix? \starttext \placeformula[eq:1] \startformula a+b \stopformula \in{Equation:}[eq:1] \stoptext When you don’t need subformulas change this in strc-mat.mkiv: I don’t, thanks. Andreas ___ 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] No numbers with `\ref` and floats like `\placetable`
Am 07.11.2011 um 12:45 schrieb Andreas Harder: When you don’t need subformulas change this in strc-mat.mkiv: I don’t, thanks. Instead of patching strc-mat.mkiv you can create a file with the name cont-loc.mkiv in your working directory where you add both modified commands. With this method you don’t have to make the changes in the core and when it’s fixed just delete this file. 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] No numbers with `\ref` and floats like `\placetable`
On 07.11.2011, at 13:02, Wolfgang Schuster wrote: Am 07.11.2011 um 12:45 schrieb Andreas Harder: When you don’t need subformulas change this in strc-mat.mkiv: I don’t, thanks. Instead of patching strc-mat.mkiv you can create a file with the name cont-loc.mkiv in your working directory where you add both modified commands. With this method you don’t have to make the changes in the core and when it’s fixed just delete this file. This is a really useful tip! Thanks again. Andreas ___ 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] No numbers with `\ref` and floats like `\placetable`
Am 29.10.2011 um 23:47 schrieb Paul Menzel: Dear ConTeXt folks, I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english the following example does not work. Either no number is shown or »??«. \starttext Table \ref[][tab:reference] is a nice table. But referencing does not work \ref[tab:reference]. Use “\in[tab:reference]” to refer to the table number of give “\ref” a keyword (in your case “number”) for the first argument. 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] No numbers with `\ref` and floats like `\placetable`
Am 29.10.2011 um 23:57 schrieb Andreas Harder: On 29.10.2011, at 23:47, Paul Menzel wrote: Dear ConTeXt folks, I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english That's also true for yesterdays beta. I’m aware of this but I hadn’t time so far to write a fix for this. 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] No numbers with `\ref` and floats like `\placetable`
On 30.10.2011, at 09:45, Wolfgang Schuster wrote: Am 29.10.2011 um 23:57 schrieb Andreas Harder: On 29.10.2011, at 23:47, Paul Menzel wrote: Dear ConTeXt folks, I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english That's also true for yesterdays beta. I’m aware of this but I hadn’t time so far to write a fix for this. Okay. Thank you in advance. Andreas ___ 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] [solved] No numbers with `\ref` and floats like `\placetable`
Am Sonntag, den 30.10.2011, 08:30 +0100 schrieb Wolfgang Schuster: Am 29.10.2011 um 23:47 schrieb Paul Menzel: I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english the following example does not work. Either no number is shown or »??«. \starttext Table \ref[][tab:reference] is a nice table. But referencing does not work \ref[tab:reference]. Use “\in[tab:reference]” to refer to the table number of give “\ref” a keyword (in your case “number”) for the first argument. That indeed solved this issue. Thank you very much! Thanks, Paul ref.pdf Description: Adobe PDF document \starttext Table \ref[number][tab:reference] is a nice table. But referencing does not work \in[tab:reference]. \placetable[][tab:reference] {The table should be set up better.} { \startluacode context.bTABLE() context.bTR() context.bTD() context(n) context.eTD() for j=1,10 do context.bTD() context($10^{ .. j .. }$) context.eTD() end context.eTR() t = { 1, 2, 4, 8 } for index, i in ipairs(t) do context.bTR() context.bTD() context($n^{ .. -i .. }$) context.eTD() for j=1,10 do context.bTD() context(\%.4f, 10^(-j/i)) context.eTD() end context.eTR() end context.eTABLE() \stopluacode } \stoptext signature.asc Description: This is a digitally signed message part ___ 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] No numbers with `\ref` and floats like `\placetable`
Dear ConTeXt folks, I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english the following example does not work. Either no number is shown or »??«. \starttext Table \ref[][tab:reference] is a nice table. But referencing does not work \ref[tab:reference]. \placetable[][tab:reference] {The table should be set up better.} { \startluacode context.bTABLE() context.bTR() context.bTD() context(n) context.eTD() for j=1,10 do context.bTD() context($10^{ .. j .. }$) context.eTD() end context.eTR() t = { 1, 2, 4, 8 } for index, i in ipairs(t) do context.bTR() context.bTD() context($n^{ .. -i .. }$) context.eTD() for j=1,10 do context.bTD() context(\%.4f, 10^(-j/i)) context.eTD() end context.eTR() end context.eTABLE() \stopluacode } \stoptext Please find the source file and the resulting PDF file attached. Thanks, Paul ref.pdf Description: Adobe PDF document \starttext Table \ref[][tab:reference] is a nice table. But referencing does not work \ref[tab:reference]. \placetable[][tab:reference] {The table should be set up better.} { \startluacode context.bTABLE() context.bTR() context.bTD() context(n) context.eTD() for j=1,10 do context.bTD() context($10^{ .. j .. }$) context.eTD() end context.eTR() t = { 1, 2, 4, 8 } for index, i in ipairs(t) do context.bTR() context.bTD() context($n^{ .. -i .. }$) context.eTD() for j=1,10 do context.bTD() context(\%.4f, 10^(-j/i)) context.eTD() end context.eTR() end context.eTABLE() \stopluacode } \stoptext signature.asc Description: This is a digitally signed message part ___ 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] No numbers with `\ref` and floats like `\placetable`
On 29.10.2011, at 23:47, Paul Menzel wrote: Dear ConTeXt folks, I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english That's also true for yesterdays beta. \starttext \placeformula[eq:1] \startformula a+b \stopformula \in{Equation:}[eq:1] \stoptext Regards Andreas ___ 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] math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19)
Dear ConTeXt folks, using ConTeXt ver: 2011.06.19 14:17 MKIV fmt: 2011.6.21 int: english/english the following minimal example taken from the Wiki page [1] does not work as expected. --- 8 --- minimal example --- 8 --- \starttext The famous result (and again) is given by \placeformula[formulalabel] \startformula c^2 = a^2 + b^2. \stopformula And now we can refer to formula \ref[formulalabel] (ref). And now we can refer to formula \in[formulalabel] (in). \stoptext --- 8 --- minimal example --- 8 --- `\ref` does not seem to find the label for the equation. `\in` does work. Thanks, Paul [1] http://wiki.contextgarden.net/Math/Display#Referencing_formulae signature.asc Description: This is a digitally signed message part ___ 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] math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19)
Dear ConTeXt folks, Am Sonntag, den 10.07.2011, 21:55 +0200 schrieb Paul Menzel: using ConTeXt ver: 2011.06.19 14:17 MKIV fmt: 2011.6.21 int: english/english the following minimal example taken from the Wiki page [1] does not work as expected. --- 8 --- minimal example --- 8 --- \starttext The famous result (and again) is given by \placeformula[formulalabel] \startformula c^2 = a^2 + b^2. \stopformula And now we can refer to formula \ref[formulalabel] (ref). And now we can refer to formula \in[formulalabel] (in). \stoptext --- 8 --- minimal example --- 8 --- `\ref` does not seem to find the label for the equation. `\in` does work. I forgot to attach the example files. Thanks, Paul [1] http://wiki.contextgarden.net/Math/Display#Referencing_formulae ref.pdf Description: Adobe PDF document \starttext The famous result (and again) is given by \placeformula[formulalabel] \startformula c^2 = a^2 + b^2. \stopformula And now we can refer to formula \ref[formulalabel] (ref). And now we can refer to formula \in[formulalabel] (in). \stoptext signature.asc Description: This is a digitally signed message part ___ 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] math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19)
Am 10.07.2011 um 21:55 schrieb Paul Menzel: Dear ConTeXt folks, using ConTeXt ver: 2011.06.19 14:17 MKIV fmt: 2011.6.21 int: english/english the following minimal example taken from the Wiki page [1] does not work as expected. --- 8 --- minimal example --- 8 --- \starttext The famous result (and again) is given by \placeformula[formulalabel] \startformula c^2 = a^2 + b^2. \stopformula And now we can refer to formula \ref[formulalabel] (ref). And now we can refer to formula \in[formulalabel] (in). \stoptext --- 8 --- minimal example --- 8 --- `\ref` does not seem to find the label for the equation. `\in` does work. [1] http://wiki.contextgarden.net/Math/Display#Referencing_formulae The example is wrong, \ref expects two arguments: http://wiki.contextgarden.net/Reference/en/ref 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] problem with \ref[t][...]
On Fri, Jun 11 2010, Peter Münster wrote: A related question: how can I get rid of the quotation marks of \about[]? Ok, found it: \setupreferencing[left=, right=] Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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] problem with \ref[t][...]
Hello, \ref[t][...] does not work as expected, or I expect the wrong thing: \starttext \startsection[title=Problem here, reference=sec1] Section text: \ref[t][sec1] \stopsection \startsection[title=Workaround] \reference[sec2]{Workaround} Section text: \ref[t][sec2] \stopsection \stoptext A related question: how can I get rid of the quotation marks of \about[]? Test file: \starttext \startsection[title=Section, reference=sec] Title: \about[sec] \stopsection \stoptext TIA for any help! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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] reference, ref, label, id, etc.
Hello, We have now \startsection[reference=...] and \reference[]{} and perhaps other such commands. Wouldn't it be better to call this label or identifier or id or similar instead of reference ? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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] \ref and \goto
Hi, how can I combine \ref and \goto? \setupinteraction[state=start] \starttext \chapter[sec:one]{One} \chapter[sec:two]{Two} see also \goto{One}[sec:one] % hyperlink see also \ref[s][sec:one] % no hyperlink see also \goto{\ref[s][sec:one]}[sec:one] % fails \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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \ref and \goto
On Sun, Nov 02 2008, Wolfgang Schuster wrote: how can I combine \ref and \goto? \setupinteraction[state=start] [...] see also \goto{\ref[s][sec:one]}[sec:one] % fails Here a workaround: see also \goto{\expanded{\ref[s][sec:one]}}[sec:one] % does not fail This works also: \def\myGoto#1{\goto{\expanded{\ref[s][#1]}}[#1]} see also \myGoto{sec:one} Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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] \ref and \goto
Am 02.11.2008 um 18:21 schrieb Peter Münster: On Sun, Nov 02 2008, Wolfgang Schuster wrote: how can I combine \ref and \goto? \setupinteraction[state=start] [...] see also \goto{\ref[s][sec:one]}[sec:one] % fails Here a workaround: see also \goto{\expanded{\ref[s][sec:one]}}[sec:one] % does not fail This works also: \def\myGoto#1{\goto{\expanded{\ref[s][#1]}}[#1]} see also \myGoto{sec:one} Hi Peter, thank you for the solution, I use now this: \def\gotoref[#1][#2]% {\goto{\expanded{\ref[#1][#2]}}[#2]} see also \gotoref[s][sec:one] Regards 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 ___
[NTG-context] how to prevent document resize in acrobat reader when click on an ref object
HI! I'm often use \setupinteraction[state=start] \setupcolor[state=start] \starttext \placesomething[somewhere][ref]{caption} ... ... So in the text I refer to \in{something}[ref] so I can click on it in the resulting pdf so I get there. \stoptext The question is how to change the default behavior so acrobat not resizes the document on the screen when I'm clicking on the ref object. I think it is annoying changing back to the reading size I had before. Many thanks! Janneman ___ 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 prevent document resize in acrobat reader when click on an ref object
On Fri, 27 Jun 2008, Jan-Erik Hägglöf wrote: HI! I'm often use \setupinteraction[state=start] \setupcolor[state=start] \starttext \placesomething[somewhere][ref]{caption} ... ... So in the text I refer to \in{something}[ref] so I can click on it in the resulting pdf so I get there. \stoptext The question is how to change the default behavior so acrobat not resizes the document on the screen when I'm clicking on the ref object. I think it is annoying changing back to the reading size I had before. Yes, I find that annoying too. However, it is easy to change \setupinteraction[focus=standard] Aditya___ 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] [OT] Quick ref for Lua ?
On Dec 31, 2007 1:04 AM, Arthur Reutenauer [EMAIL PROTECTED] wrote: OK , found it http://lua-users.org/wiki/LuaShortReference Also http://pgl.yoyo.org/luai/i/about -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___ 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] [OT] Quick ref for Lua ?
On Oct 25, 2007 3:43 PM, Arthur Reutenauer [EMAIL PROTECTED] wrote: The Lua users wiki is very helpful but I don't think there is any PDF quick ref (http://lua-users.org/wiki/). And if you mean Lua, as in Lua used in LuaTeX (with all the additional libraries, etc.), then no, definitely no. OK , found it http://lua-users.org/wiki/LuaShortReference -- luigi http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007 it's new . it's powerful . it's luatex . http://www.luatex.org ___ 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] [OT] Quick ref for Lua ?
OK , found it http://lua-users.org/wiki/LuaShortReference Interesting :-) Thanks! Arthur ___ 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] [OT] Quick ref for Lua ?
Arthur Reutenauer wrote: P-S for Taco: Am I right in saying that the list of additional libraries is: • The twelve ones documented in luatexref-t.pdf • lfs, luamd5, lpeg, luazip, luazlib and Selene Unicode (as seen in src/libs)? Yes, that's it. Luazlib actually defines things in two separate tables, but that is the only oddity I am aware of. There are a few extensions to the lfs and os tables I wrote, but those are documented in the manual already. That could be a start to write a complete texlua manual ... (here I'm only interested in the libraries providing new lua functions, obviously). I plan to incorporate the reference for each of those additional external libraries in the manual, but that is a somewhat timeconsuming task and I never seem to get around to it. Best wishes, Taco ___ 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] [OT] Quick ref for Lua ?
Does anybody know or use about pdf/ppt quick reference for Lua as used in LuaTeX ? -- 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] [OT] Quick ref for Lua ?
The Lua users wiki is very helpful but I don't think there is any PDF quick ref (http://lua-users.org/wiki/). And if you mean “Lua, as in Lua used in LuaTeX (with all the additional libraries, etc.), then no, definitely no. Arthur ___ 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] [OT] Quick ref for Lua ?
On 10/25/07, Arthur Reutenauer [EMAIL PROTECTED] wrote: The Lua users wiki is very helpful but I don't think there is any PDF quick ref (http://lua-users.org/wiki/). And if you mean Lua, as in Lua used in LuaTeX (with all the additional libraries, etc.), then no, definitely no. http://luaforge.net/docman/index.php?group_id=80selected_doc_group_id=95language_id=1 but is lua 5.0, not lua 5.1 as that one used in luatex -- 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] [OT] Quick ref for Lua ?
http://luaforge.net/docman/index.php?group_id=80selected_doc_group_id=95language_id=1 Thanks, I didn't know that. But anyway there's much more to it, since lua as used in LuaTeX has many external libraries embedded (luazip, Lua Parsing Expression Grammars, a library for manipulating Unicode strings etc.); and in addition to that all the special libraries that have been written by Taco and Hans (chapter 4 of the LuaTeX reference manual). So there are actually quite a lot of additional things and I expect the difference between versions 5.0 and 5.1 of the core language and libraries to be rather unimportant (at least in that respect). Arthur P-S for Taco: Am I right in saying that the list of additional libraries is: • The twelve ones documented in luatexref-t.pdf • lfs, luamd5, lpeg, luazip, luazlib and Selene Unicode (as seen in src/libs)? That could be a start to write a complete texlua manual ... (here I'm only interested in the libraries providing new lua functions, obviously). ___ 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] [OT] Quick ref for Lua ?
On 10/25/07, Arthur Reutenauer [EMAIL PROTECTED] wrote: http://luaforge.net/docman/index.php?group_id=80selected_doc_group_id=95language_id=1 Thanks, I didn't know that. But anyway there's much more to it, since lua as used in LuaTeX has many external libraries embedded yes, I know. But i'm searching for a quick ref of Lua, because I manage others scripts-language and sometimes I feel a bit confused. --- 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 ___
Re: [NTG-context] the right way to do \ref?
Paul Tremblay, April 14: see \ref[r][mark1] \par Why not \at[mark1]?, nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] the right way to do \ref?
I want to create cross references and just wanted to make sure I am doing it correctly: see \ref[r][mark1] \par \page \reference[mark1]{} foo \par Since my original file will be in XML, I don't need any of ConTeXt's other more advanced features. I will use the above code to generate a TOC, a list of tables, indices, etc. I also saw \pagereference in the manual, but I think this is if you use ConTeXt's other features, such as \section[mark1]{Title} Thanks Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context