Re: [NTG-context] ConTeXt template ?
http://wiki.contextgarden.net/Main_Page http://www.pragma-ade.nl/show-man-1.htm nm a écrit : >Hi *, > >I'm new w/ ConTeXt.. >Where can i found publication, articles, whitepaper template for >ConTeXt ? > >thanks, > >nm. >___ >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
[NTG-context] ConTeXt template ?
Hi *, I'm new w/ ConTeXt.. Where can i found publication, articles, whitepaper template for ConTeXt ? thanks, nm. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new release
Johannes Graumann wrote: > Hans Hagen wrote: > > >> \defineXMLenvironment >>[document] >>{\starttext} >>{\stoptext} >> >> \starttext >> >> \startXMLdata >> >> \stopXMLdata >> >> \stoptext >> > > You catch my folly as usually. Thanks. While I get the solution above to > work, the alternative 'ruby > ~/texmf/scripts/context/ruby/texexec.rb --pdf --environments=PhD-Thesis > ../XML/main.xml' > doesn't. Error is: > > >> User file 'cont-sys.tex' not found, 'cont-sys.rme' has been used instead. >> has nothing to do with ruby, just copy cont-sys.rme to cont-sys.tex in tex/context/user; i ship the rme as example and fallback so that it does not overwrite you rlocal copy Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new release
Not sure what settings you need, but I think I know that you take the cont-sys.rme and rename it to cont-sys.tex and go from there. On May 11, 2006, at 5:46 PM, Johannes Graumann wrote: > Hans Hagen wrote: > >> \defineXMLenvironment >>[document] >>{\starttext} >>{\stoptext} >> >> \starttext >> >> \startXMLdata >> >> \stopXMLdata >> >> \stoptext > > You catch my folly as usually. Thanks. While I get the solution > above to > work, the alternative 'ruby > ~/texmf/scripts/context/ruby/texexec.rb --pdf --environments=PhD- > Thesis ../XML/main.xml' > doesn't. Error is: > >> User file 'cont-sys.tex' not found, 'cont-sys.rme' has been used >> instead. > > Hints? > > Joh > > ___ > 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] new release
Hans Hagen wrote: > \defineXMLenvironment >[document] >{\starttext} >{\stoptext} > > \starttext > > \startXMLdata > > \stopXMLdata > > \stoptext You catch my folly as usually. Thanks. While I get the solution above to work, the alternative 'ruby ~/texmf/scripts/context/ruby/texexec.rb --pdf --environments=PhD-Thesis ../XML/main.xml' doesn't. Error is: > User file 'cont-sys.tex' not found, 'cont-sys.rme' has been used instead. Hints? Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?
Jyrki Ruuskanen wrote: > Ok, the module is read in cont-sys.rme with \usemodule[jtex]. It > initializes the lists inside protect / unprotect pair with > \newtoks\usedAbbreviations and \newtoks\usedReferences along with > macro definitions. > > Abbreviations are introduced with > \setAbbreviation[]{}{}{} which > defines macros \ \@meaning and \@description. Each call > to \ calls > \writeutilitycommand{\addToList[\string\usedAbbreviations]{}, so > after the first run the .tui file has a number of "c > \addToList[\usedAbbreviations]{something}" lines in it. > > Functionality is similar for the bibliography. The \cite command > writes \addToList[\usedReferences]{} into .tui. > > So, the .tuo file should populate used* lists and I could typeset the > list of used abbreviations in initialization order with > \executeListIntersection[\abbreviations][\usedAbbreviations]{\printAbbreviation}. > > Same for used bib references. But well, lists remain empty. > > I'll attach the module and the .tui file. > > And excuse me, I have never ever used a mailing list. How am I > supposed to answer to a certain message in the chain? Thanks guys. i'm away two days (ntg tex days) and will oook into it after 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
[NTG-context] texmfstart
Hi, I added a feature to texmfstart to make itself independent of libraries, which means, no dependency on 'base', so who had problems with that ... i need a volunteer 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] Trouble with new update
On Thu, 11 May 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> On Thu, 11 May 2006, Hans Hagen wrote: >> >> >>> Aditya Mahajan wrote: >>> I just now did a fresh install of 2006.05.11 10:30 (i.e. removed my old installation, downloaded mswincontext, did ctxtools --update) and now I get error messages systems : begin file test at line 1 fonts : resetting map file list fonts : using map file: original-base fonts : using map file: ec-public-lm fonts : using map file: ec-base fonts : using map file: original-ams-base fonts : using map file: original-ams-euler fonts : using map file: original-public-lm (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec.tex) [1.1 Warning: pdfetex.exe (file original-empty.map): cannot open font map file >>> can you check your map file path? because we need to support dvipdfmx there >>> can be a mix up >> fonts/map/dvipdfm/lm >> fonts/map/dvips/lm >> fonts/map/pdfetex/lm >> > > TEXFONTMAPS = > .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}// > > should be in texmf.cnf It wasn't. I had TEXFONTMAPS = .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}// I added .../{config,}, but there is no $TEXMF/pdftex or $TEXMF/dvips directory in any of the texmf trees! I still get the same error as before. Running in verbose mode, I get :kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ec-lmr12 kpathsea: Appending font creation commands to missfont.log. I do not understand why pk fonts are being used. I am creating a pdf. Does one need to download type-1 version of latin modern from ctan to use the stand alone context? Also, mktexpk is not in the path. It does not come with the windows binaries for context. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux: ConTeXt in local texmf-tree and Ruby scripts - HOWTO?
Johannes Graumann wrote: > Hello, > > I'm on Debian unstable and have the latest context sitting in my home > directory's 'texmf'. The new ruby scripts confuse me to no end - I just > don't understand how to make it works. Here is what works and what doesn't: Have you run mktexlsr? I had to do that (manually) to make ruby 'see' some of the required libraries. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] ConTeXt utf support on apple mac
Hello all, I am struggling to get a utf support for Context on mac working with cyrrilic (Russian). I am using this example: \enableregime[utf] \useencoding[cyr] \definetypeface [russian] [rm] [serif] [computer-modern] [default] [encoding=t2a] \setupbodyfont[russian] \starttext Мама и Папа % Some Russian characters \stoptext taken from http://wiki.contextgarden.net/Russian And it produces pdf with words: 1 Mama i Papa I was following hints from wiki above - aft2tfm conversion for cm-super but with no luck. I understand there is an option to encode into 8bit format somewhere, but I wasn't able to find it. I am using tetex & contex installation from http://ii2.sourceforge.net/tex-index.html. context output: TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 fixing engine variable : pdfetex executable : pdfetex format : cont-en inputfile : 2 output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) entering extended mode (./2.tex ConTeXt ver: 2006.04.27 15:59 fmt: 2006.5.8 int: english mes: english language: language en is active system : cont-new loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex color : palette rollover is available ) system : cont-old loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) bodyfont: 12pt rm is loaded language: patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi :texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec- >13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec ->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded specials: tex,postscript,rokicki loaded system : 2.top loaded (./2.top specials: loading definition file tpd (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex specials: loading definition file fdf (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex) specials: fdf loaded ) specials: fdf,tpd loaded ) systems : system commands are disabled (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/pdfr-ec.tex) (./2.tuo) (./2.tuo) (./2.tuo) (./2.tuo) (./2.tuo) (./2.tuo) (./2.tuo) (./2.tuo) (./2.tuo) (./2.tuo) (./2.tuo) (./2.tuo) systems : begin file 2 at line 8 fonts : resetting map file list fonts : using map file: original-base fonts : using map file: ec-public-lm fonts : using map file: ec-base fonts : using map file: 8r-base fonts : using map file: t5-base fonts : using map file: original-ams-base fonts : using map file: original-ams-euler fonts : using map file: original-public-lm fonts : using map file: subset-cmsuper-t2a fonts : using map file: cm-super-t2a [1.1{/usr/local/teTeX/share/
[NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?
Thanks for the cont-sys tip, good to know.Yes, I have used \definesynonyms, but I need abbreviations to have three levels: the abbreviation itself, the meaning of abbreviation and the description of the abbreviation (for example, "WWW" is short for "World Wide Web" and is described as a "Worldwide interconnected mess of multimedia, which took off in early 90's."). ConTeXt synonyms seem to have two.I'm sure there are a million ways of doing this. I decided to implement it from the ground up to learn some plain TeX. But now I need to integrate my macros with ConTeXt to make passing the lists graceful without extra auxiliary files and forced double runs.And as for the reply button, I guess I have to subscribe to get the mails in my mailbox. I'll do that now ;)Jyrki___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?
Ok, the module is read in cont-sys.rme with \usemodule[jtex]. It initializes the lists inside protect / unprotect pair with \newtoks \usedAbbreviations and \newtoks\usedReferences along with macro definitions. Abbreviations are introduced with \setAbbreviation[]{} {}{} which defines macros \ \@meaning and \@description. Each call to \ calls \writeutilitycommand {\addToList[\string\usedAbbreviations]{}, so after the first run the .tui file has a number of "c \addToList[\usedAbbreviations] {something}" lines in it. Functionality is similar for the bibliography. The \cite command writes \addToList[\usedReferences]{} into .tui. So, the .tuo file should populate used* lists and I could typeset the list of used abbreviations in initialization order with \executeListIntersection[\abbreviations][\usedAbbreviations] {\printAbbreviation}. Same for used bib references. But well, lists remain empty. I'll attach the module and the .tui file. And excuse me, I have never ever used a mailing list. How am I supposed to answer to a certain message in the chain? Thanks guys. Jyrki final.tui Description: Binary data t-jtex.tex Description: Binary data ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new release (Modified by Gerben Wierda)
On May 11, 2006, at 17:16, Hans Hagen wrote: > Gerben Wierda wrote: >>> btw, doesn't gwtex set the TEXMFCNF env variable? >>> >> >> It does not get a useful value. >> >> TEXMFCNF is defined at compile-time and its setting in a texmf.cnf >> file is >> ignored for obvious reasons. The compiled-in version shows my compile >> environment which differs from the install environment on people's >> system. >> >> Try >> kpsewhich -expand-var=\$TEXMFCNF >> in a Terminal window. >> >> I had to do this if I wanted to make my TeX install relocatable and I >> had >> to make it relocatable to enable the option that people who do not >> have >> sysadmin privileges can install the TeX i-Package in their home >> directory >> and still work with it. >> >> In short: everything in TeX is relocatable at run time except the >> location >> of texmf.cnf. >> > but how then does it locate texmf.cnf, relative to the bin path of > kpsewhich? The first texmnf.cnf it tries is indeed located that way: ../../texmf.cnf This is the only reason my precompiled TeX distro is relocatable. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux: ConTeXt in local texmf-tree and Ruby scripts - HOWTO?
Johannes Graumann wrote: > > 4) I have also added '~/texmf/scripts/context/stubs/unix' to my path to make > the stubs residing therein accessible on the command line. 'which texexec' > now returns > ~/texmf/scripts/context/stubs/unix/texexec > Which seems right. > Also added to the path '~/texmf/scripts/context/ruby'. 'which texexec.rb' > now returns > ~/texmf/scripts/context/ruby/texexec.rb > However, just calling 'texexec document.tex' does not work - NOTHING > happens, new prompt, no errors. > Same thing with 'texmfstart texexec.rb document.tex' - which is the command > the 'texexec'-stub actually calls. > strange indeed, so what does texmfstart --verbose texexec.rb --verbose document.tex tell you > I'm at the end of my knowledge and intuition. Can anybody help circumventing > the need for the monster 'ruby ~/texmf/scripts/context/ruby/texexec.rb > document.tex'? > oh, we'll find a way, esp since it has worked on my linux boxes for a few years now 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] Linux: ConTeXt in local texmf-tree and Ruby scripts - HOWTO?
� wrote: > > One remark for the texexec developer: it seems, when searching for > executables, the order in $PATH is not respected. For example: I had > /opt/teTeX/bin/dvips and /usr/bin/dvips and PATH=/opt/teTeX/bin:... > but it was /usr/bin/dvips that was called to create the PS-file. > hm, i just call dvips -) 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] Trouble with new update
Aditya Mahajan wrote: > On Thu, 11 May 2006, Hans Hagen wrote: > > >> Aditya Mahajan wrote: >> >>> I just now did a fresh install of 2006.05.11 10:30 (i.e. removed my >>> old installation, downloaded mswincontext, did ctxtools --update) and >>> now I get error messages >>> >>> systems : begin file test at line 1 >>> fonts : resetting map file list >>> fonts : using map file: original-base >>> fonts : using map file: ec-public-lm >>> fonts : using map file: ec-base >>> fonts : using map file: original-ams-base >>> fonts : using map file: original-ams-euler >>> fonts : using map file: original-public-lm >>> (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec.tex) >>> [1.1 >>> Warning: pdfetex.exe (file original-empty.map): cannot open font map >>> file >>> >>> Warning: pdfetex.exe (file original-base.map): cannot open font map >>> file >>> >>> Warning: pdfetex.exe (file ec-public-lm.map): cannot open font map >>> file >>> >>> Warning: pdfetex.exe (file ec-base.map): cannot open font map file >>> >>> Warning: pdfetex.exe (file original-ams-base.map): cannot open font >>> map file >>> >>> Warning: pdfetex.exe (file original-ams-euler.map): cannot open font >>> map file >>> >>> Warning: pdfetex.exe (file original-public-lm.map): cannot open font >>> map file >>> ] >>> systems : end file test at line 5 >>> ) >>> >>> The files are present in the system, have permission 755, I do not >>> know what is going wrong. I have tried, but of no avail. >>> >>> >> can you check your map file path? because we need to support dvipdfmx there >> can be a mix up >> > > fonts/map/dvipdfm/lm > fonts/map/dvips/lm > fonts/map/pdfetex/lm > TEXFONTMAPS = .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}// should be in texmf.cnf - 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] Linux: ConTeXt in local texmf-tree and Ruby scripts - HOWTO?
On Thu, 11 May 2006, Johannes Graumann wrote: > However, just calling 'texexec document.tex' does not work - NOTHING > happens, new prompt, no errors. > Same thing with 'texmfstart texexec.rb document.tex' - which is the command > the 'texexec'-stub actually calls. You should try perhaps export RUBYLIB=~/texmf/scripts/context/ruby Using teTeX-3.0, here is what I've done to switch from perl texexec to the ruby one: chmod +x /opt/teTeX/texmf-context/scripts/context/ruby/texmfstart.rb cd /usr/local/bin ln -s /opt/teTeX/texmf-context/scripts/context/ruby/texmfstart.rb texmfstart copy these 3 lines into /opt/teTeX/bin/texexec: #!/bin/sh export RUBYLIB=/opt/teTeX/texmf-context/scripts/context/ruby exec texmfstart texexec.rb "$@" One remark for the texexec developer: it seems, when searching for executables, the order in $PATH is not respected. For example: I had /opt/teTeX/bin/dvips and /usr/bin/dvips and PATH=/opt/teTeX/bin:... but it was /usr/bin/dvips that was called to create the PS-file. (Not a big problem, I've just removed /usr/bin/dvips...) 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] texexec --check
On Thu, 11 May 2006, Hans Hagen wrote: > > TeXExec | format path: . /home/peter/.texmf-config/web2c/unset > > /home/peter/.texmf-config/web2c /home/peter/.texmf-var/web2c/unset > > /home/peter/.texmf-var/web2c /home/peter/texmf/web2c/unset > > /home/peter/texmf/web2c /texmf-config/web2c/unset /texmf-config/web2c > > /texmf-var/web2c/unset /texmf-var/web2c /texmf/web2c/unset /texmf/web2c > > /texmf-local/web2c/unset /texmf-local/web2c /texmf-context/web2c/unset > > /texmf-context/web2c /texmf-dist/web2c/unset /texmf-dist/web2c > > btw, interesting path, what does > >kpsewhich -show-path=fmt > > return? It returns: .:!!/home/peter/.texmf-config/web2c/unset:!!/home/peter/.texmf-var/web2c/unset:/home/peter/texmf/web2c/unset:!!/opt/teTeX/texmf-config/web2c/unset:!!/opt/teTeX/texmf-var/web2c/unset:!!/opt/teTeX/texmf/web2c/unset:!!/opt/teTeX/texmf-local/web2c/unset:!!/opt/teTeX/texmf-context/web2c/unset:!!/opt/teTeX/texmf-dist/web2c/unset:!!/home/peter/.texmf-config/web2c/:!!/home/peter/.texmf-var/web2c/:/home/peter/texmf/web2c/:!!/opt/teTeX/texmf-config/web2c/:!!/opt/teTeX/texmf-var/web2c/:!!/opt/teTeX/texmf/web2c/:!!/opt/teTeX/texmf-local/web2c/:!!/opt/teTeX/texmf-context/web2c/:!!/opt/teTeX/texmf-dist/web2c/ Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Ruby and Context
Until a few minutes ago my Linux Slackware system dd not have a Ruby interpreter. Yet Context runs fine. I seem to remember something about some components of Context existing as Ruby scripts. Am I dreaming or are there such beasties? -- John Culleton Books with answers to marketing and publishing questions: http://wexfordpress.com/tex/shortlist.pdf Book coaches, consultants and packagers: http://wexfordpress.com/tex/packagers.pdf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Trouble with new update
On Thu, 11 May 2006, Thomas A. Schmitz wrote: > Are you just getting these messages and compilation proceeds > normally? If that's the case, this is just the normal behavior of > texexec (I think Taco once wrote that it was a bit paranoid about > such files) and you should learn to ignore them... I get dozens of > them at every run. > The fonts are not embedded in the pdf. When I open the pdf, I get a message "Could not find fonts in the resource library -- Using Helevetica instead". Aditya > > On May 11, 2006, at 8:50 PM, Aditya Mahajan wrote: > >> I just now did a fresh install of 2006.05.11 10:30 (i.e. removed my >> old installation, downloaded mswincontext, did ctxtools --update) and >> now I get error messages >> > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > > -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Trouble with new update
Are you just getting these messages and compilation proceeds normally? If that's the case, this is just the normal behavior of texexec (I think Taco once wrote that it was a bit paranoid about such files) and you should learn to ignore them... I get dozens of them at every run. HTH Thomas On May 11, 2006, at 8:50 PM, Aditya Mahajan wrote: > I just now did a fresh install of 2006.05.11 10:30 (i.e. removed my > old installation, downloaded mswincontext, did ctxtools --update) and > now I get error messages > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Trouble with new update
On Thu, 11 May 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> I just now did a fresh install of 2006.05.11 10:30 (i.e. removed my >> old installation, downloaded mswincontext, did ctxtools --update) and >> now I get error messages >> >> systems : begin file test at line 1 >> fonts : resetting map file list >> fonts : using map file: original-base >> fonts : using map file: ec-public-lm >> fonts : using map file: ec-base >> fonts : using map file: original-ams-base >> fonts : using map file: original-ams-euler >> fonts : using map file: original-public-lm >> (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec.tex) >> [1.1 >> Warning: pdfetex.exe (file original-empty.map): cannot open font map >> file >> >> Warning: pdfetex.exe (file original-base.map): cannot open font map >> file >> >> Warning: pdfetex.exe (file ec-public-lm.map): cannot open font map >> file >> >> Warning: pdfetex.exe (file ec-base.map): cannot open font map file >> >> Warning: pdfetex.exe (file original-ams-base.map): cannot open font >> map file >> >> Warning: pdfetex.exe (file original-ams-euler.map): cannot open font >> map file >> >> Warning: pdfetex.exe (file original-public-lm.map): cannot open font >> map file >> ] >> systems : end file test at line 5 >> ) >> >> The files are present in the system, have permission 755, I do not >> know what is going wrong. I have tried, but of no avail. >> > can you check your map file path? because we need to support dvipdfmx there > can be a mix up fonts/map/dvipdfm/lm fonts/map/dvips/lm fonts/map/pdfetex/lm are empty! The map files that are present ./fonts/map/dvipdfm/context: 8r-base.map ec-base.map ec-os-public-lm.map ec-public-lm.map el-public-lm.map original-adobe-euro.map original-ams-base.map original-ams-cmr.map original-ams-euler.map original-base.map original-context-symbol.map original-dummy.map original-empty.map original-micropress-informal.map original-public-csr.map original-public-lm.map original-public-plr.map original-public-vnr.map original-vogel-symbol.map original-wasy.map original-youngryu-px.map original-youngryu-tx.map qx-base.map qx-os-public-lm.map qx-public-lm.map t5-base.map t5-os-public-lm.map t5-public-lm.map texnansi-base.map texnansi-os-public-lm.map texnansi-public-lm.map ./fonts/map/dvips/context: ec-lm.map el-lm.map qx-lm.map t5-lm.map texnansi-lm.map ts1-lm.map ./fonts/map/pdftex/context: 8r-base.map ec-base.map ec-os-public-lm.map ec-public-lm.map el-public-lm.map original-adobe-euro.map original-ams-base.map original-ams-cmr.map original-ams-euler.map original-base.map original-context-symbol.map original-dummy.map original-empty.map original-micropress-informal.map original-public-csr.map original-public-lm.map original-public-plr.map original-public-vnr.map original-vogel-symbol.map original-wasy.map original-youngryu-px.map original-youngryu-tx.map qx-base.map qx-os-public-lm.map qx-public-lm.map t5-base.map t5-os-public-lm.map t5-public-lm.map texnansi-base.map texnansi-os-public-lm.map -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Trouble with new update
Aditya Mahajan wrote: > I just now did a fresh install of 2006.05.11 10:30 (i.e. removed my > old installation, downloaded mswincontext, did ctxtools --update) and > now I get error messages > > systems : begin file test at line 1 > fonts : resetting map file list > fonts : using map file: original-base > fonts : using map file: ec-public-lm > fonts : using map file: ec-base > fonts : using map file: original-ams-base > fonts : using map file: original-ams-euler > fonts : using map file: original-public-lm > (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec.tex) > [1.1 > Warning: pdfetex.exe (file original-empty.map): cannot open font map > file > > Warning: pdfetex.exe (file original-base.map): cannot open font map > file > > Warning: pdfetex.exe (file ec-public-lm.map): cannot open font map > file > > Warning: pdfetex.exe (file ec-base.map): cannot open font map file > > Warning: pdfetex.exe (file original-ams-base.map): cannot open font > map file > > Warning: pdfetex.exe (file original-ams-euler.map): cannot open font > map file > > Warning: pdfetex.exe (file original-public-lm.map): cannot open font > map file > ] > systems : end file test at line 5 > ) > > The files are present in the system, have permission 755, I do not > know what is going wrong. I have tried, but of no avail. > can you check your map file path? because we need to support dvipdfmx there can be a mix up 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] Trouble with new update
I just now did a fresh install of 2006.05.11 10:30 (i.e. removed my old installation, downloaded mswincontext, did ctxtools --update) and now I get error messages systems : begin file test at line 1 fonts : resetting map file list fonts : using map file: original-base fonts : using map file: ec-public-lm fonts : using map file: ec-base fonts : using map file: original-ams-base fonts : using map file: original-ams-euler fonts : using map file: original-public-lm (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec.tex) [1.1 Warning: pdfetex.exe (file original-empty.map): cannot open font map file Warning: pdfetex.exe (file original-base.map): cannot open font map file Warning: pdfetex.exe (file ec-public-lm.map): cannot open font map file Warning: pdfetex.exe (file ec-base.map): cannot open font map file Warning: pdfetex.exe (file original-ams-base.map): cannot open font map file Warning: pdfetex.exe (file original-ams-euler.map): cannot open font map file Warning: pdfetex.exe (file original-public-lm.map): cannot open font map file ] systems : end file test at line 5 ) The files are present in the system, have permission 755, I do not know what is going wrong. I have tried, but of no avail. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --check
After an update to ConTeXt 2006.05.11, "texexec --check" is fast and gives more information. Thank you! 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] texexec --check
� wrote: > TeXExec | current distribution: web2c > TeXExec | context source date: unknown > TeXExec | format path: . /home/peter/.texmf-config/web2c/unset > /home/peter/.texmf-config/web2c /home/peter/.texmf-var/web2c/unset > /home/peter/.texmf-var/web2c /home/peter/texmf/web2c/unset > /home/peter/texmf/web2c /texmf-config/web2c/unset /texmf-config/web2c > /texmf-var/web2c/unset /texmf-var/web2c /texmf/web2c/unset /texmf/web2c > /texmf-local/web2c/unset /texmf-local/web2c /texmf-context/web2c/unset > /texmf-context/web2c /texmf-dist/web2c/unset /texmf-dist/web2c > TeXExec | start of analysis > TeXExec | end of analysis > TeXExec | > TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD > TeXExec | TeXUtil | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD > TeXExec | CtxTools | version 1.3.2 - 2004/2006 - PRAGMA ADE/POD > the unsets are ok, they result from unset engine or progname vars; i wonder what separator is used btw, interesting path, what does kpsewhich -show-path=fmt return? -- - 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] new release
Johannes Graumann wrote: > Hans Hagen wrote: > >> in core-sys.tex, replace: >> >> \ifx\disableXML\undefined \let\disableXML\relax \fi >> >> \def\loadsystemfiles >> {\reportprotectionstate >>\readsysfile\f!newfilename >> {\showmessage\m!systems2\f!newfilename}% >> \donothing >>\readsysfile\f!oldfilename >> {\showmessage\m!systems2\f!oldfilename}% >> \donothing >>\loadallsystemfiles\f!filfilename >> \donothing >>\loadallsystemfiles\f!sysfilename >> {\loadallsystemfiles{\f!sysfilename.rme}\donothing % new, fall back >> \doglobal\appendtoks >> \bgroup >> \disableXML >> \loadallsystemfiles\f!errfilename\donothing >> \egroup >> \to\everygoodbye}} >> > > I have appended this to core-sys.tex (just before the final '\protect > \endinput'; latest version of 11.5.) and used 'texexec.rb --make'. > I get the same error - even for a document containing nothing but this: > > \defineXMLenvironment >[document] >{\starttext} >{\stoptext} > \startXMLdata > > \stopXMLdata > > How do we proceed from here? > \defineXMLenvironment [document] {\starttext} {\stoptext} \starttext \startXMLdata \stopXMLdata \stoptext does that work ok? in your example, you stay inside a group and then end the doc \starttext \processXMLfilegrouped{somedoc} \stoptext is ok, as is texexec somedoc.xml which wraps the xml processing in a run 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] [Ann-context] ConTeXt 2006.05.11 released
Thomas A. Schmitz wrote: > Hey Taco, > > are you getting any sleep at all these days, with all the new releases? Don't forget I normally do not do any of the coding, I only write down what Hans' stuff does. But it has been a crowded week, yeah :-) Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new release
Johannes Graumann wrote: > Hans Hagen wrote: > >> in core-sys.tex, replace: >> >> \ifx\disableXML\undefined \let\disableXML\relax \fi >> >> \def\loadsystemfiles >> {\reportprotectionstate >>\readsysfile\f!newfilename >> {\showmessage\m!systems2\f!newfilename}% >> \donothing >>\readsysfile\f!oldfilename >> {\showmessage\m!systems2\f!oldfilename}% >> \donothing >>\loadallsystemfiles\f!filfilename >> \donothing >>\loadallsystemfiles\f!sysfilename >> {\loadallsystemfiles{\f!sysfilename.rme}\donothing % new, fall back >> \doglobal\appendtoks >> \bgroup >> \disableXML >> \loadallsystemfiles\f!errfilename\donothing >> \egroup >> \to\everygoodbye}} >> > > I have appended this to core-sys.tex (just before the final '\protect > \endinput'; latest version of 11.5.) and used 'texexec.rb --make'. > I get the same error - even for a document containing nothing but this: > > \defineXMLenvironment >[document] >{\starttext} >{\stoptext} > \startXMLdata > > \stopXMLdata > > How do we proceed from here? > a minimal test file showing the problem; as taco said, maybe some interference with xml processing 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] How to preserve a TeX token list across passes (the ConTeXt way)?
Jyrki Ruuskanen wrote: > Ok, the module is read in cont-sys.rme with \usemodule[jtex]. It > initializes the lists inside protect / unprotect pair with > \newtoks\usedAbbreviations and \newtoks\usedReferences along with > macro definitions. copy cont-sys.rme -> cont.sys.tex and add the module loading there (cont-rme will be overwritten when you update) > > Abbreviations are introduced with > \setAbbreviation[]{}{}{} which > defines macros \ \@meaning and \@description. Each call > to \ calls > \writeutilitycommand{\addToList[\string\usedAbbreviations]{}, so > after the first run the .tui file has a number of "c > \addToList[\usedAbbreviations]{something}" lines in it. > > Functionality is similar for the bibliography. The \cite command > writes \addToList[\usedReferences]{} into .tui. > > So, the .tuo file should populate used* lists and I could typeset the > list of used abbreviations in initialization order with > \executeListIntersection[\abbreviations][\usedAbbreviations]{\printAbbreviation}. > > Same for used bib references. But well, lists remain empty. so how about using \definesynonyms (see end of core-syn.tex) > > > I'll attach the module and the .tui file. > > And excuse me, I have never ever used a mailing list. How am I > supposed to answer to a certain message in the chain? Thanks guys. just hit the reply button in your mail agent 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] Linux: ConTeXt in local texmf-tree and Ruby scripts - HOWTO?
On Thu, 11 May 2006 10:12:58 -0700, Johannes Graumann <[EMAIL PROTECTED]> wrote: > I'm at the end of my knowledge and intuition. Can anybody help > circumventing > the need for the monster 'ruby ~/texmf/scripts/context/ruby/texexec.rb > document.tex'? Since I'm lazy, I didn't add any new path nor link, but just created the following wrapper texexec script in a classical bin directory (/usr/local/bin): #!/bin/sh ruby /your/path/texmf/scripts/context/ruby/texmfstart.rb texexec.rb $@ Don't know if it can help in your case. Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Linux: ConTeXt in local texmf-tree and Ruby scripts - HOWTO?
Hello, I'm on Debian unstable and have the latest context sitting in my home directory's 'texmf'. The new ruby scripts confuse me to no end - I just don't understand how to make it works. Here is what works and what doesn't: 1) 'ruby ~/texmf/scripts/context/ruby/texexec.rb document.tex' works. 2) Made ~/texmf/scripts executable (recursively). 3) I have linked '~/texmf/scripts/context/ruby/texmfstart.rb' to '~/bin/texmfstart' (~/bin being in my path) and now calling 'texmfstart' gives me this: version : 1.8.6 - 2003/2006 - www.pragma-ade.com usage: texmfstart [switches] filename [optional arguments] switches : --verbose --report --browser --direct --execute --locate --iftouched --program --file --page --arguments --batch --edit --report --clear --make --lmake --wmake --path --stubpath --indirect --before --after --tree --autotree --environment --showenv example : texmfstart pstopdf.rb cow.eps texmfstart --locate examplex.rb texmfstart --execute examplex.rb texmfstart --browser examplap.pdf texmfstart showcase.pdf texmfstart --page=2 --file=showcase.pdf texmfstart --program=yourtex yourscript.rb arg-1 arg-2 texmfstart --direct xsltproc kpse:somefile.xsl somefile.xml texmfstart bin:xsltproc env:somepreset path:somefile.xsl somefile.xml texmfstart --iftouched=normal,lowres downsample.rb normal lowres texmfstart texmfstart bin:scite kpse:texmf.cnf texmfstart --exec bin:scite *.tex texmfstart --edit texmf.cnf texmfstart --serve texmfstart --stubpath=/usr/local/bin [--make --remove] --verbose all texmfstart --stubpath=auto [--make --remove] all Seems to work to a first approximation. 4) I have also added '~/texmf/scripts/context/stubs/unix' to my path to make the stubs residing therein accessible on the command line. 'which texexec' now returns ~/texmf/scripts/context/stubs/unix/texexec Which seems right. Also added to the path '~/texmf/scripts/context/ruby'. 'which texexec.rb' now returns ~/texmf/scripts/context/ruby/texexec.rb However, just calling 'texexec document.tex' does not work - NOTHING happens, new prompt, no errors. Same thing with 'texmfstart texexec.rb document.tex' - which is the command the 'texexec'-stub actually calls. I'm at the end of my knowledge and intuition. Can anybody help circumventing the need for the monster 'ruby ~/texmf/scripts/context/ruby/texexec.rb document.tex'? Thanks, Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] [Ann-context] ConTeXt 2006.05.11 released
Hey Taco, are you getting any sleep at all these days, with all the new releases? Thomas On May 11, 2006, at 4:17 PM, Taco Hoekwater wrote: > Hello all, > > I am pleased to announce that the new ConTeXt release from Hans Hagen > can be downloaded as of now from the Pragma ADE website or one of its > mirrors. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new release
Hans Hagen wrote: > in core-sys.tex, replace: > > \ifx\disableXML\undefined \let\disableXML\relax \fi > > \def\loadsystemfiles > {\reportprotectionstate >\readsysfile\f!newfilename > {\showmessage\m!systems2\f!newfilename}% > \donothing >\readsysfile\f!oldfilename > {\showmessage\m!systems2\f!oldfilename}% > \donothing >\loadallsystemfiles\f!filfilename > \donothing >\loadallsystemfiles\f!sysfilename > {\loadallsystemfiles{\f!sysfilename.rme}\donothing % new, fall back > \doglobal\appendtoks > \bgroup > \disableXML > \loadallsystemfiles\f!errfilename\donothing > \egroup > \to\everygoodbye}} I have appended this to core-sys.tex (just before the final '\protect \endinput'; latest version of 11.5.) and used 'texexec.rb --make'. I get the same error - even for a document containing nothing but this: \defineXMLenvironment [document] {\starttext} {\stoptext} \startXMLdata \stopXMLdata How do we proceed from here? Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --check
On Thu, 11 May 2006, Hans Hagen wrote: > Taco Hoekwater wrote: > > Peter M?nster wrote: > > > >> Hello, > >> > >> "texexec --check" takes about 2 minutes on my system and there are a lot of > >> warnings like: > >> > > > > What version of ruby? > > > what does > > texmfstart --verbose texexec > > report? if it takes long, texmfstart will do a rather extensive search on > disk No, this call is very fast. Complete output: texmfstart version 1.8.6 locating 'texexec.rb' in current path '.' locating 'texexec.rb' in caller path '/usr/local/bin' using direct kpse using 'kpsewhich' to locate 'texexec' in suffix space 'rb' (1) registering 'texexec' as '/opt/teTeX/texmf-context/scripts/context/ruby/texexec.rb' registering 'THREAD' as '/opt/teTeX/texmf-context/scripts/context/ruby' starting texexec.rb using 'system' call: ruby /opt/teTeX/texmf-context/scripts/context/ruby/texexec.rb TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD TeXExec | --checkcheck versions TeXExec | --figures generate overview of figures TeXExec | --listing list of file content TeXExec | --make make formats TeXExec | --modules generate module documentation TeXExec | --mptexprocess mp file TeXExec | --mpxtex process mpx file TeXExec | --pdfarrange impose pages (booklets) TeXExec | --pdfcombine combine multiple pages TeXExec | --pdfcopy copy pages from file(s) TeXExec | --pdfselectselect pages from file(s) TeXExec | --pdftrim trim pages from file(s) TeXExec | --process process file Now, after the ruby update, "texexec --check" takes still a long time. Here is the complete output: TeXExec | current distribution: web2c TeXExec | context source date: unknown TeXExec | format path: . /home/peter/.texmf-config/web2c/unset /home/peter/.texmf-config/web2c /home/peter/.texmf-var/web2c/unset /home/peter/.texmf-var/web2c /home/peter/texmf/web2c/unset /home/peter/texmf/web2c /texmf-config/web2c/unset /texmf-config/web2c /texmf-var/web2c/unset /texmf-var/web2c /texmf/web2c/unset /texmf/web2c /texmf-local/web2c/unset /texmf-local/web2c /texmf-context/web2c/unset /texmf-context/web2c /texmf-dist/web2c/unset /texmf-dist/web2c TeXExec | start of analysis TeXExec | end of analysis TeXExec | TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD TeXExec | TeXUtil | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD TeXExec | CtxTools | version 1.3.2 - 2004/2006 - PRAGMA ADE/POD It takes a lot of time between "start of analysis" and "end of analysis". The format path seems strange to me with all the "unset" at the end. 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] texexec --check
On Thu, 11 May 2006, Taco Hoekwater wrote: > Peter Münster wrote: > > > > "texexec --check" takes about 2 minutes on my system and there are a lot of > > warnings like: > > What version of ruby? 1.8.0 I've made an update to 1.8.2 and the warnings are gone, thanks! 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] new release (Modified by Gerben Wierda)
Gerben Wierda wrote: >> btw, doesn't gwtex set the TEXMFCNF env variable? >> > > It does not get a useful value. > > TEXMFCNF is defined at compile-time and its setting in a texmf.cnf file is > ignored for obvious reasons. The compiled-in version shows my compile > environment which differs from the install environment on people's system. > > Try > kpsewhich -expand-var=\$TEXMFCNF > in a Terminal window. > > I had to do this if I wanted to make my TeX install relocatable and I had > to make it relocatable to enable the option that people who do not have > sysadmin privileges can install the TeX i-Package in their home directory > and still work with it. > > In short: everything in TeX is relocatable at run time except the location > of texmf.cnf. > but how then does it locate texmf.cnf, relative to the bin path of kpsewhich? 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] mac troubles
> Hi, > > I uploaded a slightly patched distribution: > > = only fast kpse in minimals, unless forced A perfect solution. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] [Ann-context] ConTeXt 2006.05.11 released
Hello all, I am pleased to announce that the new ConTeXt release from Hans Hagen can be downloaded as of now from the Pragma ADE website or one of its mirrors. http://www.pragma-ade.com/context/current/cont-tmf.zip http://context.aanhet.net/context/current/cont-tmf.zip http://mirror.contextgarden.net/context/current/cont-tmf.zip The current release has version 2006.05.11 A very short list of changes is given below. As usual, there is an html page with more detailed release notes available on the Wiki, see: http://wiki.contextgarden.net/Release_Notes Most important new features (since April 24): * Integrated support for XeTeX on Linux * The Ruby scripts are now preferred over the perl ones * The included pattern files now use UTF-8 encoding * Automatic handling of UTF-8 Byte Order Marks Happy TeXing, Taco Hoekwater ___ Ann-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ann-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] [Fwd: [dev-context] [Fwd: Supelec-Foundry Project Approved]]
Hi Manual Translators, There is now a new project at Fabrice's server, see attachment. Those involved in (possible) transations can register. We need to cook up some rules for structuring the related svn repository. 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 - --- Begin Message --- Original Message Subject: Supelec-Foundry Project Approved Date: Thu, 11 May 2006 14:11:11 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Your project registration for Supelec-Foundry has been approved. Project Full Name: ConTeXt Manuals Project Unix Name: contextman CVS Server: cvs.contextman.foundry.supelec.fr Shell/Web Server: contextman.foundry.supelec.fr Your DNS will take up to a day to become active on our site. While waiting for your DNS to resolve, you may try shelling into shell.foundry.supelec.fr and pointing CVS to scm.foundry.supelec.fr If after 6 hours your shell/CVS accounts still do not work, please open a support ticket so that we may take a look at the problem. Please note that all shell/CVS accounts are closed to telnet and only work with SSH. Your web site is accessible through your shell account. Please read site documentation (see link below) about intended usage, available services, and directory layout of the account. If you visit your own project page in Supelec-Foundry while logged in, you will find additional menu functions to your left labeled 'Project Admin'. We highly suggest that you now visit Supelec-Foundry and create a public description for your project. This can be done by visiting your project page while logged in, and selecting 'Project Admin' from the menus on the left (or by visiting http://foundry.supelec.fr/project/admin/?group_id=22 after login). Your project will also not appear in the Trove Software Map (primary list of projects hosted on Supelec-Foundry which offers great flexibility in browsing and search) until you categorize it in the project administration screens. So that people can find your project, you should do this now. Visit your project while logged in, and select 'Project Admin' from the menus on the left. Enjoy the system, and please tell others about Supelec-Foundry. Let us know if there is anything we can do to help you. -- the Supelec-Foundry crew ___ dev-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/dev-context --- End Message --- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new release (Modified by Gerben Wierda)
> btw, doesn't gwtex set the TEXMFCNF env variable? It does not get a useful value. TEXMFCNF is defined at compile-time and its setting in a texmf.cnf file is ignored for obvious reasons. The compiled-in version shows my compile environment which differs from the install environment on people's system. Try kpsewhich -expand-var=\$TEXMFCNF in a Terminal window. I had to do this if I wanted to make my TeX install relocatable and I had to make it relocatable to enable the option that people who do not have sysadmin privileges can install the TeX i-Package in their home directory and still work with it. In short: everything in TeX is relocatable at run time except the location of texmf.cnf. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \setuppapersize and \startMPpage
2006/5/11, Hans Hagen <[EMAIL PROTECTED]>: > \definepapersize[thesis][width=169mm, height=239mm] > \setuppapersize[thesis][A4] > \definelayer[page][width=\paperwidth,height=\paperheight] > > \starttext > \startTEXpage > \setlayer > [page] > [preset=lefttop,x=3cm,y=4cm] > {\startMPcode > fill fullcircle scaled 10cm; >\stopMPcode} > \tightlayer[page] > \stopTEXpage > \stoptext This works if I change \paperwidth and \paperheight to \printpaperwidth and \printpaperheight and change the dimensions slightly. Thank you, Johan > > > - > 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 > - > > -- 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] mac troubles
On May 11, 2006, at 11:24 AM, Hans Hagen wrote: > Hi, > > I uploaded a slightly patched distribution: > > = only fast kpse in minimals, unless forced > = . path fallback for strange fmt paths > > Hans Sweet, this one does what it's suposed to do: texmfstart texexec --make --all TeXExec | using search method 'kpsewhich' TeXExec | updating file database mktexlsr: Updating /usr/local/teTeX/share/texmf/ls-R... mktexlsr: Updating /usr/local/teTeX/share/texmf.gwtex/ls-R... mktexlsr: Updating /usr/local/teTeX/share/texmf.local/ls-R... mktexlsr: Updating /usr/local/teTeX/share/texmf.tetex/ls-R... mktexlsr: Updating /var/tmp/texfonts/ls-R... mktexlsr: Done. TeXExec | using tex engine pdfetex TeXExec | using tex format path /usr/local/teTeX/share/texmf.local/ web2c/pdfetex TeXExec | generating tex format cont-en Thanks Hans! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] mac troubles
Hi, I uploaded a slightly patched distribution: = only fast kpse in minimals, unless forced = . path fallback for strange fmt paths 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] new release
On May 11, 2006, at 12:21 AM, Hans Hagen wrote: > i'm uploading a coupls of zips with fixes for xetex but i'm not > sure if they solve your problem > > (concerning the path ... what is the path separator on osx?) > > Hans > Nope, still get the same bizarre result. Path separator is a ":" echo $PATH /sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/tas/bin:/usr/ local/bin:/usr/lib/portage/bin:/usr/local/teTeX/bin/powerpc-apple- darwin-current:/Developer/Tools:/usr/X11R6/bin So maybe Gerben's guess is right, and it's some hard-coded path thing in kpsefast? texmfstart texexec --make --all TeXExec | using search method 'kpsefast' TeXExec | updating file database mktexlsr: Updating /usr/local/teTeX/share/texmf/ls-R... mktexlsr: Updating /usr/local/teTeX/share/texmf.gwtex/ls-R... mktexlsr: Updating /usr/local/teTeX/share/texmf.local/ls-R... mktexlsr: Updating /usr/local/teTeX/share/texmf.tetex/ls-R... mktexlsr: Updating /var/tmp/texfonts/ls-R... mktexlsr: Done. TeXExec | using tex engine pdfetex TeXExec | using tex format path .:/Users/tas/texmf/web2c//:!!/usr/ local/teTeX/share//share/texmf-local/web2c//:!!/usr/local/teTeX/ share//share/texmf/web2c//:!!/usr/local/teTeX/share//share/texmf-dist/ web2c//pdfetex As you can see: while mltexlsr find the corret paths for updating, the format path given by TeXExec uses default values. Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \setuppapersize and \startMPpage
Johan Sandblom wrote: > 2006/5/11, Aditya Mahajan <[EMAIL PROTECTED]>: > >> On Wed, 10 May 2006, Johan Sandblom wrote: >> >> >>> Thank you, this almost works, but the title graphic (of thesis size) >>> is not centered on the A4 paper, but in the lower right corner. How >>> can I make it go to the right place? >>> >>> \definepapersize[thesis][width=169mm, height=239mm] >>> \setuppapersize[thesis][A4] >>> \starttext >>> \startMPgraphic >>> % Some metafun >>> \stopMPgraphic >>> \loadcurrentMPgraphic{possibly something should go here?} >>> \placeMPgraphic >>> % Some text >>> \stoptext >>> >> Untested, but how about >> >> \loadcurrentMPgraphic %{width=\textwidth} >> %Try with and without textwidth >> \placefigure >> [here] >> {none} >> {\placeMPgraphic} >> >> > > Yes, I tried that; with no arguments to \loadcurrentMPgraphic the > thesis page is placed on the bottom of the A4 and not quite in the > middle (?). with width=\textwidth or \makeupwidth the result is the > same. > > >> Aditya >> >> PS: In future, also copy to the list, others may have better idea on >> how to do this. >> >> > > Yes, I had intended to, and thought I did, but apparently I am more > trigger happy than I allow for ... > > Thank you for your help, Johan > > > >> >> >> >> >>> Regards, Johan >>> >>> 2006/5/9, Aditya Mahajan <[EMAIL PROTECTED]>: >>> On Tue, 9 May 2006, Johan Sandblom wrote: > Dear expertise, > > I have the following: > > \definepapersize[thesis][width=169mm, height=239mm] > \setuppapersize[thesis][A4] > \setuplayout > [location=middle, marking=on] > \setuppagenumbering > [alternative=doublesided, location=marginedge, state=stop] > > \starttext > > % Title page > \startMPpage > % Some metafun > \stopMPpage > > % Some text > \stoptext > > The resulting pdf has a smaller first page (thesis size) while the > rest are A4 with the thesis pages place centrally. I would like to see > the title page placed on an A4 sheet as well. What am I doing wrong? > MPpage creates a page with dimensions equal to the bounding box of the graphic. If you want to center a MP figure on your title page, use \startMPgraphic Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 \definepapersize[thesis][width=169mm, height=239mm] \setuppapersize[thesis][A4] \definelayer[page][width=\paperwidth,height=\paperheight] \starttext \startTEXpage \setlayer [page] [preset=lefttop,x=3cm,y=4cm] {\startMPcode fill fullcircle scaled 10cm; \stopMPcode} \tightlayer[page] \stopTEXpage \stoptext - 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] How to preserve a TeX token list across passes (the ConTeXt way)?
Jyrki Ruuskanen wrote: > I made a plain TeX module for simple abbreviation and bibliography > handling. The problem is it currently uses a temporary file to keep > track of used bibs / abbreviations. Essentially it writes \addToList > [\usedAbbreviations]{} and \addToList[\usedReferences]{} > commands to it, and this file is input on the second pass. > > After finding out that ConTeXt *really is* well thought of and robust > I changed the functionality to use TeXutil with \writeutilitycommand. > Everything seems to work, the commands appear in .tui/.tuo files and > are executed, but the token lists are empty when execution reaches > the document. I couldn't figure out how to fix it as I don't yet know > enough about the anatomy of a ConTeXt run and the system. > can you make a small example? maybe a grouping issue 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] new release
Taco Hoekwater wrote: > Johannes Graumann wrote: > >>> If you cannot figure it out, try posting a few extra >>> lines from the log, just before 'cont-err loaded'. >>> >> I append the log region around the 'cont-err loaded' part. >> > > It looks to me like context found a cont-err.tex when it > should not have. > > At the end of a job, ConTeXt looks for a file named cont-err.tex, > in the directory path that is set by the \setupsystem command in > .tmp. This file itself is generated by texexec, and the > directory value is based on "setuppath"). > > In your case, it looks like this directory entry is either > incorrect, or there is a bug in context, because it finds and > then loads the file while XML mode is still active. > > I do not know how to proceed from here. Hans? > in core-sys.tex, replace: \ifx\disableXML\undefined \let\disableXML\relax \fi \def\loadsystemfiles {\reportprotectionstate \readsysfile\f!newfilename {\showmessage\m!systems2\f!newfilename}% \donothing \readsysfile\f!oldfilename {\showmessage\m!systems2\f!oldfilename}% \donothing \loadallsystemfiles\f!filfilename \donothing \loadallsystemfiles\f!sysfilename {\loadallsystemfiles{\f!sysfilename.rme}\donothing % new, fall back \doglobal\appendtoks \bgroup \disableXML \loadallsystemfiles\f!errfilename\donothing \egroup \to\everygoodbye}} and let me know if that works ok 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] new release
Thomas A. Schmitz wrote: > On May 11, 2006, at 12:21 AM, Hans Hagen wrote: > > >> i'm uploading a coupls of zips with fixes for xetex but i'm not >> sure if they solve your problem >> >> (concerning the path ... what is the path separator on osx?) >> >> Hans >> >> > > Nope, still get the same bizarre result. Path separator is a ":" > btw, concerning the texmfstart script itself: - on unix it's indeed best to make a symlink from texmfstart -> texmfstart.rb in the whatever-tree it resides in - on windows, one can associate the .rb suffix with ruby and add the context ruby path to the bin path, or use the 'exe' variant which can be located anywhere (texmfstart uses a few libe but when they are not found, it will enter stupid-mode and lack some features that probably go unnoticed) 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] How to preserve a TeX token list across passes (the ConTeXt way)?
Jyrki Ruuskanen wrote: > I made a plain TeX module for simple abbreviation and bibliography > handling. The problem is it currently uses a temporary file to keep > track of used bibs / abbreviations. Essentially it writes \addToList > [\usedAbbreviations]{} and \addToList[\usedReferences]{} > commands to it, and this file is input on the second pass. > > After finding out that ConTeXt *really is* well thought of and robust > I changed the functionality to use TeXutil with \writeutilitycommand. > Everything seems to work, the commands appear in .tui/.tuo files and > are executed, but the token lists are empty when execution reaches > the document. I couldn't figure out how to fix it as I don't yet know > enough about the anatomy of a ConTeXt run and the system. Some small example files would help a lot. We have to know what *precisely* is in the tui file. Cheers ,Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new release (Modified by Gerben Wierda)
Gerben Wierda wrote: > On May 10, 2006, at 19:13, Hans Hagen wrote: > > >> Thomas A. Schmitz wrote: >> >>> Hans, >>> >>> do I need to re-report that format generation with texmfstart >>> newtexexec --make is still broken on OS X (I'll check on my linux box >>> later)? I still get these monstrous paths like >>> >>> TeXExec | tex engine path: .:/Users/tas/texmf/web2c//:!!/usr/local/ >>> teTeX/share//share/texmf-local/web2c//:!!/usr/local/teTeX/share// >>> share/texmf/web2c//:!!/usr/local/teTeX/share//share/texmf-dist/web2c// >>> pdfetex >>> >>> >>> >> btw, i cannot test the mac here since the machine is broken (does not >> start up and i already wasted half a day on it) >> > > It seems like not the real paths are taken but only the main path and > texmf-local, texmf-dist and such are hard coded subdirectories. This is > one reason why I do not use the standard directories (like texmf-local > and texmf-dist, but texmf.local, texmf.gwtex, texmf.tetex), to catch > path `hard coding' errors as soon as possible. Another possibility > (also a type of hard coding error) is parsing the wrong texmf.cnf file > yourself instead of asking for the right paths by using kpsewhich. > indeed texexec is configured to bypass kpse (i played with the kpse library and the interface is too unstable; also, depending on the situation, a ruby version is faster and more suitable for serving multiple trees esp when i enable the run-as-service option) one can test with: set KPSEFAST=no (maybe i should only make that one available when one installs a minimal-conforming tree) i'll add the gw specific paths to the cnf location method (esp the way kpse locates its cnf files is not really well defined and standardised since kpse itself uses this autoparent stuff); btw, doesn't gwtex set the TEXMFCNF env variable? 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] new release
nico wrote: > On Thu, 11 May 2006 00:11:47 +0200, Thomas A. Schmitz > <[EMAIL PROTECTED]> wrote: > > >> Yes, that's strange. I just checked, and everything is golden on a linux >> system (gentoo, but I gues the same is true for other linux distros). So >> I really don't see why OS X should behave differently. Is there any >> debugging info that I could provide? How 'bout the other OS X users (I >> seem to recall there were quite a few of them): do you get the same >> error? >> > > Strictly speaking it's not OSX, but i've a FreeBSD distro, which is close, > and it works fine. > > Are you sure you have the permission to write in any of these paths? > > BTW, i find dangerous to do (kpse.formatpath method): > > # locate writable path > if ! formatpath.empty? then > formatpath.split_path.each do |fp| > fp.gsub!(/\\/,'/') > # remove funny patterns > fp.sub!(/^!!/,'') > fp.sub!(/\/+$/,'') > fp.sub!(/unsetengine/,if enginepath then engine > else '' end) > if ! fp.empty? && (fp != '.') then > # strip (possible engine) and test for > writeability > fpp = fp.sub(/#{engine}\/*$/,'') > if FileTest.directory?(fpp) && > FileTest.writable?(fpp) then > # use this path > formatpath = fp.dup > break > end > end > end > end > # needed ! > begin File.makedirs(formatpath) ; rescue ; end ; > > If none of the paths from formatpath is valid, we keep the whole concat > path in this variable... that then is used to create a directory tree. > Thomas, maybe that you have ugly directories created starting with an > hidden directory named ".:". You should check that. > i can make the fallback '.' in that case, not that it helps much if ! formatpath.empty? then done = false formatpath.split_path.each do |fp| fp.gsub!(/\\/,'/') # remove funny patterns fp.sub!(/^!!/,'') fp.sub!(/\/+$/,'') fp.sub!(/unsetengine/,if enginepath then engine else '' end) if ! fp.empty? && (fp != '.') then # strip (possible engine) and test for writeability fpp = fp.sub(/#{engine}\/*$/,'') if FileTest.directory?(fpp) && FileTest.writable?(fpp) then # use this path formatpath, done = fp.dup, true break end end end formatpath = '.' unless done end 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] new release
Am Donnerstag, 11. Mai 2006 00:21 schrieb Hans Hagen: > > (concerning the path ... what is the path separator on osx?) The normal unix path separator '/'. On OS9 it was ':'. Uwe ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --check
Taco Hoekwater wrote: > Peter M�nster wrote: > >> Hello, >> >> "texexec --check" takes about 2 minutes on my system and there are a lot of >> warnings like: >> > > What version of ruby? > what does texmfstart --verbose texexec report? if it takes long, texmfstart will do a rather extensive search on disk 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] new release
Johannes Graumann wrote: > >>If you cannot figure it out, try posting a few extra >>lines from the log, just before 'cont-err loaded'. > > I append the log region around the 'cont-err loaded' part. It looks to me like context found a cont-err.tex when it should not have. At the end of a job, ConTeXt looks for a file named cont-err.tex, in the directory path that is set by the \setupsystem command in .tmp. This file itself is generated by texexec, and the directory value is based on "setuppath"). In your case, it looks like this directory entry is either incorrect, or there is a bug in context, because it finds and then loads the file while XML mode is still active. I do not know how to proceed from here. Hans? Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \setuppapersize and \startMPpage
2006/5/11, Aditya Mahajan <[EMAIL PROTECTED]>: > On Wed, 10 May 2006, Johan Sandblom wrote: > > > Thank you, this almost works, but the title graphic (of thesis size) > > is not centered on the A4 paper, but in the lower right corner. How > > can I make it go to the right place? > > > > \definepapersize[thesis][width=169mm, height=239mm] > > \setuppapersize[thesis][A4] > > \starttext > > \startMPgraphic > > % Some metafun > > \stopMPgraphic > > \loadcurrentMPgraphic{possibly something should go here?} > > \placeMPgraphic > > % Some text > > \stoptext > > > Untested, but how about > > \loadcurrentMPgraphic %{width=\textwidth} > %Try with and without textwidth > \placefigure > [here] > {none} > {\placeMPgraphic} > Yes, I tried that; with no arguments to \loadcurrentMPgraphic the thesis page is placed on the bottom of the A4 and not quite in the middle (?). with width=\textwidth or \makeupwidth the result is the same. > > Aditya > > PS: In future, also copy to the list, others may have better idea on > how to do this. > Yes, I had intended to, and thought I did, but apparently I am more trigger happy than I allow for ... Thank you for your help, Johan > > > > > > > > > Regards, Johan > > > > 2006/5/9, Aditya Mahajan <[EMAIL PROTECTED]>: > >> On Tue, 9 May 2006, Johan Sandblom wrote: > >> > >> > Dear expertise, > >> > > >> > I have the following: > >> > > >> > \definepapersize[thesis][width=169mm, height=239mm] > >> > \setuppapersize[thesis][A4] > >> > \setuplayout > >> > [location=middle, marking=on] > >> > \setuppagenumbering > >> > [alternative=doublesided, location=marginedge, state=stop] > >> > > >> > \starttext > >> > > >> > % Title page > >> > \startMPpage > >> > % Some metafun > >> > \stopMPpage > >> > > >> > % Some text > >> > \stoptext > >> > > >> > The resulting pdf has a smaller first page (thesis size) while the > >> > rest are A4 with the thesis pages place centrally. I would like to see > >> > the title page placed on an A4 sheet as well. What am I doing wrong? > >> > >> MPpage creates a page with dimensions equal to the bounding box of the > >> graphic. If you want to center a MP figure on your title page, use > >> \startMPgraphic > >> > >> Aditya > >> > >> -- > >> Aditya Mahajan, EECS Systems, University of Michigan > >> http://www.eecs.umich.edu/~adityam || Ph: 7342624008 > >> > > > > > > -- > > 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 > > > > > > > > -- > Aditya Mahajan, EECS Systems, University of Michigan > http://www.eecs.umich.edu/~adityam || Ph: 7342624008 > -- 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