[NTG-context] how to get minimals working?
I downloaded and installed the minimals. Running LuaTeX MKIV then hangs in TeXShop and must be aborted. Does someone knows what is amiss here? I use the following runscript in TeXShop: #!/bin/bash export MINIMAL=$HOME/TeX/context/beta $MINIMAL/tex/setuptex export PATH=$MINIMAL/tex/texmf-osx-ppc/bin:$PATH export TEXMFCACHE=$MINIMAL/tex/texmf-cache context $1 Minimals: Setting /Users/hans/TeX/context/beta/tex as TEXROOT. This is LuaTeX, Version beta-0.42.0-2009071723 \write18 enabled. (reign.tex ConTeXt ver: 2009.07.23 20:11 MKIV fmt: 2009.8.3 int: english/english system : cont-new loaded (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- new.tex systems : beware: some patches loaded from cont-new.tex (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- new.mkiv)) system : cont-fil loaded (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- fil.tex loading : ConTeXt File Synonyms ) system : cont-sys loaded (/Users/hans/TeX/context/beta/tex/texmf-local/tex/context/user/cont- sys.tex) system : reign.top loaded (reign.top) fonts : preloading latin modern fonts (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/type- tmf.tex (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/ base/type-tmf.mkiv)) (/Users/hans/TeX/context/beta/tex/texmf-context/ tex/context/base/type-siz.tex (/Users/hans/TeX/context/beta/tex/texmf- context/tex/context/base/type-siz.mkiv)) (/Users/hans/TeX/context/beta/ tex/texmf-context/tex/context/base/type-otf.tex (/Users/hans/TeX/ context/beta/tex/texmf-context/tex/context/base/type-otf.mkiv)) (/ Users/hans/TeX/context/beta/tex/texmf-local/tex/context/user/type- luc.tex) (/Users/hans/TeX/context/beta/tex/texmf-local/tex/context/ user/type-mti.tex) (/Users/hans/TeX/context/beta/tex/texmf-local/tex/ context/user/type-psc.tex Process aborted Old version that runs to completion (albeit refusing to resize externalfigures): (reign.tex ConTeXt ver: 2008.10.31 13:58 MKIV fmt: 2008.12.17 int: english/ english language : language en is active system : cont-new loaded (/usr/local/texlive/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/texlive/texmf-local/tex/context/base/cont-new.mkiv) (/usr/ local/texlive/texmf-local/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (/usr/local/texlive/texmf-local/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (/Users/hans/Library/texmf/tex/context/user/cont-sys.tex) bodyfont : 12pt rm is loaded specials : pdftex loaded system : reign.top loaded (reign.top) (/usr/local/texlive/texmf-local/tex/context/base/type- tmf.tex) (/usr/local/texlive/texmf-local/tex/context/base/type- siz.tex) (/usr/local/texlive/texmf-local/tex/context/base/type- otf.tex) (/Users/hans/Library/texmf/tex/context/user/type-luc.tex) bodyfont : style fx (fax) defined bodyfont : style ssit (sansitalic) defined bodyfont : style tts (monosans) defined (/Users/hans/Library/texmf/tex/context/user/type-mti.tex) (/Users/hans/ Library/texmf/tex/context/user/type-psc.tex) (/Users/hans/Library/ texmf/tex/context/user/math-luc.tex etcetera Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] minimals not working
I downloaded and installed the minimals. Running LuaTeX MKIV then hangs in TeXShop and must be aborted. Does someone knows what is amiss here? I use the following runscript in TeXShop: #!/bin/bash export MINIMAL=$HOME/TeX/context/beta $MINIMAL/tex/setuptex export PATH=$MINIMAL/tex/texmf-osx-ppc/bin:$PATH export TEXMFCACHE=$MINIMAL/tex/texmf-cache context $1 Minimals: Setting /Users/hans/TeX/context/beta/tex as TEXROOT. This is LuaTeX, Version beta-0.42.0-2009071723 \write18 enabled. (reign.tex ConTeXt ver: 2009.07.23 20:11 MKIV fmt: 2009.8.3 int: english/english system : cont-new loaded (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- new.tex systems : beware: some patches loaded from cont-new.tex (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- new.mkiv)) system : cont-fil loaded (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- fil.tex loading : ConTeXt File Synonyms ) system : cont-sys loaded (/Users/hans/TeX/context/beta/tex/texmf-local/tex/context/user/cont- sys.tex) system : reign.top loaded (reign.top) fonts : preloading latin modern fonts (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/type- tmf.tex (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/ base/type-tmf.mkiv)) (/Users/hans/TeX/context/beta/tex/texmf-context/ tex/context/base/type-siz.tex (/Users/hans/TeX/context/beta/tex/texmf- context/tex/context/base/type-siz.mkiv)) (/Users/hans/TeX/context/beta/ tex/texmf-context/tex/context/base/type-otf.tex (/Users/hans/TeX/ context/beta/tex/texmf-context/tex/context/base/type-otf.mkiv)) (/ Users/hans/TeX/context/beta/tex/texmf-local/tex/context/user/type- luc.tex) (/Users/hans/TeX/context/beta/tex/texmf-local/tex/context/ user/type-mti.tex) (/Users/hans/TeX/context/beta/tex/texmf-local/tex/ context/user/type-psc.tex Process aborted Old version that runs to completion: (reign.tex ConTeXt ver: 2008.10.31 13:58 MKIV fmt: 2008.12.17 int: english/ english language : language en is active system : cont-new loaded (/usr/local/texlive/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/texlive/texmf-local/tex/context/base/cont-new.mkiv) (/usr/ local/texlive/texmf-local/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (/usr/local/texlive/texmf-local/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (/Users/hans/Library/texmf/tex/context/user/cont-sys.tex) bodyfont : 12pt rm is loaded specials : pdftex loaded system : reign.top loaded (reign.top) (/usr/local/texlive/texmf-local/tex/context/base/type- tmf.tex) (/usr/local/texlive/texmf-local/tex/context/base/type- siz.tex) (/usr/local/texlive/texmf-local/tex/context/base/type- otf.tex) (/Users/hans/Library/texmf/tex/context/user/type-luc.tex) bodyfont : style fx (fax) defined bodyfont : style ssit (sansitalic) defined bodyfont : style tts (monosans) defined (/Users/hans/Library/texmf/tex/context/user/type-mti.tex) (/Users/hans/ Library/texmf/tex/context/user/type-psc.tex) (/Users/hans/Library/ texmf/tex/context/user/math-luc.tex etcetera Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers
Hi Hans, i uploaded a beta zip with two extra hooks I see the hooks, but I can't find the spot where they are called? It seems you missed this part of my patch? Also, I think you didn't update the definition of \type to use the typesingle lua function I proposed, which means that \type{} commands won't get begin_of_buffer and end_of_buffer called at all. Am I missing something, or did you? Will you fix this, or should I prepare a new patch? i also moved the pretty printers to another namespace so you need to use the buffers.newvisualizer function so that we don't get clashes with future features This change looks good indeed, those long function names weren't all that pretty. you need to adapt the wiki accordingly I will, as soon as I get things working again :-) Gr. Matthijs signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to get minimals working?
On Mon, Aug 3, 2009 at 18:28, Hans van der Meer wrote: I downloaded and installed the minimals. Running LuaTeX MKIV then hangs in TeXShop and must be aborted. Does someone knows what is amiss here? I use the following runscript in TeXShop: #!/bin/bash export MINIMAL=$HOME/TeX/context/beta $MINIMAL/tex/setuptex export PATH=$MINIMAL/tex/texmf-osx-ppc/bin:$PATH export TEXMFCACHE=$MINIMAL/tex/texmf-cache context $1 Minimals: Setting /Users/hans/TeX/context/beta/tex as TEXROOT. This is LuaTeX, Version beta-0.42.0-2009071723 \write18 enabled. (reign.tex ConTeXt ver: 2009.07.23 20:11 MKIV fmt: 2009.8.3 int: english/english system : cont-new loaded ... (/Users/hans/TeX/context/beta/tex/texmf-local/tex/context/user/type-luc.tex) (/Users/hans/TeX/context/beta/tex/texmf-local/tex/context/user/type-mti.tex) (/Users/hans/TeX/context/beta/tex/texmf-local/tex/context/user/type-psc.tex Process aborted Please post the contents of the three type- files on your machine (type-luc.tex, type-mti.tex, type-psc.tex) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Problem with \definetextbackground
Hello, I have a problem with the following file: test.tex%%% \setupcolors[state=start] \definetextbackground[verbatim] [background=color,backgroundcolor=yellow,backgroundoffset=0cm,offset=0.5cm,frame=on,framecolor=black,location=paragraph,color=black] \setuptyping[typing][margin=1cm,bodyfont=8.0pt,before={\starttextbackground[verbatim]},after={\stoptextbackground}] \starttext \starttyping This is the first line. This is the second line. \stoptyping \stoptext test.tex%%% I use contextminimals (latest version) with mkii (texexec testfile) and get the sign of interrogation: color : system rgb is global activated (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) ! Undefined control sequence. \initializeparbackgrounds ...e \enableparposition \fi inserted text ...page \initializeparbackgrounds \loadctxpreplist \checkref... \doateverystarttext -\the \everystarttext \global \everystarttext \emptytoks \starttext -\doateverystarttext \ifcase \textlevel \registerfileinfo [begin... l.22 \starttext ? (./test.tuo) ... When I press the return-button all works fine and I get the pdf-document as I want it. What can I do to get the pdf without stop? When I use mkiv (context test) I get the following message without any pdf: mplib : initializing instance 'metafun' using format 'metafun' mplib : loading 'metafun.mp' from 'C:/context/tex/texmf-cache/luatex-c ache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en-metafun.mem' ! Emergency stop. inserted text ...ore.mp ; fi ; ;;;]===], false)} \processMPgraphic ...s ;\!!es , \MPaskedfigure )}} \egroup \global \MPinstanc... \useMPpositiongraphic ...tartMPcode #3\stopMPcode \egroup \doMPpositiongraphic ...riables \getvalue {MPG:#1} } \doMPpositiongraphic ...fined {MPG:#1}\donothing } \removelastspace }\smashbo... \dohandleMPpositiongraphicrange ...raphic {#3}{#4} \fi \fi ... l.27 \stoptext ! == Fatal error occurred, no output PDF file produced!MTXrun | fatal error, r eturn code: 1 What can I do? Thanks a lot! Helmut -- Helmut Schwertner Kirchweg 154 28201 Bremen Phone: 0421 528 58 22 Mobil: 01577 195 37 78 eMail: helmut.schwert...@gmx.de ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] lost curved left quotes
I am resending this just in case it got lost when the server was down. Hi all, Somehow my left quotes are straight, not curved as my right quotes. How could I make them curved? (I am using `` for the left quotes, and '' for the right quotes.) (If I use \quotation {qwerty} I get the curved quotes in both sides) thank you in advanced Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.comhttp://www.theguitarmakerexploration.com/ http://www.myspace.com/sotoaguirre ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] framed box in between
I am resending this note in case it got lost when the server was down. ciro Hi all, I would like to have a quote inserted in a framed box that is part in the margin and part in the text, and surrounded by the text. I found the command to have it in the margin or in the text area, but couldn't figure out how to locate the frame partially in the text area, and partially in the margin. How could I do that? thank you, Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.comhttp://www.theguitarmakerexploration.com/ http://www.myspace.com/sotoaguirre -- -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com https://www.createspace.com/3392936 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] pages not full
I am having a minor but persistent problem. The text area don't get full of text. It jumps to the next page leaving several (4 ,5, 6) lines empty at the bottom of the text area. It happens in the middle of a paragraph. Any switch I should be setting up? ciro -- -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com https://www.createspace.com/3392936 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] filecontents
Hello, It would be nice, if this module could be integrated in the distribution: http://wiki.contextgarden.net/Filecontents Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] module sync'ing
Hello, How should module contributions (t-vim, t-french, t-letter, etc.) find their way to the minimals today? (There are so many possibilities, I'm a bit lost: modules.contextgarden.net, svn, git, ctan, rsync, email to Mojca, email to Hans, and so on... ;) Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] module sync'ing
On Tue, 4 Aug 2009, Peter Münster wrote: Hello, How should module contributions (t-vim, t-french, t-letter, etc.) find their way to the minimals today? first-setup.sh --extras=t-vim,t-french http://wiki.contextgarden.net/ConTeXt_Minimals#Installing_third_party_modules Aditya___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lost curved left quotes
On Tue, Aug 4, 2009 at 8:57 PM, Ciro Soto c...@kavyata.com wrote: I am resending this just in case it got lost when the server was down. Hi all, Somehow my left quotes are straight, not curved as my right quotes. How could I make them curved? (I am using `` for the left quotes, and '' for the right quotes.) (If I use \quotation {qwerty} I get the curved quotes in both sides) I think thats the way Mk IV is supposed to be, you could type the “double quotes” in from your keyboard. Using texexec(Mk II) you should get the old behavior, i.e. `` = “ Regards, Derek P.S. This is all I could find on the above subject. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Layers don't repeat in Mk IV
I've been trying to use layers for a simple logo that repeats on all pages. Something along the lines of the code below: \definelayer[mybg][x=0mm, y=0mm,width=\paperwidth, height=\paperheight,repeat=yes] \setlayer [mybg] [hoffset=1cm, voffset=1cm] {\framed[frame=on, width=3cm, height=2cm]{\externalfigure[cow][width=1cm] }} \setupbackgrounds[page][background=mybg] \starttext \dorecurse{6}{\input tufte\par} \stoptext It works as expected using Mk II but does not work under Mk IV: The layer appears only on the first page. Please Help, Derek ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] module sync'ing
On Tue, Aug 4, 2009 at 18:32, Peter Münster wrote: Hello, How should module contributions (t-vim, t-french, t-letter, etc.) find their way to the minimals today? (There are so many possibilities, I'm a bit lost: modules.contextgarden.net, svn, git, ctan, rsync, email to Mojca, email to Hans, and so on... ;) Aditya has answered you, but just as explanation: 1.) Authors should update modules.contextgarden.net - this is the primary and definite source (however, I dislike the current interface; we'll force Patrick to change at least something here, preferrably use some version control) 2.a) There's a (non-public) mirror of dl.contextgarden.net/modules that syncs all the modules that should go to CTAN (and renames them at the same time); CTAN team then syncs automatically once per day. (Read as: if author updates modules.contextgarden.net, this should proliferate to CTAN in 26 hours + one extra day for secondary mirrors) 2.b) Minimals sync from the same source (http://minimals.contextgarden.net/current/modules/) at random times. 3.a) TeX Live and MikTeX sync from CTAN automatically (once per day?). 3.b) Users of minimals can use the normal rsync route. Once you use --extras=t-modulename it should be updating on regular bases from that moment on (I just figured out that we currently have no interface to remove module, but interface needs revision anyway.) If someone writes a new module someone (me) needs to set up 2.a) and 2.b) to take the new module into account. But of course you may use whatever way you prefer to fetch your favourite module. You can put it to texmf-local or texmf-whatever (whatever should not be context or os-name) or to TEXFHOME (I have a feeling that we have set up that once, but I'm not 100% sure). 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Problem with metapost textbackgrounds on Windows
Hello all, In the example below, I mean for a gray box with rounded corners to be placed behind \startC ... \stopC blocks. This example compiles properly on Linux with the latest ConTeXt beta and LuaTeX synced from the minimals just minutes ago. On Windows, also updated from minimals this morning, I get the following error and no text background: mplib : initializing instance 'metafun' using format 'metafun' mplib : loading 'metafun.mp' from 'C:/context/tex/texmf-cache/luatex-c ache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en-metafun.mem' ! Emergency stop. inserted text ...ore.mp ; fi ; ;;;]===], false)} \processMPgraphic ...s ;\!!es , \MPaskedfigure )}} \egroup \global \MPinstanc... \useMPpositiongraphic ...tartMPcode #3\stopMPcode \egroup \doMPpositiongraphic ...riables \getvalue {MPG:#1} } \doMPpositiongraphic ...fined {MPG:#1}\donothing } \removelastspace }\smashbo... \dohandleMPpositiongraphicrange ...raphic {#3}{#4} \fi \fi ... l.59 \stoptext ! == Fatal error occurred, no output PDF file produced!MTXrun | fatal error, r eturn code: 1 Here is the example: % \unprotect \startuseMPgraphic{mpos:par:myexample} path p; for i = 1 upto nofmultipars : p := multipars[1] topenlarged 4pt bottomenlarged 4pt cornered 2mm ; fill p withcolor 0.9white ; draw p withcolor black withpen pencircle scaled \MPvar{linewidth}; endfor; \stopuseMPgraphic \definetextbackground [listingbackground] [state=start, mp=mpos:par:myexample, location=paragraph, leftoffset=0em, rulethickness=1pt] \definetyping [C] [option=commands] \setuptyping [C] [bodyfont=8pt, margin=1em, before=% {\blank[big] \setupinterlinespace[line=1.6ex] \starttextbackground[listingbackground]}, after=% {\stoptextbackground \blank[big]}] \protect \starttext \input tufte \starttyping namespace Example { int a; int b; } \stoptyping \input knuth \startC namespace Example { int a; int b; } \stopC \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lost curved left quotes
On Tue, Aug 4, 2009 at 18:47, Derek CORDEIRO wrote: On Tue, Aug 4, 2009 at 8:57 PM, Ciro Soto wrote: I am resending this just in case it got lost when the server was down. Hi all, Somehow my left quotes are straight, not curved as my right quotes. How could I make them curved? (I am using `` for the left quotes, and '' for the right quotes.) (If I use \quotation {qwerty} I get the curved quotes in both sides) I think thats the way Mk IV is supposed to be, you could type the “double quotes” in from your keyboard. Using texexec(Mk II) you should get the old behavior, i.e. `` = “ True, but one should nevertheless better use \quotation{...} or “double quotes” both in MKII and MKIV. The MKII behaviour is a hack that works with Latin Modern (as it did in Computer Modern). The reason why it works is that there are hacky ligatures in that font. If you were using any other font, you would not get the curly quotes (but you probably wouldn't dare generating tfm files yourself, so you would never notice that). People that do generate tfm files make sure to artificially add those ligatures. MKIV has deliberately chosen no to support that hackery ***. There are three exceptions though: - endash (--) and emdash (---) - apostrophe (') since we all agreed that those are still hard enough to type or at least hard enough to distinguish (esp. the dashes in monospace font) even if they do have their own Unicode codepoint. Mojca *** partially also because of another ugly overlap or coincidence; namely -- grave accent and ` share the same codepoint in Unicode, so it would be impossible to support both placing grave accent and automatic conversion of ` into curly quotes at the same time; TeX fonts use two different characters for that) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to get minimals working?
On Tue, Aug 4, 2009 at 19:17, Hans van der Meer wrote: The files requested are here, zipped together. I am working happily with them for quite some time. Could it be they are outdated? Yes, it's quite possible. I don't have the fonts to test, but a few possible relevant remarks: 1.) Try not to use that typescript and check if it still breaks 2.) Even if your typescripts are broken, there must be a bug somewhere: luatex should not hang even if you feed it with junk; even if you fix the typescripts, try to find the reason for that behaviour 3.) You use Lucida math; I would be surprised if it still works (I would bet it doesn't, but I might be wrong.) 4.) It seems that the run breaks in type-psc (not 100% sure) 5.) [encoding=8r] ??? That's not even supposed to work in MKIV (unless I'm wrong). Usually it gets ignored (and luatex just reads afm and pfb files), but I'm not sure how exactly tfm reading works (if it works at all inside typescripts). 6.) If you don't like TeX Gyre and think that using the old PostScript fonts are still needed, it might make sense to revise your typescript and make an optional officially unsupported (but public) typescript that others could use as well (not sure if that would mean including it in core or not). 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with metapost textbackgrounds on Windows
On Tue, Aug 4, 2009 at 19:18, Kevin D. Robbins wrote: Hello all, In the example below, I mean for a gray box with rounded corners to be placed behind \startC ... \stopC blocks. This example compiles properly on Linux with the latest ConTeXt beta and LuaTeX synced from the minimals just minutes ago. On Windows, also updated from minimals this morning, I get the following error and no text background: I'll try to make sure what LuaTeX version is used on Windows. At the time of synchronisation there was no luatex snapshot yet and it the meantime server name has been changed. (Nobody has complained so far, so I almost forgot about it.) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] module sync'ing
On Tue, 4 Aug 2009, Mojca Miklavec wrote: 1.) Authors should update modules.contextgarden.net - this is the primary and definite source Thank you for this confirmation! Sometimes it took a very long time, that minimals got synchronised with modules.contextgarden.net, so I had some doubt... Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to get minimals working?
On Tue, Aug 4, 2009 at 20:47, Hans van der Meer wrote: Thanks Mojca for your answer and suggestion. There surely is something with my typescripts that makes them happy under mkii and very unhappy under mkiv. MKIV has undergone *heavy* changes recently, and fonts were one of the area that has been influenced a lot. You should not expect your old typescripts to work with MKIV without modifications. Switching them out of the way at least brings typesetting in LM back. However, I am attached to my use of Lucida and Mathtimes (both from YY) and I would very much like to continue using them. Do you have a pointer with what to start? Math definitions are a bit non-trivial and might be a subject to change. I thought Hans was using Lucida extensively, at least all of his manuals are typeset in lucida, so you have a slightly better chance to get it done. I'll stop responding about math at this point since I don't know enough and I should not invest time into it right now. Would you give changing texnansi for 8r a good chance, for a first try? Or is more heavy surgery on my typefiles needed? It's best if Hans answers about the preferred way to use the old tfm fonts with ConTeXt. But for math it definitely means heavy surgery. Not even times and palatino are working properly as far as I know. You may take a look at type-otf.mkiv and type-vfu. One needs to create a table of glyphs. I fear that Lucida has them at non-standard slots. I would gladly help with lucida, but I may not right now. I was never very good with typefiles and I fear very much I can start over all again for mkiv. :) ... and I fear you are right. Well, you might need some help to get Lucida done. Since you are happy with TeX Gyre, most fonts that kept causing you problem are already covered, right? For the regular postscript fonts like NewCenturySchoolbook etc. \usetypescript[schola] \setupbodyfont[schola] or \usetypescript[schoolbook] \setupbodyfont[schoolbook] But ... what matching math font were you usually using? I will we be happy to use the TeX Gyre files for these. I guess they are already somewhere in my system. You probably have texgyreschola-regular.otf etc. if you either have TL 2008/09 or ConTeXt minimals. Would you please point me to a relevant starting point for the necessary incantations? H http://wiki.contextgarden.net/TeX_Gyre, but the best reference is usually type-xxx.mkiv/tex. For some dark reason I always seem to get lost when searching the ContextWiki for a specific topic. That might not necessary be your problem :) Wiki is not in the best shape, but ... 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] LuaTex choking on \definesynonyms?
Hi all, LuaTex doesn't seem to like the \definesynonyms command. The following works fine in PDFtex: 1 \definesynonyms[abbreviation][abbreviations][\infull] 2 3 \starttext 4 \abbreviation{VVV}{Bureau of Tourist Information} 5 The Dutch \VVV\ (\infull{VVV}) can provide you with the tourist 6 information on Hasselt. 7 8 \stoptext ...but when compiling with Luatex, I get the errors as below. On Mac OS X with an updated ConTeXt/Luatex minimals installation. The abbreviations aren't essential in my current document but I guess somebody might want to look into this? Thanks Roland 1 This is LuaTeX, Version beta-0.42.0-2009071723 2 \write18 enabled. 3 (/Users/rs/Desktop/Dropbox/C/ConTeXt_sandbox/sandbox.tex 4 5 ConTeXt ver: 2009.07.23 20:11 MKIV fmt: 2009.8.2 int: english/english 6 7 system : cont-new loaded 8 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex 9 systems : beware: some patches loaded from cont-new.tex 10 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv)) 11 system : cont-fil loaded 12 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex 13 loading : ConTeXt File Synonyms 14 ) 15 system : cont-sys.rme loaded 16 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.mkiv))) 17 system : sandbox.top loaded 18 (sandbox.top) 19 fonts : preloading latin modern fonts 20 bodyfont : 12pt rm is loaded 21 language : language en is active 22 ! Use of \doassignsometextprefixnop doesn't match its definition. 23 \doassignsometextprefix ...sometextprefixyes \fi { 24 #1} 25 \dododosetupsometextprefix ...nsometextprefix {#1} 26 [#2,,] 27 \next1 #1,-\dodosetupsometextprefix {#1} 28 \doprocesscommaitem 29 \doprocesscommalist ...item \gobbleoneargument #1, 30 ]\relax \global \advance \... 31 \dosetupsometextprefix ...dodosetupsometextprefix 32 \fi 33 to be read again 34 \setvalue 35 ... 36 l.2 37 38 39 ? ! Too many }'s. 40 \doassignsometextprefix ...etextprefixyes \fi {#1} 41 42 \dododosetupsometextprefix ...nsometextprefix {#1} 43 [#2,,] 44 \next1 #1,-\dodosetupsometextprefix {#1} 45 \doprocesscommaitem 46 \doprocesscommalist ...item \gobbleoneargument #1, 47 ]\relax \global \advance \... 48 \dosetupsometextprefix ...dodosetupsometextprefix 49 \fi 50 to be read again 51 \setvalue 52 ... 53 l.2 54 55 56 ? systems : begin file sandbox at line 3 57 ! Missing } inserted. 58 inserted text 59 } 60 to be read again 61 \endgroup 62 l.5 The Dutch \VVV\ (\infull{VVV} 63 ) can provide you with the tourist 64 ? 65 ! Emergency stop. 66 inserted text 67 } 68 to be read again 69 \endgroup 70 l.5 The Dutch \VVV\ (\infull{VVV} 71 ) can provide you with the tourist 72 ! == Fatal error occurred, no output PDF file produced!MTXrun | run 1: luatex --fmt=/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en --lua=/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en.lui --backend=pdf /Users/rs/Desktop/Dropbox/C/ConTeXt_sandbox/sandbox.tex 73 MTXrun | fatal error, return code: 1 ___ 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 :
Re: [NTG-context] module sync'ing
On Tue, Aug 4, 2009 at 21:36, Peter Münster wrote: On Tue, 4 Aug 2009, Mojca Miklavec wrote: 1.) Authors should update modules.contextgarden.net - this is the primary and definite source Thank you for this confirmation! Sometimes it took a very long time, that minimals got synchronised with modules.contextgarden.net, so I had some doubt... As I said: 2.b) Minimals sync from the same source (http://minimals.contextgarden.net/current/modules/) at random times. There's a lng script tha synchronizes everything and it actually only gets executed when something changes (that is: ConTeXt or binaries, I'm not even sure if the second is still true). It doesn't watch for changes in modules or CTAN. I have added a cron job to update everything once per day now (scripts need to be rewritten anyway). If you need something to be updated, you can always drop me a private mail and hope that I will read it before the script does :) After all ... if enough people annoy me :) I'll figure out that I need to set the cronjobs more often. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to get minimals working?
On Tue, 4 Aug 2009, Mojca Miklavec wrote: On Tue, Aug 4, 2009 at 20:47, Hans van der Meer wrote: Thanks Mojca for your answer and suggestion. There surely is something with my typescripts that makes them happy under mkii and very unhappy under mkiv. MKIV has undergone *heavy* changes recently, and fonts were one of the area that has been influenced a lot. You should not expect your old typescripts to work with MKIV without modifications. Switching them out of the way at least brings typesetting in LM back. However, I am attached to my use of Lucida and Mathtimes (both from YY) and I would very much like to continue using them. Do you have a pointer with what to start? Math definitions are a bit non-trivial and might be a subject to change. I thought Hans was using Lucida extensively, at least all of his manuals are typeset in lucida, so you have a slightly better chance to get it done. Wolfgang had made typescripts of lucida math. I don't remember where he uploaded them. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] LuaTex choking on \definesynonyms?
Hi Roland, Hans (or someone else) added abbreviation as a standard synonym in the file strc-syn.mkivhttp://source.contextgarden.net/tex/context/base/strc-syn.mkiv?search=abbreviations. You no longer need to separately define abbreviation with \definesynonym in order to use \abbeviation{VVV}{Bureau of Tourist Information}. Kevin On Sun, Aug 2, 2009 at 8:08 AM, Roland ntg-cont...@rolandsiebelink.comwrote: Hi all, LuaTex doesn't seem to like the \definesynonyms command. The following works fine in PDFtex: 1 \definesynonyms[abbreviation][abbreviations][\infull] 2 3 \starttext 4 \abbreviation{VVV}{Bureau of Tourist Information} 5 The Dutch \VVV\ (\infull{VVV}) can provide you with the tourist 6 information on Hasselt. 7 8 \stoptext ...but when compiling with Luatex, I get the errors as below. On Mac OS X with an updated ConTeXt/Luatex minimals installation. The abbreviations aren't essential in my current document but I guess somebody might want to look into this? Thanks Roland 1 This is LuaTeX, Version beta-0.42.0-2009071723 2 \write18 enabled. 3 (/Users/rs/Desktop/Dropbox/C/ConTeXt_sandbox/sandbox.tex 4 5 ConTeXt ver: 2009.07.23 20:11 MKIV fmt: 2009.8.2 int: english/english 6 7 system : cont-new loaded 8 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex 9 systems : beware: some patches loaded from cont-new.tex 10 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv)) 11 system : cont-fil loaded 12 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex 13 loading : ConTeXt File Synonyms 14 ) 15 system : cont-sys.rme loaded 16 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.mkiv))) 17 system : sandbox.top loaded 18 (sandbox.top) 19 fonts : preloading latin modern fonts 20 bodyfont: 12pt rm is loaded 21 language: language en is active 22 ! Use of \doassignsometextprefixnop doesn't match its definition. 23 \doassignsometextprefix ...sometextprefixyes \fi { 24#1} 25 \dododosetupsometextprefix ...nsometextprefix {#1} 26[#2,,] 27 \next1 #1,-\dodosetupsometextprefix {#1} 28 \doprocesscommaitem 29 \doprocesscommalist ...item \gobbleoneargument #1, 30]\relax \global \advance \... 31 \dosetupsometextprefix ...dodosetupsometextprefix 32\fi 33 to be read again 34 \setvalue 35 ... 36 l.2 37 38 39 ? ! Too many }'s. 40 \doassignsometextprefix ...etextprefixyes \fi {#1} 41 42 \dododosetupsometextprefix ...nsometextprefix {#1} 43[#2,,] 44 \next1 #1,-\dodosetupsometextprefix {#1} 45 \doprocesscommaitem 46 \doprocesscommalist ...item \gobbleoneargument #1, 47]\relax \global \advance \... 48 \dosetupsometextprefix ...dodosetupsometextprefix 49\fi 50 to be read again 51 \setvalue 52 ... 53 l.2 54 55 56 ? systems : begin file sandbox at line 3 57 ! Missing } inserted. 58 inserted text 59 } 60 to be read again 61 \endgroup 62 l.5 The Dutch \VVV\ (\infull{VVV} 63 ) can provide you with the tourist 64 ? 65 ! Emergency stop. 66 inserted text 67 } 68 to be read again 69 \endgroup 70 l.5 The Dutch \VVV\ (\infull{VVV} 71 ) can provide you with the tourist 72 ! == Fatal error occurred, no output PDF file produced!MTXrun | run 1: luatex --fmt=/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en
Re: [NTG-context] Layers don't repeat in Mk IV
Am 04.08.2009 um 18:52 schrieb Derek CORDEIRO: I've been trying to use layers for a simple logo that repeats on all pages. Something along the lines of the code below: \definelayer[mybg][x=0mm, y=0mm,width=\paperwidth, height= \paperheight,repeat=yes] \definelayer[mybg][width=\paperwidth,height=\paperheight,state=repeat] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to get minimals working?
Am 04.08.2009 um 22:25 schrieb Aditya Mahajan: Wolfgang had made typescripts of lucida math. This information is new to me, I wrote typescripts for the text fonts but not for math. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to get minimals working?
On Tue, 4 Aug 2009, Wolfgang Schuster wrote: Am 04.08.2009 um 22:25 schrieb Aditya Mahajan: Wolfgang had made typescripts of lucida math. This information is new to me, I wrote typescripts for the text fonts but not for math. Sorry, I got confused. Maybe if I don't work on the math typescripts long enough, you will eventually write the math typescripts also :) Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___