[NTG-context] building the luatex font database
Hi Hans, Hi all, my fresh ConTeXt minimal installation (winxp) doesn`t recognize the fonts in the context tree. I can only use the windows systemfonts. mtxrun --script fonts --reload says: ... MTXrun | fontnames: warnings are disabled (tracker 'fonts.warnings') MTXrun | fontnames: identifying tree font files with suffix otf MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf for otf files MTXrun | fontnames: 3313 entries found, 297 otf files checked, 297 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-local for otf files MTXrun | fontnames: 1372 entries found, 546 otf files checked, 546 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-context for otf files MTXrun | fontnames: 1770 entries found, 1 otf files checked, 1 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-mswin for otf files MTXrun | fontnames: 108 entries found, 0 otf files checked, 0 okay MTXrun | fontnames: identifying tree font files with suffix OTF MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf for OTF files MTXrun | fontnames: 3313 entries found, 0 OTF files checked, 0 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-local for OTF files MTXrun | fontnames: 1372 entries found, 0 OTF files checked, 0 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-context for OTF files MTXrun | fontnames: 1770 entries found, 0 OTF files checked, 0 okay MTXrun | fontnames: scanning tree:///c:/contextminimal/texmf-mswin for OTF files MTXrun | fontnames: 108 entries found, 0 OTF files checked, 0 okay MTXrun | fontnames: 844 tree files identified, 844 skipped, 0 duplicates, 0 hash entries added, runtime 0.172 seconds ... What do I wrong? Greetings Lutz ___ 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] beta
On 10-8-2010 7:09, Martin Schröder wrote: 2010/8/10 Hans Hagenpra...@wxs.nl: \setupbackend [format=valid pdf/x name, profile=name.icc, intent=name.icc, level=compresslevel, % default 3 Does it correctly handle x-4? That's a lot harder then x-3. in what respect? - 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] Bugs in current beta
On 10-8-2010 11:44, Andreas Harder wrote: \starttext \input tufte \writetolist[test]{.1}{test} \input tufte \stoptext There shouldn't be a whitespace between the paragraphs, should there? this is a side effect of the fact that the write becomes a node which is needed because we need to know where (on what page) the entry is written we can make an \directwritetolist is needed but that is hardly useful as it does not carry the right info then 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] Bugs in current beta
On 10-8-2010 5:36, Andreas Harder wrote: Hi all, for me (OS X 10.6.4) mtxrun –script server –auto do not work. If I click on a font name I get: MTXrun | request from: 127.0.0.1 MTXrun | requested action: /mtx-server-ctx-fonttest.lua?selection=hoeflertextregular MTXrun | performing action: /mtx-server-ctx-fonttest.lua?selection=hoeflertextregular MTXrun | requested file '/mtx-server-ctx-fonttest.lua?selection=hoeflertextregular' MTXrun | handling error 404: Not Found Another thing is the streams-module. Here is an example: \usemodule[streams] \definestreamlayer[test][method=overlay] \setupbackgrounds[page][background=test] \starttext \showframe \startstreamlayer[test] \startcolumns \input knuth \stopcolumns \stopstreamlayer \setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]} \stoptext And here the error: ! Undefined control sequence. l.19 \defineoutputstream[\v!left] This is not really a bug. Streams in mkii are an experiment and will not be developed further (is a module after all). In mkiv there will be a different mechanism. There is some experimental code ... copied from the source: \enabletrackers[streams.flushing] \setuplayout[grid=yes] \showgrid \starttext \input tufte \startoutputstream[nl] Wat doen we hier? \enableoutputstream[en] Are you sleeping, brother John?\footnote{xxx} \dorecurse{4}{x \footnote{note \recurselevel}\input tufte \par \pushoutputstream} \enableoutputstream[de] Bruder Jakob, schläfst du noch?\footnote{yyy} \dorecurse{4}{x \footnote{note \recurselevel}\input ward \par \pushoutputstream} \disableoutputstream \stopoutputstream Vader Jacob, slaap je nog?\footnote{zzz} \input tufte \synchronizestreams[en,de,nl] \page \flushoutputstream[en] \input knuth \page \flushoutputstream[de] \input knuth \page \flushoutputstream[nl] \input knuth \stoptext 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] Bugs in current beta
Am 11.08.2010 um 11:22 schrieb Hans Hagen: On 10-8-2010 5:36, Andreas Harder wrote: Hi all, for me (OS X 10.6.4) mtxrun –script server –auto do not work. If I click on a font name I get: MTXrun | request from: 127.0.0.1 MTXrun | requested action: /mtx-server-ctx-fonttest.lua?selection=hoeflertextregular MTXrun | performing action: /mtx-server-ctx-fonttest.lua?selection=hoeflertextregular MTXrun | requested file '/mtx-server-ctx-fonttest.lua?selection=hoeflertextregular' MTXrun | handling error 404: Not Found Another thing is the streams-module. Here is an example: \usemodule[streams] \definestreamlayer[test][method=overlay] \setupbackgrounds[page][background=test] \starttext \showframe \startstreamlayer[test] \startcolumns \input knuth \stopcolumns \stopstreamlayer \setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]} \stoptext And here the error: ! Undefined control sequence. l.19 \defineoutputstream[\v!left] This is not really a bug. Streams in mkii are an experiment and will not be developed further (is a module after all). In mkiv there will be a different mechanism. There is some experimental code ... copied from the source: \enabletrackers[streams.flushing] \setuplayout[grid=yes] \showgrid \starttext \input tufte \startoutputstream[nl] Wat doen we hier? \enableoutputstream[en] Are you sleeping, brother John?\footnote{xxx} \dorecurse{4}{x \footnote{note \recurselevel}\input tufte \par \pushoutputstream} \enableoutputstream[de] Bruder Jakob, schläfst du noch?\footnote{yyy} \dorecurse{4}{x \footnote{note \recurselevel}\input ward \par \pushoutputstream} \disableoutputstream \stopoutputstream Vader Jacob, slaap je nog?\footnote{zzz} \input tufte \synchronizestreams[en,de,nl] \page \flushoutputstream[en] \input knuth \page \flushoutputstream[de] \input knuth \page \flushoutputstream[nl] \input knuth \stoptext Hans Hello Hans, big thanks for the explanation. 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] an issue with line numbers in the verbatim text
Hi all, this is an example. \setuptyping[numbering=line] \setuplinenumbering[location=intext] \showframe \starttext \starttyping This is the first line. Last line after an empty line. \stoptyping \stoptext the linenumbering setup of location=intext can not work. the line numbers still be inmargin. -- Best regards, Li Yanrui ___ 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] how to jump to figure and return to the original postion?
Dear Hans, After reinstalling the minimal, it works well. It is really great! Thank you. Best regards, Dalyoung ___ 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] an issue with line numbers in the verbatim text
On 08/11/2010 08:23 PM, Li Yanrui (李延瑞) wrote: Hi all, this is an example. \setuptyping[numbering=line] \setuplinenumbering[location=intext] \showframe \starttext \starttyping This is the first line. Last line after an empty line. \stoptyping \stoptext the linenumbering setup of location=intext can not work. the line numbers still be inmargin. Not location=intext, but location=text will do. ___ 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] interesting LaTeX package for flowing text
Hello List, Just came across this today. Haven't even tried it. Just wondering whether it could be ported to ConTeXt at all. http://www.ctan.org/tex-archive/help/Catalogue/entries/flowfram.html Piotr -- http://okle.pl ___ 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] an issue with line numbers in the verbatim text
2010/8/11 Hongwen Qiu qiuhong...@gmail.com: On 08/11/2010 08:23 PM, Li Yanrui (李延瑞) wrote: Hi all, this is an example. \setuptyping[numbering=line] \setuplinenumbering[location=intext] \showframe \starttext \starttyping This is the first line. Last line after an empty line. \stoptyping \stoptext the linenumbering setup of location=intext can not work. the line numbers still be inmargin. Not location=intext, but location=text will do. I see, tks! -- Best regards, Li Yanrui (李延瑞) ___ 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] interesting LaTeX package for flowing text
On Wed, Aug 11, 2010 at 3:54 PM, Piotr Kopszak kops...@gmail.com wrote: Hello List, Just came across this today. Haven't even tried it. Just wondering whether it could be ported to ConTeXt at all. maybe columns is similar or better -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Whitespace before \placenotes
Hi all, please have a look at the following example. \setupnote[footnote][location=none] \starttext \dorecurse{5}{text\footnote{test}} \framed[align=normal]{\placenotes[footnote]} \stoptext How can I prevent the vertical space before the first note? Greeting 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] Whitespace before \placenotes
On 11-8-2010 7:24, Andreas Harder wrote: \setupnote[footnote][location=none] \starttext \dorecurse{5}{text\footnote{test}} \framed[align=normal]{\placenotes[footnote]} \stoptext \framed[align=normal,strut=no]{\placenotes[footnote][before=,after=]} - 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] Whitespace before \placenotes
Am 11.08.2010 um 19:36 schrieb Hans Hagen: On 11-8-2010 7:24, Andreas Harder wrote: \setupnote[footnote][location=none] \starttext \dorecurse{5}{text\footnote{test}} \framed[align=normal]{\placenotes[footnote]} \stoptext \framed[align=normal,strut=no]{\placenotes[footnote][before=,after=]} Thank you Hans! 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] an issues with resume module
Am 11.08.10 02:12, schrieb views63: BTW: In the old version beta some symbol is invalid such as \setresumevalue{mobile} I’m sorry but I don’t know what you mean. 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] setup for (start)paragraph?
Hi, there seems to be a confusion in contextgarden (at least *I* am confused): Isn't there also a setup for \startparagraph ... \stopparagraph??? \defineparagraphs is something different, no? See http://wiki.contextgarden.net/Reference/en/startparagraph Reference/en/startparagraph \startparagraph [edit]Syntax \startparagraph ... \stopparagraph [edit]Description [edit]Example % Source: ConText Manual ms-cb-en.pdf % Define a paragraph environment with 3 columns. % Insert a blank line just before and just after the paragraph. \defineparagraphs[mypar][n=3,before={\blank},after={\blank}] Steffen ___ 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] setup for (start)paragraph?
Am 11.08.10 21:20, schrieb Steffen Wolfrum: Hi, there seems to be a confusion in contextgarden (at least *I* am confused): Isn't there also a setup for \startparagraph ... \stopparagraph??? This should be \startPARAGRAPH ... \stopPARAGRAPH where PARAGRAPH stands for the name of the environment you create with \defineparagraphs. In MkIV there is also a real paragraph environment (\startparagraph ... \stopparagraph) which is usefull for tagged pdf. 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] setup for (start)paragraph?
Am 11.08.2010 um 21:28 schrieb Wolfgang Schuster: Am 11.08.10 21:20, schrieb Steffen Wolfrum: Hi, there seems to be a confusion in contextgarden (at least *I* am confused): Isn't there also a setup for \startparagraph ... \stopparagraph??? This should be \startPARAGRAPH ... \stopPARAGRAPH where PARAGRAPH stands for the name of the environment you create with \defineparagraphs. In MkIV there is also a real paragraph environment (\startparagraph ... \stopparagraph) which is usefull for tagged pdf. Exactly. And is there also a dedicated setup for \startparagraph ... \stopparagraph? Steffen ___ 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] setup for (start)paragraph?
Am 11.08.10 21:32, schrieb Steffen Wolfrum: there seems to be a confusion in contextgarden (at least *I* am confused): Isn't there also a setup for \startparagraph ... \stopparagraph??? This should be \startPARAGRAPH ... \stopPARAGRAPH where PARAGRAPH stands for the name of the environment you create with \defineparagraphs. In MkIV there is also a real paragraph environment (\startparagraph ... \stopparagraph) which is usefull for tagged pdf. Exactly. And is there also a dedicated setup for \startparagraph ... \stopparagraph? No because the environment adds only tags before and after the environment, nothing else. 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] setup for (start)paragraph?
On 11-8-2010 9:38, Wolfgang Schuster wrote: Am 11.08.10 21:32, schrieb Steffen Wolfrum: there seems to be a confusion in contextgarden (at least *I* am confused): Isn't there also a setup for \startparagraph ... \stopparagraph??? This should be \startPARAGRAPH ... \stopPARAGRAPH where PARAGRAPH stands for the name of the environment you create with \defineparagraphs. In MkIV there is also a real paragraph environment (\startparagraph ... \stopparagraph) which is usefull for tagged pdf. Exactly. And is there also a dedicated setup for \startparagraph ... \stopparagraph? No because the environment adds only tags before and after the environment, nothing else. indeed. but there will be something someday; maybe we should reserve the setup command 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] setup for (start)paragraph?
Am 11.08.10 21:44, schrieb Hans Hagen: Exactly. And is there also a dedicated setup for \startparagraph ... \stopparagraph? No because the environment adds only tags before and after the environment, nothing else. indeed. but there will be something someday; maybe we should reserve the setup command Good idea but now there are two environment for normal paragraphs: - \startparagraph/stopparagraph - \bpar/\epar 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] caught in the grid
Hi, as there is no setup for paragraphs (see thread before), I really don' know how to come out of this trap: I need a tight interlinespace for the normal body text, but no lunatic headings!! Have a look, please: \definegridsnapping[MyGrid] [off]% broad/both/bold/local fit for the text \starttext \setuplayout[grid=MyGrid] \switchtobodyfont[42pt] \setupinterlinespace[line=30pt] \lineskiplimit-\maxdimen Big text\crlf written in\crlf three row \section{One\\Two\\Three} Big text\crlf written in\crlf three row \stoptext Literally the whole day I tried various grid key combinations ... for setuplayout and setuphead ... in vain. I am going crazy! Steffen ___ 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] setup for (start)paragraph?
On 11-8-2010 9:49, Wolfgang Schuster wrote: Am 11.08.10 21:44, schrieb Hans Hagen: Exactly. And is there also a dedicated setup for \startparagraph ... \stopparagraph? No because the environment adds only tags before and after the environment, nothing else. indeed. but there will be something someday; maybe we should reserve the setup command Good idea but now there are two environment for normal paragraphs: - \startparagraph/stopparagraph - \bpar/\epar Indeed, as i didn't want to use that one (yet) for tagging. At some point luatex will open op the par related info so about that time i'll pick up this thread. For instance mkiv will carry info with a paragraph (which then can replace some of the pos related code) 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] interesting LaTeX package for flowing text
Columns are excellent, no doubt, but as far as I understand them, they don't allow to flow text to boxes in arbitrary locations. Piotr 2010/8/11 luigi scarso luigi.sca...@gmail.com: On Wed, Aug 11, 2010 at 3:54 PM, Piotr Kopszak kops...@gmail.com wrote: Hello List, Just came across this today. Haven't even tried it. Just wondering whether it could be ported to ConTeXt at all. maybe columns is similar or better -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- http://okle.pl ___ 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] interesting LaTeX package for flowing text
On 11-8-2010 11:54, Piotr Kopszak wrote: Columns are excellent, no doubt, but as far as I understand them, they don't allow to flow text to boxes in arbitrary locations. column sets come pretty close (see mcolumns.pdf) 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] caught in the grid
On 11-8-2010 9:49, Steffen Wolfrum wrote: Hi, as there is no setup for paragraphs (see thread before), I really don' know how to come out of this trap: I need a tight interlinespace for the normal body text, but no lunatic headings!! Have a look, please: I have no time now. I will document the grid snapper once I've finished the (still somewhat experimental) mechanism. 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 ___
[NTG-context] Numbering in Table of Content
Hi, Is it possible to create a Table of Content like the one shown in the attached image? Basically I need a few unnumbered entries at the top of the table (like abstract, acknowledgements, etc) with romannumeral-numbered page number, followed by numbered chapters with digits-numbered page number as normal. Thanks! Rio inline: toc.png___ 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] Numbering in Table of Content
Basically I need a few unnumbered entries at the top of the table (like abstract, acknowledgements, etc) Rio, I handle this through using the unnumbered sectioning (\title, \subject..) and then a \definecombinedlist [content][title,chapter] Essentially you add title to the already predefined list or combindedlist content. Read contextref for details. This then generates a TOC with \completecontent which includes the unnumbered sections/headers. Regarding the numbering, you might gleen that from the sample document here: http://wiki.contextgarden.net/Biochemistry_textbook It all kind of goes like this: \starttext \startfrontmatter \setuppagenumbering[conversion=romannumerals] \completecontent \stopfrontmatter \startbodymatter \setuppagenumbering[conversion=] \setuppagenumber[number=1] \title {Introduction} \dorecurse{5}{\input tufte\par} \chapter{Some Stuff} \dorecurse{5}{\input tufte\par} \stopbodymatter \stoptext best, Martin ___ 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] Interaction and TOC/content problmes
I am having a couple of small problems with the interaction. In principle it's working, but... 1. The TOC is added to the bookmarks, which is fine, but with a lower-case c, ie. content 2. From http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers I figured out how to get rid of the \crlf in the header. Actually, I'd be happy to just pass the word Introduction to the bookmarks and leave out the rest. Any way of doing that? 3. Strangely enough, placing \bookmark{Intro} after the \title {Introduction -- \crlf Welcome} replaces the content entry and points to the content, but putting a \bookmark after \completecontent leads to no output at all. Thanks for any pointers ! Martin \setupinteraction[ state=start, color=, contrastcolor=] \setupcombinedlist[content][interaction=all] \placebookmarks[chapter,title][force=yes] \setuphead[chapter][interaction=list] \setuplabeltext[chapter=Chapter~] \definecombinedlist [content][title,chapter] %strip the \crlf \appendtoks \let\crlf\space \to \simplifiedcommands \starttext \startfrontmatter \startstandardmakeup \input tufte \stopstandardmakeup \completecontent \stopfrontmatter \startbodymatter \title {Introduction -- \crlf Welcome} %\bookmark{Intro} \dorecurse{5}{\input tufte\par} \chapter{Some Stuff} \dorecurse{5}{\input tufte\par} \chapter{An Addition} \dorecurse{5}{\input tufte\par} \stopbodymatter \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 ___
[NTG-context] Roman page numbers
Hi, The following minimal example has no effect on page numbering(MkIV): \setuppagenumbering[conversion=romannumerals] % \setuppagenumbering[numberconversion=romannumerals] has no effect too. \starttext \chapter{Alpha} \input tufte \stoptext $ context --version MTXrun | current version: 2010.08.10 17:14 $ luatex --version This is LuaTeX, Version beta-0.61.0-2010072816 ___ 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] Roman page numbers
Am 12.08.10 03:52, schrieb Hongwen Qiu: Hi, The following minimal example has no effect on page numbering(MkIV): \setuppagenumbering[conversion=romannumerals] % \setuppagenumbering[numberconversion=romannumerals] has no effect too. \setupuserpagenumbering[numberconversion=romannumerals] 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] Roman page numbers
于 2010年08月12日 11:08, Wolfgang Schuster 写道: Am 12.08.10 03:52, schrieb Hongwen Qiu: Hi, The following minimal example has no effect on page numbering(MkIV): \setuppagenumbering[conversion=romannumerals] % \setuppagenumbering[numberconversion=romannumerals] has no effect too. \setupuserpagenumbering[numberconversion=romannumerals] Thanks for the reply, but I get the following error: ! Undefined control sequence. l.10 \setupuserpagenumbering [numberconversion=romannumerals] ? ___ 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] lettrine and setupalign cause Overfull \hbox errors
There appears to be some kind of clash between the lettrine module and setting up \setupalign[right] when used together: on a 200 page text every line has Overfull \hbox errors. As a (stupid?) side question: why is text, that aligns on the left edge of an odd-numbered page called right aligned? Thanks, Martin Demo: \usemodule[lettrine] \setupalign[right] \starttext \dorecurse{5}{\lettrine {T}{here} {\input tufte\par}} \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] lettrine and setupalign cause Overfull \hbox errors
On 08/12/2010 06:03 AM, Martin Althoff wrote: There appears to be some kind of clash between the lettrine module and setting up \setupalign[right] when used together: on a 200 page text every line has Overfull \hbox errors. Both are attempting to do something special with the paragraph shape, and the interaction is causing trouble. As a (stupid?) side question: why is text, that aligns on the left edge of an odd-numbered page called right aligned? This is a FAQ, see this page for why: http://wiki.contextgarden.net/Right_and_left 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] lettrine and setupalign cause Overfull \hbox errors
Both are attempting to do something special with the paragraph shape, and the interaction is causing trouble. Taco, thanks. Does that mean I have either live with it or forget about left alignment? Martin ___ 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 ___