[NTG-context] \framed inside \startalignment\stopalignment
Strange behavior with \framed or \inframed inside \startalignment [middle] \stopalignment. Alan Minimal example: \starttext \startalignment [middle] \inframed {This {\bf should} be aligned and centered} along with the following. \stopalignment \blank \startalignment [middle] Here, \inframed {the entire line} is centered. \stopalignment \blank \startalignment [middle] This is centered.\crlf \inframed {This is now centered.}\crlf This is centered. \stopalignment \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Minimals Setup witout rsync?
On Monday 07 December 2009 10:49:45 Johannes Graumann wrote: Timestamp: 2009-05-11 13:30 Ouch. Can that be synchronized with the rsync-able repository? Thanks, Joh Wolfgang Schuster wrote: Am 04.12.2009 um 14:27 schrieb Johannes Graumann: Hi, How would one install the minimals when sitting behind a restrictive firewall not allowing rsyncing with the outside world? http://pragma-ade.com/download-4.htm Wolfgang See also attached mail. If you can connect to a machine on the outside world that has nc and itself allows rsync. Alan ---BeginMessage--- On Thursday 23 July 2009 21:40:54 Mojca Miklavec wrote: On Wed, Jul 22, 2009 at 23:03, Alan BRASLAU wrote: I am currently behind a firewall that does not allow rsync:// connections, so ./first-setup.sh fails. However, ssh connections are allowed. I do not (currently) know enough about rsync (and the conTeXt scripts) to see how to get around this. I re-read the rsync documentation and found a solution: export RSYNC_CONNECT_PROG='ssh proxyhost nc %H 873' ./first-setup.sh where proxyhost is replaced by the name of my laboratory gateway machine that is configured to allow rsync (port 873) connections. The other solutions (-e ssh) require having a login on contextgarden.net. So, now I can rsync with the minimals on the garden. Alan, thanks a lot for figuring that out. This should be documented on Wiki or in first-setup.sh. Just a question: what kind of server exactly does that proxyhost need to be? The proxyhost can be any machine outside of the ssh firewall that 1) has nc (netcat) 2) allows a connection to port 873 (rsync) Alan ---End Message--- ___ 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] simpleslides: titlestyle
Hi, The simpleslides module seems to be ignoring the titlestyle (by default \switchtobodyfont[\TitleSize]) and titlecolor parameters. Minimal example: generic-talk-15min-45min.tex (tex/texmf-context/doc/context/third/simpleslides/solutions) Alan ___ 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] placesidebyside inside combination
Hello, Nesting \placesidebyside inside \startcombination\stopcombination appears to throw-off the spacing. Alan %%% % Minimal example: % (left pair is misplaced) %%% \setupcombinations [distance=0cm] \starttext \framed [width=8cm] {% \startcombination [2] {\placesidebyside {\framed [width=2cm,height=3cm, background=color,backgroundcolor=red] {}} {\framed [width=2cm,height=3cm, background=color,backgroundcolor=green] {}} } {(a)} {\placesidebyside {\framed [width=2cm,height=3cm, background=color,backgroundcolor=blue] {}} {\framed [width=2cm,height=3cm, background=color,backgroundcolor=yellow] {}} } {(b)} \stopcombination } \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Metapost and mkiv
On Friday 27 November 2009 14:54:53 Willi Egger wrote: Hi Alan, I run in this myself. A possible solution is: \startuniqueMPgraphic{test} for i = 0 upto 10 : draw thelabel(textext(\color[red] decimal i ), (i, -1) scaled 1cm); endfor ; \stopuniqueMPgraphic \setupcolors[state=start] \starttext \uniqueMPgraphic{test} \stoptext KR Willi Yes, Thanks. I thought of this as a work-around, but the first is clearly a bug. What actually works is: \setupcolors [state=start] \starttext \startuniqueMPgraphic{test} for i = 0 upto 10 : %draw thelabel(decimal i, (i, 0) scaled 1cm) withcolor red ; draw thelabel(textext(\red decimal i ), (i, 0) scaled 1cm) ; endfor ; \stopuniqueMPgraphic \uniqueMPgraphic{test} \stoptext Now it is up to the experts to fix the bug in mkiv. Alan ___ 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] Metapost and mkiv
Is this a bug in mkiv metapost? Alan minimal example: \setupcolors [state=start] \starttext \startuniqueMPgraphic{test} for i = 0 upto 10 : draw thelabel(decimal i, (i, 0) scaled 1cm) withcolor red ; % red in mkii, black in mkiv? endfor ; \stopuniqueMPgraphic \uniqueMPgraphic{test} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font-syn.lua error
On Wednesday 25 November 2009 09:54:36 luigi scarso wrote: That wasn't the point, I was not trying to give a comparative table of pdf-viewers. luatex was buggy, but some viewers displayed the pdf nonetheless. Doesn't make sense to test a dozen viewers because next time around, the subset which does or does not work may be totally different. Not dozen, only 2~3 but code independent .My choices are 1) xpdf (same codebase of luatex) 2)acroread (the most important viewer for pdf ) 3) ghostscript (also used by context ) They are all used / important for TeX community and printing house. I understood that xpdf has been replaced by poppler, a rewritten PDF rendering library (based originally on xpdf, however I am no authority). This library is the motor behind the viewers evince (gnome) and okular (kde). If this is different from the codebase used by luatex, should luatex eventually be migrated to popplar? Alan ___ 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-syn.lua error
On Wednesday 25 November 2009 09:37:11 Taco Hoekwater wrote: Alan BRASLAU wrote: Maybe unrelated, but maybe a luatex error as well: transparency seems to work correctly when viewed with okular (same library as evince) but not when view with acroread, (including the windows version). What is 'not'? If you means that the rest of the page looks crappy, that is known Acrobat behavior. If you want all pages to look the same (crappy) in AR, use \TransparancyHack. If there is no transparancy at all, then there could be a problem within mkiv or luatex. No transparancy, or perhaps total transparancy, my test cannot tell as I am using transparancy in metafun to produce a gradient from .5white to black. Printing the page under acroread then hangs. Alan P.S. looks OK under xpdf. compass.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] MetaPost broken mkiv latest minimals
MetaPost is broken in mkiv (works in mkii). minimal example: \starttext \startuniqueMPgraphic{circle} pickup pencircle scaled 1pt ; draw fullcircle scaled 2cm ; \stopuniqueMPgraphic \uniqueMPgraphic{circle} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MetaPost broken mkiv latest minimals
On Tuesday 24 November 2009 21:20:05 luigi scarso wrote: On Tue, Nov 24, 2009 at 9:05 PM, Alan BRASLAU alan.bras...@cea.fr wrote: MetaPost is broken in mkiv (works in mkii). minimal example: \starttext \startuniqueMPgraphic{circle} pickup pencircle scaled 1pt ; draw fullcircle scaled 2cm ; \stopuniqueMPgraphic \uniqueMPgraphic{circle} \stoptext It seems ok here # context --version MTXrun | main context file: /opt/luatex/minimals-beta/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.11.24 10:13 r...@luigicasa-laptop:/opt/luatex/mkiv# luatex --version This is LuaTeX, Version beta-0.44.0-2009110210 Thanks. I checked, and it is broken on amd64: MTXrun | main context file: /home/local/context/tex/texmf- context/tex/context/base/context.tex MTXrun | current version: 2009.11.24 10:13 This is LuaTeX, Version beta-0.45.0-2009112119 But works on i686: MTXrun | main context file: /home/dell/local/context/tex/texmf- context/tex/context/base/context.tex MTXrun | current version: 2009.11.24 10:13 This is LuaTeX, Version beta-0.44.0-2009110210 So it is a luatex bug in Version beta-0.45.0-2009112119 Alan ___ 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] MetaPost broken mkiv latest minimals
On Tuesday 24 November 2009 21:49:06 Hans Hagen wrote: Mojca Miklavec wrote: On Tue, Nov 24, 2009 at 21:21, Hans Hagen wrote: Alan BRASLAU wrote: MetaPost is broken in mkiv (works in mkii). minimal example: \starttext \startuniqueMPgraphic{circle} pickup pencircle scaled 1pt ; draw fullcircle scaled 2cm ; \stopuniqueMPgraphic \uniqueMPgraphic{circle} \stoptext the problem was in the backend of one of the recent luatex binaries but has been solved already May I bet that Alan is using linux for which I need Hans' build for which it might be polite of me to send him new building scripts since the current ones fail (the old version of svn on debian sarge doesn't recognize some of the options)? Sorry guys, but it's too late today. ok, i will do it tomorrow Hans I rebuilt luatex from svn on Debian x86_64 and MP is fixed. Alan ___ 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] Adjusting the size of a figure when using placefigure
Luigi, Thank you for bringing to our attention the command \scale allowing the easy rescaling of MP graphics. On Wednesday 25 November 2009 03:20:09 luigi scarso wrote: \definemeasure[textgap] [\dimexpr 1em\relax] Why the \dimexpr? \definemeasure[textgap] [1em] works just fine. Alan ___ 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-syn.lua error
On Wednesday 25 November 2009 08:15:48 luigi scarso wrote: On Wed, Nov 25, 2009 at 8:05 AM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Nov 22, 2009, at 10:19 PM, Hans Hagen wrote: Just an afterthought to this problem: I discovered yesterday that the same file behaved quite differently in different viewers. It was a file compiled with the latest beta under linux, luatex 0.44, and with my own fonts. 1. In evince under linux, the file looked fine, no problems were apparent. what about xpdf and ghostscript? Can you also try with mupdf ? Maybe unrelated, but maybe a luatex error as well: transparency seems to work correctly when viewed with okular (same library as evince) but not when view with acroread, (including the windows version). Alan ___ 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] \vspace
On Monday 23 November 2009 11:52:14 Hans Hagen wrote: Wolfgang Schuster wrote: add a note to source nobody else than me should use it :) actually i wanted to say something like that but noticed that you'd posted to the list, probably in order to create a larger momentum -) Yes, the cat is out of the box now! Alan ___ 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] simplefonts
On Sunday 22 November 2009 13:24:19 Wolfgang Schuster wrote: Am 21.11.2009 um 22:33 schrieb Vyatcheslav Yatskovsky: Searching for wiki, I found the line For instance, assuming the Delicious fonts http://www.josbuivenga.demon.nl/delicious.html are properly installed and recognized by ConTeXt, you can simply write. What do you mean by properly installed and recognized? Can I just say \setmainfont[Times New Roman] and get Window's standard Times New Roman working? Why don't you just try it. \setmainfont[Times New Roman] \starttext Hello, {\CONTEXT} community! \stoptext ! Undefined control sequence. l.1 \setmainfont [Times New Roman] ? X ___ 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] simplefonts
Of course, I need \usemodule[simplefonts] Now I *am* impressed! (and I'm not running Windows) /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf Alan On Sunday 22 November 2009 14:10:28 Alan BRASLAU wrote: On Sunday 22 November 2009 13:24:19 Wolfgang Schuster wrote: Am 21.11.2009 um 22:33 schrieb Vyatcheslav Yatskovsky: Searching for wiki, I found the line For instance, assuming the Delicious fonts http://www.josbuivenga.demon.nl/delicious.html are properly installed and recognized by ConTeXt, you can simply write. What do you mean by properly installed and recognized? Can I just say \setmainfont[Times New Roman] and get Window's standard Times New Roman working? Why don't you just try it. \setmainfont[Times New Roman] \starttext Hello, {\CONTEXT} community! \stoptext ! Undefined control sequence. l.1 \setmainfont [Times New Roman] ? X ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to not gobble space after a command
On Friday 20 November 2009 11:41:16 Matthijs Kooijman wrote: \autoinsertnextspace is the context version of \xspace (could be mkii only) Woah, that works (in MkIV). Thanks! *Everywhere* the authors use \CONTEXT\ and \TeX\ followed by an escaped space. (Is this space [sometimes] unbreakable?) In my own texts, I often use {\TeX} as I find this not (too) ugly. Also, I tend to make less mistakes with this method (since it is very easy to forget the trailing backslash). If \autoinsertnextspace is the right solution, perhaps this could be included in the standard definitions in cont-log.tex. Alan ___ 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] rotate a figure
On Tuesday 17 November 2009 16:48:45 Hans Hagen wrote: Peter Münster wrote: On Tue, Nov 17 2009, R. Bastian wrote: \rotate[rotation=90]{\externalfigure[filename]} \externalfigure[filename][orientation=90] ;) \placefigure[here,90]{}{} Yes! However, sometimes we want to turn an externalfigure that is one part of a combination. Here, \externalfigure [orientation=90] is broken (incorrect bounding box). Minimal example: \setupexternalfigures[location={local,default}] \starttext \externalfigure [cow] [frame=on,width=.5\textwidth] \rotate [rotation=90] {\externalfigure [cow] [frame=on,width=.5\textwidth]} \placefigure [force,90] {A turned cow} {\externalfigure [cow] [frame=on,width=.5\textwidth]} broken:\crlf \externalfigure [cow] [frame=on,width=.5\textwidth,orientation=90] \externalfigure [cow] [frame=on,height=.5\textwidth,orientation=90] \stoptext % Alan ___ 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] rotate a figure
On Thursday 19 November 2009 12:26:40 luigi scarso wrote: On Thu, Nov 19, 2009 at 12:07 PM, Alan BRASLAU alan.bras...@cea.fr wrote: On Tuesday 17 November 2009 16:48:45 Hans Hagen wrote: Peter Münster wrote: On Tue, Nov 17 2009, R. Bastian wrote: \rotate[rotation=90]{\externalfigure[filename]} \externalfigure[filename][orientation=90] ;) \placefigure[here,90]{}{} Yes! However, sometimes we want to turn an externalfigure that is one part of a combination. Here, \externalfigure [orientation=90] is broken (incorrect bounding box). Minimal example: \setupexternalfigures[location={local,default}] \starttext \externalfigure [cow] [frame=on,width=.5\textwidth] \rotate [rotation=90] {\externalfigure [cow] [frame=on,width=.5\textwidth]} \placefigure [force,90] {A turned cow} {\externalfigure [cow] [frame=on,width=.5\textwidth]} broken:\crlf \externalfigure [cow] [frame=on,width=.5\textwidth,orientation=90] \externalfigure [cow] [frame=on,height=.5\textwidth,orientation=90] \stoptext I always thought that orientation was related to textual flow while rotate to rectangular object \starttext \framed[width=12cm,height=3cm,orientation=0]{\input ward\relax} \framed[width=12cm,height=3cm,orientation=90]{\input ward\relax} \framed[width=12cm,height=3cm,orientation=180]{\input ward\relax} \framed[width=12cm,height=3cm,orientation=270]{\input ward\relax} \framed[width=12cm,height=3cm,orientation=-90]{\input ward\relax} \framed[width=12cm,height=3cm,orientation=-180]{\input ward\relax} \framed[width=12cm,height=3cm,orientation=-270]{\input ward\relax} \stoptext This explains the use of the keyword orientation, inherited from \framed by \externalfigure (also the use of width and height). Should \externalfigure have an additional keyword rotation to be interpreted independently of orientation? Alan ___ 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] texutil --purgeallfiles
On Thursday 19 November 2009 20:46:40 Renaud AUBIN wrote: Hi, Trying to use the good old days texutil --purgeallfiles, I obtain: ren...@daneel:~/ConTeXt/notes/src$ texutil --purgeallfiles /usr/local/ConTeXt/tex/texmf-context/scripts/context/ruby/base/texutil.rb:1 :in `require': no such file to load -- base/file (LoadError) from /usr/local/ConTeXt/tex/texmf-context/scripts/context/ruby/base/texutil.rb: 1 My ruby dist seems to work well in a nominal context. Is texutil fully functional for other debian 64 / minimals users? texutil --purgeallfiles works fine here: debian sid amd64 under latest context minimals Alan ___ 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] Pstricks and Asymptote
On Wednesday 18 November 2009 14:45:57 Hans Hagen wrote: Mojca Miklavec wrote: On Tue, Nov 17, 2009 at 18:25, Hans Hagen wrote: Mojca Miklavec wrote: In past Till has *always* fixed any bug reported, but I have not heard from him since March (neither as reply to off-list requests nor any response to the mailing list). if i'd know where to search i could fix it ... has to do with adding resources to the pdf tex/generic/pgf/utilities/pgfutil-context.def (and pgfutil-common.def) does all tikz graphics fail? Yes. Close-to-minimal-example (the really minimal examyle is just loading the module): \usemodule[tikz] \starttext \starttikzpicture \fill[gray] (1,1) rectangle +(1,1); \stoptikzpicture \stoptext hm, this one works here without error using the tiks modules from tex live There are lots of differences between the latest tikz and the version distributed with tex live. I compare the minimals tex/generic/pgf/ with that installed under /usr/share/texmf (pgf v.2.00-1 debian 7 May 2008). I suppose that the minimals use a more recent svn version. Alan ___ 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] Pstricks and Asymptote
On Wednesday 18 November 2009 17:19:13 luigi scarso wrote: On Wed, Nov 18, 2009 at 5:10 PM, Alan BRASLAU alan.bras...@cea.fr wrote: There are lots of differences between the latest tikz and the version distributed with tex live. I compare the minimals tex/generic/pgf/ with that installed under /usr/share/texmf (pgf v.2.00-1 debian 7 May 2008). I suppose that the minimals use a more recent svn version. # find minimals-beta -name *pgf* The result is an empty string on my minimals, ie no pgf on minimals. ./first-setup.sh --extras=all find . -name '*pgf*' -print ./tex/texmf-context/scripts/pgfplots ./tex/texmf-context/scripts/pgfplots/pgf2pdf.sh ./tex/texmf-context/scripts/pgfplots/matlab2pgfplots.sh ./tex/texmf-context/scripts/pgfplots/matlab2pgfplots.m ./tex/texmf-context/tex/generic/pgfplots ./tex/texmf-context/tex/generic/pgfplots/pgfplots.stackedplots.code.tex ./tex/texmf-context/tex/generic/pgfplots/util/pgfplotsbinary.code.tex ./tex/texmf-context/tex/generic/pgfplots/util/pgfplotscolormap.code.tex ./tex/texmf-context/tex/generic/pgfplots/util/pgfplotsutil.code.tex ./tex/texmf-context/tex/generic/pgfplots/numtable/pgfplotstable.code.tex ./tex/texmf- context/tex/generic/pgfplots/numtable/pgfplotstable.coltype.code.tex ./tex/texmf-context/tex/generic/pgfplots/oldpgfcompatib ./tex/texmf- context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgfkeysfiltered.code.tex ./tex/texmf- context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgfmathfloat.code.tex ./tex/texmf- context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex ./tex/texmf- context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgfkeys.code.tex ./tex/texmf- context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_misc.code.tex ./tex/texmf- context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgflibraryfpu.code.tex ./tex/texmf- context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgflibraryplothandlers.code.tex ./tex/texmf-context/tex/generic/pgfplots/sys/pgflibrarysurfshading.pgfsys- dvips.def ./tex/texmf-context/tex/generic/pgfplots/sys/pgflibrarysurfshading.pgfsys- pdftex.def ./tex/texmf-context/tex/generic/pgfplots/libs/pgflibrarysurfshading.code.tex ./tex/texmf-context/tex/generic/pgfplots/pgfplots.code.tex ./tex/texmf-context/tex/generic/pgfplots/liststructure/pgfplotsdeque.code.tex ./tex/texmf- context/tex/generic/pgfplots/liststructure/pgfplotsliststructureext.code.tex ./tex/texmf- context/tex/generic/pgfplots/liststructure/pgfplotsliststructure.code.tex ./tex/texmf-context/tex/generic/pgfplots/liststructure/pgfplotsarray.code.tex ./tex/texmf-context/tex/generic/pgfplots/pgfplotscoordprocessing.code.tex ./tex/texmf-context/tex/generic/pgfplots/pgfplotscore.code.tex ./tex/texmf-context/tex/generic/pgfplots/pgfplotsticks.code.tex ./tex/texmf-context/tex/generic/pgf ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcore.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorequick.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex ./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmath.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmathfloat.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex ./tex/texmf- context/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmathutil.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.base.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.round.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmathcalc.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.random.code.tex ./tex/texmf-context/tex/generic/pgf/math/pgfmathparser.code.tex ./tex/texmf-context/tex/generic/pgf/frontendlayer/svg/svgpgf.cfg ./tex
Re: [NTG-context] Remove bold face
On Wednesday 18 November 2009 02:57:18 anuar lezama wrote: Hello Everybody, My problem is the following: I'm creating chapter's titles with a mix of styles. For example. \chapter{ something {\bolditalic another thing}} This give me the result that I expect with my titles, but when I use this title's string to create a header, part of the header appears with the bold italic style on it and I would like to remove it. So far I have tried to define my header's style as normal but the bolditalic style keeps appearing on the another thing part. Is there a way to remove this bold style? Thank you in advance for the help -- Kind Regards Anuar Maybe try using selectors? (untested with \chapter{}...) \defineselector [title] [max=2,n=2] % alternate {short}{long} titles \starttext \chapter{\select{title} {something another thing} {something {\bf another thing}} } \setupselector [title] [n=1] \completecontent \stoptext Alan ___ 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] Remove bold face
I learned about selectors from this mailing list. Before, I had used \nomarking{}, but I believe that this has been eliminated in mkiv. The selector mechanism is cleaner, and my use is typically for figure and table captions. I have no experience with \startchapter. Alan On Wednesday 18 November 2009 19:25:10 anuar lezama wrote: Hollo Everyone, Thank you everyone for answering. I think I misinterpreted your answer Taco I'm so sorry. I tried the solution gave by Alan and It worked perfectly. This is what i did: \defineselector [title] [max=2,n=2] \setupselector [title] [n=1] \section{\select{title}{Comunicación con el {\bolditalic Datalogger}}{Comunicación con el {\it Datalogger}}} \setupselector [title] [n=2] So when the table of content and the header are created context uses the alternative 2 without bold face, but the section's title appears with italicbold. I really appreciate all your help. Thank you very much On Wed, Nov 18, 2009 at 11:59 AM, Bernhard Rosensteiner brosenstei...@gmail.com wrote: Hello Anuar, for me \nomarking never worked as expected (i´m relatively new to ConTeXt, so i don´t know if \nomarking worked in the past..., maybe i´m misunderstanding something...). In the mailing list i found: \startchapter{title=\bf Title, list=entry in lists like content, bookmark=bookmark in pdf, marking=marked Title} this works best regards Bernhard Am 18.11.2009 um 17:29 schrieb anuar lezama: Hello Taco, Thank you for answering. I can't make nomarking do this trick, I tried something like this: \starttext The {\bf teacher-student} relationship \nomarking{\bf implies} the authority of the person teaching over the person being taught. \stoptext and the word implies still have bold face on the PDF output, do I need to do some kind of set up to marking so it works? Thank you. Kind Regrads Anuar On Wed, Nov 18, 2009 at 1:21 AM, Taco Hoekwater t...@elvenkind.comwrote: anuar lezama wrote: Hello Everybody, My problem is the following: I'm creating chapter's titles with a mix of styles. For example. \chapter{ something {\bolditalic another thing}} This give me the result that I expect with \nomarking {\bolditalic } should do the trick. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ _ __ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net _ __ _ __ 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 _ __ -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS URA 2464 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87 86 mailto:alan.bras...@cea.fr http://www-dna2009.cea.fr/ .''`. : :' : `. `'` `- ___ 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] local footnote (Tables) problem
Alan I believe that you need to use \starttables\stoptables rather than \starttable\stoptable. See: http://wiki.contextgarden.net/Tables_Overview Alan On Wednesday 18 November 2009 20:20:06 Bowen Alan C. wrote: Wolfgang— I adapted the file that you sent me so that the table extends beyond one page. But, as you will see, the table still prints on just one page. Moreover, if I set split=repeat, the header prints twice (?) more. Alan \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptables [bodyfont=9pt, width=\textwidth, rulethickness=0.03em, distance=big, split=yes] \placetable [top,nonumber] [tab:Table03] {Table 3} {\startlocalfootnotes[conversion=character,bodyfont=9pt] \placelegend {\startframedtext[frame=off,offset=none,width=fit] \starttablehead \HL[3] \NC \REF[c]{Column A} \NC \REF[c]{Column B} \NC\SR \HL \stoptablehead \starttable[|p(11.5pc)|p(11.5pc)|] \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \NC \input knuth\NC \NC\AR \NC \NC \input knuth \NC\AR \NC \input knuth\NC\NC\AR \stoptable \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes}} \stoplocalfootnotes} \stop \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Pstricks and Asymptote
On Tuesday 17 November 2009 14:40:04 Curiouslearn wrote: I tried Metapost last year for a few graphs and liked the fact that it is tightly integrated with Context. I found John Hobby's document a good place to learn it and then used Hans' Metafun to learn further. The reason I am looking at Asymptote and pstricks is because they have libraries or functionality which Metapost lacks. For example, the tree drawing library in pstricks. If Metapost has such a library I don't know since I cannot find any document that explains the new things added to Metapost other than what is mentioned in Metafun(2001). As you said documentation is lacking. pgf/tikz has a nice tree building function. pgfplots is a fairly evolved and active data plotting package. Concerning metapost, graph.mp is pretty powerful, but is missing some functionality. piechartmp is also available (although I never use pie charts!) featpost and mp3d give some nice, basic, 3d capability. metagraph, metaobj, ... It would be interesting to see a good tree drawing macro package under metapost; I have yet to take the time to see what is out there. The ConTeXt community (and via the minimals distribution) can keep this active... So much to do! Alan ___ 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] Pstricks and Asymptote
On Monday 16 November 2009 15:29:14 Thomas A. Schmitz wrote: On Nov 16, 2009, at 3:12 PM, curiouslearn wrote: I apologize if this has been asked before, but would appreciate if anyone could answer this again. (a) Is there an easy way to incorporate asymptote code in a Context document, like there exists in Latex. In latex you can include it between \begin{asy} \end{asy} There was a discussion about asymptote on this list in the summer, Mojca has done quite a lot of work towards integrating it. But I'm not sure what the current state is. (b) Is there an easy way to incorporate pstricks code in a Context document. If there is, does that way work both with MKII and MKIV or only with one of them. There's a module pstricks. Again, a search in the list archives would have shown that. The reason I am asking is that eventually all the new Context features will be in MKIV. I want to know what graphics packages I can use with it other than Metapost. Thanks. In addition, there is a module tikz, integrating pgf/tikz, also maintained by Mojca. Alan ___ 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] rotate a figure
On Monday 16 November 2009 19:29:12 R. Bastian wrote: Hello, is there a way to rotate a pdf-figure ? http://wiki.contextgarden.net/Using_Graphics thanks, \rotate[rotation=90]{\externalfigure[filename]} Alan ___ 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] Pstricks and Asymptote
On Monday 16 November 2009 23:57:28 Curiouslearn wrote: Thanks everyone for replying. Alan, the tikz module does not work with MKIV. From what I have read before, it seems it will not unless the creator of tikz makes some changes to tikz package so that it works with Context. I am not sure how likely that is. I know that tikz is (currently) not working under mkiv, but I choose to ignore this as I expect that this will be fixed. I have not been concerned with this, as I no longer actively use tikz. Indeed, since learning (and still learning) metapost, I find it far superior: cleaner syntax, much more powerful... Tikz is/was a very welcome addition to laTeX, but metapost, whose syntax is more closely related to plain TeX, is more coherent with ConTeXt. So I now find the syntax of tikz uncomfortable under ConTeXt. I still sometimes use LaTeX for the submission of articles to scientific journals (in particular using RevTeX), but I now use ConTeXt (\startTEXpage\stopTEXpage) to make the figures (that must be submitted as separate files in any case). Alan P.S. What I really liked about tikz is the quality of its documentation, in particular the tutorial that is very clear. The documentation for metapost (and metafun) is very good, but not so easy. *We* need to write a good tutorial! ___ 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] Fonts disappeared after updating ConTeXt
On Sunday 15 November 2009 13:09:42 Mika Ritola wrote: 2009/11/15 luigi scarso luigi.sca...@gmail.com On Sun, Nov 15, 2009 at 11:38 AM, Mika Ritola the.thin@gmail.com wrote: Hello, I just updated ConTeXt to the latest version (2009.11.13 12:45), and now all the fonts I have installed on my system seem to have mysteriously disappeared from ConTeXt's sight. Running mtxrun --script fonts --list displays only the fonts that are installed in the ConTeXt directory. I'm using Linux and fontconfig finds all the fonts just fine. Until now, I haven't had any problems using the fonts on my system after an update without any further actions. I did, however, run luatools --selfupdate mtxrun --selfupdate luatools --generate context --make just to make sure that everything is up-to-date but that didn't make any difference. Have any font-related changes been made to ConTeXt in the past few weeks (the previous version that I used was from maybe a month ago) or what could be the cause of this? Are you using minimals ? Yes, I use first-setup.sh to update. Mika Using the minimals without any further configuration efforts, I have *never* been able to acces to my system installed fonts (as seen by fc-list). This has been, for a while now, on my list of tasks to try to understand and to resolve, so I am interested by this subject... Alan ___ 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] system fonts (was: Fonts disappeared after updating ConTeXt)
On Sunday 15 November 2009 22:04:01 Alan BRASLAU wrote: On Sunday 15 November 2009 21:56:10 Peter Wüsten wrote: BTW, if you want Context to find _both_ directories make sure you set your OSFONTDIR in setuptex like this: export OSFONTDIR=$HOME/.fonts;/usr/share/fonts Unfortunately, this is not sufficient, and thus refers us back to the original post by Mika. Sorry, after running update.sh, context now finds the system fonts! Alan ___ 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] After \placefigure the first paragraph of body text is not indented
On Monday 09 November 2009 18:57:30 Wolfgang Schuster wrote: Am 09.11.2009 um 18:18 schrieb Vyatcheslav Yatskovsky: Hi I noticed that after \placefigure the first paragraph of body text is not indented. Can I enable the indenting after figures? \setupfloat[figure][indentnext=yes] I have also noticed that \placefigure inserts a (line) break, that is, a \placefigure somewhere in the middle of a paragraph adds a break in the line (as would \crlf). Is this to be the expected default behavior, and is there an option to \setupfloat that controls this? If so, would this get broken by [indentnext=yes]? I would expect the default behavior be 1) not to break the line and 2) to respect \setupindenting Thanks, Alan ___ 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] Metapost+mpgraph and mkiv
mpgraph does not appear to work properly under mkiv. %% minimal example %% \starttext \startuseMPgraphic{test} input graph draw begingraph(16cm,12cm); setrange(whatever,whatever,whatever,whatever); gdraw (0,0) -- (1,1) ; endgraph; \stopuseMPgraphic \startTEXpage \useMPgraphic{test} \stopTEXpage \stoptext % Works correctly under mkii (texexec) but not under mkiv (context). Error message: mplib | mp terminal: (/home/local/context/tex/texmf/metapost/base/graph.mp ! Redundant equation. to be read again ; l.143 Gmargin.low=-.07; % bbox fraction for default ra... ! Redundant equation. to be read again ; l.144 Gmargin.high=1.07; % bbox fraction for default ra... ) mplib | mp error: unknown, no error, terminal or log messages mplib | mp terminal: [1] mplib | mp error: unknown, no error, terminal or log messages Alan ___ 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] Metapost+mpgraph and mkiv
On Saturday 07 November 2009 17:21:04 Taco Hoekwater wrote: 1. You should load the MP packages you need in \startMPinclusions (this is where the code really belongs, even in mkii) instead of inside each separate graphic. 2. You have to make sure that you do not re-state equations that were already solved in a previous graphic. These are in fact the excact same rules that you have to adhere to in mkii if \runMPgraphicsfalse is active. So, for the mailing list, here is a working solution (mkii mkiv): %% minimal example %% \starttext \startMPinclusions input graph \stopMPinclusions \startuseMPgraphic{test} draw begingraph(16cm,12cm); setrange(whatever,whatever,whatever,whatever); gdraw (0,0) -- (1,1) ; endgraph; \stopuseMPgraphic \startTEXpage \useMPgraphic{test} \stopTEXpage \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page Numbering Hell
On Friday 23 October 2009 10:30:09 Bryant Eastham wrote: Yes, I had looked at all the examples that I could find, I had checked the many references, and could not find documentation on most of the routines that current postings seem to indicate should be used. With the further pointers I have received I will try again, and post my results. As has been clearly pointed out by this exchange: - ConTeXt MKII is very stable and is pretty well documented. - ConTeXt MKIV is a working system, but is not quite as stable. It is under active development, and this mailing list is principally active concerning this development. It is therefore quite appropriate that current postings turn around features that are not (yet) as well documented as stable MKII. So you should not be surprised to find that the use of cutting edge technology gives many exciting new functionality, but one must be willing to put up with some rough edges. This is why, for example, the Debian project has very appropriately named its releases stable, testing and unstable (as well as experimental). Unstable sometimes breaks, but usually this lasts only a couple of hours (occasionally a couple of days for less important problems). Alan P.S. I just spent several hours using Microsoft Word to edit a bunch of administrative documents. The task would have taken 10 minutes or so using ConTeXt and my usual tools (there were many repetitive edits). This was a *horrible* experience and I simply cannot fathom how one can be satisfied with such a work tool! (Here, I had no choice.) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page Numbering Hell
On Wednesday 21 October 2009 18:52:21 Bryant Eastham wrote: 1. Should I use mkii or mkiv? If mkii, then what should I plan on as schedule for upgrading? I asked this question recently and was told that it was probably pretty safe now to use mkiv, as the developers use mkiv themselves. My experience is that mkiv is not totally stable, but almost so. I try to use it for my production as much as possible. For the core of the commands, the two are interchangable and it is simply a question of using the context script or the texexec script (but don't include a % output=pdftex line in your source file!) For specific differences, you can use \doifmodeelse{mkiv}{ }{ } This also answers 2. 3. What *reference* material exists? I do not need a user guide. Right now it has been Google. However, the solutions most recently mentioned on the mailing lists seem to dead-end. I am fine with an answer of see the source code if that is really it. Did you look at the user guide? It is a reference manual http://www.pragma-ade.com/general/manuals/cont-eni.pdf http://www.pragma-ade.com/general/manuals/cont-enp.pdf The first is a screen version, the second a paper format. (and called context-reference or contextref.pdf on the svn) A rich source is: http://www.pragma-ade.com/overview.htm ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page Numbering Hell
Dear Bryant, Your post is slightly exaggerated. The document structure that you want to produce appears to be relatively standard. Whereas, indeed, the learning curve for ConTeXt (as for TeX) can be somewhat slow, the richness and powerfulness is well worth the effort. The documentation for ConTeXt (mkii) is quite rich, although it did take me some time to get used to the presentation and style. Some of the syntax has evolved in mkiv, mostly in an effort of simplification, but also to allow some powerful new features. The documentation is (slowly) being updated, as this is a tremendous effort. But it is a necessary effort. I believe that all of us users will appreciate the updated reference manual when it is completed! A notable change between mkii and mkiv is the handling of document structure. I, too, have had a difficult time with this evolution of such a fundamental functionality and will therefore let someone more expert reply to your request with specific examples on how to tune the style, notably page numbering; it should be a simple matter. Alan % missing setups to: % 1. frontmatter pagenumbering conversion=romannumerals % 2. bodymatter pagenumbering chapter-page % 3. reset pagenumber for each chapter % 4. add blank pages if necessary to start chapters on odd pages. \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Chapter} \section{Section} \chapter{Chapter 2} \section{Section} \stopbodymatter \stoptext On Wednesday 21 October 2009 08:36:35 Bryant Eastham wrote: All- A few days ago when I first stumbled on ConTeXt I was very, very excited. I have some 500 pages of technical documentation that could benefit from this, particularly since I need Japanese font support. But it has to be real. I'm sorry if this sounds caustic, but after 12 hours of failed attempts to even get a minimal document formatted I have some serious questions for the list: 1. Is Mark IV real? I am only somewhat joking here - after spending hours searching for reasonable documentation on even the most trivial options, I am left wondering whether this is something I want to use... 2. ConTeXt looks great. But what is current? Seriously, I like the look and the support (particularly Unicode). But going over documentation I cannot make heads or tails of what to do. Mark II? Mark IV? TeTeX? LuaTeX? If I really want to use this, what should I use? 3. Having answered #2, where in the world is a reference manual!!! I mean one that actually *documents the options*. 4. Having answered #3, are there any current examples that actually work? The snippets from the mailing are great, but they are just snippets. That doesn't help me. Now, to resolve my immediate issue, and just because I will not be able to sleep well until I figure this out (yes, I am fixated on this). I want this document structure: Contents 1. Chapter 1-1 1.1 Section 1-2 2. Chapter 2 2-1 2.1 Section 2-2 Table of contents on page i. Even/odd, each chapter starts on right page. Page number (as in 2-2) in top margin. Mark IV, Lua document. I have tried hundreds of different combinations. If it cannot do this, the I will (with sadness) move on. I'm sure that it would take someone who understands this about 5 minutes to write (if that). -Bryant ___ 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] obscure luatex error (fixed!)
On Friday 16 October 2009 14:16:17 Taco Hoekwater wrote: Ok, I now have committed an official fix. The problem was that when converting lua strings to token lists, utf-8 characters were converted incorrectly. This bug affected *all* luastring-tokenlist conversion, so I am quite surprised it too so long to surface. Anyway, fixed now. So, following some exchange off-list, Taco was able to find the bug in luatex. It is fixed now in the cvs trunk and will hopefully make it soon to the minimals binary distribution. Thanks Taco for the fix and Luigi for helping me figure out how to pinpoint the bug! Alan ___ 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] obscure luatex error
In trying to compile a LARGE project (585 pages, 260 figures, 27 tables, indexing, bibliography, ...), I produce an obscure luatex error: luatex: ../../../source/texk/web2c/luatexdir/tex/printing.c:266: print: Assertion `c 256' failed. [329.327MTXrun | fatal error, no return code, message: luatex: execution interrupted probably due to a floatblock or other buffer overflow, I suspect. For if I remove about half of the chapters from the project, it will compile. Latest minimals distribution: ConTeXt ver: 2009.10.02 13:14 MKIV fmt: 2009.10.15 int: english/english mkiv lua stats : luatex banner - this is luatex, version beta-0.43.0-2009081914 I have tried both amd64 and i386, and both fail at the same point, so it is not a problem of (dynamic) memory allocation (there is more available on the first machine). The full project compiles under mkii but systematically fails under mkiv. Unfortunately, I cannot produce a minimal example... Can someone suggest how I should proceed, such as any configuration file that can be tuned... ? Thanks Alan ___ 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] obscure luatex error
On Thursday 15 October 2009 16:36:01 luigi scarso wrote: On Thu, Oct 15, 2009 at 4:32 PM, Matthijs Kooijman matth...@stdin.nl wrote: Hi luigi, Do you think you could compile luatex with CFLAGS=-g, and run it in gdb to get a backtrace? That might help to see where this comes from... changing STRIP_LUATEX=TRUE in STRIP_LUATEX=FALSE in build.sh isn't enough ? I don't know the luatex build system, I just posted general instructions :-) pretty simple, on linux: download source,uncompress and $./build.sh Not so easy: I have never compiled luatex before! $ svn checkout http://foundry.supelec.fr/svn/luatex (downloads 3.9G, including all beta versions in tag/) $ cd trunk $ ./build.sh --nostrip ... libtool: link: gcc lib/lib.a /home/local/src/luatex/trunk/build/texk/kpathsea/.libs/libkpathsea.a -lm lib/lib.a(main.o): In function `main': /home/local/src/luatex/trunk/build/texk/web2c/lib/../../../../source/texk/web2c/lib/main.c:26: undefined reference to `mainbody' collect2: ld returned 1 exit status make[5]: *** [tangleboot] Error 1 make[5]: Leaving directory `/home/local/src/luatex/trunk/build/texk/web2c' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/local/src/luatex/trunk/build/texk/web2c' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/local/src/luatex/trunk/build/texk/web2c' make[2]: *** [subtexk] Error 1 make[2]: Leaving directory `/home/local/src/luatex/trunk/build/texk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/local/src/luatex/trunk/build/texk' make: *** [all-recursive] Error 1 luatex binary not stripped ls: cannot access build/texk/web2c/luatex: No such file or directory $ So I do not yet have a compiled, unstripped version of luatex. Alan ___ 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] placefigure broken in mkiv?
On Thursday 15 October 2009 17:29:12 Wolfgang Schuster wrote: Am 15.10.2009 um 16:04 schrieb Vyatcheslav Yatskovsky: Hello, A document that was previously compiled successfully a few months ago, now throws an exception. My code: \placefigure [middle] {none} {\externalfigure[2009-05-26_200309s][width=0.9\textwidth]} \placefigure[middle,none]{}{...} the official way in mkiv (please add this to the new mkii/mkiv difference page on the wiki) This indeed is a cleaner syntax. However, on the subject of \placefigure, there appears to be a small bug in mkiv. (Untested) minimal example: \usemodule[bib] ... \starttext \placefigure[right,none]{}{\externalfigure[file][width=.3\textwidth] Text...\cite{Me2009} \blank[2*line] \placepublications[criterium=all] \stoptext The publications list is typeset full \textwidth and overflows the figure. Alan ___ 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] alpha release
Hi experts, Would someone please provide a basic recipe to correctly install the new alpha release locally. I would like to test the new alpha code but am a bit confused as to what exactly to install and how. 1. on the website, is this indeed http://www.pragma-ade.com/context/current/cont-tmf.zip as http://www.pragma-ade.com/download-3.htm currently lists as (not available)? Should this be unzipped under /usr/local/context.alpha/tex/texmf-context for example? 2. no beta as mkiv needs the trunk version of luatex Does this mean http://foundry.supelec.fr/gf/download/frsrelease/350/1332/luatex- snapshot-0.42.0.tar.bz2 to be compiled and then somehow installed into the local tree. From luatex-snapshot-0.42.0/INSTALL Post-compilation installation should be a simple matter of copying the executable to a normal place for web2c binaries and generating the desired formats. You may want to install the executable under the names 'texlua' and 'texluac' as well (create a copy or symlink) I currently work with the contextgarden minimals. Under the minimals, these are located at tex/texmf-linux-64/bin/texlua tex/texmf-linux-64/bin/texluac on my machine. Sorry for such basic questions. Thanks Alan On Tuesday 14 July 2009 19:39:09 Hans Hagen wrote: Hi I've put an alpha release on the website - no beta as mkiv needs the trunk version of luatex - a close to complete split in mkii/mkiv - cleaned up mkiv code - cleaned up mkiv backend (some pending issues) - some speedups in mkiv - a few fixes in mkii - updated mkiv typescripts (more to come) - fixes in mkiv structure this version is not replicated on the context garden as we run older luatex binaries there (0.45 release by the end of this month) you can unzip this file on your locla tree but best first rename the tex/context/base directory and make a fresh one as otherwise you end up with a weird mixture (due to the definitive split in .mkii/.mkiv there are not that many shared .tex files any more) on the upcoming tex live there will be an updated mkii (either this one or the current beta which is basically a current for mkii) and an old mkiv (maybe the beta) or a new one but that one will not run then with the luatex on texlive as it is too old; this is no big deal as you can either use the minimals or use the new updater in the upcoming tex live to fetch newer binaries (norbert and mojca showed that trickery at bachotek 2009) next on the mkiv agenda is an upgrade/rework of everything related to page building but it might as well be postponed till we have a bit more access (which will happen sometime after eurotex); the first priority is to get the new structure related code right but as idris is already publising books made by mkiv it's not that bad as it sounds. 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] alpha release
On Sunday 19 July 2009 20:58:19 Aditya Mahajan wrote: The alpha has now been merged with the beta and so, ... just run first-setup.sh again. Aditya Thanks. I can do that! - ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.7.19 int: english/english - this is luatex, version beta-0.42.0-2009071807 OK However, I was expecting \usetypescript[postscript] \starttext default: $A = \pi r^2$ \switchtobodyfont[postscript] postscript: $A = \pi r^2$ \stoptext at least to be fixed. Not yet... I'll continue other tests (and keep reading the mailing list). Alan ___ 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] mkiv structure
On Thursday 09 July 2009 09:38:07 Hans Hagen wrote: part is just the first level of sectioning and happens to be configured in such a way that it does not show a title; really nothing special It is a question of default setup. \part is configured differently : no title, additional page number, etc. My suggestion is to behave by default (mkiv) as under mkii (and latex). Alan ___ 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] mkiv structure
On Friday 03 July 2009 16:04:07 Hans Hagen wrote: Obsolete in mkii? Shouldn't basic use (read standard users) treat source text transparently between mkii and mkiv? no, this is one of the few places where there will be a difference; we have way more control now (also to the detail of setting up styles for each separator in a composed number) but that comes at a price; i don't want to complicate the mkiv code with too many compatibility hacks I understand and I do agree, basically. However, any (and all) differences need to be clearly documented. I know that you are working on this. Perhaps we need to put together a mkii-mkiv changes summary document, from the users point of view updating http://wiki.contextgarden.net/Mark_IV (or Mark_IV_differences). I am aware of a few differences, but am far from having a complete view. On Sunday 05 July 2009 11:32:35 Wolfgang Schuster wrote: Can you give a example how to continue chapter numbering over parts, I tried a few settings with \definestructureresetset but I wasn't very successful. Yes, please provide an example. I too have tried different blind guesses and have not succeeded either. Alan ___ 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] mkiv structure
In my experience, a \part is generally (except in some rather technical documents) not treated as a super-chapter, that is chapter numbers (and titles) are not reset and retain their status as if the book was not divided into parts. A very long work is commonly broken into volumes. Here, each volume may or may not reset chapter numbers. Page numbering may or may not reflect the volume number. This is a sylistic choice. In my understanding, \part serves to delimit logical sections of related chapters, not volumes. Maybe I am wrong in this interpretation; maybe \part is to be used to delimit volumes. Nevertheless, it should be relatively simple for the basic user to be able to select the desired behavior without having to acquire an understanding of the inner workings such as prefixsets and sectionsegments. Alan On Thursday 02 July 2009 23:25:57 Hans Hagen wrote: keys like partnumber (sectionnumber) are obsolete ... and replace by prefxset etc (see strc-def.mkiv for example definitions) Obsolete in mkii? Shouldn't basic use (read standard users) treat source text transparently between mkii and mkiv? \setuphead[part][placehead=yes,resetnumber=no] \doifmodeelse{mkiv}{ \setuphead[part][sectionsegments=1:1] \setupstructureheads[sectionsegments=2:5] } { \setuppagenumbering[partnumber=no] \setuplist[chapter,section,subsection,subsubsection] [partnumber=no] } ___ 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] mkiv structure
On Monday 15 June 2009 10:02:35 Hans Hagen wrote: I was wondering ... the last time quite some nice small test samples were posted for testing the structure code % Example taken from cont-enp.pdf % However, adding \part{} is problematic... % (maybe someone can correct this?) % \setuppagenumbering[alternative=doublesided,way=bytext,partnumber=no] \setuphead[part][placehead=yes,resetnumber=no] \doifmode{mkiv}{ \setuphead[part][sectionsegments=1:1] \setupstructureheads[sectionsegments=2:5] } \setuplabeltext[chapter=Chapter ] \setuplist[chapter][label=yes] \setuplist[part,chapter,section,subsection,subsubsection] [partnumber=no,interaction=all,alternative=c] % number – title – dots – pagenumber \starttext \startfrontmatter \completecontent \chapter{Introduction} % in content, no number \stopfrontmatter \startbodymatter \part{Beginning} \chapter{First} % number 1, in content \section{Alfa} % number 1.1, in content \section{Beta} % number 1.2, in content \chapter{Second}% number 2, in content \subject{Blabla}% no number, not in content \part{End} \chapter{Third} % number 3, in content \stopbodymatter \startappendices \chapter{Index} % letter A, in content \chapter{Abbreviations} % letter B, in content \stopappendices \startbackmatter \chapter{Acknowlegdement} % no number, in content \title{Colofon} % no number, not in content \stopbackmatter \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 ___
[NTG-context] references (mainlanguage)
First question: Should the reference labels follow \mainlanguage? (in the example below [fr], by chance, \in{figure} might seem OK, but not \in{chapter}!) Second question: How can one \Cap{\in{figure}}? Third question: Why is the chapter label text blank by default? Thanks. Alan Minimal example: \mainlanguage[fr] \setupinteraction[state=start] \setuplabeltext[chapter=Chaptre ] % why is this not by default? \starttext \chapter[ch:first]{Premier} \placefigure[here][fig:1-1] {}{} \chapter[ch:second]{Second} \in{figure}[fig:1-1] du \in{chapter}[ch:first]\ldots \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] problem with math and TeXgyre and MKIV
Does anyone use math? For I am surprised that nobody is complaining. (recent minimals, since 8 June, mkiv) The following minimal example % mkiv \usetypescript[postscript] \usetypescript[pagella] \starttext default: $A = \pi r^2$ \switchtobodyfont[postscript] postscript: $A = \pi r^2$ \switchtobodyfont[pagella] pagella: $A = \pi r^2$ \stoptext renders incorrectly. 1. no TeXGyre \pi (or other math symbols) 2. the math r is strange (outlined and unselectable under Acroread) 3. numerous error messages using libpoppler (okular, evince) Alan ___ 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] MKIV ownnumber issue
On Monday 22 June 2009 09:01:01 Tim Wraight wrote: The following example from the manual does not work for me in MKIV (2009.06.14 21:01): \starttext \setuphead[subsection][ownnumber=yes] \subsection{399}{The old number} \subsection[someref]{400}{Another number} \stoptext Structuring has changed significantly in mkiv and many examples from mkii are handled differently (structure sets). Unfortunately, I have yet to figure it out as the documentation is behind and the little information that I have gathered from this mailing list is too incomplete. What is missing is some basic information on the new approach to structuring. Alan ___ 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 math and TeXgyre and MKIV
No math symbols? (see attached) Alan minimal example: \usetypescript[postscript] \setupbodyfont[postscript,rm,12pt] \starttext $A = \pi r^2$ \stoptext goo.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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new structure code
Hello, Different structuring behavior mkiv and mkii; How can the following minimal example be achieved under mkiv? (mkii gives the desired behavior) Alan \setuphead[part][resetnumber=no,placehead=yes] \setuplist[part,chapter,section][partnumber=no] \starttext \part{part one} \chapter{chapter one} \section{section one} \section{section two} \chapter{chapter two} \section{section one} \section{section two} \part{part two} \chapter{chapter three} \section{section one}braslau \section{section two} \chapter{chapter four} \section{section one} \section{section two} \stoptext foo_mkiv.pdf Description: Adobe PDF document foo_mkii.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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new structure code
On Sunday 14 June 2009 15:16:20 Hans Hagen wrote: keys like 'partnumber' are gone in mkiv; we now have sets and segments; here is the variant with segments: (2 = section 2 == chapter) \setuphead[part] [resetnumber=no,placehead=yes] % \setuphead[chapter][sectionsegments=2:100] % \setuphead[section][sectionsegments=2:100] \setupstructureheads[sectionsegments=2:100] you can tune each number (also at list placement time or whatever) Thanks. But I am not sure that I understand the syntax, sorry. I tried looking at the code, but did not get very far. Blindly using the following minimal example, I almost get the desired result, but the parts are unnumbered. I would like: Part I. part one Chapter 1. chapter one 1.1 section one\setuplist[part,chapter,section][partnumber=no] 1.2 section two Chapter 2. chapter two 2.1 section one 2.2 section two Part II. part two Chapter 3. chapter three 3.1 section one 3.2 section two Chapter 4. chapter four 4.1 section one 4.2 section two \setuphead[part][resetnumber=no,placehead=yes] %mkii \setuplist[part,chapter,section][partnumber=no] \setupstructureheads[sectionsegments=2:100] \starttext \part{part one} \chapter{chapter one} \section{section one} \section{section two} \chapter{chapter two} \section{section one} \section{section two} \part{part two} \chapter{chapter three} \section{section one} \section{section two} \chapter{chapter four} \section{section one} \section{section two} \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] new structure code
On Sunday 14 June 2009 20:23:50 Hans Hagen wrote: Alan BRASLAU wrote: Blindly using the following minimal example, I almost get the desired result, but the parts are unnumbered. \setuphead[part][sectionsegments=1:1] I am still fishing... and don't really get it... \setuphead[part][placehead=yes,sectionsegments=1:1,resetnumber=no] \setupstructureheads[sectionsegments=2:5] gives Part 1 part one 1 chapter one 1.1 section one ... Part 2 part two 1 chapter three 1.1 section one whereas I am seeking Part 1 part one Chapter 1 chapter one ... Part 2 part two Chapter 3 chapter 3 So, resetnumber=no is not correct. Chapter does not print. I tried \setuphead[chapter][placehead=yes] but this did not work either. Alan ___ 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] unicode no-break spaces
On Sunday 07 June 2009 13:12:11 Hans Hagen wrote: Peter Münster wrote: Should this work, or should we rather use ~ and \, as in the past? repaired in next beta (was unwanted side effect of optimization) ~, by the way, appears not to be respected in math mode; example: \starttext $3\times 10^{-9}~\text{m}$ $3\times 10^{-9}\,\text{m}$ \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] unicode no-break spaces
On Sunday 07 June 2009 14:10:10 Hans Hagen wrote: Alan BRASLAU wrote: On Sunday 07 June 2009 13:12:11 Hans Hagen wrote: Peter Münster wrote: Should this work, or should we rather use ~ and \, as in the past? repaired in next beta (was unwanted side effect of optimization) ~, by the way, appears not to be respected in math mode; example: \starttext $3\times 10^{-9}~\text{m}$ $3\times 10^{-9}\,\text{m}$ \stoptext no surprise, as math has its own spacing model so it all depends on the definitions; i'm not even sure if we shoule support an active ~ in math mode at all I do not have any strong feelings about this, but do believe that ~ has always provided an unbreakable white space in TeX, both in text and math mode. I also feel that ~ is more readable than \,. Alan ___ 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] ppchtex experience
On Monday 20 April 2009 17:27:42 Helge Kruse wrote: Hello, I need to write some chemical strucutures in LaTeX and dont know, what is the best tools to do it. The structures are crown ether and cryptands. Yes, and I am unexperienced. 1) What would be the way to write a [18]crown-6 (http://en.wikipedia.org/wiki/Crown_ether) structure formula with PPCHTEX? 2) Is there any kind of repository, where I can take common structures and/or adapt these to the required structures? Regards, Helge I just came across your message from over a month ago... Here is my solution (ConTeXt): \usemodule[chemic] \starttext % 18-Crown-6 \startchemical[width=fit,height=fit] \chemical[SIX,B5,-SB4,+SB6,Z4,MOV1][O] \chemical[SIX,B6,-SB5,+SB1,Z5,MOV2][O] \chemical[SIX,B1,-SB6,+SB2,Z6,MOV3][O] \chemical[SIX,B2,-SB1,+SB3,Z1,MOV4][O] \chemical[SIX,B3,-SB2,+SB4,Z2,MOV5][O] \chemical[SIX,B4,-SB3,+SB5,Z3][O] \stopchemical % my discotic mesogene... \startchemical[width=6500,height=8000,top=2500,left=2500] \chemical[SIX,B5,-SB4,+SB6,PB:Z4,ONE,SB6,Z06,PE,MOV1][N,R] \chemical[SIX,B6,-SB5,+SB1,PB:Z5,ONE,SB7,Z07,PE,MOV2][N,R] \chemical[SIX,B1,-SB6,+SB2,PB:Z6,ONE,SB8,Z08,PE,MOV3][N,R] \chemical[SIX,B2,-SB1,+SB3,PB:Z1,ONE,SB2,Z02,PE,MOV4][N,R] \chemical[SIX,B3,-SB2,+SB4,PB:Z2,ONE,SB3,Z03,PE,MOV5][N,R] \chemical[SIX,B4,-SB3,+SB5,PB:Z3,ONE,SB4,Z04,PE][N,R] \stopchemical \stoptext Alan ___ 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] another sectioning problem in beta
On Wednesday 03 June 2009 15:02:05 Henning Hraban Ramm wrote: MkIV 2009.06.03 11:48 If I use \chapter and \section, numbering is ok (1 Chapter, 1.1 Section, 1.2 Section, 2 Chapter etc.), but when I define my own sectioning levels, everything gets running numbers (1 Chapter, 2 Section, 3 Section, 4 Chapter etc.). Also, there are problems that I have been unable to solve yet when using \part. I have been trying to understand the mkiv code as many options have changed... For example: \setuphead[part][resetnumber=no,placehead=yes] \setuplist[part,chapter,section,subsection,subsubsection] [partnumber=no,interaction=all,alternative=c] from mkii do not work in mkiv. Alan ___ 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] updates without rsync
On Thursday 28 May 2009 21:36:38 Mojca Miklavec wrote: There are some online tutorials about how to circumvent firewall problems using ssh tunelling. http://forums.exabytes.com/linux-control-panel-cpanel/102-using-rsync-throu gh-firewall.html http://samba.anu.edu.au/rsync/firewall.html I regularly use ssh tunnels to circumvent firewall problems. Basically, it requires a few simple and readily available tools (ssh, nc). For example (under linux), it can be as simple as setting up the file $HOME/.ssh/config Host contextgarden.net ProxyCommand nohup ssh firewall_host_name nc -w1 %h %p Then, rsync -e ssh -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . just works... (This scheme requires nc [netcat] be available on the firewall) ___ 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] loading figure in LuaTeX
Or \setupexternalfigures[directory={figures/math-shapes}], assuming that you are running from ~/Documents. This can be a relative path such as {../figures/math-shapes}, for example if you are compiling in a subdirectory. I suspect that your problem, as pointed out, is the expansion of the ~ shortcut to the shell variable $HOME. On Thursday 21 May 2009 11:21:10 Yanrui Li wrote: Hi Dalyoung, You should use the absolute path for your figure, such as: \externalfigure[/home/your-name/Documents/figures/math-shapes/moebius-band] [] On Thu, May 21, 2009 at 5:03 PM, Dalyoung Jeong hak...@mac.com wrote: Dear all, I tried to load figure in LuaTeX, but I couldn't succeed. However, it is perfectly working in ConTeXt and XeConTeXt. I don't know what is wrong. ___ 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] beta (list of bugs)
On Thursday 21 May 2009 11:57:37 Thomas A. Schmitz wrote: OK, here is a collection of some assorted bugs. Most of them have been posted several times. Of course, everybody will have their own feeling of what is more and what is less urgent, but I will just add a few words about my own situation: ... Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work. I add my vote for this, too. (however, I do remember reading some discussion related to this around the beginning of April...) %% Also, \placeindex (\placeregister in general) is broken. However, I have been unable yet to produce a minimal example as my simple tests all work correctly! In a big project (book with many references, etc.), under mkiv I get (compiles fine under mkii): ! LuaTeX error new/tex/texmf-context/tex/context/base/strc-reg.lua:228: attempt to compare nil with number stack traceback: new/tex/texmf-context/tex/context/base/strc-reg.lua:228: in function 'cmp' new/tex/texmf-context/tex/context/base/sort-ini.lua:105: in function new/tex/texmf-context/tex/context/base/sort-ini.lua:105 [C]: in function 'sort' new/tex/texmf-context/tex/context/base/sort-ini.lua:105: in function 'sort' new/tex/texmf-context/tex/context/base/strc-reg.lua:265: in function 'sort' new/tex/texmf-context/tex/context/base/strc-reg.lua:329: in function 'analysed' new/tex/texmf-context/tex/context/base/strc-reg.lua:574: in function 'process' main ctx instance:1: in main chunk. \doplaceregister ...ameter \c!pagesegments , } )} \stoppacked \stopcolumns \... to be read again \par l.175 ___ 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] beta
On Thursday 21 May 2009 12:17:50 Taco Hoekwater wrote: Thomas A. Schmitz wrote: 1. bib-module Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work. I feel sorry for you, but I do not know what to do about it anymore. I just tried commenting out %\placeindex and friends in my current book project and compiled under mkiv. I wish to report that the bib module gives empty references [] and a new first page of numbers appears 1 2 3 4 ... (must be the lost reference numbers) LuaTeX gives lots of warning messages, such as: \placepublications[criterium=all] LuaTeX warning (ext4): destination with the same identifier (name{Friedel1922}) has been already used, duplicate ignored ___ 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] mtxrun initialization bug
I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of context myfile. So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install. Alan ___ 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] columns(ets) and itemize[columns]
On Monday 18 May 2009 08:45:16 Wolfgang Schuster wrote: Am 17.05.2009 um 23:31 schrieb Alan BRASLAU: Two questions, first: What is the real difference between columns and columnset? I am a bit confused* about their coexistence. Is this purposeful or necessary (or is it simply historical)? Is \startcolumns simply an unnamed, default columnset? columns and columnset are two different mechanism two produce a document with text and two or more columns. the columns mechanism is the older one with limited control about the placement of figures but allows you to mix one column and multicolumns text on a page. columnsets are a new version of the column mechanism with more control about the placement of figures and other features like spanned columns etc. (look at the manual for more) and is better suited for magazine like layouts (Vit Zyka posted a few nice examples a few years ago). Great! This is somewhat what I suspected (columns mechanism is the older one). Is there good reason to keep both mechanisms? That is, does the startcolumns mechanism have advantages? Can't one mix one column and multicolumns text on a page using columnsets? (*and the wiki page needs to be clarified...) the wiki is from users for users, feel free to correct the articles Of course, as soon as I feel that I understand the subject. Second question, maybe a bug? \startitemize[columns] does not interact well: I suspect that it could or should use paragraphs internally rather than columns so as to work within a column(set). that's a limitation in tex, when you use the 'columns' key for itemize the items are typeset with a \startcolumns / \stopcolumns before and after the environment and you can nest columns /columnset environments (a tex limitation) but in normal one column text this is not the case and you can use multicolumn items in most cases but you can \startcolumns \startsimplecolumns \startitemize \item one \item two ... \stopitemize \stopsimplecolumns \stopcolumns page-mul.tex ... %D Undocumented and still under development. \def\startsimplecolumns ... May I suggest that \startitemize[columns] internally use such a mechanism, perhaps when under a columns or columnset environment. Of course, this may be a bit tricky according to the following remark: (in a few cases streamlayer are necessary, e.g. within framedtext) Indeed! Inside framed text I used paragraphs to manually typset into columns; now I get to learn about streamlayers... Alan ___ 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] columns(ets) and itemize[columns]
Hello, I just completed a big project making heavy use of columnset, columnsetspan and paragraphs. Very powerful! Two questions, first: What is the real difference between columns and columnset? I am a bit confused* about their coexistence. Is this purposeful or necessary (or is it simply historical)? Is \startcolumns simply an unnamed, default columnset? (*and the wiki page needs to be clarified...) Second question, maybe a bug? \startitemize[columns] does not interact well: I suspect that it could or should use paragraphs internally rather than columns so as to work within a column(set). Minimal example: \starttext \startitemize[columns] \item first \item second \item third \stopitemize \startcolumns[n=2] \startitemize[columns] \item forth \item fifth \item sixth \stopitemize \column \startitemize[columns] \item seventh \item eighth \item nineth \stopitemize \stopcolumns \stoptext Gives something like: •_first_•_third •_second •_forth•_seventh •_fifth_•_eighth •_sixth•_nineth Whereas I was expecting: •_first_•_third •_second •_forth__•_sixth___•_seventh_•_nineth •_fifth_•_eighth Alan ___ 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] ppchtex color
On Wednesday 13 May 2009 10:33:18 Hans Hagen wrote: Alan BRASLAU wrote: Works correctly (bonds in red, atoms in black): \usemodule[chemic] \setupchemical[rulecolor=red] \starttext \startchemical \chemical[ONE,SB,Z0][C] \stopchemical \stoptext However, the following variant does not work. \usemodule[chemic] \starttext \startchemical[rulecolor=red] \chemical[ONE,SB,Z0][C] \stopchemical \stoptext I don't understand, as my (quick) look at the source code indicates that the parameters should be handled identically. no, that was actually the problem ... local vs global ... for the moment set it up local (per formula) as i need to make an inheritance chain now that i've split in mkii/mkiv that's easier since we no longer have to keep things working in latex (which means that we can use more core helper code) just remind me occasionally OK. The following extension would also be useful: \usemodule[chemic] \starttext \startchemical \chemical[SIX,B,rulecolor=red,AU][] \stopchemical \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] What is equivalent of latex math aligned in ConTeXt?
On Monday 11 May 2009 20:16:11 Aditya Mahajan wrote: I would also use \implies instead of \Rightarrow (slightly different spacing). ! Undefined control sequence. recently read \implies $\to$ \usemodule[math-ams] ___ 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] ppchtex color
No, ppchtex is not dead... I would like to use color. 1. color= and rulecolor= does not appear to be implemented (mkiv)... 2. how can one change the color of the bonds? 3. using \color[red]{} causes the text to be offset. minimal example: \setupcolors[state=start] \usemodule[chemic] \starttext \startchemical \chemical[ONE,SB,Z0][C] \stopchemical \startchemical \color[red]{\chemical[ONE,SB,Z0][C]} \stopchemical % text C is offset... \startchemical \chemical[ONE,SB,Z0][{\red C}] \stopchemical % OK, but I would like to draw the bonds as well in red. \startchemical[color=red] \chemical[ONE,SB,Z0][C] \stopchemical % C is red in mkii, black in mkiv \startchemical[rulecolor=red] \chemical[ONE,SB,Z0][C] \stopchemical % bonds are black, C is red in mkii, black in mkiv \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] ppchtex color
i split ppchtex in mkii/mkiv (and included the fixes) so we can improve things eventually can you check if it still runs ok (beta zip on website) Hans Unzipped cont-tmf.zip on top of my minimals installation and ran context on my current working documents: system : module chemic loaded (/usr/local/context.new/tex/texmf-context/tex/context/base/m-chemic.tex (/usr/local/context.new/tex/texmf-context/tex/context/base/m-chemic.mkiv system : module pictex loaded (/usr/local/context.new/tex/texmf-context/tex/context/base/m-pictex.tex (/usr/local/context.new/tex/texmf-context/tex/context/base/thrd-pic.tex warning : \dimen \linethickness is already defined (\relax it first) )) (/usr/local/context.new/tex/texmf-context/tex/context/base/ppchtex.mkiv ppchtex : using PiCTeX and MetaPost ))) It appears to work as before... (I will now look into your color suggestions.) Alan ___ 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] ppchtex color
i split ppchtex in mkii/mkiv (and included the fixes) so we can improve things eventually can you check if it still runs ok (beta zip on website) Hans Works correctly (bonds in red, atoms in black): \usemodule[chemic] \setupchemical[rulecolor=red] \starttext \startchemical \chemical[ONE,SB,Z0][C] \stopchemical \stoptext However, the following variant does not work. \usemodule[chemic] \starttext \startchemical[rulecolor=red] \chemical[ONE,SB,Z0][C] \stopchemical \stoptext I don't understand, as my (quick) look at the source code indicates that the parameters should be handled identically. Alan ___ 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] mframed, setupinteractions
On Monday 11 May 2009 15:40:04 Hans Hagen wrote: Alan BRASLAU wrote: Thanks (\setupinteractions[option=max], \mframed[background=color])! Please note that the vertical spacing seems to be off (raised) for \mframed... minimal example: \starttext \startformula A = B + \mframed[frame=off,background=color,backgroundcolor=gray]{C} \stopformula \stoptext the question is ... what are reasonable defaults ... maybe set offset to 0 or use \inframed in display as well ... needs some testing and discussion Hans discussion: I understand the difference between \framed{} and \inframed{} \mframed{} is another flavor. Try the following test: \starttext $A = B + C$ $A = B + \framed{C}$ $A = B + \mframed{C}$ $A = B + \inframed{C}$ $A = B + \inframed{$C$}$ \stoptext Maybe the last case could equivalently be written: $A = B + \imframed{C}$ or $A = B + \minframed{C}$ (see core-rul.mki[iv]) Of course, one can also play around between \startformula \stopformula pairs... Why all of these different macros? Why not only one \framed{} with options inline=yes and math=yes, for example? (Or are there related programming complications?). Alan ___ 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] mframed (mkiv) bug
\mframed misbehaves under mkiv (latest minimals) minimal example: \setupcolors[state=start] \starttext \mframed[frame=off,background=color,backgroundcolor=yellow]{k_2 \propto \langle N \rangle^{\alpha}} \stoptext - framed text, white background (works correctly under mkii: no frame, yellow background). Thanks, Additional question: might it be more general, syntactically, to replace \mframed{} by $\framed{}$ or \startformula\framed{}\stopformula (although I completely ignore the difficulties in modifying \framed{} to detect math mode...)? Alan ___ 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] \setupinteractions[option=max] (mkiv)
\setupinteractionscreen[option=max] no longer works under mkiv. Thanks, Alan ___ 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] bugs in beta
On Thursday 07 May 2009 23:17:38 Hans Hagen wrote: Alan BRASLAU wrote: I still get a major sectioning bug using the new beta mkiv 1. minimals from the garden 2. beta from http://pragma-ade.nl/context/beta/cont-tmf.zip Am I alone in seeing this? i'm still strugling with defaults (it's not so much a matter of not working but more of how to set up the defaults with reasonable inheritance) so it will take a while before things stabelize i uploaded a beta with a (temp) fix OK, it sort-of works. I get: 1 first section 1.1 first subsection of first section 1.1.1 subsubsection 1.2 second subsection of first section 2 second section 2.1 first subsection of second section 2.2 second subsection of second section But now I am being difficult: \setupsection[section-3][bodypartconversion=Character] \setupsection[section-4][previousnumber=no,bodypartconversion=number] \setupsection[section-5][previousnumber=no,bodypartconversion=character] \starttext \section{first section} \subsection{first subsection of first section} \subsubsection{subsubsection} \subsection{second subsection of first section} \section{second section} \subsection{first subsection of second section} \subsection{second subsection of second section} \stoptext which yields (in mkii): A first section 1 first subsection of first section a subsubsection 2 second subsection of first section B second section 1 first subsection of second section 2 second subsection of second section but not in mkiv... Alan ___ 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] bugs in beta
On Thursday 07 May 2009 15:56:19 Wolfgang Schuster wrote: Am 07.05.2009 um 15:51 schrieb Alan BRASLAU: On Thursday 07 May 2009 15:27:35 Hans Hagen wrote: when i mention beta, i mean the one on the website ... the minimals lag upto an hour behind Please, I am confused: which one on which website? http://www.pragma-ade.nl/download-1.htm contains files from october 2008 http://pragma-ade.nl/download-2.htm ;-) Wolfgang Yes, I figured out http://pragma-ade.nl/context/beta/cont-tmf.zip However, I have been unable to test ANY recent version as the installations on my test machine are hopelessly broken. In producing real work using context, I have reverted to an ancient (several week-old) installation on a backup (stable) machine. Maybe I should just wait another hour until the minimals on the garden get updated before asking any more questions ;-) ___ 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] mkII with minimals
Hmmm, While you guys are having great fun fighting mosquitos (sic), the minimals are still broken: - mkii won't work - mkiv sectioning is completely broken! ?? Alan ___ 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] Font and Typescript problems
On Monday 04 May 2009 10:51:39 Hans Hagen wrote: does 0.9 work? Yes, 0.9 in \definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=0.9] works... Thanks! Nevertheless, \usetypescript[postscript] and other macros are currently broken. Alan ___ 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] Font and Typescript problems
I am perhaps using font typescripts incorrectly. Nevertheless, the recent minimals from the garden appears to have introduced a bug handling rscale. Thanks, Alan Minimal example: \definetypeface [postscript] [rm] [serif] [times] [default] \definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=.9] \definetypeface [postscript] [tt] [mono] [courier] [default] [rscale=1.1] \switchtotypeface [postscript] [12pt] \setupbodyfont [sans,12pt] \starttext text \stoptext ! Missing number, treated as zero. to be read again . \relativefontsize -. 9 \dodefinebodyfontnopxx ...umber \relativefontsize }{#2}{#2#1#3#4#5} {\normalu... \next6 #1,-\dodododefinebodyfont {ss}{4pt}{#1} \doprocesscommaitem argument \relax tf=Sans sa 1, bf=SansBold sa 1, it=SansItalic sa 1, sl=San... \doprocesscommalist ...aitem \gobbleoneargument #1 ,]\relax \global \advance ... ... l.2 ...] [sans] [helvetica] [default] [rscale=.9] ___ 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] pdfsplit
On Thursday 09 April 2009 17:59:18 Wolfgang Schuster wrote: the pdfsplit option for texexec use the name texexec.pdf for each of the document and only the last page remains because all other are overwritten, can you add the pagenumber (texexec-1.pdf, texexec-2.pdf etc.) to the filename. Does the option pdfsplit exist for mkiv? Alan ___ 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] \rightarrow missing?
On Friday 10 April 2009 09:19:44 Hans Hagen wrote: Jesse Alama wrote: I switched from MkIV to MkII today because of this gap in MkIV's math: I need to submit a dissertation that has \rightarrow's in it. Let's hope that this issue is resolved soon. Jesse Alan BRASLAU alan.bras...@cea.fr writes: Indeed, it seems to be broken in mkiv \rightarrow \to \leftarrow ... However, \leftrightarrow works. So, currently, it is hard to typeset limits under mkiv! Alan On Tuesday 31 March 2009 09:14:16 Hans Hagen wrote: Aditya Mahajan wrote: On Mon, 30 Mar 2009, Jesse Alama wrote: It seems that \rightarrow is missing. The command exists, in the sense that its use doesn't lead to an error, but it doesn't lead to anything in the output. Minimal example: \starttext $\rightarrow$ \stoptext Hans, What does the new arrow function in math-vfu.lua supposed to do? it will be used instead of the macro based one (as luatex has native support for such extenders now) but i had to wait till you fixed all the other arrows that you added someplace in math-vfu, patch: --~ main.characters[unicode] = { horiz_variants = t } main.characters[unicode].horiz_variants = t and [0x02190] = 0x20, -- leftarrow [0x02192] = 0x21, -- rightarrow --~ [0xFE190] = 0x20, -- leftarrow --~ [0xFE192] = 0x21, -- rightarrow and remake the format luatex has native support for extensible arrows and since lm lacks them we need to construct them Hans Works. Fantastic! Alan ___ 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] \rightarrow missing?
Indeed, it seems to be broken in mkiv \rightarrow \to \leftarrow ... However, \leftrightarrow works. So, currently, it is hard to typeset limits under mkiv! Alan On Tuesday 31 March 2009 09:14:16 Hans Hagen wrote: Aditya Mahajan wrote: On Mon, 30 Mar 2009, Jesse Alama wrote: It seems that \rightarrow is missing. The command exists, in the sense that its use doesn't lead to an error, but it doesn't lead to anything in the output. Minimal example: \starttext $\rightarrow$ \stoptext Hans, What does the new arrow function in math-vfu.lua supposed to do? it will be used instead of the macro based one (as luatex has native support for such extenders now) but i had to wait till you fixed all the other arrows that you added someplace Hans ___ 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] [OT] adobe_reader_91_for_linux
On Wednesday 01 April 2009 15:06:46 luigi scarso wrote: http://blogs.adobe.com/acroread/2009/03/adobe_reader_91_for_linux_and.html Precision: 32 bit binary; a 64 bit binary is not (yet) available... Alan ___ 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] [OT] adobe_reader_91_for_linux
Available for Debian... deb http://www.debian-multimedia.org/ unstable main Runs much faster under linux than under Windows on the very same machine. This version on linux even loads complicated graphics faster than okular! However, I already seem to have found a bug: the cover page of cont-enp.pdf (http://mirror.contextgarden.net/general/manuals/cont-enp.pdf) is twice too long with extra white space on the bottom half of the extra-long page (or is this a pdf bug in the manual?). Alan On Wednesday 01 April 2009 15:10:06 Martin Schröder wrote: 2009/4/1, luigi scarso luigi.sca...@gmail.com: http://blogs.adobe.com/acroread/2009/03/adobe_reader_91_for_linux_and.htm l Get it. Now. It has a reload shortcut. :-) ___ 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] MetaPost graph mkiv error
MP graph works with latest minimals beta in mkii, broken in mkiv. Minimal example: \startuseMPgraphic{test} input graph draw begingraph(3in,2in); gdraw agepopm.d; endgraph; \stopuseMPgraphic \starttext \useMPgraphic{test} \stoptext (Of course, you know where to find agepopm.d) Alan This is LuaTeX, Version snapshot-0.37.0 (test.tex ConTeXt ver: 2009.03.30 18:28 MKIV fmt: 2009.4.1 int: english/english system : cont-new loaded (/usr/local/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkiv) (/usr/local/context/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (/usr/local/context/tex/texmf-context/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/context/tex/texmf-context/tex/context/user/cont-sys.rme (/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex) (/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex (/usr/local/context/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex (/usr/local/context/tex/texmf-context/tex/context/base/type-otf.mkiv))) system : test.top loaded % % begin of optionfile % % % runtime options files (command line driven) % \unprotect % % special commands, mostly for the ctx development team % % feedback and basic job control % % handy for special styles % \startluacode % document.arguments={ % } % document.files={ % test, % } % \stopluacode % % process info % \setupsystem[\c!n=1,\c!m=1] % \setupsystem[\c!type=unix] % % modes % % options (not that important) % \startsetups *runtime:options % \setupoutput[pdftex] % \stopsetups % % styles and modules % \startsetups *runtime:modules % \stopsetups % % done % \protect \endinput % % end of optionfile % (test.top) fonts : preloading latin modern fonts bodyfont : 12pt rm is loaded specials : pdftex loaded language : language en is active (test.tuo) (test.tuo) systems: begin file test at line 8 mplib : loading format: metafun.mp, name: /usr/local/context/tex/texmf-cache/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/formats/cont-en-metafun.mem ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-def.lua:114: bad argument #1 to 'match' (string expected, got nil) stack traceback: [C]: in function 'match' ...text/tex/texmf-context/tex/context/base/font-def.lua:114: in function 'get_specification' ...text/tex/texmf-context/tex/context/base/font-def.lua:726: in function 'command_1' main ctx instance:1: in main chunk. \lowleveldefinefont ...1(\luaescapestring {#1})} \ifcase \scaledfontmode \r... \dododefinefont ...inefont {#2}\rawfontidentifier \let \localrelativefontsiz... \dodefinedfont ...csname thedefinedfont\endcsname \the \everydefinedfont l.6 \MPLIBsettext{421}{\definedfont[] 1} \processMPgraphic ...e \MPuserinclusions ;\!!es )} \global \settrue \METAFUNi... \handleuseMPgraphic ...hics \processMPgraphic {#3} \elabelgroup ... l.9 \useMPgraphic{test} ? ! Missing number, treated as zero. to be read again \edef \lowleveldefinefont ... \scaledfontsize \fi \edef \somefontspec {at \number ... \dododefinefont ...inefont {#2}\rawfontidentifier \let \localrelativefontsiz... \dodefinedfont ...csname thedefinedfont\endcsname \the \everydefinedfont l.6 \MPLIBsettext{421}{\definedfont[] 1} \processMPgraphic ...e \MPuserinclusions ;\!!es )} \global \settrue \METAFUNi... ... l.9 \useMPgraphic{test} ? ! Illegal unit of measure (pt inserted). to be read again \edef \lowleveldefinefont ... \scaledfontsize \fi \edef \somefontspec {at \number ... \dododefinefont ...inefont {#2}\rawfontidentifier \let \localrelativefontsiz... \dodefinedfont ...csname thedefinedfont\endcsname \the \everydefinedfont l.6 \MPLIBsettext{421}{\definedfont[] 1} \processMPgraphic ...e \MPuserinclusions ;\!!es )} \global \settrue \METAFUNi... ... l.9 \useMPgraphic{test} ? X mkiv lua stats :
Re: [NTG-context] New module simpleslides
On Tuesday 31 March 2009 21:39:45 Thomas A. Schmitz wrote: We would of course welcome feedback, bug reports, feature suggestions, etc., so download the module at http://modules.contextgarden.net/module/detail?name=simpleslides and give it a whirl! Pretty nice... Alan Two first, immediate impressions: 1) \setupTitle[ afterauthor={institute\crlf}, ] But wouldn't it be generally useful to include institute= as standard with institutestyle=, institutecolor=, institutealign=, beforeinstitute=, afterinstitute= 2) \startuniqueMPgraphic{simpleslides:itemize:circle} fill unitcircle scaled(0.4cm) withcolor \MPcolor{simpleslides:itemize:color} ; \stopuniqueMPgraphic ___ 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] Dividing dimensions
Can someone explain this? The solutions posted in lua seem more complicated than that using \dimexpr I will add further examples to http://wiki.contextgarden.net/Expressions (or someone else can do this directly, of course) once I understand the advantages and limitations. Alan On Saturday 21 March 2009 23:41:19 Wolfgang Schuster wrote: Can I divide dimensions to get a number in pdftex? LaTeX has a package to do exactly that, fp. You could look into its code. Or you could use LuaTeX :-) It's easy to do with etex but I would use lua if possible ___ 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] Dividing dimensions
Great! I added a section to the wiki http://wiki.contextgarden.net/Expressions taking liberties to modify the presentation slightly. A few points are broken, though, notably that the online ConTeXt doesn't appear to do luacode... Alan On Monday 23 March 2009 13:12:54 Wolfgang Schuster wrote: Here is a example 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setupcombinations[distance=none]
Minor bug (both mkiv and mkii): \setupcombinations[distance=none] is broken, whereas \setupcombinations[distance=0pt] is OK. Minimal example: \starttext \setupcombinations[distance=none] \startcombination[2] {M}{a} {M}{b} \stopcombination \stoptext ! Missing number, treated as zero. to be read again n \@@codistance -n one \next ...\hskip \combinationparameter \c!distance \docombination l.4 {M}{a} ? ___ 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] \setupcombinations[distance=none]
What about: \setuptables[distance=none] ? On Wednesday 18 March 2009 17:30:54 Wolfgang Schuster wrote: Am 18.03.2009 um 17:23 schrieb Alan BRASLAU: Minor bug (both mkiv and mkii): \setupcombinations[distance=none] is broken, whereas \setupcombinations[distance=0pt] is OK. Only dimensions are allowed for the distance key and this is also what you can get from the error message. 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 ___ ___ 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] new beta
I uploaded a new beta (mkiv) ppchtex is broken using yesterday's beta. ___ 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] new beta
Anything :) (for example: \usemodule[chemic] \starttext \startchemical[size=small,scale=200,width=fit,frame=off] \chemical[SIX,B,C,R,RZ][R,R,R,R,R,R] \stopchemical \stoptext see attached result.) On Saturday 07 March 2009 13:29:23 Hans Hagen wrote: Alan BRASLAU wrote: I uploaded a new beta (mkiv) ppchtex is broken using yesterday's beta. examples please ... test2.pdf Description: Adobe PDF document This is LuaTeX, Version snapshot-0.35.0 (test2.tex ConTeXt ver: 2009.03.06 18:45 MKIV fmt: 2009.3.8 int: english/english system : cont-new loaded (/usr/local/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkiv) (/usr/local/context/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (/usr/local/context/tex/texmf-context/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/context/tex/texmf-context/tex/context/user/cont-sys.rme (/usr/local/context/tex/texmf-context/tex/context/base/type-tmf.tex) (/usr/local/context/tex/texmf-context/tex/context/base/type-siz.tex) (/usr/local/context/tex/texmf-context/tex/context/base/type-otf.tex)) system : test2.top loaded (test2.top) fonts : preloading latin modern fonts bodyfont : 12pt rm is loaded specials : pdftex loaded language : language en is active system : module chemic loaded (/usr/local/context/tex/texmf-context/tex/context/base/m-chemic.tex system : module pictex loaded (/usr/local/context/tex/texmf-context/tex/context/base/m-pictex.tex (/usr/local/context/tex/texmf-context/tex/context/base/thrd-pic.tex)) (/usr/local/context/tex/texmf-context/tex/context/base/ppchtex.tex ppchtex: using PiCTeX and MetaPost )) (test2.tuo) (test2.tuo) systems: begin file test2 at line 3 ppchtex: number 1 is skipped ppchtex: number 6 is skipped ppchtex: number 2 is skipped ppchtex: number 6 is skipped ppchtex: number 3 is skipped ppchtex: number 6 is skipped ppchtex: number 4 is skipped ppchtex: number 6 is skipped ppchtex: number 5 is skipped ppchtex: number 6 is skipped ppchtex: number 6 is skipped ppchtex: number 6 is skipped ppchtex: number 1 is skipped ppchtex: number 6 is skipped ppchtex: number 2 is skipped ppchtex: number 6 is skipped ppchtex: number 3 is skipped ppchtex: number 6 is skipped ppchtex: number 4 is skipped ppchtex: number 6 is skipped ppchtex: number 5 is skipped ppchtex: number 6 is skipped ppchtex: number 6 is skipped ppchtex: number 6 is skipped ppchtex: number 1 is skipped ppchtex: number 6 is skipped ppchtex: number 2 is skipped ppchtex: number 6 is skipped ppchtex: number 3 is skipped ppchtex: number 6 is skipped ppchtex: number 4 is skipped ppchtex: number 6 is skipped ppchtex: number 5 is skipped ppchtex: number 6 is skipped ppchtex: number 6 is skipped ppchtex: number 6 is skipped ppchtex: number 1 is skipped ppchtex: number 6 is skipped ppchtex: number 2 is skipped ppchtex: number 6 is skipped ppchtex: number 3 is skipped ppchtex: number 6 is skipped ppchtex: number 4 is skipped ppchtex: number 6 is skipped ppchtex: number 5 is skipped ppchtex: number 6 is skipped ppchtex: number 6 is skipped ppchtex: number 6 is skipped mplib : loading format: metafun.mp, name: /usr/local/context/tex/texmf-cache/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/formats/cont-en-metafun.mem fonts : resetting map file list {/usr/local/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {/usr/local/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map} fonts : using map file: original-ams-base {/usr/local/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-ams-euler {/usr/local/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: original-public-lm {/usr/local/context/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map} fonts : using map file: lm-math {/usr/local/context/tex/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {/usr/local/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} [1.1] systems: end file test2 at line 7 system : cont-err loaded (/usr/local/context/tex/texmf-context/tex/context/base/cont-err.tex systems: no file 'cont-sys.tex', using 'cont
Re: [NTG-context] 1/2 symbol
If you use the Unicode Hex Input keyboard layout: press the Option key and enter four hex digits to specify the hex code of any glyph. Also, under any layout, when used with other keys, the Option key produces special symbols. The Keyboard Viewer, which users can add to the Input menu in the International pane of System Preferences, shows which keys generate each symbol. I do not know if ½ is included under what layout. Under X11, this is as simple as COMPOSE+1+2. I do not know how this can be configured on the Mac. On Wednesday 04 March 2009 10:56:38 Thomas A. Schmitz wrote: On Mar 4, 2009, at 10:40 AM, Wolfgang Schuster wrote: What the combination to get ½ on a mac? Sadly, there doesn't seem to be a keyboard shortcut; I inserted it via the Character Palette. ___ 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] basic luatex/minimals problem
Please let us know (through an announcement on the mailing with a new, descriptive title) when the minimal distribution stabilizes, that is, when we should dare to update our way too old versions (with a reasonable hope of getting a working new version). Thanks! On Wednesday 25 February 2009 15:57:18 Thomas A. Schmitz wrote: A. As you have seen this morning, the minimals, betas, and luatex betas are in a flux this week. If you don't have access to the most recent luatex binary, just wait for a couple of days till things have settled down. ___ 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] Can't compile LuaTeX beta 0.35.0 (on OS X)
On Wednesday 25 February 2009 15:32:02 Mojca Miklavec wrote: Next problem is that I'm now away (with extremely limited internet access), Taco and Hans are leaving as well ... What, you are all leaving us stranded? I kind of expect a few problems. current will probably break now - I doubt that it still works with the latest luatex. beta might be unsynchronised for some time and math is not completely polished yet. Do WE think that it is OK to go away leaving new math not compeletely polished? I would say: if you have some critical project: do not try to update in the next few days. Lucky, it is wise to keep a working (recent/way too old) backup copy hanging around... ___ 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] mkiv ppchtex greek character bug
Thanks for the very rapid reply. On Tuesday 24 February 2009 18:23:48 Hans Hagen wrote: ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.2.24 int: english/english) ^^ way too old So things move fast! get the zip from the website, I'm not sure which zip you mean? So I changed --context=beta to -context=alpha in first-setup.sh and now I have ConTeXt ver: 2009.02.24 16:36 MKIV fmt: 2009.2.24 int: english/english and this gives me errors: ... ppchtex: number 0 is skipped ! Font \nullfont has only 7 fontdimen parameters. to be read again \relax \dosetsubscript ... #1\string #2}{\the #1#2\relax }#1#2=\dimen 0\relax \dodosetsubscript ...bscript {#1}{\textfont 2}{#2} \dosetsubscript {#1}{\scri... \setsubscripts ...setsubscript \mathsubnormal {.7} \dodosetsubscript \mathsub... \putchemicaltext ...icalframe {}}\dosetsubscripts \setbox 2=\hbox {$\@@doche... argument ...caloffset {0}\putchemicaltext {0}{0} \undochemicaloffset ... l.9 \stopchemical ? ___ 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] tool for reviewing hyphenation
On Tuesday 03 February 2009 22:53:08 Martin Schröder wrote: 2009/2/3 Lars Huttar lars_hut...@sil.org: Does anyone know how to tell xdvipdfmx to enable commenting rights in the PDF it creates? Or how to add these rights afterwards, without Adobe Acrobat? This is not (legally) possible. http://en.wikipedia.org/wiki/Adobe_LiveCycle_Reader_Extensions Welcome to the world of proprietary software. Some pdf viewers (such as okular on KDE, now also available on Windows and MacOS) allow annotations, but the data is saved in an auxiliary file. This can be exchanged with collegues, but is specific to the reader employed, thus limiting the portability (pdf). The advantage, however, is that all formats handled by the document viewer can be annotated, in principle... ___ 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] tool for reviewing hyphenation
On Wednesday 04 February 2009 17:16:12 Lars Huttar wrote: Can you tell me where to find Okular for Windows? I read some rumors that it was available, but http://okular.kde.org/download.php only gives instructions for compiling Okular, using a bunch of Linux packages. http://windows.kde.org KDE on Windows is not in the final state, so applications can be unsuitable for day to day use yet. I installed it without any problems and it appears to work. Alan ___ 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] tool for reviewing hyphenation
Maybe something can be done using pdftk? http://www.pdfhacks.com/pdftk/ (This tool may be of general use for ConTeXt users.) ___ 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] When to migrate from MKII to MKIV?
On Tuesday 03 February 2009 22:34:24 Aditya Mahajan wrote: I personally do not use chemic, figbases, and complicated tables, so cannot comment on those. Chemic seems to work with apparently the same results in mkii and mkiv. I am using this with mkiv without being too demanding for the moment... This package may have a small user base, but it appears to be rather unique. In order to progress, it must not sleep but be put to use. Note, however, that I am not a chemist and so do not write very many chemical structures and formulae. The big problem for scientific writers is that publishers at very best will accept plain LaTeX. A notable exception is the American Physical Society who developed revTeX, a LaTeX package well suited to their publishing style. The American Chemical Society will accept plain LaTeX. Often, other scientific publishers as for Word! Also, we need to contribute more pages like http://wiki.contextgarden.net/Posting_on_arxiv.org Indeed, I had terrible problems submitting texts to arxiv as their system identifies the source as TeX but fails to process it. Alan ___ 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] combination
On Thursday 29 January 2009 09:09:31 Thomas A. Schmitz wrote: On Jan 28, 2009, at 3:14 PM, Nicolas Luchier wrote: I have 3 figures to put into combination 2*2. The way it is handle it that the third figure is place below the first one, which is quite logical. I'd rather have it centered in the second row. Is there any mean to do this ? I didn't find a clue anywhere. As long as 2*2~=3, this will not be possible. I would do (pseudo-code, untested) \startcombination[1*2] \startcombination[2*1] figure 1 figure 2 \stopcombination figure 3 \stopcombination Tested: \starttext \startcombination[1*2] \startcombination[2*1] {1}{(1)} {2}{(2)} \stopcombination {3}{(3)} \stopcombination \startcombination[2*1] \startcombination[2*1] {1}{(1)} {2}{(2)} \stopcombination {3}{(3)} \stopcombination \stoptext The first appears to give a reasonable result, but the second gives exactly the same as the first. I do not believe that combinations can be recursive... Alan ___ 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 ___