Re: [NTG-context] Suppress a Single Chapter from ToC
I apologize for the multiple messages, but it seems that I solved my problem with \placebookmarks[chapter,section,subsection][chapter,section][force=yes] The "force=yes" was the key to forcing bookmark generation of those chapters not listed in the ToC with "saveinlist=no". Troy ___ 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] Suppress a Single Chapter from ToC
> > Unfortunately, this removes the PDF bookmark for this chapter. I would > like to keep the "left side" bookmark but not show it in the Table of > Contents. > What I would like is to have my title page followed by my table of contents both have PDF bookmarks and neither listed in the actual table of contents. Currently, I'm (badly) faking it by \startchapter[title={Title Page},list={\mbox{}}] ... \stopchapter \startchapter[title={Table of Contents},list={\mbox{}}] ... \placecontent[criterium=all] \stopchapter This does create bookmarks for both pages, but it creates a very narrow link to these pages on the ToC page. I don't want any evidence of those "chapters" listed on the ToC page. Troy ___ 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] Coming back to ConTeXt
On Sat, Jan 26, 2013 at 1:38 PM, Alain Delmotte wrote: > >> Set the repository to >> http://tlcontrib.metatex.org/2012 >> and make sure that you don't have ConTeXt distribution in PATH*** when >> calling tlmgr. > > Ok I did and it seemed to work, at least some files were updated. > > But when I compiled I got the same versions' information in the log The same version of ConTeXt or the same version of LuaTeX? What do you get with luatex --version ? > By the way, for the stand alone version under TeXworks, the bin folder > information should go before those of TeX Live to avoid problems. In TeXworks one needs to be careful about paths in either case. (But then again, there's the same issue with basically any GUI program that runs TeX. PATH usually needs to be set up separately from the shell.) 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] MP & \letterpercent
On 1/27/2013 10:05 PM, Procházka Lukáš wrote: Hello, why the MP code doesn't draw "%" and "#" when it uses TeX's \U - inside MP block?: \def\T{TTT} \def\U{UUU \letterpercent\letterhash} \starttext \letterpercent \letterhash \par \startMPcode draw btex AAA etex; draw textext("\T"); % draw btex \T etex; % Err draw btex \T{} etex; % OK draw textext("\U") shifted (2cm, 0); % Should draw "%" and "#" now - where is it? \stopMPcode \stoptext TIA for explanation. concerning the \T, just look at this: \edef\crap{draw btex \T etex;} \show\crap concerning the \U, use the next in order to prevent a % becoming a comment down the pipeline: \unexpanded\def\U{UUU \letterpercent\letterhash} - 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] \overrightarrow changed
On 27 janv. 2013, at 21:40, Hans Hagen wrote: > […] > fixed. some more info about the updated mkiv arrow related mechanisms can be > found in > > http://www.pragma-ade.com/general/manuals/about.pdf > > (btw, one needs the latest greatest lm/gyre math fonts) > > Hans This is an amazing progress! With the mechanisms you decsribe (mathextensible, leaders, fillers,…) it is much easier to use arrows and place them wherever it is necessay. Thanks! 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 ___
[NTG-context] MP & \letterpercent
Hello, why the MP code doesn't draw "%" and "#" when it uses TeX's \U - inside MP block?: \def\T{TTT} \def\U{UUU \letterpercent\letterhash} \starttext \letterpercent \letterhash \par \startMPcode draw btex AAA etex; draw textext("\T"); % draw btex \T etex; % Err draw btex \T{} etex; % OK draw textext("\U") shifted (2cm, 0); % Should draw "%" and "#" now - where is it? \stopMPcode \stoptext TIA for explanation. Best regards, Lukas ___ 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] \overrightarrow changed
On 1/27/2013 5:24 PM, Mikael P. Sundqvist wrote: Dear list, \starttext text $\overrightarrow{OP}$ text \stoptext gives smaller letters since some time ago under the arrow. See the attached pdf files for the output of different versions of context (test.pdf is compiled with the latest beta). I think the look in test20121210.pdf is the right one. fixed. some more info about the updated mkiv arrow related mechanisms can be found in http://www.pragma-ade.com/general/manuals/about.pdf (btw, one needs the latest greatest lm/gyre math fonts) 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] Some more question, ex "Context an excursion"
On 1/27/2013 4:25 PM, Alain Delmotte wrote: Hi, Using MkIV and the latest(?) standalone version. Continuing "Context an excursion"! fyi: my collegue is currently updating the excursion to mkiv Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Creating a folded meander book - imposition problem
Hi Mari, Wolfgang, I used to make such imposition schemes, but this time Wolfgang was faster… So even if i did not try to fold the 9 x 9 version this is the scheme: \installpagearrangement MEANDERB {\dosetuparrangement{3}{3}{9}{4}{4}% \pusharrangedpageMEANDERB\poparrangedpagesXY\relax} \def\pusharrangedpageMEANDERB#1% {\advancearrangedpageN \reportarrangedpage\arrangedpageN \ifcase\arrangedpageN \or \handlearrangedpageXandY{#1}000\arrangedpageA \or \handlearrangedpageXandY{#1}010\arrangedpageA \or \handlearrangedpageXandY{#1}020\arrangedpageA \or \handlearrangedpageXandY{#1}121\arrangedpageA \or \handlearrangedpageXandY{#1}111\arrangedpageA \or \handlearrangedpageXandY{#1}101\arrangedpageA \or \handlearrangedpageXandY{#1}002\arrangedpageA \or \handlearrangedpageXandY{#1}012\arrangedpageA \or \handlearrangedpageXandY{#1}022\arrangedpageA \poparrangedpages \fi} Thank you Wolfgang! Willi On Jan 26, 2013, at 8:57 PM, Mari Voipio wrote: > On Sat, Jan 26, 2013 at 8:18 PM, Wolfgang Schuster > wrote: > >> \setuparranging[MEANDER] > > It works (of course it does!). Now I can create a funny booklet with > my MetaPost twiddlings. :-) > > > >>> A 9-page version (3x3) would also be nice to have, to make slightly >>> bigger pages when printed on A4. >> >> How do you plan to fold this? > > I had to try it out on paper, but it turns out I had understood the > text correctly: the same idea, but only two cuts. > > Top row, left to right: 1,2,3 > Middle row, left to right: 6, 5, 4, all upside down > Bottom row, left to right: 7, 8, 9 > > Cuts 1-2/6-5 and 5-4/8-9. The cut paper is like letter S (or a snake > or meander, whatever you wish to call it). When folded, the back page > remains blank because it is from the underside of the paper due to the > odd number of pages - not necessarily a bad thing. I can always slap a > copyright sticker or signature on that back cover... > > For trial I took an A4 and cut off the bottom to make it square that > makes quite nice 7x7 cm pages. Not handy for continuous text, but for > short poems/thoughts or graphics/art it work out. I need to play > around a bit, but then I can post the results in my blog. :-) > > > Thank you, > > Mari > ___ > 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] Suppress a Single Chapter from ToC
> > \startchapter[title=…,saveinlist=no] > Unfortunately, this removes the PDF bookmark for this chapter. I would like to keep the "left side" bookmark but not show it in the Table of Contents. Troy ___ 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] Some more question, ex "Context an excursion"
Thanks Wolfgang and sorry for not providing WME. Alain Le 27/01/2013 16:50, Wolfgang Schuster a écrit : Am 27.01.2013 um 16:25 schrieb Alain Delmotte : [...] Make working minimal example of the problems, it takes always time to create one first to check which something fails. [...] 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 ___
[NTG-context] \overrightarrow changed
Dear list, \starttext text $\overrightarrow{OP}$ text \stoptext gives smaller letters since some time ago under the arrow. See the attached pdf files for the output of different versions of context (test.pdf is compiled with the latest beta). I think the look in test20121210.pdf is the right one. /Mikael test.pdf Description: Adobe PDF document test20121210.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] Footnotes numbering
Am 27.01.2013 um 17:02 schrieb Willi Egger : > Hi all, > > Is among you somebody who has used text with footnotes, where the footnotes > would be numbered according to the line number where the reference resides? > > In other words how to use line numbers for the numbering of the footnotes? > > Any hint would be great! You can use the line numbering and line note mechanism. %\setuplinenumbering[command=\gobbleoneargument] \starttext \startlinenumbering \dorecurse{20}{\input knuth\linenote{Note \recurselevel} } \stoplinenumbering \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] Footnotes numbering
Hi all, Is among you somebody who has used text with footnotes, where the footnotes would be numbered according to the line number where the reference resides? In other words how to use line numbers for the numbering of the footnotes? Any hint would be great! Kind regards 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Suppress a Single Chapter from ToC
Am 27.01.2013 um 02:45 schrieb Troy Henderson : > How can I suppress a single (one particular) chapter from being printed in > the Table of Contents? \startchapter[title=…,saveinlist=no] 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] Some more question, ex "Context an excursion"
Am 27.01.2013 um 16:25 schrieb Alain Delmotte : > Hi, > > Using MkIV and the latest(?) standalone version. > Continuing "Context an excursion"! > > Thanks for your help, > > Alain > > 1) How to force line jump to avoid overfull \hbox, particularly with more or > less narrow columns? Add \setuptolerance[verytolerant] or \setuptolerance[stretch] (or both settings simultaneously) to your document to enable font expansion and protrusion. > 2) I did insert \showlayout just before \stoptext and I get 4 pages with the > same information!!! > > 3) On page 77, I get an error: > > \defineparagraphs[city][n=2,before=,after=] > \city Hasselt (Ov) \\ Overijssel \\ > \city Hasselt (Li) \\ Limburg\\ > \startpacked > \city Hasselt (Ov) \\ The Netherlands \\ > \city Hasselt (Li) \\ Belgium \\ > \stoppacked > --error message > ! Undefined control sequence. Make working minimal example of the problems, it takes always time to create one first to check which something fails. The problem here is that Hans removed this simple form to use the environment, what’s possible in MkIV can be seen in the example below (taken form the source). \defineparagraphs[sample][n=2,rule=on] \starttext \startsample first \nextsample second \nextsample third \stopsample \startsample \input tufte \nextsample \input ward \nextsample \input davis \nextsample \input zapf \stopsample \startparagraphs[sample] first \nextsample second \nextsample third \stopparagraphs \startparagraphs[sample] \startparagraphscell first \stopparagraphscell \startparagraphscell second \stopparagraphscell \startparagraphscell third \stopparagraphscell \stopparagraphs \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] Some more question, ex "Context an excursion"
Hi, Using MkIV and the latest(?) standalone version. Continuing "Context an excursion"! Thanks for your help, Alain 1) How to force line jump to avoid overfull \hbox, particularly with more or less narrow columns? 2) I did insert \showlayout just before \stoptext and I get 4 pages with the same information!!! 3) On page 77, I get an error: \defineparagraphs[city][n=2,before=,after=] \city Hasselt (Ov) \\ Overijssel \\ \city Hasselt (Li) \\ Limburg\\ \startpacked \city Hasselt (Ov) \\ The Netherlands \\ \city Hasselt (Li) \\ Belgium \\ \stoppacked --error message ! Undefined control sequence. system > tex > error on line 868 in file travail.tex: Undefined control sequence ... 858 \blank 859 The affix is a leftover from the times that the Netherlands and 860 Belgium were one country under the reign of King Philip II of Spain. 861 \blank[2*big] 862 Hasselt in Belgium lies in the province of Limburg. One wonders if 863 the Belgian people write Hasselt (Li) on their letters. 864 865 Pour supprimer l'espace pour un bloc, il y a \type{\startpacked...\stoppacked} 866 867 \defineparagraphs[city][n=2,before=,after=] 868 >> \city Hasselt (Ov) \\ Overijssel \\ 869 \city Hasselt (Li) \\ Limburg\\ 870 \startpacked 871 \city Hasselt (Ov) \\ The Netherlands \\ 872 \city Hasselt (Li) \\ Belgium \\ 873 \stoppacked 874 875 876 877 878 \stopparagraphscell ->\typo_paragraphs_stop_cell \let \typo_paragraphs_stop_... \city ->\stopparagraphscell \startparagraphscell l.868 \city Hasselt (Ov) \\ Overijssel \\ ? ___ 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 typesetting problems
Le 27 janv. 13 à 12:52, Janne Junnila a écrit : Hi all, Another problem I have is related to the positioning of minus signs in front of fractions. I would expect the minus sign to align with the horizontal line of the fraction, as it does on LaTeX. Below is an example formula to illustrate my point. The result seems to be independent of the font in use. \startformula -\frac{e^{\frac{4}{5}}}{4} \stopformula Janne Hi Janne, With \dfrac it looks good. With \fraction the minus sign is on the top of the fraction. Best regards, Roland ___ 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] Math typesetting problems
On Jan 27, 2013, at 7:09 AM, Sietse Brouwer wrote: > This is because \startformula can take one optional argument in square > brackets, and [x,x] is interpreted as that argument. You can make > \startformula stop looking for [...] either by telling it to `\relax`, > or by giving it an empty `[]` of its own to chew on. > > ... > > I can't quite find at the moment what sort of options the [...] can > contain, sorry. It takes the same options as \switchtobodyfont \starttext \startformula[] [x,x]_t = x \stopformula \startformula[small] [x,x]_t = x \stopformula \startformula[24pt] [x,x]_t = x \stopformula \stoptext This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). ___ 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 typesetting problems
Hi Sietse, Sietse wrote: > This is because \startformula can take one optional argument in square > brackets, and [x,x] is interpreted as that argument. You can make > \startformula stop looking for [...] either by telling it to `\relax`, > or by giving it an empty `[]` of its own to chew on. Thanks for the explanation, this makes sense. Should have seen that myself. :) Janne ___ 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 typesetting problems
Hi Janne, Janne wrote: > I've run into a couple of problems with math typesetting. (I'm using the > latest ConTeXt standalone beta.) The following doesn't print [x,x] at all: > > \startformula > [x,x]_t = x > \stopformula This is because \startformula can take one optional argument in square brackets, and [x,x] is interpreted as that argument. You can make \startformula stop looking for [...] either by telling it to `\relax`, or by giving it an empty `[]` of its own to chew on. \startformula[] [x,x]_t = x \stopformula \startformula\relax [x,x]_t = x \stopformula I can't quite find at the moment what sort of options the [...] can contain, sorry. Cheers, Sietse ___ 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 typesetting problems
Hi all, I've run into a couple of problems with math typesetting. (I'm using the latest ConTeXt standalone beta.) The following doesn't print [x,x] at all: \startformula [x,x]_t = x \stopformula It can be fixed by using \left[x,x\right]_t, but I find the behaviour weird. Another problem I have is related to the positioning of minus signs in front of fractions. I would expect the minus sign to align with the horizontal line of the fraction, as it does on LaTeX. Below is an example formula to illustrate my point. The result seems to be independent of the font in use. \startformula -\frac{e^{\frac{4}{5}}}{4} \stopformula Janne ___ 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 ___