Re: [NTG-context] (no subject)
Op 24 jan. 2013 om 01:59 heeft Alfredo Catalina User kicked off the list. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ToC - dots distance
Am 23.01.2013 um 23:11 schrieb Marco Patzer : > On 2013–01–23 Wolfgang Schuster wrote: > > Out of curiosity: Is possible to set up the new filler mechanism in > a way to yield alternating dots like in the TeXbook? > >>> default look: >>> >>> 1. First chapter ... 1 >>> 2. Second chapter ... 10 >>> >>> requested look: >>> >>> 1. First chapter . . . . . . . . . . 1 >>> 2. Second chapter . . . . . . . . . . 10 > > alternating look (Knuths' TeXbook style) > > 1. First chapter . . . . . . . . . . . 1 > 2. Second chapter . . . . . . . . . . 10 \definefiller[pavel-0][alterntive=symbol,method=global,width=1em,leftmargin=.5em,rightmargin=.5em,symbol=\clap{.}] \definefiller[pavel-1][pavel-0][align=left] \definefiller[pavel-2][pavel-0][align=middle] \newconditional\PavelState \define\PavelFiller {\ifconditional\PavelState \global\setfalse\PavelState \filler[pavel-1]% \else \global\settrue\PavelState \filler[pavel-2]% \fi} % \define\PavelFiller % {\ifodd\structurelistlocation % does the value alternate? % \filler[pavel-1]% %\else % \filler[pavel-2]% %\fi} \setuplistalternative[c][filler=\PavelFiller] \starttext \completecontent[alternative=c] \dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ToC - dots distance
On 2013–01–23 Wolfgang Schuster wrote: Out of curiosity: Is possible to set up the new filler mechanism in a way to yield alternating dots like in the TeXbook? > > default look: > > > > 1. First chapter ... 1 > > 2. Second chapter ... 10 > > > > requested look: > > > > 1. First chapter . . . . . . . . . . 1 > > 2. Second chapter . . . . . . . . . . 10 alternating look (Knuths' TeXbook style) 1. First chapter . . . . . . . . . . . 1 2. Second chapter . . . . . . . . . . 10 Marco signature.asc Description: Digital signature ___ 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] ToC - dots distance
On 01/24/2013 01:35 AM, Wolfgang Schuster wrote: Am 23.01.2013 um 20:56 schrieb Devendra Ghate : On 01/24/2013 12:51 AM, Wolfgang Schuster wrote: Am 23.01.2013 um 20:10 schrieb ha...@wpb.cz: Hi, I need to change the default distance of dots in ToC using alternative "c". Could anybody tell me, how can I achieve this? So it should look like this: default look: 1. First chapter ... 1 2. Second chapter ... 10 requested look: 1. First chapter . . . . . . . . . . 1 2. Second chapter . . . . . . . . . . 10 \definefiller [pavel] [alterntive=symbol, %method=global, width=1em, leftmargin=.5em, rightmargin=.5em] \setuplistalternative[c][filler={\filler[pavel]}] \starttext \completecontent[alternative=c] \chapter{First chapter} \chapter{Second chapter} \stoptext Wolfgang ___ Is that a complete MWE? Yes. It doesn't work on ConTeXt ver: 2013.01.10 01:04 MKIV. You need a newer version, the command is new and provides a high level interface for the \leaders macro. This is some serious pace of development. I had just about installed context couple of weeks ago and already I need an update. Thank you. Devendra 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 ___ ___ 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] ToC - dots distance
Am 23.01.2013 um 20:56 schrieb Devendra Ghate : > > On 01/24/2013 12:51 AM, Wolfgang Schuster wrote: >> Am 23.01.2013 um 20:10 schrieb ha...@wpb.cz: >> >>> Hi, >>> >>> I need to change the default distance of dots in ToC using alternative >>> "c". Could anybody tell me, how can I achieve this? So it should look >>> like this: >>> >>> >>> default look: >>> >>> 1. First chapter ... 1 >>> 2. Second chapter ... 10 >>> >>> requested look: >>> >>> 1. First chapter . . . . . . . . . . 1 >>> 2. Second chapter . . . . . . . . . . 10 >> \definefiller >> [pavel] >> [alterntive=symbol, >> %method=global, >>width=1em, >>leftmargin=.5em, >>rightmargin=.5em] >> >> \setuplistalternative[c][filler={\filler[pavel]}] >> >> \starttext >> >> \completecontent[alternative=c] >> >> \chapter{First chapter} >> \chapter{Second chapter} >> >> \stoptext >> >> Wolfgang >> ___ > Is that a complete MWE? Yes. > It doesn't work on ConTeXt ver: 2013.01.10 01:04 MKIV. You need a newer version, the command is new and provides a high level interface for the \leaders macro. 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] ToC - dots distance
On 01/24/2013 12:51 AM, Wolfgang Schuster wrote: Am 23.01.2013 um 20:10 schrieb ha...@wpb.cz: Hi, I need to change the default distance of dots in ToC using alternative "c". Could anybody tell me, how can I achieve this? So it should look like this: default look: 1. First chapter ... 1 2. Second chapter ... 10 requested look: 1. First chapter . . . . . . . . . . 1 2. Second chapter . . . . . . . . . . 10 \definefiller [pavel] [alterntive=symbol, %method=global, width=1em, leftmargin=.5em, rightmargin=.5em] \setuplistalternative[c][filler={\filler[pavel]}] \starttext \completecontent[alternative=c] \chapter{First chapter} \chapter{Second chapter} \stoptext Wolfgang ___ Is that a complete MWE? It doesn't work on ConTeXt ver: 2013.01.10 01:04 MKIV. I get: --- ! Undefined control sequence. system > tex > error on line 1 in file a.tex: Undefined control sequence ... 1 >> \definefiller 2 [pavel] 3 [alterntive=symbol, 4 %method=global, Searching the wiki and mailing list also turned zero results for \definefiller. Regards, Devendra 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 ___ ___ 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] Big with \widehat and \widetilde
Hi Hans, With the latest betas (version 2013.01.23 14:45 MKIV fmt: 2013.1.23) \widehat and \widetilde do not work anymore in mkiv (no matter the font): minimal example begin bug-tilde.tex \starttext ${\widetilde V}$ ${\tilde u}$ ${\widehat \phi}$ ${\hat \alpha}$ \stoptext end bug-tilde.tex For your information, the same file works fine in mkii. Best regards: OK ___ 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] ToC - dots distance
Am 23.01.2013 um 20:10 schrieb ha...@wpb.cz: > Hi, > > I need to change the default distance of dots in ToC using alternative > "c". Could anybody tell me, how can I achieve this? So it should look > like this: > > > default look: > > 1. First chapter ... 1 > 2. Second chapter ... 10 > > requested look: > > 1. First chapter . . . . . . . . . . 1 > 2. Second chapter . . . . . . . . . . 10 \definefiller [pavel] [alterntive=symbol, %method=global, width=1em, leftmargin=.5em, rightmargin=.5em] \setuplistalternative[c][filler={\filler[pavel]}] \starttext \completecontent[alternative=c] \chapter{First chapter} \chapter{Second chapter} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ToC - dots distance
Hi, I need to change the default distance of dots in ToC using alternative "c". Could anybody tell me, how can I achieve this? So it should look like this: default look: 1. First chapter ... 1 2. Second chapter ... 10 requested look: 1. First chapter . . . . . . . . . . 1 2. Second chapter . . . . . . . . . . 10 Thank for any help. Pavel ___ 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] Paragraph indentation after float
Hi, sometimes I get a paragraph indentation after a float and sometimes I don't. Example: \ctxlua{structures.lists.autoreorder = true} \setupindenting [yes, medium] \setupfloats[default=auto] \starttext \startchapter [title=Foo] \startplacefigure \externalfigure [cow] %% [height=21cm] \stopplacefigure \startplacefigure \externalfigure [cow] [height=11cm] \stopplacefigure \input knuth \stopchapter \stoptext Why does this chapter start with an indentation? I always avoid placing floats at the beginning of sections, since I can never predict what will happen. If the first float is moved to the second page (uncomment height=21cm) the indentation vanishes. Why? Is there a reliable way to place floats at the beginning of sections and ensure that the following paragraph will not be indented? Marco signature.asc Description: Digital signature ___ 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] Equivalent commands for \big \Big etc. in mathmode
On 01/23/2013 09:27 PM, Aditya Mahajan wrote: On Wed, 23 Jan 2013, Devendra Ghate wrote: If I want to say that dy/dx is calculated at z then in latex I can write \frac{dy}{dx}\Big|_z The \Big is to scale | according to the size of the \frac. I am using newmat and amsl modules that have supported the native math mode commands till now. But context does not recognise \Big. What is the native context way of doing this? Regards, Devendra MWE (in case its needed)--- \usemodule[newmat] \usemodule[amsl] \starttext \startformula \frac{dy}{dx}\Big|_z \stopformula \stoptext In MkIV, you don't need the newmat module and amsl module is deprecated in both MkII and MkIV. \starttext \startformula \left.\frac{dy}{dx}\right|_z \stopformula \stoptext Aditya Thanks Aditya. Need to read manuals more carefully. ___ 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] Equivalent commands for \big \Big etc. in mathmode
On Wed, 23 Jan 2013, Devendra Ghate wrote: If I want to say that dy/dx is calculated at z then in latex I can write \frac{dy}{dx}\Big|_z The \Big is to scale | according to the size of the \frac. I am using newmat and amsl modules that have supported the native math mode commands till now. But context does not recognise \Big. What is the native context way of doing this? Regards, Devendra MWE (in case its needed)--- \usemodule[newmat] \usemodule[amsl] \starttext \startformula \frac{dy}{dx}\Big|_z \stopformula \stoptext In MkIV, you don't need the newmat module and amsl module is deprecated in both MkII and MkIV. \starttext \startformula \left.\frac{dy}{dx}\right|_z \stopformula \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Equivalent commands for \big \Big etc. in mathmode
If I want to say that dy/dx is calculated at z then in latex I can write \frac{dy}{dx}\Big|_z The \Big is to scale | according to the size of the \frac. I am using newmat and amsl modules that have supported the native math mode commands till now. But context does not recognise \Big. What is the native context way of doing this? Regards, Devendra MWE (in case its needed)--- \usemodule[newmat] \usemodule[amsl] \starttext \startformula \frac{dy}{dx}\Big|_z \stopformula \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Prioritise TEXMFHOME
On 2013–01–23 Mojca Miklavec wrote: > On Wed, Jan 23, 2013 at 11:26 AM, Marco Patzer wrote: > > > > I used the following setup to create a reproducible clean > > environment without interference of possibly set variables. > > > > echo '\sans' >mymodules/t-gnuplot.tex > > You should put the file under >mymodules/tex/context/third/t-gnuplot.tex > and not just anywhere on top level of $TEXMFHOME. That works, thanks. I didn't think about the importance of the tex file system structure within TEXMFHOME since my personal files always have been picked up from random subdirectories within TEXMFHOME. > At least somewhere under mymodules/tex/ (but I'm not sure if that > alone is 100% safe - that is - I'm not sure about the search/sort > order of two files with the same name under a different path inside > the texmf tree). mymodules/tex doesn't seem to be sufficient. My tests revealed that for files not present in the distribution tex tree the location within TEXMFHOME does not matter. Files present in the distribution which are supposed to be overwritten in TEXMFHOME need the same path. Maybe this is more strict than necessary, but it works. A version mismatch that gets unnoticed can be very frustrating. > > I didn't know ConTeXt uses kpsewhich. > > In MkII it does. But I meant it more like a cross-check. It might be > that there would be some bug in mtxrun when searching for files and in > that case kpsewhich may serve as a confirmation that your set up works > or doesn't work properly. All right. Problem solved. Thanks Mojca! Marco signature.asc Description: Digital signature ___ 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] Prioritise TEXMFHOME
On Wed, Jan 23, 2013 at 11:26 AM, Marco Patzer wrote: > > I used the following setup to create a reproducible clean > environment without interference of possibly set variables. > > echo '\sans' >mymodules/t-gnuplot.tex You should put the file under mymodules/tex/context/third/t-gnuplot.tex and not just anywhere on top level of $TEXMFHOME. At least somewhere under mymodules/tex/ (but I'm not sure if that alone is 100% safe - that is - I'm not sure about the search/sort order of two files with the same name under a different path inside the texmf tree). >> - What does 'kpsewhich t-gnuplot.tex' return you? > > I didn't know ConTeXt uses kpsewhich. In MkII it does. But I meant it more like a cross-check. It might be that there would be some bug in mtxrun when searching for files and in that case kpsewhich may serve as a confirmation that your set up works or doesn't work properly. Mojca ___ 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] Bug in reference to sections
On 1/23/2013 11:10 AM, Otared Kavian wrote: Thanks to Hans and Wolfgang for your attention and the workarounds you offer. When I want to refer to an un-numbered section, it makes sense in an interactive document. Maybe, instead of \in{other section}[sec:other] I should use another command such as \about[sec:other] but in this case all the title of the section in question will be typeset: this is fine when this title is short enough, but it may be ugly if the title is long, or when one wishes to refer to that section by a paraphrase. or \goto - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Prioritise TEXMFHOME
On 2013–01–22 Mojca Miklavec wrote: > I don't know how to reproduce that even though I remember that I had > problem if I set "export TEXMFHOME=/path/with/trailing/slash/". I used the following setup to create a reproducible clean environment without interference of possibly set variables. curl -O http://minimals.contextgarden.net/setup/first-setup.sh chmod +x first-setup.sh ./first-setup.sh --modules=t-gnuplot mkdir mymodules echo '\bold' >mymodules/t-mymodule.tex echo '\sans' >mymodules/t-gnuplot.tex cat > test-mymodule.tex < test-mygnuplot.tex < What does > mtxrun t-gnuplot.tex > return you? test setup: /home/fusion/tex/texmf-modules/tex/context/third/gnuplot/t-gnuplot.tex mymodules/t-gnuplot.tex in my real setup only the distribution file is found. I didn't yet try to figure out why. > - What is your $TEXMFHOME and how did you change it in case that you did? See minimal example above. In my real setup it's /home/marco/usr/share/texmf and it's set in $HOME/.profile using export TEXMFHOME=… > - Where exactly is your file t-gnuplot.tex? See minimal example above. In my real setup it's /home/marco/usr/share/texmf/t-gnuplot.tex > - Do you run MkIV? Yes > With current beta or with TeX Live? current version: 2013.01.22 18:33 > - What does 'kpsewhich t-gnuplot.tex' return you? I didn't know ConTeXt uses kpsewhich. test setup: /home/fusion/tex/texmf-modules/tex/context/third/gnuplot/t-gnuplot.tex real setup: /home/marco/usr/local/share/context-beta/tex/texmf-modules/tex/context/third/gnuplot/t-gnuplot.tex Marco signature.asc Description: Digital signature ___ 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] Bug in reference to sections
On 23 janv. 2013, at 09:38, Hans Hagen wrote: > As there are indeed side effects I'll remove that options. Asking for a > number of an unnumbered section is weird anyway. > Hi, Thanks to Hans and Wolfgang for your attention and the workarounds you offer. When I want to refer to an un-numbered section, it makes sense in an interactive document. Maybe, instead of \in{other section}[sec:other] I should use another command such as \about[sec:other] but in this case all the title of the section in question will be typeset: this is fine when this title is short enough, but it may be ugly if the title is long, or when one wishes to refer to that section by a paraphrase. Best regards: OK ___ 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] Bug in reference to sections
On 2013–01–23 Hans Hagen wrote: > >IIRC this was a feature request a while ago, the macros to print ?? and !! > >are defined as I'm the one to blame! > > > >\def\dummyreference{{\tttf ??}} > >\def\wrongreference{{\tttf !!}} > > As there are indeed side effects I'll remove that options. I hope you mean that you change the default back to the old behaviour and the dummy text can be activated using the tracker. > Asking for a number of an unnumbered section is weird anyway. Sure, it doesn't make sense. But it happens if the style changes halfway during production. In my case I had to change the \in to \about for the unnumbered sections. Since I couldn't find a regular expression for that, I had to change it manually and forgot a few. If a dummy text is printed, it's easy to grep for that. Marco signature.asc Description: Digital signature ___ 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] Bug in reference to sections
On 1/23/2013 9:38 AM, Hans Hagen wrote: On 1/23/2013 9:12 AM, Wolfgang Schuster wrote: Am 23.01.2013 um 08:39 schrieb Otared Kavian : Hi Hans, I noticed that with the latest mkiv (version 2013.01.22 18:33 MKIV fmt: 2013.1.22) when the sections have no numbers two « ! » are printed and this behavior is new: with previous versions when invoking for instance \in{other section}[sec:other] there used to be a link to the "other section" and no « ! ! ». I understand that there has been a change in this behavior, but is there a way to suppress the two « ! ! »? IIRC this was a feature request a while ago, the macros to print ?? and !! are defined as \def\dummyreference{{\tttf ??}} \def\wrongreference{{\tttf !!}} As there are indeed side effects I'll remove that options. Asking for a number of an unnumbered section is weird anyway. next beta: \enabletrackers[structures.referencing.empty] \starttext \startfrontmatter \chapter[test]{TEST} \stopfrontmatter \in{}[test] \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug in reference to sections
On 1/23/2013 9:12 AM, Wolfgang Schuster wrote: Am 23.01.2013 um 08:39 schrieb Otared Kavian : Hi Hans, I noticed that with the latest mkiv (version 2013.01.22 18:33 MKIV fmt: 2013.1.22) when the sections have no numbers two « ! » are printed and this behavior is new: with previous versions when invoking for instance \in{other section}[sec:other] there used to be a link to the "other section" and no « ! ! ». I understand that there has been a change in this behavior, but is there a way to suppress the two « ! ! »? IIRC this was a feature request a while ago, the macros to print ?? and !! are defined as \def\dummyreference{{\tttf ??}} \def\wrongreference{{\tttf !!}} As there are indeed side effects I'll remove that options. Asking for a number of an unnumbered section is weird anyway. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] What is the easiest way to have multi lines in some of the cells in a table?
hi, Wolfgang thanks! BEST REGARD! PengCZ 2013/1/23 Wolfgang Schuster > > Am 23.01.2013 um 04:29 schrieb 土卜皿 : > > > hi,all > > my question as title described,Now I used the following method: > > > > \starttext > > \placetable[here][tab:multilinesinonecell]{Multi Lines in > > One Cell} > > \starttable[|c|c|c|][textwidth=8.8cm] > > \HL > > \NC \JustLeft FIRST COL \NC \JustCenter \bf SECOND COL \NC\SR\HL > > \NC \JustLeft first line \NC \JustLeft one line in cell \NC\MR > > \HL > > \NC \JustLeft second line \NC \JustLeft first line in second line's 2nd > col \NC\MR > > \NC\NC \JustLeft second line in second > line's 2nd col \NC\MR > > \HL > > \NC \JustLeft third line \NC \JustLeft third line's 2nd col \NC\LR > > \HL > > \stoptable > > \stoptext > > You need a “p” column to have paragraphs in a columns. You can also use > natural tables > which paragraphs aren’t a problem. > > \starttext > > \placetable[here][tab:multilinesinonecell]{Multi Lines in One Cell} > {\starttable[|l|p(5cm)|][textwidth=8.8cm] >\HL >\NC \bf FIRST COL \NC \JustCenter \bf SECOND COL \NC\SR >\HL >\NC first line\NC one line in cell \NC\MR >\HL >\NC second line \NC first line in second line's 2nd col \par > second line in second line's 2nd col \NC\MR >\HL >\NC third line\NC third line's 2nd col \NC\LR >\HL >\stoptable} > > \placetable[here][tab:multilinesinonecell]{Multi Lines in One Cell} > {\setupTABLE[c][1][width=3.3cm] >\setupTABLE[c][2][width=5.5cm] >\bTABLE[frame=off,topframe=on,bottomframe=on] > \bTR[align=middle] >\bTH FIRST COL \eTH >\bTH SECOND COL \eTH > \eTR > \bTR >\bTD first line \eTD >\bTD one line in cell \eTD > \eTR > \bTR >\bTD second line \eTD >\bTD first line in second line's 2nd col \par second line in > second line's 2nd col \eTD > \eTR > \bTR >\bTD third line \eTD >\bTD third line's 2nd col \eTD > \eTR >\eTABLE} > > \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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug in reference to sections
Am 23.01.2013 um 08:39 schrieb Otared Kavian : > Hi Hans, > > I noticed that with the latest mkiv (version 2013.01.22 18:33 MKIV fmt: > 2013.1.22) when the sections have no numbers two « ! » are printed and this > behavior is new: with previous versions when invoking for instance > \in{other section}[sec:other] > there used to be a link to the "other section" and no « ! ! ». I understand > that there has been a change in this behavior, but is there a way to suppress > the two « ! ! »? IIRC this was a feature request a while ago, the macros to print ?? and !! are defined as \def\dummyreference{{\tttf ??}} \def\wrongreference{{\tttf !!}} 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 ___