Re: [NTG-context] Printing partly bolded verbatim
Gerben Wierda wrote: I tried putting /BTEX{\bf IfSQ Fragment selection (minimum length = 60)}/ETEX in a source that is prettyprinted with mkii (took that idea form the wiki) but this does not work (no bold in the pretty printed result). Can this be done? First, if you want to run the options of IfSQ, you need to pass that as an option to \typefile: \expanded{\typefile[IfSQ][]{\detokenize{#1 (I fear this is only document in texshow-web at the moment) Second, for commands, you need: \definetyping[IfSQ][option=commands,numbering=line,bodyfont=9pt] and this conflicts with option=color: it is one or the other. Third, option=commands does not work for \typefile, you need to have an explicit \startIfSQ ... \stopIfSQ 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] Page Numbering Hell
Aditya Mahajan wrote on Friday, October 23, 2009 10:41 PM: The above solution was for MkIV. For completeness, this is how you will do the same with MkII. I don't know how to get the page numbers correct in the TOC in this case. I get correct MkII pagenumbers with this: %% MkII: \starttext \setuppagenumbering[conversion=romannumerals] \startfrontmatter \completecontent \stopfrontmatter \setuppagenumber[number=1] \setuppagenumbering[conversion=numbers] \startbodymatter \chapter{Chapter} \section{Section} \input tufte \externalfigure[cow] \chapter{Chapter 2} \section{Section} \input knuth \stopbodymatter \stoptext Thomas ___ 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] luatex-plain metapost
luigi scarso wrote: On Sun, Oct 25, 2009 at 6:30 PM, Hans Hagen pra...@wxs.nl wrote: forget about metafun in plain ... it cooperates with mkiv and it's very unlikely that i'll ever make it generic ok , but this also doesn't work \pdfoutput=1 \setmplibformat{plain} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); There is no btex .. etex in mplib, at all. 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] [OT] creating-a-style-file-in-context
Am 26.10.2009 um 06:42 schrieb Aditya Mahajan: On Sun, 25 Oct 2009, Wolfgang Schuster wrote: Why not simplefonts instead of typescript files, I understand typescripts, so there was never a need to try out simplefonts. I did that right now and it setting the document fonts is really easy. I might end up not using typescripts any more :-) use whatever you like, it's your decision what method you use there is also a definefont command \definesimplefont[interludefont][Museo700 at 28pt] This does not work, I get latin modern mono instead! You need the latest version of the module. 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] luatex-plain metapost
On Mon, Oct 26, 2009 at 9:08 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: On Sun, Oct 25, 2009 at 6:30 PM, Hans Hagen pra...@wxs.nl wrote: forget about metafun in plain ... it cooperates with mkiv and it's very unlikely that i'll ever make it generic ok , but this also doesn't work \pdfoutput=1 \setmplibformat{plain} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); There is no btex .. etex in mplib, at all. So there are no others way to put a text in a btex ...etex fashion ? -- 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 ___
Re: [NTG-context] luatex-plain metapost
luigi scarso wrote: On Mon, Oct 26, 2009 at 9:08 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: On Sun, Oct 25, 2009 at 6:30 PM, Hans Hagen pra...@wxs.nl wrote: forget about metafun in plain ... it cooperates with mkiv and it's very unlikely that i'll ever make it generic ok , but this also doesn't work \pdfoutput=1 \setmplibformat{plain} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); There is no btex .. etex in mplib, at all. So there are no others way to put a text in a btex ...etex fashion ? Not without macro/lua support, no. context mkiv does support these things, but Hans is (understandably) unwilling to write code to deal with the fairly unpredictable font setup of the luatex-plain environment. 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] luatex-plain metapost
On Mon, Oct 26, 2009 at 10:47 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: On Mon, Oct 26, 2009 at 9:08 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: On Sun, Oct 25, 2009 at 6:30 PM, Hans Hagen pra...@wxs.nl wrote: forget about metafun in plain ... it cooperates with mkiv and it's very unlikely that i'll ever make it generic ok , but this also doesn't work \pdfoutput=1 \setmplibformat{plain} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); There is no btex .. etex in mplib, at all. So there are no others way to put a text in a btex ...etex fashion ? Not without macro/lua support, no. context mkiv does support these things, but Hans is (understandably) unwilling to write code to deal with the fairly unpredictable font setup of the luatex-plain environment. OK -- I understand this. Any plan to implement btex...etex in mplib ? -- 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 ___
Re: [NTG-context] luatex-plain metapost
luigi scarso wrote: On Mon, Oct 26, 2009 at 9:08 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: On Sun, Oct 25, 2009 at 6:30 PM, Hans Hagen pra...@wxs.nl wrote: forget about metafun in plain ... it cooperates with mkiv and it's very unlikely that i'll ever make it generic ok , but this also doesn't work \pdfoutput=1 \setmplibformat{plain} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); There is no btex .. etex in mplib, at all. So there are no others way to put a text in a btex ...etex fashion ? well, you can set up some kind of mechanism that eventually produces a picture that mp can handle, or roll out your own code anyhow, i see not much reason for spending time on that kind of support for plain as i have no use for it Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] luatex-plain metapost
luigi scarso wrote: OK -- I understand this. Any plan to implement btex...etex in mplib ? Not btex ... etex, no. Maybe something new will appear in the long run, maybe not. 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] luatex-plain metapost
luigi scarso wrote: OK -- I understand this. Any plan to implement btex...etex in mplib ? Not btex ... etex, no. Maybe something new will appear in the long run, maybe not. Best wishes, Taco well, you can set up some kind of mechanism that eventually produces a picture that mp can handle, or roll out your own code anyhow, i see not much reason for spending time on that kind of support for plain as i have no use for it Hans OK. -- 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 ___
Re: [NTG-context] Scite + non-global environbment variables
Look at the label ':help' in 'cscite.bat'. I had done this already. All that is says is echo usage: cscite root, e.g. cscite d:\copyofcdrom leaving you with the question which root of what is meant. I tested the root directory of context C:\Programme\contextminimal and the root directory of scite, i.e. C:\Programme\wscite, neither of them worked. It seems like I need another hint. Woilfgang Hugemann ___ 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] format float numbers in luatex
Hi Jorge, Regarding your first question try this: \starttext The square root of 2 is \ctxlua{tex.print(math.sqrt(2))}\dots, but usually the default value \ctxlua{tex.print(math.floor(1000*math.sqrt(2))/1000)} is considered to be a good approximation. \stoptext (There is also math.ceil) Best regards: OK On 24 oct. 2009, at 18:59, batela wrote: Dear Sirs, I'm looking a way to format float numbers. For example \ctxlua {text.print(sqrt(2))} give me 1.41421356237309504880 but i want 1.414. Is there a way to format real numbers. Note: I had tried \ctxlua{a = sqrt(a) ; aformat = string.format (0.3%f, a) ; text.print(aformat)} but that don't work because the % character thanks a lot Have a nice day jorge ___ 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] \blank with dimen (mkiv)
Hi, donno if this is a bug or a feature. If I use \blank with a dimen register, I get [..] context/base/type-otf.tex (r:/tex/texmf-context/tex/context/base/type-otf.mkiv)) bodyfont: 12pt rm is loaded language: language en is active systems : begin file test at line 4 ! Missing number, treated as zero. to be read again F argument F OO \addaskedblankskip ...nce \blankskip #1\dimexpr #2 \relax l.10 } \dovspacingyes ...ument #1\else \s!default \fi )} \fi l.6 \blank[force,\FOO] ? Here is a minimal example: %- \newdimen\FOO \FOO5cm\relax \starttext \blank[force,\FOO] \stoptext %- Using \blank[force,\the\FOO] does work. No such problems in mkii. MTXrun | current version: 2009.10.22 23:27 This is LuaTeX, Version beta-0.44.0-2009102313 Greetings, Peter ___ 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 AFTER table ?
Hi, I have a long table (15pages) with about 150 long footnotes (NOT local notes!). The only chance to set this will be to set all footnotes after the table. My first attempt (see minimal below) failed ... Could someone help me please? Thanks Steffen --- \starttext \setupfootnotes[location=text] \postponefootnotes \bTABLE \bTR\bTD TEST\footnote{\dorecurse{10}{\input tufte \par}} \eTR\eTD \eTABLE \page Notes: \flushfootnotes \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] Zapf Dingbats in mkiv
Hi all, can anyone help me out with a working setup for Zapf Dingbats (pzdr.pfb)? My mkii setup does not work in mkiv. What is missing? \usesymbols[uzd] %\usesymbols[zdb] \def\MailSymbol{\symbol[Unicode Dingbats][Envelope]} \def\PhoneSymbol{\symbol[Unicode Dingbats][TelephoneLocationSign]} Best wishes, Peter ___ 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] \blank with dimen (mkiv)
Peter Rolf wrote: Using \blank[force,\the\FOO] does work. No such problems in mkii. indeed, a mkiv limitation unlikely to change soon Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] Footnotes AFTER table ?
Steffen Wolfrum schrieb: Hi, I have a long table (15pages) with about 150 long footnotes (NOT local notes!). The only chance to set this will be to set all footnotes after the table. My first attempt (see minimal below) failed ... Could someone help me please? Thanks Steffen --- \starttext \setupfootnotes[location=text] \postponefootnotes \postponenotes \bTABLE \bTR\bTD TEST\footnote{\dorecurse{10}{\input tufte \par}} \eTR\eTD \eTABLE \page Notes: \flushfootnotes \placefootnotes works here (mkiv). But I don't use these commands that often, so there is a big chance, that this is not optimal ;) Best wishes, Peter \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 ___ ___ 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 AFTER table ?
Am 26.10.2009 um 15:39 schrieb Peter Rolf: Steffen Wolfrum schrieb: Hi, I have a long table (15pages) with about 150 long footnotes (NOT local notes!). The only chance to set this will be to set all footnotes after the table. My first attempt (see minimal below) failed ... Could someone help me please? Thanks Steffen --- \starttext \setupfootnotes[location=text] \postponefootnotes \postponenotes \bTABLE \bTR\bTD TEST\footnote{\dorecurse{10}{\input tufte \par}} \eTR\eTD \eTABLE \page Notes: \flushfootnotes \placefootnotes works here (mkiv). But I don't use these commands that often, so there is a big chance, that this is not optimal ;) Hmm, the result looks strange: http://werksatz.com/attachments/postpone_1.pdf A pagebreak above? And note not split? Steffen --- \showframe \starttext \setupfootnotes[location=text] \postponefootnotes \bTABLE \bTR\bTD TEST\footnote{\dorecurse{20}{\input tufte \par}} \eTR\eTD \eTABLE \page Notes:\placefootnotes \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] Footnotes AFTER table ?
Steffen Wolfrum schrieb: Am 26.10.2009 um 15:39 schrieb Peter Rolf: Steffen Wolfrum schrieb: Hi, I have a long table (15pages) with about 150 long footnotes (NOT local notes!). The only chance to set this will be to set all footnotes after the table. My first attempt (see minimal below) failed ... Could someone help me please? Thanks Steffen --- \starttext \setupfootnotes[location=text] \postponefootnotes \postponenotes \bTABLE \bTR\bTD TEST\footnote{\dorecurse{10}{\input tufte \par}} \eTR\eTD \eTABLE \page Notes: \flushfootnotes \placefootnotes works here (mkiv). But I don't use these commands that often, so there is a big chance, that this is not optimal ;) Hmm, the result looks strange: http://werksatz.com/attachments/postpone_1.pdf A pagebreak above? And note not split? oh, you use mkii. sorry, but i thought you were adapting your mkii code to mkiv. no page break after 'Notes:' here. donno what you mean with 'note not split'. i'll send you the pdf in a private mail. Steffen --- \showframe \starttext \setupfootnotes[location=text] \postponefootnotes \bTABLE \bTR\bTD TEST\footnote{\dorecurse{20}{\input tufte \par}} \eTR\eTD \eTABLE \page Notes:\placefootnotes \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 ___ ___ 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] [OT] creating-a-style-file-in-context
On Mon, 26 Oct 2009, Wolfgang Schuster wrote: Am 26.10.2009 um 06:42 schrieb Aditya Mahajan: On Sun, 25 Oct 2009, Wolfgang Schuster wrote: there is also a definefont command \definesimplefont[interludefont][Museo700 at 28pt] This does not work, I get latin modern mono instead! You need the latest version of the module. Works perfectly. Is there some documentation other than the source? 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 ___
Re: [NTG-context] Footnotes AFTER table ?
Peter Rolf schrieb: Steffen Wolfrum schrieb: Am 26.10.2009 um 15:39 schrieb Peter Rolf: Steffen Wolfrum schrieb: Hi, I have a long table (15pages) with about 150 long footnotes (NOT local notes!). The only chance to set this will be to set all footnotes after the table. My first attempt (see minimal below) failed ... Could someone help me please? Thanks Steffen --- \starttext \setupfootnotes[location=text] \postponefootnotes \postponenotes \bTABLE \bTR\bTD TEST\footnote{\dorecurse{10}{\input tufte \par}} \eTR\eTD \eTABLE \page Notes: \flushfootnotes \placefootnotes works here (mkiv). But I don't use these commands that often, so there is a big chance, that this is not optimal ;) Hmm, the result looks strange: http://werksatz.com/attachments/postpone_1.pdf A pagebreak above? And note not split? oh, you use mkii. sorry, but i thought you were adapting your mkii code to mkiv. no page break after 'Notes:' here. donno what you mean with 'note not split'. i'll send you the pdf in a private mail. i have sent you two mails to your email address. just in case they were eaten up by your junk filter... try 'location=none' (looks good here) Steffen --- \showframe \starttext \setupfootnotes[location=text] \postponefootnotes \bTABLE \bTR\bTD TEST\footnote{\dorecurse{20}{\input tufte \par}} \eTR\eTD \eTABLE \page Notes:\placefootnotes \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 ___ ___ 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] luatex-plain metapost
2009/10/26 luigi scarso luigi.sca...@gmail.com: luigi scarso wrote: OK -- I understand this. Any plan to implement btex...etex in mplib ? Not btex ... etex, no. Maybe something new will appear in the long run, maybe not. Best wishes, Taco well, you can set up some kind of mechanism that eventually produces a picture that mp can handle, or roll out your own code anyhow, i see not much reason for spending time on that kind of support for plain as i have no use for it Hans OK. Well... I have implemented btex .. etex feature upon Hans Taco's luatex-mplib.* files mostly by mimicking the implementation in context. Please visit http://cvs.ktug.or.kr/viewcvs/ko.TeX/luatexko/luatexplainko-mplib.tex http://cvs.ktug.or.kr/viewcvs/ko.TeX/luatexko/luatexplainko-mplib.lua Best, -- Dohyun Kim ___ 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] Printing partly bolded verbatim
On 26 Oct 2009, at 07:29, Taco Hoekwater wrote: Gerben Wierda wrote: I tried putting /BTEX{\bf IfSQ Fragment selection (minimum length = 60)}/ETEX in a source that is prettyprinted with mkii (took that idea form the wiki) but this does not work (no bold in the pretty printed result). Can this be done? First, if you want to run the options of IfSQ, you need to pass that as an option to \typefile: \expanded{\typefile[IfSQ][]{\detokenize{#1 (I fear this is only document in texshow-web at the moment) Second, for commands, you need: \definetyping[IfSQ][option=commands,numbering=line,bodyfont=9pt] and this conflicts with option=color: it is one or the other. Third, option=commands does not work for \typefile, you need to have an explicit \startIfSQ ... \stopIfSQ Thanks Taco, I do not completely understand this, though. You tell me to change \typefile as well as not to use \typefile. That confuses me. G 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 ___ ___ 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] Printing partly bolded verbatim
Gerben Wierda wrote: On 26 Oct 2009, at 07:29, Taco Hoekwater wrote: Gerben Wierda wrote: I tried putting /BTEX{\bf IfSQ Fragment selection (minimum length = 60)}/ETEX in a source that is prettyprinted with mkii (took that idea form the wiki) but this does not work (no bold in the pretty printed result). Can this be done? First, if you want to run the options of IfSQ, you need to pass that as an option to \typefile: \expanded{\typefile[IfSQ][]{\detokenize{#1 (I fear this is only document in texshow-web at the moment) Second, for commands, you need: \definetyping[IfSQ][option=commands,numbering=line,bodyfont=9pt] and this conflicts with option=color: it is one or the other. Third, option=commands does not work for \typefile, you need to have an explicit \startIfSQ ... \stopIfSQ Thanks Taco, I do not completely understand this, though. You tell me to change \typefile as well as not to use \typefile. That confuses me. Depends on what you want most: if you want commands, no \typefile, but inlined verbatim. If you want color, you can use \typefile, but with extra options. 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] Footnotes AFTER table ?
Am 26.10.2009 um 16:16 schrieb Peter Rolf: Steffen Wolfrum schrieb: Am 26.10.2009 um 15:39 schrieb Peter Rolf: Steffen Wolfrum schrieb: Hi, I have a long table (15pages) with about 150 long footnotes (NOT local notes!). The only chance to set this will be to set all footnotes after the table. My first attempt (see minimal below) failed ... Could someone help me please? Thanks Steffen --- \starttext \setupfootnotes[location=text] \postponefootnotes \postponenotes \bTABLE \bTR\bTD TEST\footnote{\dorecurse{10}{\input tufte \par}} \eTR\eTD \eTABLE \page Notes: \flushfootnotes \placefootnotes works here (mkiv). But I don't use these commands that often, so there is a big chance, that this is not optimal ;) Hmm, the result looks strange: http://werksatz.com/attachments/postpone_1.pdf A pagebreak above? And note not split? oh, you use mkii. sorry, but i thought you were adapting your mkii code to mkiv. no page break after 'Notes:' here. donno what you mean with 'note not split'. The note does not split. Look at page 3 of postpone_1.pdf (see above): the footnote doesn't stop/break at the bottom but runs on and on and on ... St. ___ 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 AFTER table ?
Am 26.10.2009 um 17:18 schrieb Peter Rolf: i have sent you two mails to your email address. just in case they were eaten up by your junk filter... try 'location=none' (looks good here) yes, I just saw them: perfect! looks wonderful! Thanks a lot Peter!! 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 ___
[NTG-context] Context Typescript Maker tool
Hi all, I just developed a GUI tool called Context Typescript Maker. It's purpose is to simplify font setup under Windows. 1) Point to folder with fonts (ttf, otf); 2) Specify typescript name; 3) Specify which font from the list will stand for Serif, which for SerifBold, and so on (select values from dropdown list); 4) Press Create Typescript and copy-paste the code into the preamble of your document. That's all! Example of code created: \starttypescript [serif] [TimesTenLTStd] \definefontsynonym [SerifBold] [TimesTenLTStd-Bold.otf] [features=default] \definefontsynonym [SerifBoldItalic] [TimesTenLTStd-BoldItalic.otf] [features=default] \definefontsynonym [SerifItalic] [TimesTenLTStd-Italic.otf] [features=default] \definefontsynonym [Serif] [TimesTenLTStd-Roman.otf] [features=default] \stoptypescript \starttypescript [TimesTenLTStd] \definetypeface [TimesTenLTStd] [rm] [serif] [TimesTenLTStd] [default] \stoptypescript \usetypescript[TimesTenLTStd]\setupbodyfont[TimesTenLTStd, 11pt] The tools is written mostly by my own purposes (I often like to play with new fonts, and script preparation in this case is really boring). But I share it with a community and will be glad to improve it on requests. Any feedback (good/bad) is appreciated! P.S. Almost forgot. The download link: http://rapidshare.com/files/298247342/ContextTypescriptMaker.zip Regards, Vyatcheslav ___ 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 or bug with enumerations in latest ConTeXt beta
Hi Hans, Thanks for the quick fix! I retested with the latest from minimals, and all three problems I reported are fixed. Kevin On Sat, Oct 24, 2009 at 7:07 AM, Hans Hagen pra...@wxs.nl wrote: Kevin D. Robbins wrote: Hello all, I have attached a fairly minimal example that demonstrates three problems I currently have using an enumeration for code listings. The first problem is that \placelist[enumeration:listing] errors out with: has to do with the fact that the list is not initialized (i'll add a test for that) and therefore variables are not resolved using the parent chain for the moment add: \definelist[listing] also, use listing' as name in order to get some result \setuplist[listing]... \placelist[listing][criterium=text] Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 ___ ___ 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] The best place to install fonts so it is discovered by mkiv?
According to an earlier and recent thread http://archive.contextgarden.net/thread/20091021.090505.4153465c.en.html#20091021.090505.4153465c that finally were solved, thanks to Wolfgang and also Aditya. Here is a following question: Is there some convention where to place files, documents, fonts, modules and stuff? It seems in my case that LuaTools wasn't able to find the fonts in ~./fonts or even /usr/share/fonts. Not either in my minimals/tex/texmf-local/tex/context/fonts/ directory But I had to create texmf-project/fonts/.. to make context to discover the fonts. http://wiki.contextgarden.net/Fonts_in_LuaTex mentioned about setting osfontdir= which I did in my my /home/user/.bash_profile linked to .bashrc cat .bash_profile PATH=$PATH:/home/janerik/bin . ~/context/tex/setuptex set OSFONTDIR=/usr/share/fonts It seems to have no effect. Very strange! :-( Here is my output from Luatools --generate command LuaTools | fileio: locating list of /home/janerik/texmf LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-project LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-fonts LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-local LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-context LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-linux LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-extra LuaTools | fileio: locating list of /home/janerik/context/tex/texmf LuaTools | fileio: scanning path /home/janerik/context/tex/texmf-local It seems to only search these directories. All best 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] comparing pdfs
Am 2009-10-21 um 16:13 schrieb luigi scarso: Is there a way more quick and clean than for cycle and ppm files? If you happen to own an Acrobat Pro license - it has a nice visual compare feature. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] [OT] creating-a-style-file-in-context
Am 26.10.2009 um 17:13 schrieb Aditya Mahajan: You need the latest version of the module. Works perfectly. Is there some documentation other than the source? Not yet, what do you want to know? 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] comparing pdfs
On Mon, Oct 26, 2009 at 10:33 PM, Henning Hraban Ramm hra...@fiee.net wrote: Am 2009-10-21 um 16:13 schrieb luigi scarso: Is there a way more quick and clean than for cycle and ppm files? If you happen to own an Acrobat Pro license - it has a nice visual compare feature. I can relax comparison in just verify if they are different, not where . so maybe pdftoppm and sha512sum are sufficient -- 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] [OT] dynamic font
http://www.laikafont.ch/ http://www.laikafont.ch/applet/test_eng.html Regards -- Diego Depaoli ___ 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] [OT] dynamic font
On Tue, Oct 27, 2009 at 1:01 AM, Diego Depaoli trebes...@gmail.com wrote: http://www.laikafont.ch/ http://www.laikafont.ch/applet/test_eng.html http://www.laikafont.ch/About_eng.html LAIKA can be responsive to any inputs you could imagine. Here it is responsive to the circadian rhythm of a geranium it uses arduino http://www.arduino.cc/ -- 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] How to update luatex to beta-0.44?
Hello, How can I update luatex to beta-0.44? Seems that minimals contain 0.43 version. I want to test SyncTex support (\synctex=1), available (as sugested by Akira) in the latest version. Regards, Vyatcheslav ___ 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] Dash missed in Windows' Times
Hello In the latest mkiv beta, dash (--) is not replaced by proper symbol if I use standard Windows' Times New Roman. I get two hyphens instead. Actually, ConTeXt complains a lot about missed unicode points. Please, see log attached. How to fix it? Regards, Vyatcheslav (tupicin.tex ConTeXt ver: 2009.08.19 17:10 MKIV fmt: 2009.10.27 int: english/english system : cont-new loaded (c:/contextminimal/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (c:/contextminimal/texmf-context/tex/context/base/cont-new.mkiv)) system : cont-fil loaded (c:/contextminimal/texmf-context/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (c:/contextminimal/texmf-context/tex/context/user/cont-sys.rme (c:/contextminimal/texmf-context/tex/context/base/type-tmf.tex (c:/contextminimal/texmf-context/tex/context/base/type-tmf.mkiv)) (c:/contextminimal/texmf-context/tex/context/base/type-siz.tex (c:/contextminimal/texmf-context/tex/context/base/type-siz.mkiv)) (c:/contextminimal/texmf-context/tex/context/base/type-otf.tex (c:/contextminimal/texmf-context/tex/context/base/type-otf.mkiv))) system : tupicin.top loaded % % begin of optionfile % % % runtime options files (command line driven) % \unprotect % % special commands, mostly for the ctx development team % % feedback and basic job control % % handy for special styles % \startluacode % document = document or { } % document.arguments={ % } % document.files={ %tupicin.tex, % } % \stopluacode % % process info % \setupsystem[\c!n=1,\c!m=1] % \setupsystem[\c!type=windows] % % modes % % options (not that important) % \startsetups *runtime:options % \setupoutput[pdftex] % \stopsetups % % styles and modules % \startsetups *runtime:modules % \stopsetups % % done % \protect \endinput % % end of optionfile % (tupicin.top) fonts : preloading latin modern fonts bodyfont: 12pt rm is loaded language: language en is active system : module tupicin-env loaded (tupicin-env.tex (c:/contextminimal/texmf-context/tex/context/base/type-win.tex) math virtual | unicode point U+0039F has no index 004F in vector tex-mr for font rtxr math virtual | unicode point U+00391 has no index 0041 in vector tex-mr for font rtxr math virtual | unicode point U+003A1 has no index 0052 in vector tex-mr for font rtxr math virtual | unicode point U+00392 has no index 0042 in vector tex-mr for font rtxr math virtual | unicode point U+003A4 has no index 0054 in vector tex-mr for font rtxr math virtual | unicode point U+00395 has no index 0045 in vector tex-mr for font rtxr math virtual | unicode point U+00396 has no index 005A in vector tex-mr for font rtxr math virtual | unicode point U+00397 has no index 0048 in vector tex-mr for font rtxr math virtual | unicode point U+003A7 has no index 0058 in vector tex-mr for font rtxr math virtual | unicode point U+00399 has no index 0049 in vector tex-mr for font rtxr math virtual | unicode point U+0039A has no index 004B in vector tex-mr for font rtxr math virtual | unicode point U+00303 has no index 007E in vector tex-mr for font rtxr math virtual | unicode point U+02147 has no index 0065 in vector tex-mr for font rtxr math virtual | unicode point U+0039C has no index 004D in vector tex-mr for font rtxr math virtual | unicode point U+02146 has no index 0064 in vector tex-mr for font rtxr math virtual | unicode point U+0039D has no index 004E in vector tex-mr for font rtxr math virtual | unicode point U+00302 has no index 005E in vector tex-mr for font rtxr math virtual | unicode point U+02145 has no index 0044 in vector tex-mr for font rtxr math virtual | unicode point U+1D438 has no index 0045 in vector tex-mi for font rtxmi math virtual | unicode point U+1D458 has no index 006B in vector tex-mi for font rtxmi math virtual | unicode point U+1D6E6 has no index 0045 in vector tex-mi for font rtxmi math virtual | unicode point U+1D439 has no index 0046 in vector tex-mi for font rtxmi math virtual | unicode point U+1D449 has no index 0056 in vector tex-mi for font rtxmi math virtual | unicode point U+1D6E7 has no index 005A in vector tex-mi for font rtxmi math virtual | unicode point U+1D43A has no index 0047 in vector tex-mi for font rtxmi math virtual | unicode point U+1D45A has no index 006D in vector tex-mi for font rtxmi math virtual | unicode point U+1D6E8 has no index 0048 in vector tex-mi for font rtxmi math virtual | unicode point U+1D6F8 has no index 0058 in vector tex-mi for font rtxmi math virtual | unicode point U+1D43B has no index 0048 in vector tex-mi for font rtxmi math virtual | unicode point U+1D44B has no index 0058 in vector tex-mi for font rtxmi math virtual | unicode point
Re: [NTG-context] How to update luatex to beta-0.44?
On Tue, Oct 27, 2009 at 2:16 AM, Vyatcheslav Yatskovsky yatskov...@gmail.com wrote: Hello, How can I update luatex to beta-0.44? Seems that minimals contain 0.43 version. perhaps download and compile checkout from supelec http://foundry.supelec.fr/gf/project/luatex/scmsvn/?action=AccessInfo or http://www.w32tex.org/ -- 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 ___