[NTG-context] Bug: missing stopper?
Hello, playing with \defineenumeration I noticed some weird behaviour: whenever I set an enumeration to be unnumbered the stopper is mysteriously suppressed ... I searched the mailing list for this problem and I discovered that people have experienced problems related to the stopper option before. However, these appeared to have been solved. Now I'm not sure whether I missed a detail or stumbled upon a potentially remaining bug. \defineenumeration [theorem] [text=Theorem] \defineenumeration [remark] [text=Remark] \setupenumerations [location=serried,width=fit,distance=1em,stopper=.] \setupenumerations [remark] [number=no] \starttext \starttheorem \input ward \stoptheorem \startremark \input tufte \stopremark \stoptext By the way what's the role of the option right I found in the source code? Same as stopper? Deprecated? Best wishes, Oliver ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] enco-ffr ?
Renaud Aubin wrote: Hans Hagen a �crit : so i'll wait for the test file before i look into it \useencoding[ffr] \mainlanguage[fr] \starttext \section{\type{enco-ffr.tex} related issue} \startuseMPgraphic{mymptest} numeric u; u:=1cm; draw origin--(10u,10u); \stopuseMPgraphic \placefigure[here]{none}{\useMPgraphic{mymptest}} test:\blank test;\blank test!\blank test?\blank \stoptext leads to ! Illegal suffix of declared variable will be flushed. to be read again { l.148 numeric u\directdiscretionary { ;} i'll add \appendtoks \disablediscretionaries \disablecompoundcharacters \to\everyMPgraphic (i must have had a reason for removing it but i forgot what) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Custom itemization broken by the new release
Renaud Aubin wrote: Hi all, The following code % frenchitemize \setbox0=\hbox{--~} \def\indenteddash#1{\hskip\parindent--~} \definesymbol[indentdash][\indenteddash] \defineitemgroup[frenchitemize] \setupitemgroup[frenchitemize] [each] [indentdash,packed,joinedup]%,intext] % comment� le 2611 [indentnext=yes,width=\dimexpr \parindent + \wd0 \relax] % testitemize \defineitemgroup[testitemize] \setupitemgroup[testitemize] [each] [indentdash,packed,joinedup,intext] % comment� le 2611 [indentnext=yes,width=\dimexpr \parindent + \wd0 \relax] apart from you rproblem ... best store the wd0 instead of relying on the fact that box 0 stays the same \setbox0=\hbox{--~} \edef\MyWidth{\the\wd0} \def\indenteddash#1{\hskip\parindent--~} \definesymbol[indentdash][\indenteddash] \defineitemgroup[frenchitemize] \setupitemgroup[frenchitemize] [each] [indentdash,packed,joinedup]%,intext] % comment? le 2611 [indentnext=yes,width=\dimexpr \parindent + \MyWidth \relax] % testitemize \defineitemgroup[testitemize] \setupitemgroup[testitemize] [each] [indentdash,packed,joinedup,intext] % comment? le 2611 [indentnext=yes,width=\dimexpr \parindent + \MyWidth \relax] - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] context under miktex
Dear Friends, I am having problems with Context under Miktex. The document is processed, but nothing happens. Instead a tmp file is created, which says the following: terminologie-Diwan.003.tmp % terminologie-Diwan.003.top \unprotect \setupsystem[\c!n=1,\c!m=1] \def\MPOSTformatswitch{-alias=metafun --undump=} \setupsystem[\c!method=2] \setupsystem[\c!type=mswin] \setupoutput[pdftex] \setupsystem[\c!random=1378] \setupsystem[inputfile=terminologie-Diwan.003.tex] \protect \endinput D:\publicaties\artikelen\artikel-Diwantexmfstart texexec.rb terminologie-Diwan.003.tex unknown file type: texmfscripts TeXExec | processing document 'terminologie-Diwan.003.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file terminologie-Diwan.003.top TeXExec | using randomseed 1378 TeXExec | tex engine: pdfetex TeXExec | tex format: cont-en --8bit: unknown option TeXExec | runtime: 0.063 The perl and ruby versions: This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 33 registered patches, see perl -V for more detail) Binary build 819 [267479] provided by ActiveState http://www.ActiveState.com Built Aug 29 2006 12:42:41 ruby 1.9.0 (2005-07-22) [i386-mswin32] Any help is much appreciated. Robert ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] context under miktex
R. Ermers wrote: Dear Friends, I am having problems with Context under Miktex. The document is processed, but nothing happens. Instead a tmp file is created, which says the following: terminologie-Diwan.003.tmp % terminologie-Diwan.003.top \unprotect \setupsystem[\c!n=1,\c!m=1] \def\MPOSTformatswitch{-alias=metafun --undump=} \setupsystem[\c!method=2] \setupsystem[\c!type=mswin] \setupoutput[pdftex] \setupsystem[\c!random=1378] \setupsystem[inputfile=terminologie-Diwan.003.tex] \protect \endinput D:\publicaties\artikelen\artikel-Diwantexmfstart texexec.rb terminologie-Diwan.003.tex unknown file type: texmfscripts TeXExec | processing document 'terminologie-Diwan.003.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file terminologie-Diwan.003.top TeXExec | using randomseed 1378 TeXExec | tex engine: pdfetex TeXExec | tex format: cont-en --8bit: unknown option TeXExec | runtime: 0.063 The perl and ruby versions: This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 33 registered patches, see perl -V for more detail) Binary build 819 [267479] provided by ActiveState http://www.ActiveState.com Built Aug 29 2006 12:42:41 ruby 1.9.0 (2005-07-22) [i386-mswin32] Any help is much appreciated. imo (1) miktex's pdftex/mp should support --8bit (or tcx files) (2) and silently ignore unknown flags the problem is that in tl 2006/7 natural.tcx is supposed to be shipped with the main tree, but i have no clue if miktex ships that as well (and supports tcx filters); the --8bit flag makes pdftex etc 8 bit clean (roundtrip) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] context under miktex (2)
Thanks Hans, for your quick reply. My MikTeX installation contains a natural.tcx file. I am afraid that I do not quite grasp the rest of your reply. What do you suggest me to do? Kind regards, Robert Op Ma, 27 november, 2006 12:04 pm schreef Hans Hagen: R. Ermers wrote: Dear Friends, I am having problems with Context under Miktex. The document is processed, but nothing happens. Instead a tmp file is created, which says the following: terminologie-Diwan.003.tmp % terminologie-Diwan.003.top \unprotect \setupsystem[\c!n=1,\c!m=1] \def\MPOSTformatswitch{-alias=metafun --undump=} \setupsystem[\c!method=2] \setupsystem[\c!type=mswin] \setupoutput[pdftex] \setupsystem[\c!random=1378] \setupsystem[inputfile=terminologie-Diwan.003.tex] \protect \endinput D:\publicaties\artikelen\artikel-Diwantexmfstart texexec.rb terminologie-Diwan.003.tex unknown file type: texmfscripts TeXExec | processing document 'terminologie-Diwan.003.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file terminologie-Diwan.003.top TeXExec | using randomseed 1378 TeXExec | tex engine: pdfetex TeXExec | tex format: cont-en --8bit: unknown option TeXExec | runtime: 0.063 The perl and ruby versions: This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 33 registered patches, see perl -V for more detail) Binary build 819 [267479] provided by ActiveState http://www.ActiveState.com Built Aug 29 2006 12:42:41 ruby 1.9.0 (2005-07-22) [i386-mswin32] Any help is much appreciated. imo (1) miktex's pdftex/mp should support --8bit (or tcx files) (2) and silently ignore unknown flags the problem is that in tl 2006/7 natural.tcx is supposed to be shipped with the main tree, but i have no clue if miktex ships that as well (and supports tcx filters); the --8bit flag makes pdftex etc 8 bit clean (roundtrip) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] context under miktex (2)
[EMAIL PROTECTED] wrote: Thanks Hans, for your quick reply. My MikTeX installation contains a natural.tcx file. I am afraid that I do not quite grasp the rest of your reply. What do you suggest me to do? ask christian schenk to either obey or ignore the --8bit flag 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] context under miktex
Thank you Hans, for your quick reply. I have a file natural.tcx in tex/texmf/web2c/natural.tcx. I do not quite understand the rest of your reply. What do you suggest me to do? I am using Miktex 2.4.1461. Regards, Robert Op Ma, 27 november, 2006 12:04 pm schreef Hans Hagen: R. Ermers wrote: Dear Friends, I am having problems with Context under Miktex. The document is processed, but nothing happens. Instead a tmp file is created, which says the following: terminologie-Diwan.003.tmp % terminologie-Diwan.003.top \unprotect \setupsystem[\c!n=1,\c!m=1] \def\MPOSTformatswitch{-alias=metafun --undump=} \setupsystem[\c!method=2] \setupsystem[\c!type=mswin] \setupoutput[pdftex] \setupsystem[\c!random=1378] \setupsystem[inputfile=terminologie-Diwan.003.tex] \protect \endinput D:\publicaties\artikelen\artikel-Diwantexmfstart texexec.rb terminologie-Diwan.003.tex unknown file type: texmfscripts TeXExec | processing document 'terminologie-Diwan.003.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file terminologie-Diwan.003.top TeXExec | using randomseed 1378 TeXExec | tex engine: pdfetex TeXExec | tex format: cont-en --8bit: unknown option TeXExec | runtime: 0.063 The perl and ruby versions: This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 33 registered patches, see perl -V for more detail) Binary build 819 [267479] provided by ActiveState http://www.ActiveState.com Built Aug 29 2006 12:42:41 ruby 1.9.0 (2005-07-22) [i386-mswin32] Any help is much appreciated. imo (1) miktex's pdftex/mp should support --8bit (or tcx files) (2) and silently ignore unknown flags the problem is that in tl 2006/7 natural.tcx is supposed to be shipped with the main tree, but i have no clue if miktex ships that as well (and supports tcx filters); the --8bit flag makes pdftex etc 8 bit clean (roundtrip) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] context under miktex (3) - solved
I updated to miktex 2.5, which solved the problem with txc. Everything works fine now. Regards, Robert ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] context under miktex (2)
On 11/27/06, Hans Hagen [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Thanks Hans, for your quick reply. My MikTeX installation contains a natural.tcx file. I am afraid that I do not quite grasp the rest of your reply. What do you suggest me to do? ask christian schenk to either obey or ignore the --8bit flag Already done for ver 2.5 during pre-release testing (see miktex bug: [ 1532430 ] 2.5rc1 tex.rb uses pdfetex --8bit). Don't use MikTeX 2.4. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] context under miktex (2)
Don't use MikTeX 2.4. I can confirm that latest releases of ConTeXt (since the introduction of ruby-based executables) have problems with MikTeX 2.4. Do you have any chances to upgrade MikTeX to 2.5? Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Module for ptj
On Sat, 25 Nov 2006, Thomas A. Schmitz wrote: I've just played some with your module for the PracTeX journal. This is very nice to have, I'm absolutely thrilled! When I wrote for them, I just relied on a self-cooked style, but yours looks much closer to the official LaTeX template. Just two or three very small remarks: 1. You should mention somewhere that your module necessitates installing the texgyre fonts (at least pagella) + the map files. They don't come with a normal ConTeXt installation (yet). Ah, I just assumed that everybody would have downloaded TeXGyre fonts by now :) I will add a note and the download instructions in the documentation. 2. I haven't really looke into the texgyre fonts yet, but is it possible to make mediaeval numbers the default? Given that they are used for page and section numbers, that would make sense, IMHO. I do not know how to do that (for any font). If you can point me to some documentation or example on setting up oldstyle numbers for some fonts, I will experiment with it to see if it can be enabled by default for PracTeX Journal. 3. The line endings in lines 226 and 227 need to be escaped; otherwise, you'll get a spurious space in front of the abstract buffer (visible in output in demo mode). Ah, so that was where the space was coming from. I'll correct it. I still do not understand when a line in a \def should end in a % and when it is alright to omit it. Thanks so much for providing this module; I'll certainly use it if I write anything for PTJ again! I hope you find the time to write something more. I really enjoyed your previous articles. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Why must I move frame to center it?
On Sunday 26 November 2006 11:27, Hans Hagen wrote: setbounds currentpicture to Page ; Unfortunately the recommended line had no effect. Did I put it in the right place? So here is the file that works (so far!) \setupoutput[pdftex] \definepapersize[bok][width=6.0in,height=9.0in] \setuppapersize[bok][letter] \setuplayout[marking=on,margin=.5in,textwidth=4.5in,width=middle,location=middle] \input fonts.tex \setupcolors[state=start] \starttext \noheaderandfooterlines \startuseMPgraphic{bg} StartPage ; setbounds currentpicture to Page ; path p ; p := Page enlarged -10mm ; path q ; q := Page enlarged -15mm ; drawoptions(withcolor .85white) ; fill reverse topboundaryq -- topboundaryp -- cycle ; fill reverse bottomboundary q -- bottomboundary p -- cycle ; drawoptions(withcolor .65white) ; fill reverse leftboundary q -- leftboundary p -- cycle ; fill reverse rightboundary q -- rightboundary p -- cycle ; StopPage ; \stopuseMPgraphic \vglue -1.55in \hglue -.75in \useMPgraphic{bg} \vglue -6.5in %\hglue .2in \BigSans \centerline{Part I} \vskip .4in \Mythe \centerline{Prerequisite for Success:} \vskip .2in \centerline{A Thorough Understanding} \vfil \tfa \page[yes] \stoptext -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Why must I move frame to center it?
On Mon, 27 Nov 2006, John R. Culleton wrote: On Sunday 26 November 2006 11:27, Hans Hagen wrote: setbounds currentpicture to Page ; Unfortunately the recommended line had no effect. Did I put it in the right place? So here is the file that works (so far!) Here is an alternate approach: Use an overlay as the page background for one page. Another approach is to let MetaPost do all the page building (see the source of texmfstart manual mtexmfstart.tex) \definepapersize [bok] [width=6.0in,height=9.0in] \setuppapersize [bok] [letter] \setuplayout [marking=on,margin=.5in,textwidth=4.5in,width=middle,location=middle] \setupcolors [state=start] \noheaderandfooterlines \startuseMPgraphic{bg} boolean debug ; debug := false ; path Page ; Page = (fullsquare xyscaled (\overlaywidth, \overlayheight)) ; path p ; p := Page enlarged -10mm ; path q ; q := Page enlarged -15mm ; if debug : draw Page withcolor green; draw p withcolor red ; draw q withcolor blue ; fi ; drawoptions(withcolor .85white) ; fill reverse topboundaryq -- topboundaryp -- cycle ; fill reverse bottomboundary q -- bottomboundary p -- cycle ; drawoptions(withcolor .65white) ; fill reverse leftboundary q -- leftboundary p -- cycle ; fill reverse rightboundary q -- rightboundary p -- cycle ; setbounds currentpicture to Page ; \stopuseMPgraphic \defineoverlay[coverpage][\useMPgraphic{bg}] \starttext \setupbackgrounds[page] [background=coverpage] \centerline{Part I} \vskip .4in \centerline{Prerequisite for Success:} \vskip .2in \centerline{A Thorough Understanding} \vfil \tfa \page[yes] \setupbackgrounds[page] [background=] \input knuth \stoptext Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context