Re: [NTG-context] Strange t-bib behavior
Johannes Graumann wrote: Hello, I attach an example file which produces strange citation behavior: while the single citations ('\cite[authoryears][cordingley:90]' or '\cite[authoryears][walker:94]') work perfectly allright, the dual citation ('\cite[authoryears][cordingley:90,walker:94]') is being screwed up: (Cordingley et al., 1990, Walker, 1994 and , ) Any ideas where the problem lies? It runs fine here, so probably you have to update your context distribution. There were some changes so you need a fairly recent context. But first, try re-running bibtex. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Different pagebreaks for component and whole document
Mojca Miklavec wrote: On 4/3/06, Taco Hoekwater wrote: But, since you are not really supposed to compile the project file in the first place Why not / What's [so] wrong with that? It is like putting the entire life's work of an author into a single bound volume. I (mis)use that mechanism for compiling either separate sections versus the whole document. I miss the functionality of Please use products and components for that. There may be partial compilation support eventually, but only for that level, no the upper one. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Attachment sizes
Hi all, I have just approved two files with rather large attachments by mistake. My apologies to everyone who is on a slow link. To the original posters: in the future, please make large examples available on the internet somewhere. Some of the people on this list are on rather slow connections. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to get the chapter title page shown?
On Sat, 8 Apr 2006, R S Ananda Murthy wrote: I am new to ConTeXt. I need to get the chapter title layout as shown in the attached pdf file. How to get this? Hello, I've tried to find a solution with \framed but I don't know how to align the bottom of the CHAPTER with the bottom of the 2... \setupcolors[state=start] \starttext \framed[frame=off,background=color,backgroundcolor=lightgray,align=low, offset=0.3em]{% \framed[frame=off,background=color,backgroundcolor=darkgray,align=low, offset=0.3em]{\color[white]{\ss\bf CHAPTER}}~\tfc2} \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] latest stable release
Alan Bowen wrote: The latest stable (ConTeXt ver: 2006.04.06 23:00 fmt: 2006.4.7 int: english mes: english) release fails to compile a file that worked previously and returns the error message: ! Missing number, treated as zero. to be read again \relax \dododefineprotrudefactor ...pcode \handledfont #1 \dimexpr #2 \lproddimen \if... argument ...ndash\endcsname }{0}{.3}}\donothing \let \char \normalchar \secondoftwoarguments #1#2-#2 \dosetpairhandling ...ng \let \char \normalchar }} \fi inserted text ...fineprotrudefactor endash 0 .3 \dosetpairhandling \dodode... ... l.97 \setupbodyfont[fourier,10.5pt] I do not know if this is a problem with the new release�or whether I should make changes at my end to get it to work again. Any suggestions? can you post a small example file? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] latest beta
Thomas A. Schmitz wrote: Hans and all, there are two unpleasant things in the lates releases which may be bugs: 1. newtexexec --module --pdf does not work, it just doesn't process the modules (works with old texexec) 2. not sure if this is a misconfiguration on my system, but when I try to use texmfstart, I get this error: /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ kpseremote.rb:8:in `require': No such file to load -- base/kpse/drb (LoadError) from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ base/kpseremote.rb:8 from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ texmfstart.rb:39:in `require' from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ texmfstart.rb:39 i'd forgotten two ruby modules and uploaded a zip that has them Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] feature request: clipping option for externalfigure
� wrote: Hello, I would like to clip an external eps-figure as LaTeX does with the clip option. Please consider the attachment as an example for en eps with white border and the following LaTeX and ConTeXt code: \starttext % no clipping possible here bla bla bla bla bla bla bla bla bla bla bla bla \externalfigure[test-img][width=0.5\textwidth] bla bla bla bla bla bla bla bla bla bla bla bla \stoptext \documentclass{article} \usepackage{graphicx} \begin{document} % here the white border is clipped away bla bla bla bla bla bla bla bla bla bla bla bla \includegraphics[clip,width=0.5\textwidth]{test-img} bla bla bla bla bla bla bla bla bla bla bla bla \end{document} Or is there already such (undocumented) feature? \clip[nx=10,ny=20,x=2,y=4]{} and alike (grep for clip) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Units and XML
Johannes Graumann wrote: physapplyunit/cn4/cncsymbolDegrees/Celsius//csymbol/apply/phys works with physml, but not with newmmu. newmmu is now newpml and works with newmml (the old and new methods cannot be used mixed because they use completely different internals [direct xml handling using stacks versus xml-tex expansion] Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] version dates confuse me after upgrade
Sanjoy Mahajan wrote: I'll have to try it -- although first I want to understand all the corner cases with texexec. Context folks develop software faster than I can even read about it! By the way, where is newtexexec? I see the newtexexec.rb in the .zip file, and could presumably run it with ruby, but where is it supposed to end up? it is supposed to stay there and be launched using texmfstart (alsl ruby) Hans i remember from long ago that there's also some path trickery involved (btw, i'm not sure where the binaries live) Hmm, tell me more about that if you remember. well, tetex adding tex related bin paths to the (user) profile files which then could clash with other tex installations Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Different pagebreaks for component and whole document
Mojca Miklavec wrote: On 4/3/06, Taco Hoekwater wrote: But, since you are not really supposed to compile the project file in the first place Why not / What's [so] wrong with that? a project mentions products and environments you run a product and/or components (of products); when you run them, they will look for env info in the project file Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] beta
Mojca Miklavec wrote: On 4/4/06, Taco Hoekwater wrote: Hans Hagen wrote: Hi, - for mojca: take a look at regi-syn and let me know what vectors need to be be added to the distribution Mojca, it would be nice if you could give a go/nogo signal quickly. I am slowly getting drowned with all the diff files so I am really eager to have Hans go ahead and release a new version :) Taco Hans: I'm really really really sorry. I didn't notice that question in thousands of mails on the list. Thanks a lot for adding the file, Hans! This line \defineregimesynonym[cp-1250] [cp1250] is not really needed: I never spotted any cp125* with a hyphen inbetween (in contrast to utf or iso encodings), otherwise everything seems to be working ok. \defineregimesynonym[1250] [cp1250] is also OK (didn't thought about it ;). If you're asking me about the other changes: here's the same list that I already suggested: renaming: windows - cp1252 il1 - iso-8858-1 latin2 - iso-8858-2 iso88595 - iso-8858-5 ^^ Everywhere should be 8859! Everything else seems all right to me. Vit grk - iso-8859-7 And then adding the following definitions (cp1250 is already there): \defineregimesynonym[utf-8][utf] \defineregimesynonym[utf8][utf] \defineregimesynonym[windows-1250][cp1250] \defineregimesynonym[windows-1251][cp1251] \defineregimesynonym[windows-1252][cp1252] \defineregimesynonym[windows-1253][cp1253] \defineregimesynonym[windows-1254][cp1254] %defineregimesynonym[windows-1255][cp1255] % not supported yet (Hebrew) %defineregimesynonym[windows-1256][cp1256] % not supported yet (Arabic) \defineregimesynonym[windows-1257][cp1257] %defineregimesynonym[windows-1258][cp1258] % not supported yet (Vietnamese) % for historical reasons / compatibility \defineregimesynonym[windows][cp1252] % 5 - Cyrillic % 6 - Arabic (not supported) % 7 - Greek % 8 - Hebrew (3 signs missing) % 11 - Thai (not supported) \defineregimesynonym[il1][iso-8859-1] \defineregimesynonym[il2][iso-8859-2] \defineregimesynonym[il3][iso-8859-3] \defineregimesynonym[il4][iso-8859-4] \defineregimesynonym[il5][iso-8859-9] \defineregimesynonym[il6][iso-8859-10] \defineregimesynonym[il7][iso-8859-13] %defineregimesynonym[il8][iso-8859-14] \defineregimesynonym[il9][iso-8859-15] \defineregimesynonym[il10][iso-8859-16] \defineregimesynonym[latin1][iso-8859-1] \defineregimesynonym[latin2][iso-8859-2] \defineregimesynonym[latin3][iso-8859-3] \defineregimesynonym[latin4][iso-8859-4] \defineregimesynonym[latin5][iso-8859-9] \defineregimesynonym[latin6][iso-8859-10] \defineregimesynonym[latin7][iso-8859-13] %defineregimesynonym[latin8][iso-8859-14] \defineregimesynonym[latin9][iso-8859-15] \defineregimesynonym[latin10][iso-8859-16] % for historical reasons / compatibility \defineregimesynonym[iso88595][iso-8859-5] \defineregimesynonym[grk][iso-8859-7] I don't know whether and how often people use all those encodings (I'm only pretty sure that people use the cp1250 one). LaTeX offers all of them for example. I would suggest at least to rename the five regimes mentioned above and to point to the more consistent names using synonyms. The mentioned regimes are all present on http://pub.mojca.org/tex/enco/contextbase/, so it's up to you wheter you add any of the other regimes to the distribution or perhaps better wait till someone requests them. (There are so many files that taking them all would almost require a separate folder.) I'm happy now that cp1250 is in and I'm not using any other regime, so it's really not my decision. As far as I remember there were also some inconsistencies in the present greek and cyrillic regime. http://pub.mojca.org/tex/enco/contextbase/regi-vis.tex is slightly different than the file in the distro (uses named glyphs), but conceptually the same. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- === Ing. Vít Zýka, Ph.D. TYPOkvítek database publishing databazove publikovani data maintaining and typesetting in typographic quality priprava dat a jejich sazba v typograficke kvalite tel.: (+420) 777 198 189 www: http://typokvitek.com === ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] feature request: clipping option for externalfigure
Hans Hagen wrote: � wrote: Hello, I would like to clip an external eps-figure as LaTeX does with the clip option. Please consider the attachment as an example for en eps with white border and the following LaTeX and ConTeXt code: \starttext % no clipping possible here bla bla bla bla bla bla bla bla bla bla bla bla \externalfigure[test-img][width=0.5\textwidth] bla bla bla bla bla bla bla bla bla bla bla bla \stoptext \documentclass{article} \usepackage{graphicx} \begin{document} % here the white border is clipped away bla bla bla bla bla bla bla bla bla bla bla bla \includegraphics[clip,width=0.5\textwidth]{test-img} bla bla bla bla bla bla bla bla bla bla bla bla \end{document} Or is there already such (undocumented) feature? \clip[nx=10,ny=20,x=2,y=4]{} and alike (grep for clip) Hans Peter was asking for something different, I believe. \clip do the thing well but you have to measure a bb somewhere, e.g. in GhostView. Since \externalfigure have to know bb then an option 'clip' can do that without manual measuring. There might be even en extension: apart from 'clip' option there could also be 'bb=10 20 100 200' option for overwritting original boundingbox. Clipping a figures would be a bit more strightforward. Vit ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] about the default bullets of itemized lists
Dalyoung Jeong wrote: Dear all, It is not a big problem, but I don't know why this curious thing happened. A few days ago, I updated ConTeXt and made a format file for XeConTeXt. I run a file which was compiled well before and got a strange results: at this time. all the bullets of the itemized lists are gone(no bullets). You need help from someone using XeTeX, i think, because I have no problems like that running under pdftex. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Table Esthetics (and XML)
On Fri, 07 Apr 2006 18:38:17 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: Hello, I'm a big fan of the LaTeX booktabs package - I find tables created using it with it's 'toprule', 'bottomrule' and clippable 'cmidrule' commands the most satisfying solution I have come across (see attachments, especially 'table1.jpg'). After consulting the archives of this list, it seems clear, that ConTeXt does not yet have any package of that sophistication, but I'm dead set on writing my thesis in XML and have ConTeXt read it ... therefore I'd like to soclicit your preferences and ideas on how to pleasingly format tables - how do you do it? Thanks for any input, Maybe this can be a start: \starttext \framed[frame=off,topframe=on,bottomframe=on,offset=none,rulethickness=2pt]\bgroup% \setupTABLE[frame=off]% \setupTABLE[column][each][distance=10pt]% \setupTABLE[row][1][rulethickness=0.5pt,bottomframe=on]% \setupTABLE[row][2][rulethickness=0.5pt,bottomframe=on]% \bTABLE% \bTR\bTD[nr=2] a \eTD\bTD[nc=2] b \eTD\bTD[nr=2] c \eTD\eTR% \bTR\bTD b \eTD\bTD b \eTD\eTR% \bTR\bTD a \eTD\bTD b \eTD\bTD b \eTD\bTD c \eTD\eTR% \bTR\bTD a \eTD\bTD b \eTD\bTD b \eTD\bTD c \eTD\eTR% \eTABLE% \egroup \stoptext Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Attachment sizes
Taco Hoekwater wrote: Hi all, I have just approved two files with rather large attachments by mistake. My apologies to everyone who is on a slow link. To the original posters: in the future, please make large examples available on the internet somewhere. Some of the people on this list are on rather slow connections. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context Please excuse me for the big attachment. I will not repeat this in future. With due apologies, Anand ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xml table reading problem
Johannes Graumann wrote: Hello, Derived from the 'figure' and 'table' examples in the XML example document, I came up with the following set of mapping rules for formating XML tables with ConTeXt. \defineXMLenvironment \defineXMLnested [table] { \bgroup \defineXMLpush[caption] \defineXMLpush[content] \defineXMLsave (changed name) } { \placetable [\XMLpar{table}{location}{here}] [\XMLpar{table}{label}{unknown}] {\XMLpop{caption}} \ix \bTABLE \XMLpop{content} \eTABLE \expanded{\bTABLE\XMLflush{content}}\eTABLE \x \egroup } \defineXMLnested [tr]\bTR\eTR \defineXMLnested [td]\bTD\eTD When compiling a file with this rule set, I get the following error: ! Missing { inserted. to be read again \edef \doifsomething #1-\edef \!!stringa {#1}\ifx \!!stringa \empty \expandafter ... \switchtobodyfont [#1]-\doifsomething {#1} {\doifdefinedelse {\??ft \normal... \XML:ele:/table ...nown}] {\XMLpop {caption}} \ix \bTABLE \XMLpop {content} ... l.437 /table When switching to scroll mode, the tables come out ok, but I'm unable to use \defineXMLenvironmentsave [textref] [name=] {} {\in{\XMLflush{textref}}[\XMLop{name}]} to refer to them ... Any input would be highly appreciated. On a side note: how do I, in a document with general '\setupinterlinespace[line=2\bodyfontsize]' switch to 'small' interlinespace for floatcaptions (and footnotes)? Tried '\setupcaptions[style={small \setupinterlinespace[small]},width=\textwidth]', but that doesn't work ... Thanks, Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Installation problem
Pavel Stupin wrote: Dear ConTeXt developers and users, This is pdfeTeX, Version 3.14159-1.10a-2.1 (Web2C 7.4.4) (format=cont-en 2006.4.8) 8 APR 2006 10:50 entering extended mode \write18 enabled. (/usr/share/texmf/web2c/natural.tcx) **cont-en test.tex (./test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2006.03.25 13:21 fmt: 2006.4.8 int: english mes: english systems : pdfTeX version 110 - please update systems : eTeX version 201 - too old (bugs) language: language en is active ... bodyfont: 12pt rm is loaded ! Font \*12ptrmtf*=ec-lmr12 not loadable: Metric (TFM) file not found. to be read again ... l.1 \starttext ? ! Font \*7ptrmtf*=ec-lmr7 not loadable: Metric (TFM) file not found. to be read again ... Could you please advise me what I'm supposed to do to have the metric files found and whether I must update my obsolete pdfTeX and eTeX to handle the problem. i think that you need to update tex tree: pdf(e)tex, fonts etc Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] version dates confuse me after upgrade
From:Hans Hagen [EMAIL PROTECTED] i remember from long ago that there's also some path trickery involved (btw, i'm not sure where the binaries live) Hmm, tell me more about that if you remember. well, tetex adding tex related bin paths to the (user) profile files which then could clash with other tex installations That is hopefully a thing of the past. I just checked all the texmf.cnf files it sees, and it's only the system default even though I have ~/.texmf-{config,var} directories made by tetex. $ kpsewhere texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf This global texmf.cnf includes those two directories by default (at least with tetex-3.0). A snip from there: TEXMFHOME = $HOME/texmf TEXMFVAR = $HOME/.texmf-var TEXMFCONFIG = $HOME/.texmf-config TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST} -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] latest stable release
Hans— I attach a very short sample source file that will produce the failure not only using the latest stable ConTeXt (ver: 2006.04.06 23:00), but also the latest beta version (ver: 2006.04.06 15:27,). Thanks for looking at this. Alan 2006.04.06_TEST.tex Description: Binary data On Apr 8, 2006, at 4:47 AM, Hans Hagen wrote: Alan Bowen wrote: The latest stable (ConTeXt ver: 2006.04.06 23:00 fmt: 2006.4.7 int: english mes: english) release fails to compile a file that worked previously and returns the error message: ! Missing number, treated as zero. to be read again \relax \dododefineprotrudefactor ...pcode \handledfont #1 \dimexpr #2 \lproddimen \if... argument ...ndash\endcsname }{0}{.3}}\donothing \let \char \normalchar \secondoftwoarguments #1#2-#2 \dosetpairhandling ...ng \let \char \normalchar }} \fi inserted text ...fineprotrudefactor endash 0 .3 \dosetpairhandling \dodode... ... l.97 \setupbodyfont[fourier,10.5pt] I do not know if this is a problem with the new release�or whether I should make changes at my end to get it to work again. Any suggestions? can you post a small example file? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] version dates confuse me after upgrade
Sanjoy Mahajan wrote: From:Hans Hagen [EMAIL PROTECTED] i remember from long ago that there's also some path trickery involved (btw, i'm not sure where the binaries live) Hmm, tell me more about that if you remember. well, tetex adding tex related bin paths to the (user) profile files which then could clash with other tex installations That is hopefully a thing of the past. I just checked all the texmf.cnf files it sees, and it's only the system default even though I have ~/.texmf-{config,var} directories made by tetex. $ kpsewhere texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf tmftools texmf.cnf shows what file is used, textools --find texmf.cnf does a more extensive search This global texmf.cnf includes those two directories by default (at least with tetex-3.0). A snip from there: TEXMFHOME = $HOME/texmf TEXMFVAR = $HOME/.texmf-var TEXMFCONFIG = $HOME/.texmf-config TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST} indeed, quite some paths (i hope that $TEXMFPROJECT will make it into there, although when i proposed that some reactions were that we already have too many paths; interesting since most of the funny config/var/sys ones mentioned in your example are probably empty anyway) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] latest stable release
Alan Bowen wrote: Hans� I attach a very short sample source file that will produce the failure not only using the latest stable ConTeXt (ver: 2006.04.06 23:00), but also the latest beta version (ver: 2006.04.06 15:27,). ok, fixed, i'll upload another alpha release for testing Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] itemize
Renaud AUBIN wrote: Hi all, Up to now, I used: \startnarrower[left] \startitemize[2,packed,joinedup] \item 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples cinématiques de classe V, \item 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation et 1 en translation) soit 1 couple cinématique de classe IV, \item 1 liaison encastrement (pas de degré de liberté). \stopitemize \stopnarrower to obtain: Un petit paragraphe juste pour faire une rapide démonstration de ce que je veux obtenir : - 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples cinématiques de classe V, - 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation et 1 en translation) soit 1 couple cinématique de classe IV, - 1 liaison encastrement (pas de degré de liberté). and I would obtain: Un petit paragraphe juste pour faire une rapide démonstration de ce que je veux obtenir : - 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples cinématiques de classe V, - 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation et 1 en translation) soit 1 couple cinématique de classe IV, - 1 liaison encastrement (pas de degré de liberté). How to do that \input tufte \startitemize[2,packed,joinedup,intext] \item 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples cinématiques de classe V, \item 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation et 1 en translation) soit 1 couple cinématique de classe IV, \item 1 liaison encastrement (pas de degré de liberté). \stopitemize \input tufte try text, intext, paragraph Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] about the default bullets of itemized lists
Dalyoung Jeong wrote: Dear all, It is not a big problem, but I don't know why this curious thing happened. A few days ago, I updated ConTeXt and made a format file for XeConTeXt. I run a file which was compiled well before and got a strange results: at this time. all the bullets of the itemized lists are gone(no bullets). After I changed the first \startitemize to \startitemize[1] only, then all the itemized lists in the whole text had a bullet again. If I changed [1] to [2] and [3], it disappeared again(including bullets for \head). Is this normal? or are there something wrong in my setup or in my document? how exactly does your test file look? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] sorting, again
When the following test snippet \mainlanguage[sv] \starttext a\index{a} z\index{z}z\index{z+ä} å\index{å}å\index{å+b} ä\index{ä} ö\index{ö} A\index{A} Z\index{Z} Å\index{Å} Ä\index{Ä} Ö\index{Ö} \placeindex \stoptext is processed with cont-tmf.zip from 2006-04-07 12.29 and justtex.zip and mswintex.zip from 13.23 a bad index is produced.The Swedish letters are listed as ... and the sublevel entries are just listed as they are in the input. It worked in the beta. What am I doing wrong? Regards, Johan -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] finding project files in parent dirs automatically
I'm learning how to use projects/products/components, and have got reasonably far. However, I'm confused about far upwards context searches for the configuration files (product/project/environment files). Here's a directory structure that worked fine: double/chap/1/c_ch1.tex double/prd_oom.tex double/project_books.tex double/env_books.tex It's called 'double' to signify that the components are two levels below the main project file. I cd to double/chap/1/ and then 'texexec c_ch1', and c_ch1.log tells me: systems : begin file c_ch1 at line 1 systems : begin file project_books at line 3 (../../project_books.tex systems : begin file env_books at line 3 (../../env_books.tex) systems : end file env_books at line 3 ) systems : end file project_books at line 3 So the project and environment files got read in. By the way, why isn't the product file loaded? Is it not needed when making just one component? But it could modify the environment. Leaving that question aside, here is the chap/1/c_ch1.tex file (all the .tex files and the log files are in the small attached .tgz archive): \startcomponent c_ch1 \product prd_oom \project project_books \title{chapter 1} \input tufte \par \stopcomponent The prd_oom.tex: \startproduct prd_oom \project project_books \component chap/1/c_ch1 \stopproduct And project_books.tex: % output=pdf interface=en \startproject project_books \environment env_books \product prd_oom \stopproject So the \project project_books in c_ch1.tex is sufficient for context to find ../../project_books.tex But I really want each product to live in its own directory. In this minimal example, the only product is 'oom', for Order of Magnitude physics. So I tried this directory structure: triple/oom/chap/1/c_ch1.tex triple/oom/chap/1/c_ch1.log triple/oom/prd_oom.tex triple/project_books.tex triple/env_books.tex Now the project_books.tex file is three levels up from the component, and project_books.tex has \product oom/prd_oom instead of \product prd_oom. Now project_books.tex isn't found when compiling c_ch1.tex. From c_ch1.log: systems : begin file project_books at line 3 systems : end file project_books at line 3 Is there a hardcoded limit on how far up context searches? $ texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006 tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4) context : ver: 2006.03.25 13:21 cont-en : ver: 2006.03.25 13:21 fmt: 2006.4.6 mes: english -Sanjoy `A society of sheep must in time beget a government of wolves.' - Bertrand de Jouvenal minimal.tgz Description: minimal tex and log files ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Column cell number in natural tables
Hello, Is it possible to explicitely set the column of the cell defined by a \bTD ... \eTD? I mean that, within a row, it is the number of previous defined cells that determine the current column cell position. What I would like is to be able to omit intermediate empty cells by explicitely setting the column of the defined cell. I thought that maybe the option n could do that, but it does not work as I expected. Here is an example of a table I'd like to be able to write (of course the n option can be replaced by anything else): \bTABLE \bTR\bTD[n=3] a3 \eTD\bTD[n=6] a6 \eTD\eTR \bTR\bTD b1 \eTD\bTD b2 \eTD\bTD b3 \eTD\bTD b4 \eTD\eTR \bTR\bTD c1 \eTD\bTD c2 \eTD\bTD c3 \eTD\bTD c4 \eTD\eTR \bTR\bTD d1 \eTD\bTD[n=5] d5 \eTD\bTD[n=7] d7 \eTD\eTR \bTR\bTD e1 \eTD\bTD[n=3] e3 \eTD\eTR \eTABLE On benefit of this feature is that it would make the CALS table model (http://www.oasis-open.org/specs/a502.htm) mapping to context quite easier, especially when the table contains row or column spanning. Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] finding project files in parent dirs automatically
Sanjoy Mahajan wrote: So the project and environment files got read in. By the way, why isn't the product file loaded? Is it not needed when making just one component? But it could modify the environment. It could modify the environment, but it shouldnt. So I guess Hans never considered loading it. (for Hans: please don't do anything about this right now, I want to investigate what would be needed for partial recompilation, first) Is there a hardcoded limit on how far up context searches? Like you just discovered, it searches three levels (current, parent, grandparent). The max level is defined in this macro: \def\maxreadlevel{3} You can simply redefine the macro if needed (you have to do that in cont-sys, otherwise you have a bootstrapping problem). The file reading macros are in supp-fil.tex, if interested. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How to use Helvetica font only for the headings?
Hello, I want to use sans serif font like Helvetica only for the headings like chapter title, section headings etc. I want the body text in Times Roman font. How to do this in ConTeXt? Thanks for your help, Anand ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to use Helvetica font only for the headings?
Hi Anand, R S Ananda Murthy wrote: Hello, I want to use sans serif font like Helvetica only for the headings like chapter title, section headings etc. \setuphead[chapter][style=\ss] I want the body text in Times Roman font. \usetypescript[postscript][ec] \setupbodyfont[postscript] How to do this in ConTeXt? I heartily advice reading the documents mentioned at the beginning of this page: http://wiki.contextgarden.net/Official_ConTeXt_Documentation That will drastically decrease the number of questions you have to ask while getting started. Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \bTABLE[split=repeat] and doubling of horizontal lines
The snippet below makes a table with horizontal gaps between cells that shows up as doubling of lines (and gaps in the vertical lines). It only happens if fontsize is 6pt or less and split=repeat. I realize the bodyfontsize is rather small but I have a document where I want it. Antykwa Poltawskiego is remarkably readable even at that size. Regards, Johan \setuppapersize[A6][A6] \setupbodyfont[6pt] \starttext \bTABLE[split=repeat] \bTR\bTD aa\eTD \bTD aa\eTD \bTD aa\eTD \bTD aa\eTD\eTR \bTR\bTD aa\eTD \bTD aa\eTD \bTD aa\eTD \bTD aa\eTD\eTR \eTABLE \stoptext -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to use Helvetica font only for the headings?
Taco Hoekwater wrote: Hi Anand, R S Ananda Murthy wrote: Hello, I want to use sans serif font like Helvetica only for the headings like chapter title, section headings etc. \setuphead[chapter][style=\ss] I want the body text in Times Roman font. \usetypescript[postscript][ec] \setupbodyfont[postscript] The above lines did not give the required results. Instead I used the following: \usetypescript[adobekb][\defaultencoding] \setupbodyfont[pos] \usetypescript[times][\defaultencoding] \setupbodyfont[times,11pt] \setupbodyfont[times,11pt] I am using tetex-3.0 that comes with Slackware 10.2. Anand How to do this in ConTeXt? I heartily advice reading the documents mentioned at the beginning of this page: http://wiki.contextgarden.net/Official_ConTeXt_Documentation That will drastically decrease the number of questions you have to ask while getting started. Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] beta
cyrillic is indeed a bit messy can you check the alpha zips that i just uploaded? (I wonder is we still need to preload regimes, maybe the ones mostly used ... which ones) I'll check iso-8858-1 and iso-8859-7 (I think that I remember some differences from the auto-generated files), but I don't have any more time today. cp1251 is now duplicated in regi-cyr (although I didn't check for differences today - see http://article.gmane.org/gmane.comp.tex.context/24677/ about cyrillic). % todo: regi-cyp has more in it % \defineregimesynonym [iso88595] [iso-8859-5] Why is this commented out? You don't need to rename or to reorganize the files - you may only rename the regime vector and then put the synonym for backward compatibility (otherwise everything else but iso-8859-5 with hyphens will work: just because of consistency). \defineregimesynonym [windows-1250] [cp1250] duplicated \defineregimesynonym [1250] [cp1250] I guess that we don't need 1250 for historical reasons: Either we put all ten of them or none. In what way does \startregime[cp1250pl] (in regi-cpl) differ from cp1250 except that it's incomplete? Could cp1250pl be a synonym for cp1250 (for compatibility reasons) as well? (I remember some --translate=cp1250cs switches as well, but I guess that this operated on another level) Thanks a lot for adding all that, Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] spurious space before section heading but only in pdf mode
This file \starttext \section{a} hi \section{b} hi again \stoptext is fine in dvi mode (texexec a.tex). But 'texexec --pdf a.tex' is a bit off, with the 1 a section heading indented about one character. Is it a pdfetex bug? $ texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006 tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4) context : ver: 2006.03.25 13:21 cont-en : ver: 2006.03.25 13:21 fmt: 2006.4.8 mes: english The only change from the distributed context version is Taco's suggestion of \def\maxreadlevel{4} in supp-fil.tex. -Sanjoy `A society of sheep must in time beget a government of wolves.' - Bertrand de Jouvenal ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] finding project files in parent dirs automatically
From:Taco Hoekwater [EMAIL PROTECTED] Is there a hardcoded limit on how far up context searches? Like you just discovered, it searches three levels (current, parent, grandparent). The max level is defined in this macro: \def\maxreadlevel{3} You can simply redefine the macro if needed (you have to do that in cont-sys, otherwise you have a bootstrapping problem). The file reading macros are in supp-fil.tex, if interested. Tested and works great, thanks. I had looked around for such an object but didn't find it. Can the default be 4? (If it doesn't break other assumptions.) -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] spurious space before section heading but only in pdf mode
Hmm, I just tried that example on the live context and it came out fine. It also uses pdfetex 1.21, but has a more recent (2006-04-07) context. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Variable Caption Locations
I need to have captions ABOVE tables but below all other float types. The default is below, and I know I can do something like { setupcaptions[location=top] \placetable... } for each table. But is there a more elegant way to do it globally? Could ConTeXt have a separate global setup for each type of float caption? Thanks. Tom Browder Niceville, Florida ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] spurious space before section heading but only in pdf mode
On Sat, 08 Apr 2006 14:26:11 -0400, Sanjoy Mahajan [EMAIL PROTECTED] wrote: This file \starttext \section{a} hi \section{b} hi again \stoptext is fine in dvi mode (texexec a.tex). But 'texexec --pdf a.tex' is a bit off, with the 1 a section heading indented about one character. Is it a pdfetex bug? $ texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006 tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4) I've the same pdfetex version, and it looks like the problem I encountered (http://archive.contextgarden.net/message/20060406.001743.3f9ecc2b.en.html). Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] sorting, again
Johan Sandblom wrote: When the following test snippet \mainlanguage[sv] \starttext a\index{a} z\index{z}z\index{z+�} �\index{�}�\index{�+b} �\index{�} �\index{�} A\index{A} Z\index{Z} �\index{�} �\index{�} �\index{�} \placeindex \stoptext There's a typo in the texutil.rb class; tonights alpha release should work ok (i'll make that current once we're sure of what extra regimes to add) btw, we need to collect such sorting examples in the new context test suite, maybe someone wants to volunteer for that aspect Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Variable Caption Locations
tbrowder wrote: I need to have captions ABOVE tables but below all other float types. The default is below, and I know I can do something like { setupcaptions[location=top] \placetable... } for each table. But is there a more elegant way to do it globally? Could ConTeXt have a separate global setup for each type of float caption? \definefloat[mytable][mytables][table \setupcaption[mytable][location=top] \placemytable{}{} (details.pdf has more info on that) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] sorting, again
2006/4/8, Hans Hagen [EMAIL PROTECTED]: Johan Sandblom wrote: When the following test snippet \mainlanguage[sv] \starttext a\index{a} z\index{z}z\index{z+�} �\index{�}�\index{�+b} �\index{�} �\index{�} A\index{A} Z\index{Z} �\index{�} �\index{�} �\index{�} \placeindex \stoptext There's a typo in the texutil.rb class; tonights alpha release should work ok (i'll make that current once we're sure of what extra regimes to add) Yes, works perfectly! Thanks. btw, we need to collect such sorting examples in the new context test suite, maybe someone wants to volunteer for that aspect I have no idea what that task might entail but wouldn't mind contributing if I can Regards, Johan -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] spurious space before section heading but only in pdf mode
I've the same pdfetex version, and it looks like the problem I encountered (http://archive.contextgarden.net/message/20060406.001743.3f9ecc2b.en.html). Thanks, those two space removals in enco-pfr.tex fix it. I guess when I upgrade to pdftex 1.30 I'll unchange it. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context