Re: [NTG-context] Framed text in paragraphs too wide
On 6-4-2010 5:11, Matthias Weber wrote: Thanks Aditya, that is what I need. I don't really understand the difference between framedtext and textbackground, but all my framing and coloring desires seem to be realizable with framedtext. framedtext is the older mechanism, with some limitations but pure tex textbackground is more advanced using metapost; it can nest backgrounds, have inline backgrounds, etc - 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] Creating PDF Bookmarks
On 6-4-2010 1:57, marfin wrote: I am looking for additional bookmarks but \bookmark[…]{…} has no effect (mkiv). What is going wrong? \setupinteraction [state=start] \setupinteractionscreen [option=bookmark] \placebookmarks[chapter,section][chapter,section] \starttext \bookmark[chapter]{TOC} \title{Table of contents} \starttitle[title={Table of contents},bookmark=TOC] .. \stoptitle \placecontent \chapter{Chapter} \input tufte \section{Section} \input tufte \stoptext Sincerely, Markus ___ 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 ___ -- - 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] font lookup
Am 06.04.10 07:20, schrieb Peter Münster: When you know the filename, you can get the complete path like this: \starttext \ctxlua{tex.print(resolvers.find_file(texgyrepagella-regular.otf))} \stoptext Your question is now answered but why do you need the complete path? 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] \bigl \bigr \big problems
Dear list, I have problems with \big, \bigl, \Bigl, ... %% Example \def\foo#1{\type{#1}: #1} \starttext \foo{$|x|^n$} % as expected. \foo{$\bigl|x^n\bigr|$} % expect bigger bars \foo{$\big|x^n\big|$} % expect bigger bars \foo{$\Bigl|x^n\Bigr|$} % too small again (but bigger than \big) \foo{$\biggl|x^n\biggr|$} % too small again (but bigger than \big) \foo{$\Biggl|x^n\Biggr|$} % too small again (but bigger than \big) \foo{$\|x^n\|$} % expect two bars \foo{$\bigl\|x^n\bigr\|$} % expect two bars and bigger ones \stoptext %%% Stop example It gives the attached pdf file with latest minimals and mkiv. Mikael bartest.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] 4th ConTeXt Meeting: Call for submissions
Dear all, 4th ConTeXt Meeting is closer now and it's time to think about its programme. - = Call for submissions = As in previous years, anything at all related to ConTeXt that you would like to share is an acceptable subject for a presentation, tutorial, discussion, QA session, demonstration, workshop, recital, sketch, or sermon. That said, this year Hans and Taco decided that it would be wise to focus a bit on documentation issues. The informal theme is therefore: *ConTeXt typesetting documentation, teach as we preach* It follows that if you have something to say on educating users on how to best use ConTeXt or to developers on how to best document ConTeXt (and who doesn't have an opinion on those topics!) your submission will be all the more appreciated. The programme committee is Hans Hagen Hagen and Taco Hoekwater, feel free to email them with hints and ideas. Because we want something interesting on the website, abstracts should be sent in before May 31 or even now, before opening the registration. - http://meeting.contextgarden.net/2010/ The page has been updated. We hope you won't get lost and everybody can find his way to Brejlov (see the 'location' part). The registration opening will follow shortly. We will inform you here, on the mailing list. Hans, Jano, Pavel Taco The organizing committee ___ 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] 4th ConTeXt Meeting: Call for submissions
On Tue, Apr 6, 2010 at 1:33 PM, Jano Kula jano.k...@tiscali.cz wrote: Dear all, 4th ConTeXt Meeting is closer now and it's time to think about its programme. - = Call for submissions = As in previous years, anything at all related to ConTeXt that you would like to share is an acceptable subject for a presentation, tutorial, discussion, QA session, demonstration, workshop, recital, sketch, or sermon. That said, this year Hans and Taco decided that it would be wise to focus a bit on documentation issues. The informal theme is therefore: *ConTeXt typesetting documentation, teach as we preach* It follows that if you have something to say on educating users on how to best use ConTeXt or to developers on how to best document ConTeXt (and who doesn't have an opinion on those topics!) your submission will be all the more appreciated. Hans said \startitem Also, Luigi does a pretty good (and time consuming) job on keeping the sources processable into module documentation. The test suite will probably be part of Luigi's module documentation system too (but he doesn't know that yet). \stopitem hm, what I do not know that yet? -- 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] mkiv: wide gap between name and text of enumerations
Thanks Peter, that helps, but it means I need to tune all my 20 enumerations... Matthias On Apr 6, 2010, at 1:25 AM, Peter Münster wrote: On Tue, Apr 06 2010, Matthias Weber wrote: \defineenumeration [blurb] [text=Blurb, way=bysection, location=hanging] Blurb 1 Here should only be a small gap. Is there a way to narrow the gap? This helps: width=4em You can also play with distance= 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 : 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] mkiv: wide gap between name and text of enumerations
On Tue, 6 Apr 2010, Matthias Weber wrote: Thanks Peter, that helps, but it means I need to tune all my 20 enumerations... I usually use width=fit, distance=0.5em which gives reasonable results. 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] page layout
Le 02 avril 2010 à 01:56, Wolfgang Schuster a écrit: Am 02.04.10 12:13, schrieb Sebastien Mengin: Hi, Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [backspace=1cm, width=middle, topspace=1cm, bottomspace=1.5cm, %header=..., %headerdistance=..., %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] Thanks. Can we have a little bit more details when the marking is on (jobname, date, for example)? My question was a bit simpler than my real case: I mentioned left right margins should be 1cm. Ok, what if I actually need left (inner) 2 cm and right (outer) 1 cm. Thanks (again) in advance. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.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] \bigl \bigr \big problems
On 6-4-2010 10:30, Mikael Persson wrote: Dear list, I have problems with \big, \bigl, \Bigl, ... %% Example \def\foo#1{\type{#1}: #1} \starttext \foo{$|x|^n$} % as expected. \foo{$\bigl|x^n\bigr|$} % expect bigger bars \foo{$\big|x^n\big|$} % expect bigger bars \foo{$\Bigl|x^n\Bigr|$} % too small again (but bigger than \big) \foo{$\biggl|x^n\biggr|$} % too small again (but bigger than \big) \foo{$\Biggl|x^n\Biggr|$} % too small again (but bigger than \big) \foo{$\|x^n\|$} % expect two bars \foo{$\bigl\|x^n\bigr\|$} % expect two bars and bigger ones \stoptext %%% Stop example It gives the attached pdf file with latest minimals and mkiv. will be fixed in next beta ... i needed to make a few more virtal shapes (in the size chain) - 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] \bigl \bigr \big problems
On Tue, Apr 6, 2010 at 4:43 PM, Hans Hagen pra...@wxs.nl wrote: On 6-4-2010 10:30, Mikael Persson wrote: Dear list, I have problems with \big, \bigl, \Bigl, ... %% Example \def\foo#1{\type{#1}: #1} \starttext \foo{$|x|^n$} % as expected. \foo{$\bigl|x^n\bigr|$} % expect bigger bars \foo{$\big|x^n\big|$} % expect bigger bars \foo{$\Bigl|x^n\Bigr|$} % too small again (but bigger than \big) \foo{$\biggl|x^n\biggr|$} % too small again (but bigger than \big) \foo{$\Biggl|x^n\Biggr|$} % too small again (but bigger than \big) \foo{$\|x^n\|$} % expect two bars \foo{$\bigl\|x^n\bigr\|$} % expect two bars and bigger ones \stoptext %%% Stop example It gives the attached pdf file with latest minimals and mkiv. will be fixed in next beta ... i needed to make a few more virtal shapes (in the size chain) Great Hans, thanks! Looking forward to the new beta... Mikael ___ 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] Extra page created at end of document
The following code creates an extra page at the end of the pdf for a total of 3 pages: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext %\startfrontmatter \input knuth %\stopfrontmatter \stoptext But this code doesn't create that third page: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext \input knuth \stoptext I need to handle the creation of my book using frontmatter, etc. parts and don't want to create that unneeded page at the end. Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey ___ 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] Extra page created at end of document
On Tue, Apr 06 2010, Tom wrote: The following code creates an extra page at the end of the pdf for a total of 3 pages: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext %\startfrontmatter \input knuth %\stopfrontmatter \stoptext It seems, that you're using mk2. There is no such problem with mk4. Here a workaround: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext \startfrontmatter \input knuth \stopfrontmatter \page[stop] \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Metafun in MacTeX 209 distribution
On Apr 4, 2010, at 4:58 PM, jindrich Ruzicka wrote: Hello people, I installed Mac TeX -2009 Distribution on a new iMAC. when I try to run texexec on a Context file that includes a metapost program, I receive no picture that is defined in metapost part. (btw in my linux installation it works) What I can find in log file is: ... runsystem(texmfstart texexec --batch --output=dvips --mpformat=metafun --mptex --nomp --once obrazek-mpgraph)...disabled. ... Running this sequence manually and reruning the 1st texexec I receive what I expect. Is it a feature of Mac distribution or there is a mismatch in some file/directory permissions? (mptopfd, ...) Are there another installation steps needed after fresh MacTeX installation? the test file is: \startuseMPgraphic{def} ... \stopuseMPgraphic \startuseMPgraphic{obr30} \includeMPgraphic{def} ... \stopuseMPgraphic \starttext test \placefigure[here][fig1]{yyy} {\useMPgraphic{obr30}} end of test \stoptext Nice day, Jindro See http://archive.contextgarden.net/message/20100322.074003.4e366fdd.en.html Perhaps this ought to be added to the texlive page Aditya Thank you, Yes it works. Jindro ___ 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 layout
Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... If you want more information when marking is needed, then you could have a look at t-cropmarks by Thomas A. Schmitz. \usemodule-cropmarks \setupmodule[Mark=Cross,Info=yes] Willi On 6 Apr 2010, at 16:37, Sebastien Mengin wrote: Le 02 avril 2010 à 01:56, Wolfgang Schuster a écrit: Am 02.04.10 12:13, schrieb Sebastien Mengin: Hi, Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [backspace=1cm, width=middle, topspace=1cm, bottomspace=1.5cm, %header=..., %headerdistance=..., %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] Thanks. Can we have a little bit more details when the marking is on (jobname, date, for example)? My question was a bit simpler than my real case: I mentioned left right margins should be 1cm. Ok, what if I actually need left (inner) 2 cm and right (outer) 1 cm. Thanks (again) in advance. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.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] page layout
Sorry for replying to my own mail. I was just a little to fast with my answer concerning the t- cropmarks. I realize that it is not in the list of the third-party modules on the wiki. Willi On 6 Apr 2010, at 20:52, Willi Egger wrote: Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... If you want more information when marking is needed, then you could have a look at t-cropmarks by Thomas A. Schmitz. \usemodule-cropmarks \setupmodule[Mark=Cross,Info=yes] Willi On 6 Apr 2010, at 16:37, Sebastien Mengin wrote: Le 02 avril 2010 à 01:56, Wolfgang Schuster a écrit: Am 02.04.10 12:13, schrieb Sebastien Mengin: Hi, Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [backspace=1cm, width=middle, topspace=1cm, bottomspace=1.5cm, %header=..., %headerdistance=..., %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] Thanks. Can we have a little bit more details when the marking is on (jobname, date, for example)? My question was a bit simpler than my real case: I mentioned left right margins should be 1cm. Ok, what if I actually need left (inner) 2 cm and right (outer) 1 cm. Thanks (again) in advance. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.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 __ _ ___ 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 layout
Le 06 avril 2010 à 08:52, Willi Egger a écrit: Hi, Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... I think I'm misleaded by the (my) confusion between margins and edges. Here's what I use, it's almost satisfying but I've a small amount of space at the left edge of each pages and the whole layout isn't double-side. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [%backspace=1cm, % am I right to comment out this line? leftedge=1cm, rightedge=2cm, leftedgedistance=0cm, rightedgedistance=0cm, leftmargin=0cm, rightmargin=0cm, width=7cm, % either fit doesn't suppress the above mentionned % whitespace topspace=1cm, bottomspace=1.5cm, %header=..., headerdistance=1cm, %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] \showlayout \starttext \input tufte \stoptext Sincerely, -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.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] Latest beta...
I just updated the latest beta in a completely new tree: I get now the following message: .../lua60/tex/texmf-osx-intel/bin/context: line 2: 1634 Bus error mtxrun --script context $@ When running luatools --generate most of the things work out well, just that in the last line I see: LuaTools | fileio: loading configuration file .../lua60/tex/texmf/ web2c/texmf.cnf Bus error Running on Tiger 10.4.11 Kind regards Willi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] page layout
Le 06 avril 2010 à 08:58, Willi Egger a écrit: Sorry for replying to my own mail. I was just a little to fast with my answer concerning the t-cropmarks. I realize that it is not in the list of the third-party modules on the wiki. No problem, I saw a mail of yours on the archive and got the module finally. Interesting... Thanks for the tip. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.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] Extra page created at end of document
It now works on TexLive, which I assume is mk2. The Context manual doesn't seem to include the stop option for \page. Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Peter Münster Sent: Tuesday, April 06, 2010 1:23 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Extra page created at end of document On Tue, Apr 06 2010, Tom wrote: The following code creates an extra page at the end of the pdf for a total of 3 pages: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext %\startfrontmatter \input knuth %\stopfrontmatter \stoptext It seems, that you're using mk2. There is no such problem with mk4. Here a workaround: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext \startfrontmatter \input knuth \stopfrontmatter \page[stop] \stoptext 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 : 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] page layout
Hi, \setuplayout [backspace=1cm, % am I right to comment out this line? - No backspace defines where the textblock starts from the left % leftedge=1cm, %edge is reserved for screendocuments, where you can have margin and edge spaces % rightedge=2cm, % leftedgedistance=0cm, % rightedgedistance=0cm, leftmargin=1cm, leftmargindistance=0pt, rightmargin=2cm, rightmargindistance=0pt, % width=7cm, % either fit doesn't suppress the above mentionned % whitespace width=fit, topspace=1cm, bottomspace=1.5cm, %header=..., headerdistance=1cm, %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] Willi On 6 Apr 2010, at 21:23, Sebastien Mengin wrote: Le 06 avril 2010 à 08:52, Willi Egger a écrit: Hi, Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... I think I'm misleaded by the (my) confusion between margins and edges. Here's what I use, it's almost satisfying but I've a small amount of space at the left edge of each pages and the whole layout isn't double-side. \definepapersize[book][width=10cm,height=18cm] \setuppapersize[book][A4] \setuplayout [%backspace=1cm, % am I right to comment out this line? leftedge=1cm, rightedge=2cm, leftedgedistance=0cm, rightedgedistance=0cm, leftmargin=0cm, rightmargin=0cm, width=7cm, % either fit doesn't suppress the above mentionned % whitespace topspace=1cm, bottomspace=1.5cm, %header=..., headerdistance=1cm, %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] \showlayout \starttext \input tufte \stoptext Sincerely, -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.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] page layout
Hi, This might be an old version. I hope, that we can upload an newer version shortly. Kind regards Willi On 6 Apr 2010, at 21:27, Sebastien Mengin wrote: Le 06 avril 2010 à 08:58, Willi Egger a écrit: Sorry for replying to my own mail. I was just a little to fast with my answer concerning the t- cropmarks. I realize that it is not in the list of the third-party modules on the wiki. No problem, I saw a mail of yours on the archive and got the module finally. Interesting... Thanks for the tip. -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.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] page layout
Le 06 avril 2010 à 09:43, Willi Egger a écrit: Hi, \setuplayout [backspace=1cm, % am I right to comment out this line? - No backspace defines where the textblock starts from the left % leftedge=1cm,%edge is reserved for screendocuments, where you can have margin and edge spaces Ok. Thanks again. % rightedge=2cm, % leftedgedistance=0cm, % rightedgedistance=0cm, leftmargin=1cm, leftmargindistance=0pt, rightmargin=2cm, rightmargindistance=0pt, % width=7cm, % either fit doesn't suppress the above mentionned % whitespace width=fit, topspace=1cm, bottomspace=1.5cm, %header=..., headerdistance=1cm, %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] I still feel like there's some magic knowledge involved ;) But I guess that with time I'm going to get used to this new -- at least for me -- terminology. Are those keywords translatable (or already translated)? I read that context commands are localized. Sincerely, -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.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] Latest beta...
On 6-4-2010 9:24, Willi Egger wrote: I just updated the latest beta in a completely new tree: I get now the following message: /lua60/tex/texmf-osx-intel/bin/context: line 2: 1634 Bus error mtxrun --script context $@ When running luatools --generate most of the things work out well, just that in the last line I see: LuaTools | fileio: loading configuration file .../lua60/tex/texmf/web2c/texmf.cnf Bus error i have no clue what a bus error is but can try the mac tommorow 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] page layout
On 6-4-2010 9:23, Sebastien Mengin wrote: Le 06 avril 2010 à 08:52, Willi Egger a écrit: Hi, Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... I think I'm misleaded by the (my) confusion between margins and edges. edges and top/bottom are sort of virtual ... they were originally meant for navigational goodies that then would not interfere with margins and headers/footers and could be turned on/off easilly; of course one can also use them otherwise 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] page layout
On 6 Apr 2010, at 22:05, Sebastien Mengin wrote: Le 06 avril 2010 à 09:43, Willi Egger a écrit: Hi, \setuplayout [backspace=1cm, % am I right to comment out this line? - No backspace defines where the textblock starts from the left % leftedge=1cm, %edge is reserved for screendocuments, where you can have margin and edge spaces Ok. Thanks again. % rightedge=2cm, % leftedgedistance=0cm, % rightedgedistance=0cm, leftmargin=1cm, leftmargindistance=0pt, rightmargin=2cm, rightmargindistance=0pt, % width=7cm, % either fit doesn't suppress the above mentionned % whitespace width=fit, topspace=1cm, bottomspace=1.5cm, %header=..., headerdistance=1cm, %footer=..., %footerdistance=..., height=middle, location=middle, marking=on] I still feel like there's some magic knowledge involved ;) But I guess that with time I'm going to get used to this new -- at least for me -- terminology. Indeed, naming differs from other TEX-tastes Are those keywords translatable (or already translated)? I read that context commands are localized. you can run ConTeXt with french interface. For translated keywords look into mult-def.lua Willi Sincerely, -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.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] Latest beta...
On Tue, Apr 6, 2010 at 21:24, Willi Egger wrote: I just updated the latest beta in a completely new tree: I get now the following message: .../lua60/tex/texmf-osx-intel/bin/context: line 2: 1634 Bus error mtxrun --script context $@ When running luatools --generate most of the things work out well, just that in the last line I see: LuaTools | fileio: loading configuration file .../lua60/tex/texmf/web2c/texmf.cnf Bus error This might as well be a mac-intel-only luatex-related problem (something for Taco in any case), but I cannot reproduce it yet. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Latest beta...
No problem here, but I'm running Leopard (intel). Matthias On Apr 6, 2010, at 5:06 PM, Mojca Miklavec wrote: On Tue, Apr 6, 2010 at 21:24, Willi Egger wrote: I just updated the latest beta in a completely new tree: I get now the following message: .../lua60/tex/texmf-osx-intel/bin/context: line 2: 1634 Bus error mtxrun --script context $@ When running luatools --generate most of the things work out well, just that in the last line I see: LuaTools | fileio: loading configuration file .../lua60/tex/texmf/web2c/texmf.cnf Bus error This might as well be a mac-intel-only luatex-related problem (something for Taco in any case), but I cannot reproduce it yet. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 layout
Am 06.04.10 21:23, schrieb Sebastien Mengin: Here's what I use, it's almost satisfying but I've a small amount of space at the left edge of each pages and the whole layout isn't double-side. To set 1cm at the left side and 2cm at the right side use \setuplayout [..., backspace=1cm, % inner/left margin cutspace=2cm, % outer/right margin width=middle, % calculate the textwidth ...] A doublesided layout is enabled with \setuppagenumbering[alternative=doublesided] 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] Courier font in TexLive
On Tue, Apr 6, 2010 at 21:37, Tom wrote: The code that follows seems to work but gives me a warning: pdfTeX warning: pdftex.exe (file ec-urw-courier.map): cannot open font map file The PDF lists 3 embedded fonts: LMRoman10-Regular, LMSans10-Regular NimbusMonL-Regu. Does NumbusMonl-Regu looks like Courier? Which version of TeX Live are you using? With TL 2009 (or maybe I have an updated version) I get TeX Gyre Cursor without any warning (provided that I remove the first line that loads type-win). TG Cursor does look like Courier. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] randomize
Am 06.04.10 00:21, schrieb Wolfgang Werners-Lucchini: Hallo, I get allways (10 times at least) the same result: - \starttext \startluacode math.randomseed(os.time()) \stopluacode Encode your Name and Surname as a \startluacode local a = {'null-terminated', 'dollar-terminated', 'Pascal'} context('%s string', a[math.random(1,3)]) \stopluacode \stoptext - How can I randomize this? ConTeXt saves the random value in the tuc file to get the same output in each run. Delete the tuc file with 'context --purgeall'. This does not work! I get allways the same. And shouldn't the tuc-seed be overwriten from my os.time-seed? 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] Courier font in TexLive
I'm using TextLive 2008. ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2009.7.8 int: english/english Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Mojca Miklavec Sent: Tuesday, April 06, 2010 7:08 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Courier font in TexLive On Tue, Apr 6, 2010 at 21:37, Tom wrote: The code that follows seems to work but gives me a warning: pdfTeX warning: pdftex.exe (file ec-urw-courier.map): cannot open font map file The PDF lists 3 embedded fonts: LMRoman10-Regular, LMSans10-Regular NimbusMonL-Regu. Does NumbusMonl-Regu looks like Courier? Which version of TeX Live are you using? With TL 2009 (or maybe I have an updated version) I get TeX Gyre Cursor without any warning (provided that I remove the first line that loads type-win). TG Cursor does look like Courier. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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] hyphens in verbatim text
-- in verbatim text displayed as a single -, no matter in \type{} or in typing environment or something like that. current version: 2010.03.30 18:56 $ luatex --version This is LuaTeX, Version beta-0.60.0-2010040422 ___ 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] randomize
On Tue, 6 Apr 2010, Wolfgang Werners-Lucchini wrote: Hallo, I get allways (10 times at least) the same result: - \starttext \startluacode math.randomseed(os.time()) \stopluacode Encode your Name and Surname as a \startluacode local a = {'null-terminated', 'dollar-terminated', 'Pascal'} context('%s string', a[math.random(1,3)]) \stopluacode \stoptext - How can I randomize this? Hmm... which version are you using? I do get a ranom output each time. Tested with 2009.12.31 and 2010.03.20. Since the math seed is set after \starttext, it should overwrite the value after reading the tuc file. Actually, I consider saving the random number in tuc file to be a misfeature. A random sequence generator should generate a random sequence. If I want the same behavior all the time, I can use \setupsystem[random=12345] (which should also set math.randomseed). Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] tab disappears in LUA environment.
\startLUA string.format(%s %d, person, total) \stopLUA produces the result as following: string.format(%s%d, person, total) while the following code has no such problem: \starttyping string.format(%s %d, person, total) \stoptyping $ context --version MTXrun | current version: 2010.03.30 18:56 $ luatex --version This is LuaTeX, Version beta-0.60.0-2010040422 ___ 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 ___