[NTG-context] Problem with Lucida Fonts
Hi all, I'm trying ConTeXt for a week so maybe my question seems stupid but... I have the YY Lucida fonts and i've run sudo texfont --en=ec --ve=bh --co=lucida --in --ma --so=auto --ro=TEXMFMAIN to get ec-bh-lucida.map So I want to check if my installation is working with an experiment : __ %% Set output to pdf \setupoutput[pdftex] %% Activate txt in METAPOST \useMPlibrary[txt] %% Activate colors \setupcolors[state=start] \setuppapersize[A4][A4] \enableregime[il9] \useencoding[ffr] \mainlanguage[fr] \usetypescriptfile[type-buy] \loadmapfile[ec-bh-lucida.map] \usetypescript[lucida][ec] \setupbodyfont[lucida] \starttext Test \high{exposants} ainsi que des S\cap{mall} C\cap{apitals} !!! {\em emph !} {\sl slanted} {\tt verbatim} $$t+e+x+t = m+a+t+h + \theta$$ \stoptext __ I've checked that the right fonts is used and it's ok but I obtain strange errors : This is pdfeTeXk, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (format=cont-en 2005.11.22) 28 NOV 2005 10:10 entering extended mode %-line parsing enabled. **cont-en phd.tex (./phd.tex ConTeXt ver: 2005.10.27 fmt: 2005.11.22 int: english mes: english language : language en is active protectionstate 0 system : cont-new loaded (/usr/local/texlive/2005/texmf-dist/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/texlive/2005/texmf-dist/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/texlive/2005/texmf-dist/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/usr/local/texlive/2005/texmf-dist/tex/context/user/cont-sys.tex (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)) bodyfont : 12pt rm is loaded language : patterns en-ec:ec-1-2:2 uk-ec:ec-2-2:2 de-texnansi:tex nansi-3-2:2 de-ec:ec-4-2:2 fr-texnansi:texnansi-5-2:2 fr-ec:ec-6-2:2 es-ec:ec-7-2:2 pt-texnansi:texnansi-8-2:2 pt-ec:ec-9-2:2 it-texnansi :texnansi-10-2:2 it-ec:ec-11-2:2 nl-texnansi:texnansi-12-2:2 nl-ec:ec- 13-2:2 cz-il2:il2-14-2:2 cz-ec:ec-15-2:2 sk-il2:il2-16-2:2 sk-ec:ec -17-2:2 pl-pl0:pl0-18-2:2 pl-ec:ec-19-2:2 pl-qx:qx-20-2:2 loaded specials : tex,postscript,rokicki loaded \openout2 = `phd.tui'. system : phd.top loaded (./phd.top) \openout0 = `phd-mpgraph.mp'. \openout0 = `mpgraph.mp'. specials : loading definition file tpd (/usr/local/texlive/2005/texmf-dist/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/texlive/2005/texmf-dist/tex/context/base/spec-fdf.tex) specials : fdf loaded ) specials : fdf,tpd loaded metapost : loading metapost library txt (/usr/local/texlive/2005/texmf-dist/tex/context/base/meta-txt.tex) color : system rgb is global activated encoding : coding ffr is loaded (/usr/local/texlive/2005/texmf-dist/tex/context/base/enco-ffr.tex system : module tryout loaded (/usr/local/texlive/2005/texmf-dist/tex/context/base/m-tryout.tex \openout2 = `phd.tui'. ) language : language specific options [ec-fr] seamless appended ) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
Re: [NTG-context] beginners manual
Hans Hagen wrote: Vit Zyka wrote: I got unexpected positive responce to idea of beginners manual translation on Saturday's Czech/Slovak TUG meeting. The small working group of 5 people was establish there. Nobody but me has context experience now, but I think it is not a serious drawback for translating. i don't know if david antos was present, but he knows his way around context and can be of help (given that he has time) He was not. Anybody's help will be welcomed, especially David... Vit ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] beginners manual
VnPenguin wrote: On 11/28/05, Hans Hagen [EMAIL PROTECTED] wrote: Thanks, it's ok. But I have to add: \usemodule[abr-01] into ma-cb-abbreviations.tex in order to fix error \ASCII non defined. no, you need a new version of context -) Release 2005.11.24 is not ok for this ? i patched that at the day i uploaded the manuals to svn -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux binaries
Duncan Hothersall wrote: I just foolishly downloaded the 2005-11-16 linuxtex.zip minimal linux distribution and copied it on top of my previous one, and I now discover that the binaries are linked to a more recent version of glibc than I have on my linux box. Eek. indeed annoying (and depressing); it also means that you cannot copy an old tree to a new linux installation (this is what i found out recently); on windows, one does not have this problem (since it carries previous versions of libraries); i don't know how sensitive macosx is for updates (maybe we should put a set of statically linked binaries someplace; a kind of archive) I will clearly need to update the linux machine in due course, but does anyone (a) know if the binaries from the previous zip will work as a stop-gap, and (b) happen to have a copy of the previous linuxtex.zip (or the binaries from it) available for download? yes, you can use the old binaries, no problem; hm, a copy of previous binaries ... i can make a zip of an old tree Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux binaries
Hans Hagen wrote: Duncan Hothersall wrote: I just foolishly downloaded the 2005-11-16 linuxtex.zip minimal linux distribution and copied it on top of my previous one, and I now discover that the binaries are linked to a more recent version of glibc than I have on my linux box. Eek. indeed annoying (and depressing); it also means that you cannot copy an old tree to a new linux installation (this is what i found out recently); on windows, one does not have this problem (since it carries previous versions of libraries); i don't know how sensitive macosx is for updates It is precisely the same situation as Win98 refusing to run WinXP binaries. (except it doesn't outright refuse that, it just makes them crash unexpectedly and unexplainably) But I grant that it is annoying ;-) Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Iwona font
David Arnold wrote: 1. Do I have to also do an updmap or enable or some such thing? no, context loads the files needed at runtime 2. I note that on my office system, /usr/local/teTeX is owned by root:wheel. But done in my fonts directory, some files are owned by darnolddarn:admind and some by root:admin. Could this be a problem? did you run a mktexlsr ? (otherwise tex cannot find the files) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux binaries
Hi, Taco Hoekwater wrote: indeed annoying (and depressing); it also means that you cannot copy an old tree to a new linux installation (this is what i found out recently); on windows, one does not have this problem (since it carries previous versions of libraries); i don't know how sensitive macosx is for updates It is precisely the same situation as Win98 refusing to run WinXP binaries. (except it doesn't outright refuse that, it just makes them crash unexpectedly and unexplainably) Well, or Adobe Reader 7 refusing to install on Windows ME* and demanding at least WinNT SP x or Win2000 SP 2, fortunally there is GhostScript to print PDF files. (The PDF file didn't print with 6.0.) Tobias * I fully agree with most world (incl. Microsoft), that WinME is bad, but to update Windows just for AR is a bit too much. PS: That neither CorelDraw Linux 9/Linux (not anymore) nor CorelDraw Windows via Wine (not yet) runs here on my (too modern) Linux, is also annoying. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Choosing a font for our Math Book
David Arnold wrote: Hans, Yep. bin $ locate yandy- /Users/darnold/tmp/lucida/texnansi-yandy-lucida-mpgraph.mp /Users/darnold/tmp/lucida/texnansi-yandy-lucida.log /Users/darnold/tmp/lucida/texnansi-yandy-lucida.pdf /Users/darnold/tmp/lucida/texnansi-yandy-lucida.tex /Users/darnold/tmp/lucida/texnansi-yandy-lucida.tmp /Users/darnold/tmp/lucida/texnansi-yandy-lucida.tui /Users/darnold/tmp/lucida/texnansi-yandy-lucida.tuo /usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/texnansi- yandy-lucida.bak /usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/texnansi- yandy-lucida.map ah, i see; the problem is that the context predefined typescripts expect something bh-lucida since bh is the foundry and not yandy now, for all fonts that i buy/use, i add en entry to type-buy.tex, and the corresponding dat files says: # bh lucida --en=? --ve=bh --co=lucida --re --en=? --ve=bh --co=lucida --so=bh/lucida --ma --in --expert this means that you can run texfont as follows: texfont --encoding=texnansi --batch type-buy.dat which assumes that you have the fonts in the local tree (the place where you run this command) under bh/lucida Here i have a dedicated disk where i put my font files (the ones provided by the foundry) structured like: /myboughtfonts/bh/lucida/ the last one is flat, i.e. i always copy all font files to such a path (pfb, afm, whatever) i then run texfont in the /myboughtfonts path and (using the dat file) texfonts knows where to find the files. So, type-buy assumes some kind of source tree: h:\fonts\adobe\frutiger h:\fonts\adobe\myriad h:\fonts\adobe\palatino h:\fonts\adobe\symbol h:\fonts\adobe\utopia h:\fonts\agfa\bauhaus h:\fonts\bh\lucida h:\fonts\bitstream\cyberbit h:\fonts\itc\bauhaus h:\fonts\itc\kabel h:\fonts\itc\mendoza h:\fonts\itc\officina h:\fonts\itc\stone h:\fonts\linotype\industria h:\fonts\linotype\optima-nova h:\fonts\linotype\syntax h:\fonts\linotype\univers h:\fonts\linotype\zapfino h:\fonts\linotype\zapfino-extra h:\fonts\lucas\antiqua h:\fonts\lucas\sun h:\fonts\lucas\thesans h:\fonts\monotype\sabon which will be reflected in the names that en dup in the tex tree once you have it running, adding a new font is a matter of minutes Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux binaries
Tobias Burnus wrote: Hi, Taco Hoekwater wrote: indeed annoying (and depressing); it also means that you cannot copy an old tree to a new linux installation (this is what i found out recently); on windows, one does not have this problem (since it carries previous versions of libraries); i don't know how sensitive macosx is for updates It is precisely the same situation as Win98 refusing to run WinXP binaries. (except it doesn't outright refuse that, it just makes them crash unexpectedly and unexplainably) sure, but at least you know that 95|me and 2000|xp are two different things, and now i have to get accustomed to the fact that each update of suse gives me another new operating system (i wonder how it will feel to install suse 34.2) what puzzles me most is that since tex is not that demanding, it is still so dependent (maybe only pdftex with its graphic libraries is a problem) Well, or Adobe Reader 7 refusing to install on Windows ME* and demanding at least WinNT SP x or Win2000 SP 2, fortunally there is GhostScript to print PDF files. (The PDF file didn't print with 6.0.) that's an adobe issue ... they don't care about older machines (same with mac: they didn't even bother to provide proper support for a while back); i must have a floppy with an acrobat 1.0 for msdos somewhere; it actually gave a pretty good picture -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux binaries
Hans wrote: yes, you can use the old binaries, no problem; hm, a copy of previous binaries ... i can make a zip of an old tree That would be great, thanks! Thanks Taco for the suggestions, I was exploring both of those in parallel to hoping that someone had kept a copy of the old ones.. Thanks both. Duncan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux binaries
Hans Hagen wrote: what puzzles me most is that since tex is not that demanding, it is still so dependent (maybe only pdftex with its graphic libraries is a problem) It is only dependent because it was created on my (brand new) machine. If it was recompiled on an older machine, that executable would work fine on my machine as well. But my binaries will not run on older installations, and I am not going to *downgrade* my machine just so I can create more portable binaries. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux binaries
Taco Hoekwater wrote: Hans Hagen wrote: Duncan Hothersall wrote: I just foolishly downloaded the 2005-11-16 linuxtex.zip minimal linux distribution and copied it on top of my previous one, and I now discover that the binaries are linked to a more recent version of glibc than I have on my linux box. Eek. indeed annoying (and depressing); it also means that you cannot copy an old tree to a new linux installation (this is what i found out recently); on windows, one does not have this problem (since it carries previous versions of libraries); i don't know how sensitive macosx is for updates It is precisely the same situation as Win98 refusing to run WinXP binaries. (except it doesn't outright refuse that, it just makes them crash unexpectedly and unexplainably) sure, but at least i can run old texs during the time-span that xp is around (say a 5 year pseudo-platform stability compared to a 1-year for linux); it makes me worry a bit; maybe the tex code base is just messed up But I grant that it is annoying ;-) so we need to do something about it (some day -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] shading box many times
Vit Zyka wrote: Dear Metafun Wizards, I have noticed some strange behaviour with box shading. It works OK until some number of shadings. Please see example: http://typokvitek.com/tmp/shade-many.pdf Any idea for solving? Next not-minimal but small and illustrative example can help. works ok here; since it concerns independent mp runs, i cannot imagine what goes wrong; mayeb a bad random numer; does your log say something? Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] shading box many times
Hans Hagen wrote: Vit Zyka wrote: Dear Metafun Wizards, I have noticed some strange behaviour with box shading. It works OK until some number of shadings. Please see example: http://typokvitek.com/tmp/shade-many.pdf Any idea for solving? Next not-minimal but small and illustrative example can help. works ok here; since it concerns independent mp runs, i cannot imagine what goes wrong; mayeb a bad random numer; does your log say something? Hans Hmmm strange, the second similar result in last two days: wrong result also on wiki. My log says (whole log is attached) systems : randomizer starts with 981406338 Vit This is pdfeTeXk, Version 3.141592-1.21b-2.2 (Web2C 7.5.4) (format=cont-en 2005.11.24) 28 NOV 2005 13:56 entering extended mode \write18 enabled. %-line parsing enabled. (c:/TeXLive/texmf-experim2/web2c/natural.tcx) **cont-en shade-many.tex (./shade-many.tex ConTeXt ver: 2005.09.08 fmt: 2005.11.24 int: english mes: english language: language en is active protectionstate 0 system : cont-new loaded (c:/TeXLive/texmf-experim2/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex color : palette rollover is available ) system : cont-old loaded (c:/TeXLive/texmf-experim2/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (c:/TeXLive/texmf-experim2/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (c:/TeXLive/texmf-experim2/tex/context/user/cont-sys.tex (c:/TeXLive/texmf-experim2/tex/context/base/type-exa.tex) (c:/TeXLive/texmf-experim2/tex/context/base/type-syn.tex) (c:/TeXLive/texmf-experim2/tex/context/base/type-enc.tex) (c:/TeXLive/texmf-experim2/tex/context/base/type-dis.tex) (c:/TeXLive/texmf-experim2/tex/context/base/type-siz.tex) (c:/TeXLive/texmf-experim2/tex/context/base/type-map.tex) (c:/TeXLive/texmf-experim2/tex/context/base/type-spe.tex) (c:/TeXLive/texmf-experim2/tex/context/base/type-akb.tex)) bodyfont: 12pt rm is loaded language: patterns en-ec:ec-1-2:2 uk-ec:ec-2-2:2 de-texnansi:tex nansi-3-2:2 de-ec:ec-4-2:2 fr-texnansi:texnansi-5-2:2 fr-ec:ec-6-2:2 es-ec:ec-7-2:2 pt-texnansi:texnansi-8-2:2 pt-ec:ec-9-2:2 it-texnansi :texnansi-10-2:2 it-ec:ec-11-2:2 nl-texnansi:texnansi-12-2:2 nl-ec:ec- 13-2:2 cz-il2:il2-14-2:2 cz-ec:ec-15-2:2 sk-il2:il2-16-2:2 sk-ec:ec -17-2:2 pl-pl0:pl0-18-2:2 pl-ec:ec-19-2:2 pl-qx:qx-20-2:2 loaded specials: tex,postscript,rokicki loaded \openout2 = `shade-many.tui'. system : shade-many.top loaded (./shade-many.top specials: loading definition file tpd (c:/TeXLive/texmf-experim2/tex/context/base/spec-tpd.tex specials: loading definition file fdf (c:/TeXLive/texmf-experim2/tex/context/base/spec-fdf.tex) specials: fdf loaded ) specials: fdf,tpd loaded ) \openout0 = `shade-many-mpgraph.mp'. \openout0 = `mpgraph.mp'. (./shade-many.tuo) (./shade-many.tuo) (./shade-many.tuo) (./shade-many.tuo) (./shade-many.tuo) (./shade-many.tuo) (./shade-many.tuo) (./shade-many.tuo) (./shade-many.tuo) (./shade-many.tuo) (./shade-many.tuo) (./shade-many.tuo) (./shade-many.tuo) systems : begin file shade-many at line 56 \openout5 = `shade-many-mpgraph.mp'. systems : randomizer starts with 981406338 [MP to PDF] (./shade-many-mpgraph.4000) [MP to PDF] (./shade-many-mpgraph.3999) [MP to PDF] (./shade-many-mpgraph.3998) [MP to PDF] (./shade-many-mpgraph.3997) [MP to PDF] (./shade-many-mpgraph.3996) [MP to PDF] (./shade-many-mpgraph.3995) [MP to PDF] (./shade-many-mpgraph.3994) [MP to PDF] (./shade-many-mpgraph.3993) [MP to PDF] (./shade-many-mpgraph.3992) [MP to PDF] (./shade-many-mpgraph.3991) [MP to PDF] (./shade-many-mpgraph.3990) [MP to PDF] (./shade-many-mpgraph.3989) [MP to PDF] (./shade-many-mpgraph.3988) [MP to PDF] (./shade-many-mpgraph.3987) [MP to PDF] (./shade-many-mpgraph.3986) [MP to PDF] (./shade-many-mpgraph.3985) [MP to PDF] (./shade-many-mpgraph.3984) [MP to PDF] (./shade-many-mpgraph.3983) [MP to PDF] (./shade-many-mpgraph.3982) [MP to PDF] (./shade-many-mpgraph.3981) [MP to PDF] (./shade-many-mpgraph.3980) [MP to PDF] (./shade-many-mpgraph.3979) [MP to PDF] (./shade-many-mpgraph.3978) [MP to PDF] (./shade-many-mpgraph.3977) [MP to PDF] (./shade-many-mpgraph.3976) [MP to PDF] (./shade-many-mpgraph.3975) [MP to PDF] (./shade-many-mpgraph.3974) [MP to PDF] (./shade-many-mpgraph.3973) [MP to PDF] (./shade-many-mpgraph.3972) [MP to PDF] (./shade-many-mpgraph.3971) [MP to PDF] (./shade-many-mpgraph.3970) [MP to PDF] (./shade-many-mpgraph.3969) [MP to PDF] (./shade-many-mpgraph.3968) [MP to PDF] (./shade-many-mpgraph.3967) [MP to PDF] (./shade-many-mpgraph.3966) [MP to PDF] (./shade-many-mpgraph.3965) [MP to PDF] (./shade-many-mpgraph.3964) [MP to PDF] (./shade-many-mpgraph.3963) [MP to PDF] (./shade-many-mpgraph.3962) [MP to PDF] (./shade-many-mpgraph.3961) [MP to PDF]
Re: [NTG-context] shading box many times
Hans Hagen wrote: it's related to the fact that there can be 1000 specials only (this /1000 in mp-spec) Why? if you add: \def\MPrgbnumber#1{\expandafter\doMPrgbnumber#1.0\relax} \def\doMPrgbnumber#1.#2#3#4#5#6\relax{#2#3#4#5} \startMPinclusions _special_div_ := 1 ; \stopMPinclusions to the file, and change all 1000's in mp-spec.tex into _special_div_ it works ok; so, the question (for taco is): does mp have the right precission (it looks ok to me, unless we need to start calculating with it) I am not sure what you are doing, but ... in general the fractional part of a dimension in TeX, divided by an integer, maps to an identical fraction (of a bp) in metapost, since both use the same 16-bit (% 65536) calculus algorithm. Same quantity, different unit. Whether or not that makes dividing by 10.000 safe is not clear to me. I have to read up on what is going on first. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Drag and Drop and Authenticate on the Mac OS Tiger
fonts $ ls -l total 0 drwxr-xr-x8 root wheel 272 Nov 20 19:59 cm-super drwxrwxr-x 14 darnold wheel 476 Nov 27 19:27 iwona See how the result is owned by darnold:wheel? Is that gonna cause a problem? Should it be changed to root:wheel? Would it be OK to change to /usr/local/teTeX/share and then as root: chown -R root:wheel * That should cause no problems. Gerben, I think maybe all these font thingys I've been trying out to go in ~/Library/texmf. What say you? On my system it works this way (I keep all my additional fonts etc there). Greetlings, Hraban ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] beginners manual
Mari Voipio wrote: Hans Hagen wrote: I 'reorganized' (split) the beginners manual and put it in svn, so anyone who is willing to translate can check out a copy. OK, I'm either out of the loop (had off-the-Internet holiday) or just a dummy Windows user, but the above doesn't really parse here so cannot even get started... I've used CVS, but SVN is totally new for me (although I've seen it mentioned here once or twice) - so if anyone has recommendations for what client/program to use in Windows (2000/XP) and Mac OS 10.4, I'd be very interested. And a URL or other directions towards the SVN server (or whatever it is) would be appreciated; my work computer isn't very cooperative with online pdf pages, so I've got real problems with finding anything on Pragma website (*never* install newer Acrobat Reader on a Windows that already has an older full Acrobat...). for windows ... google for tortoise svn Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Installing YandY Lucida Bright fonts
Sytse Knypstra wrote: But unfortunately I don't have these files. How can I create them? Or should I take the identically named files from Hans's recent (bh-)lucida.zip file? these files come with the (formerly) yandy floppies/cd; just take them from the posted zip (i suppose that in a while tug will ship those tfm's) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Iwona font
Hans, I did, but I'll try again: sudo texhash And got this response: Password: texhash: Updating /usr/local/teTeX/share/texmf/ls-R... texhash: Updating /usr/local/teTeX/share/texmf.gwtex/ls-R... texhash: Updating /usr/local/teTeX/share/texmf.local/ls-R... texhash: Updating /usr/local/teTeX/share/texmf.tetex/ls-R... texhash: Updating /var/tmp/texfonts/ls-R... texhash: Done. Mktexlsr seems to do the same thing: 011-101:~/tmp davidarnold$ sudo mktexlsr 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. Then: 011-101:~/tmp davidarnold$ cat junk.tex \definetypeface[david][rm][sans][iwona][default][encoding=texnansi] %\definetypeface[david][mm][math][iwona][default] \setupbodyfont[david,ss,10pt] \starttext This should work. \stoptext And, no luck. Log file attached. junk.log Description: Binary data On Nov 28, 2005, at 2:38 AM, Hans Hagen wrote: David Arnold wrote: 1. Do I have to also do an updmap or enable or some such thing? no, context loads the files needed at runtime 2. I note that on my office system, /usr/local/teTeX is owned by root:wheel. But done in my fonts directory, some files are owned by darnolddarn:admind and some by root:admin. Could this be a problem? did you run a mktexlsr ? (otherwise tex cannot find the files) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] shading box many times
Taco Hoekwater wrote: Whether or not that makes dividing by 10.000 safe is not clear to me. I have to read up on what is going on first. for i=1 upto 1 : show i/1 ; endfor ; indicates that indeed the precision is ok i put a version for testing purposes at www.pragma-ade.com/temp/cont-tmf.zip \settrue \manyMPspecials will permit 10K specials (it also has GB's desparate prefix patch so he'd better test it -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re[2]: [NTG-context] No partial contents for parts after the first
Monday, November 28, 2005 Hans Hagen wrote: sure, but i need a small test file -) \setuphead[part][placehead=yes,resetnumber=no] \starttext \part{Part one} \placecontent \chapter{One} \section{One-one} \chapter{Two} \section{Two-one} \part{Part two} \placecontent \chapter{Three} \chapter{Four} \section{Four-one} \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Iwona font
David Arnold wrote: Hans, I did, but I'll try again: well, the log says: Warning: pdfetex (file texnansi-iwona.map): cannot open font map file and i took a look at the latest zip and there they use iwona-*.map names instead of *-iwona.map so ... another uncommunicated change in names i slowly come to the conclusion that (1) we should forget about being early adopters (or not adopt at all) (2) distributions will become more and more instable (3) if things go on this way, tex will not survive (4) it's time we start making our own repository and distribution i simply don't have the time to keep up with all those changes; it looks like the policy of today is wipe out and start new which also means never buy a font and don't install your own stuff etc (there is no way to determine such changes unless we load every map file available which is something i don't want to do at all because it's the cause of even more trouble) sudo texhash And got this response: Password: texhash: Updating /usr/local/teTeX/share/texmf/ls-R... texhash: Updating /usr/local/teTeX/share/texmf.gwtex/ls-R... texhash: Updating /usr/local/teTeX/share/texmf.local/ls-R... texhash: Updating /usr/local/teTeX/share/texmf.tetex/ls-R... texhash: Updating /var/tmp/texfonts/ls-R... texhash: Done. Mktexlsr seems to do the same thing: 011-101:~/tmp davidarnold$ sudo mktexlsr 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. Then: 011-101:~/tmp davidarnold$ cat junk.tex \definetypeface[david][rm][sans][iwona][default][encoding=texnansi] %\definetypeface[david][mm][math][iwona][default] \setupbodyfont[david,ss,10pt] \starttext This should work. \stoptext And, no luck. Log file attached. On Nov 28, 2005, at 2:38 AM, Hans Hagen wrote: David Arnold wrote: 1. Do I have to also do an updmap or enable or some such thing? no, context loads the files needed at runtime 2. I note that on my office system, /usr/local/teTeX is owned by root:wheel. But done in my fonts directory, some files are owned by darnolddarn:admind and some by root:admin. Could this be a problem? did you run a mktexlsr ? (otherwise tex cannot find the files) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ 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] Iwona font
David Arnold wrote: Hans, I did, but I'll try again: you can try this; the price is that you get messages about missing map files that you can ignore; i'm not in the mood for renaming and reorganizing my system(s) now Hans type-map.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] shading box many times
Vit Zyka wrote: Taco Hoekwater wrote: Hans Hagen wrote: Vit Zyka wrote: Dear Metafun Wizards, I have noticed some strange behaviour with box shading. It works OK until some number of shadings. Please see example: http://typokvitek.com/tmp/shade-many.pdf Any idea for solving? Next not-minimal but small and illustrative example can help. works ok here; since it concerns independent mp runs, i cannot imagine what goes wrong; mayeb a bad random numer; does your log say something? My results are the same as Vit's example: The last 9 items are not shaded but have 3 black sides and 1 white one (with \write18 disabled, using a single \jobname-mpgraph.mp) I don't know what is going, but at least I can reproduce the problem. I'm attaching an example wrong image. Taco A minimal version is here. It shows the randomization is not the reason. Shade disappears at 989th shade. Both examples work here (win xp). pdfeTeX, Version 3.141592-1.30.4-20050924-2.2 (Web2C 7.5.5) ConTeXt ver: 2005.11.16 fmt: 2005.11.17 int: english mes: german MetaPost, Version 0.901 (Web2c 7.5.3) Peter ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? Thanks. nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
Nikolai Weibull wrote: I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? It would be simplest (and definately justified) to ask this to the Gentoo maintainer, because (s)he has apparently succeeded in setting that up (Gentoo's trees seem to bear only a passing resemblance to teTeX and would be more accurately called Gentoo-TeX). My best guess: find the non-etc version of texmf.cnf (I'm fairly certain there is one), and attempt to pass the root of texmf tree that contains it as --datadir to the configure script. Good luck, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
Nikolai Weibull wrote: I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? well, since it's the gentoo people who use a structure different from tds, it's up to them to provide support for that; btw, this var/lib/texmf path looks unfamiliar to me (i wonder what libs tex ships with/provides -) the problem is that there are so many texmf paths nowadays (not texmf-xxx under one root, but multiple texmf (main) paths in different locations that the change for clashes is pretty big) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Iwona font
Hans, Frustrating and I agree. So, perhaps the way to go is through trouble shooting advice in the manuals. This advice should take the form of If you see this, then do this... The difficulty, at least for me, is the fact that I don't understand the sequence of engines that are brought to bear when compiling. When compiling stops with an error with this not found or that not found, I have no clue on how to fix it. On the other hand, you and other gurus see such a message and you seem to say oh, such and such is missing. Maybe a manual like mfonts.tex should spend a significant amount of space addressing these trouble shooting techniques. On Nov 28, 2005, at 7:55 AM, Hans Hagen wrote: David Arnold wrote: Hans, I did, but I'll try again: well, the log says: Warning: pdfetex (file texnansi-iwona.map): cannot open font map file and i took a look at the latest zip and there they use iwona-*.map names instead of *-iwona.map so ... another uncommunicated change in names i slowly come to the conclusion that (1) we should forget about being early adopters (or not adopt at all) (2) distributions will become more and more instable (3) if things go on this way, tex will not survive (4) it's time we start making our own repository and distribution i simply don't have the time to keep up with all those changes; it looks like the policy of today is wipe out and start new which also means never buy a font and don't install your own stuff etc (there is no way to determine such changes unless we load every map file available which is something i don't want to do at all because it's the cause of even more trouble) sudo texhash And got this response: Password: texhash: Updating /usr/local/teTeX/share/texmf/ls-R... texhash: Updating /usr/local/teTeX/share/texmf.gwtex/ls-R... texhash: Updating /usr/local/teTeX/share/texmf.local/ls-R... texhash: Updating /usr/local/teTeX/share/texmf.tetex/ls-R... texhash: Updating /var/tmp/texfonts/ls-R... texhash: Done. Mktexlsr seems to do the same thing: 011-101:~/tmp davidarnold$ sudo mktexlsr 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. Then: 011-101:~/tmp davidarnold$ cat junk.tex \definetypeface[david][rm][sans][iwona][default][encoding=texnansi] %\definetypeface[david][mm][math][iwona][default] \setupbodyfont[david,ss,10pt] \starttext This should work. \stoptext And, no luck. Log file attached. On Nov 28, 2005, at 2:38 AM, Hans Hagen wrote: David Arnold wrote: 1. Do I have to also do an updmap or enable or some such thing? no, context loads the files needed at runtime 2. I note that on my office system, /usr/local/teTeX is owned by root:wheel. But done in my fonts directory, some files are owned by darnolddarn:admind and some by root:admin. Could this be a problem? did you run a mktexlsr ? (otherwise tex cannot find the files) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ - --- ___ 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 David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
On 11/28/05, Nikolai Weibull [EMAIL PROTECTED] wrote: I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? The simple way, IMHO, is to build teTeX into /usr/local/teTeX. After finished all, you need put /usr/local/teTeX/bin at top of your $PATH and that should ok. PATH=/usr/local/teTeX/bin:/usr/bin:. By this way I have always teTeX/pdfetex/ConTeXt up-to-date on my FC4 box. Cheers, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] beginners manual
On 11/28/05, Mari Voipio [EMAIL PROTECTED] wrote: finding anything on Pragma website (*never* install newer Acrobat Reader on a Windows that already has an older full Acrobat...). \startOT At work, I have Acrobat 5.0 (full) + Acrobat Reader 7.x = work perfectly :-) \stopOT ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Iwona font
David Arnold wrote: Hans, Frustrating and I agree. So, perhaps the way to go is through trouble shooting advice in the manuals. This advice should take the form of If you see this, then do this... that won't help ... if filenames change and files come and go ... The difficulty, at least for me, is the fact that I don't understand the sequence of engines that are brought to bear when compiling. When compiling stops with an error with this not found or that not found, I have no clue on how to fix it. normally it's: - tex error message (tex stops): some tfm file missing - pdf file wrong: type 1 font file missing - unexpected characters: map file missing On the other hand, you and other gurus see such a message and you seem to say oh, such and such is missing. Maybe a manual like mfonts.tex should spend a significant amount of space addressing these trouble shooting techniques. ha, don't underestimate the time i sometimes spend sorting things out, or worse: to get thing sintegrated and find out later that thing shave changed Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
Taco Hoekwater wrote: Nikolai Weibull wrote: I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? It would be simplest (and definately justified) to ask this to the Gentoo maintainer, because (s)he has apparently succeeded in setting that up (Gentoo's trees seem to bear only a passing resemblance to teTeX and would be more accurately called Gentoo-TeX). Sadly, there's no separate pdfetex ebuild for Gentoo. If there was, I wouldn't have to mess with this :-). My best guess: find the non-etc version of texmf.cnf (I'm fairly certain there is one), and attempt to pass the root of texmf tree that contains it as --datadir to the configure script. Yes, there's one in /var/lib/texmf/web2c. The reason for this layout is to separate architecture-dependent files and non-architecture-dependent files. I can't say that the added complexity justify this separation. nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] blackboard bold and calligraphic
BLACKBOARD There is a problem with the Blackboard symbols, when used in regular and bold forms both. In the Lucida fontset there is a regular series in lbma (or hlcra), and a bold series in font lbmad (or hlcda). As I understand from the current code, switching from regular to bold should be accompanied by a switch from Blackboard to something like BlackboardBold in the command \bbd (from the sources I guess \bbd in font-ini.tex is the most basic macro here). The problem is that \bbd is defined as: \def\bbd {\mathortext{\fam\purefamily {blackboard}}{\symbolicfont {Blackboard}}} Thus the font is hardcoded to regular Blackboard. I have no idea what should be the best strategy to repair this. As for now, the most general mechanism for switching to other/bold math fontfamilies I could find is using \bfmath (and friends). The font needed is in one of the math font registers, of course, so something like {\ma CNRZ} instead of {\bbd CNRZ} will do. But this low level code makes the TeX text source explicitely dependent on the font; for example in the AMS-series these characters are found in msmb, usually ending up in \ma. Is there some generic solution here? CALLIGRAPHIC There is a similar problem with $\cal ...$ It is defined as \def\cal {\mathortext{\fam\purefamily{calligraphic}}{\symbolicfont {Calligraphic}}} I definded font Calligraphic but here ConTeXt does not seem to use it in math mode. The calligraphic symbols appear to be taken from the sy (symbol) math family instead of the Calligraphic font. It is a problem, because in the font I am using the calligraphic letters are in another font. Typesetting ${\cal XYZ}\hbox{\cal XYZ}$ gives the wrong characters from the symbol font in the first case, the correct letters in the second. How can this be solved? yours sincerely, dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] texteuro
I clearly have some misunderstanding about the typesetting of the euro sign. In an attempt to implement the MathTimes font and expert fontset, I came across a problem with typesetting the euro. I could not redefine the \texteuro. In \showcharacters it stays empty. Doing \definecharacter texteuro to_some_value in a typescript does not work (giving: Runaway argument?) The euro does appear when I define it explicitely (as coming from the marvosym font): \def\euro{\symbol[europe][EUR]} But then \texteuro is still unaffected and therefore doing \enableregime[mac] € (euro) does not work. Any pointer how to solve this? yours sincerely, dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] beginners manual
On 11/28/05, Hans Hagen [EMAIL PROTECTED] wrote: so for vietnamese you need another encoding. (i added language modes, so we can now do for vietnamese): \startmode[*vn] \enableregime[utf] \setupencoding[default=t5] \stopmode \startnotmode[atpragma] \usetypescriptfile[type-buy] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,10pt] \stopnotmode (in ma-cb-style.tex) can you test that? It does not work :( ... (/work/apps/teTeX/share/texmf-local/tex/context/base/type-buy.tex))kpathsea: Running mktextfm uplr8t mktextfm: Running mf-nowin -progname=mf \mode:=ljfive; mag:=1; nonstopmode; input uplr8t This is METAFONT, Version 2.71828 (Web2C 7.5.4) kpathsea: Running mktexmf uplr8t ! I can't find file `uplr8t'. * ...:=ljfive; mag:=1; nonstopmode; input uplr8t Please type another input file name ! Emergency stop. * ...:=ljfive; mag:=1; nonstopmode; input uplr8t Transcript written on mfput.log. grep: uplr8t.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfive; mag:=1; nonstopmode; input uplr8t' failed to make uplr8t.tfm. kpathsea: Appending font creation commands to missfont.log. ! Font \*palatino12ptrmtf*:=uplr8t at 12.0pt not loadable: Metric (TFM) file no t found. to be read again \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi inserted text ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... argument \getvalue [EMAIL PROTECTED]@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.73\setupbodyfont[palatino,12pt] ? x But when I try: \startnotmode[atpragma] \enableregime[utf] \setupencoding[default=t5] \usetypescript[berry][\defaultencoding] %\usetypescriptfile[type-buy] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,10pt] \stopnotmode It's OK. Thanks, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
I have once tried to set up TeX on gentoo, and found this to be the most complicated and least user-friendly distribution I have ever seen. There's a bunch of texmf-trees in all kinds of bizarre locations, and a symlink farm in /etc like you wouldn't believe, and there's not a shred of documentation to be seen anywhere. So they make everything as complex as possible, but the TeX binaries are simply dumped into /usr/bin, so the only way to update is via the emerge system. But enough of this rant: be careful to figure out what cnf file is a symlink and which one is real. They have an entire web2c tree in /etc/conf.d/texmf, if memory serves right, and the cnf files are regenerated from texmf.d/00texmf.cnf or somesuch, so this is the file you need to modify. But in the end, you may find it's not worth the trouble: just unmerge tetex and install a vanilla teTeX system. Best Thomas On Nov 28, 2005, at 9:05 PM, Nikolai Weibull wrote: Taco Hoekwater wrote: Nikolai Weibull wrote: I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? It would be simplest (and definately justified) to ask this to the Gentoo maintainer, because (s)he has apparently succeeded in setting that up (Gentoo's trees seem to bear only a passing resemblance to teTeX and would be more accurately called Gentoo-TeX). Sadly, there's no separate pdfetex ebuild for Gentoo. If there was, I wouldn't have to mess with this :-). My best guess: find the non-etc version of texmf.cnf (I'm fairly certain there is one), and attempt to pass the root of texmf tree that contains it as --datadir to the configure script. Yes, there's one in /var/lib/texmf/web2c. The reason for this layout is to separate architecture-dependent files and non-architecture- dependent files. I can't say that the added complexity justify this separation. nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ 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] indentation + YandY Lucida on TeXlive2005+debian
First of all, thanks for Lucida tips... It work now with my debian install of texlive 2005. I'm working now on the layout and structure of my phd thesis. Due to the fact that my thesis is in french I need to setup indentation of the first paragraph and I've got a problem with \setupindenting \indenting I have followed the structure given in cont-eni.pdf : __phd.tex_begin %% Set output to pdf \setupoutput[pdftex] %% Activate txt in METAPOST \useMPlibrary[txt] %% Activate colors \setupcolors[state=start] % fr settings \setuppapersize[A4][A4] \enableregime[il9] \useencoding[ffr] \mainlanguage[fr] % Fonts \usetypescriptfile[type-buy] \loadmapfile[ec-bh-lucida.map] \usetypescript[lucida][ec] \setupbodyfont[lucida] \startproject phd \environment phdenv \product phdprod \stopproject __phd.tex_end __phdend.tex_begin \startenvironment phdenv \setupwhitespace[big] \setupindenting[first,medium] \indenting[first,always] \setupfootertexts[part][chapter] \stopenvironment __phdend.tex_end __phdprod.tex_begin \startproduct phdprod \project phd \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \component first \component second \stopbodymatter \startbackmatter \completecontent \stopbackmatter \stopproduct __phdprod.tex_end __first.tex_begin \startcomponent first \part{One} \completecontent \chapter{First} \section{Section1} This is a cut-down version of the below Unicode Symbols package, designed to be simple and usable with any pdfTeX-centric \ConTeXt\ installation. Little installation, minimal usage effort, and you gain over a hundred symbols for use in ConTeXt. The PDF file documents how to use the PDF native ZapfDingbats font along with a catalogue of the available symbols, and the zip file includes all that's necessary for an installation, including a modified encoding, a tfm file, and a ConTeXt support file. No Unicode knowledge necessary. This is a cut-down version of the below Unicode Symbols package, designed to be simple and usable with any pdfTeX-centric \ConTeXt\ installation. Little installation, minimal usage effort, and you gain over a hundred symbols for use in ConTeXt. The PDF file documents how to use the PDF native ZapfDingbats font along with a catalogue of the available symbols, and the zip file includes all that's necessary for an installation, including a modified encoding, a tfm file, and a ConTeXt support file. No Unicode knowledge necessary. \chapter{Second} Another test text. \completeindex \stopcomponent __first.tex_end As you can see I use \setupindenting[first,medium] and \indenting[first,always] in my phdenv environment but the first paragraph in my output file isn't indented. I have tried local invocation of \setupindenting or \indenting as \par but nothing works... What's wrong ? I suspect that I need to improve my ConTeXt practice... I have got my ConTeXt working with YY Lucida on GNU Linux Debian + TeXlive2005, I can send my installation trace if it can help for contextgarden wiki... Best regards, ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] I can't find the format file `pdfetex.fmt'!
Hello, I've installed stand-alone CONTEXT editing environment (windows) from Pragma website. But it reports problems, when I buil pdf's: This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5) \write18 enabled. I can't find the format file `pdfetex.fmt'! pdfetex: unrecognized option `--alias=context' pdfetex: unrecognized option `--undump=cont-en' TeXExec | runtime: 10.047 And there is no pdfetext.fmt in the package in fact. How could I fix this problem? regards, ktt __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] I can't find the format file `pdfetex.fmt'!
ktt wrote: Hello, I've installed stand-alone CONTEXT editing environment (windows) from Pragma website. But it reports problems, when I buil pdf's: This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5) \write18 enabled. I can't find the format file `pdfetex.fmt'! pdfetex: unrecognized option `--alias=context' pdfetex: unrecognized option `--undump=cont-en' TeXExec | runtime: 10.047 And there is no pdfetext.fmt in the package in fact. How could I fix this problem? it looks like texexec detects miktex ... do you have miktex installed? Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] indentation + YandY Lucida on TeXlive2005+debian
Renaud AUBIN wrote: First of all, thanks for Lucida tips... It work now with my debian install of texlive 2005. I'm working now on the layout and structure of my phd thesis. Due to the fact that my thesis is in french I need to setup indentation of the first paragraph and I've got a problem with \setupindenting \indenting I it's now one command: \setupindenting[medium,yes] (the split became too fuzy when we added fancy things like first, next, odd, even, even) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] shading box many times
Hans Hagen wrote: Taco Hoekwater wrote: Hans Hagen wrote: Vit Zyka wrote: Dear Metafun Wizards, I have noticed some strange behaviour with box shading. It works OK until some number of shadings. Please see example: http://typokvitek.com/tmp/shade-many.pdf Any idea for solving? Next not-minimal but small and illustrative example can help. works ok here; since it concerns independent mp runs, i cannot imagine what goes wrong; mayeb a bad random numer; does your log say something? My results are the same as Vit's example: The last 9 items are not shaded but have 3 black sides and 1 white one (with \write18 disabled, using a single \jobname-mpgraph.mp) I don't know what is going, but at least I can reproduce the problem. it's related to the fact that there can be 1000 specials only (this /1000 in mp-spec) if you add: \def\MPrgbnumber#1{\expandafter\doMPrgbnumber#1.0\relax} \def\doMPrgbnumber#1.#2#3#4#5#6\relax{#2#3#4#5} \startMPinclusions _special_div_ := 1 ; \stopMPinclusions to the file, and change all 1000's in mp-spec.tex into _special_div_ it works ok; so, the question (for taco is): does mp have the right Really? Hmmm, not for me. I have got the graphics with flat color per picture; every picture in the sequence has lighter and lighter color (starting from black). (After performing your instructions in the mp-spec.mp and refreshing metafun.mem.) -- \def\MPrgbnumber#1{\expandafter\doMPrgbnumber#1.0\relax} \def\doMPrgbnumber#1.#2#3#4#5#6\relax{#2#3#4#5} \startMPinclusions _special_div_ := 1 ; \stopMPinclusions \startuseMPgraphic{F} def log(expr Xstart, Xstop)= begingroup save x, y, D, w, P; pair D; path P; w := 2.5pt; w := w/2; D := unitvector(Xstop-Xstart) rotated 90; z1 = Xstart shifted (w*D); z2 = Xstop shifted (w*D); z3 = Xstop shifted (-w*D); z4 = Xstart shifted (-w*D); P := z1--z2{z2-z1}..{z4-z3}z3--z4{z4-z3}..{z2-z1}cycle; P endgroup enddef; path P; x11 = 0; x12 = \overlaywidth; y11 = y12 = \overlayheight; P:= log(z11,z12); linear_shade(P,8,(1,1,1),(0,0,0)); draw P; \stopuseMPgraphic \defineoverlay[F][\uniqueMPgraphic{F}] \defineframed[F][offset=2mm,strut=yes,background=F,frame=off] \starttext \noindent\dorecurse{1000}{\F{\recurselevel} } \stoptext -- precission (it looks ok to me, unless we need to start calculating with it) so, it may be a dangerous patch. I'll adapt spec-mp to this new constant but for the moment keep the 1 in my cont-loc file Hans ___ 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
[NTG-context] ConTeXt, XML en-dash
Hello, I just started to experiment with typesetting XML using ConTeXt ... I ran into this problem which I'm unable to solve: 1) I added the following rule to my xml map file: \defineXMLentity[en]-- 2) yet calling en; in my document results in the TeX equivalent of - rather than -- being typeset. Any pointers? Thanks for your help, Joh -- +--+ | Johannes Graumann, Dipl. Biol. | | | | Graduate StudentTel.: ++1 (626) 395 6602| | Deshaies LabFax.: ++1 (626) 395 5739| | Department of Biology | | CALTECH, M/C 156-29 | | 1200 E. California Blvd.| | Pasadena, CA 91125 | | USA | +--+ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] ConTeXt, XML, multiple attributes evaluation
Hello again, Another one: I'm trying to expand \defineXMLenvironment [list]% {% \expanded{% \startitemize% [% \XMLifequalelse{list}{packed}{yes}{packed}{unpacked}% ]% }% }% {\stopitemize} which can deal with things like list packed=yes item /item /list To something able to deal with multiple attributes (a setup statement for now): list packed=yes setup=n item /item /list I have tryed multiple incarnations of \defineXMLenvironment [list]% {% \expanded{% \startitemize% [% \XMLifequalelse{list}{setup}{n}{n}{},% \XMLifequalelse{list}{packed}{yes}{packed}{unpacked}% ]% }% }% {\stopitemize} but this doesn't work ... Can anybody give me any pointers here? Thanks for time and help, Joh -- +--+ | Johannes Graumann, Dipl. Biol. | | | | Graduate StudentTel.: ++1 (626) 395 6602| | Deshaies LabFax.: ++1 (626) 395 5739| | Department of Biology | | CALTECH, M/C 156-29 | | 1200 E. California Blvd.| | Pasadena, CA 91125 | | USA | +--+ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] I can't find the format file `pdfetex.fmt'!
Yes, that's true. --- Hans Hagen [EMAIL PROTECTED] wrote: ktt wrote: Hello, I've installed stand-alone CONTEXT editing environment (windows) from Pragma website. But it reports problems, when I buil pdf's: This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5) \write18 enabled. I can't find the format file `pdfetex.fmt'! pdfetex: unrecognized option `--alias=context' pdfetex: unrecognized option `--undump=cont-en' TeXExec | runtime: 10.047 And there is no pdfetext.fmt in the package in fact. How could I fix this problem? it looks like texexec detects miktex ... do you have miktex installed? Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, XML en-dash
Johannes Graumann wrote: Hello, I just started to experiment with typesetting XML using ConTeXt ... I ran into this problem which I'm unable to solve: 1) I added the following rule to my xml map file: \defineXMLentity[en]-- That should have been: \defineXMLentity[en]{--} Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, XML, multiple attributes evaluation
Hello Johannes, I consider your first \XMLifequalelse command a bit strange. This command is intented to be used if you want to convert the attribute values into something else (e.g. "yes" into "packed"). If you need the unmodified parameter value, simply use \XMLpar. So e.g.: \startitemize[ \XMLpar{list}{setup}{}, \XMLifequalelse{list}{packed}{yes}{packed}{unpacked} ] Of course "setup" should be a required attribute of list (in your DTD), otherwise it would lead to something like \startitemize[,packed] which obviously wouldn't work at all. If it's not the case, I'd use \doifXMLparelse: \doifXMLparelse{list}{setup}{% \startitemize[ \XMLpar{list}{setup}{}, \XMLifequalelse{list}{packed}{yes}{packed}{unpacked} ]% }{% \startitemize[1, \XMLifequalelse{list}{packed}{yes}{packed}{unpacked} ] } -Richard From: Johannes Graumann [mailto:[EMAIL PROTECTED]To: ntg-context@ntg.nlSent: Tue, 29 Nov 2005 05:30:25 +0100Subject: [NTG-context] ConTeXt, XML, multiple attributes evaluationHello again,Another one:I'm trying to expand \defineXMLenvironment [list]% {% \expanded{% \startitemize%[% \XMLifequalelse{list}{packed}{yes}{packed}{unpacked}%]% }% }% {\stopitemize}which can deal with things likelist packed="yes" item /item/listTo something able to deal with multiple attributes (a "setup" statement fornow):list packed="yes" setup="n" item /item/listI have tryed multiple incarnations of\defineXMLenvironment [list]% {% \expanded{% \startitemize%[% \XMLifequalelse{list}{setup}{n}{n}{},% \XMLifequalelse{list}{packed}{yes}{packed}{unpacked}%]% }% }% {\stopitemize}but this doesn't work ...Can anybody give me any pointers here?Thanks for time and help,Joh-- +--+| Johannes Graumann, Dipl. Biol. || || Graduate StudentTel.: ++1 (626) 395 6602|| Deshaies LabFax.: ++1 (626) 395 5739|| Department of Biology || CALTECH, M/C 156-29 || 1200 E. California Blvd.|| Pasadena, CA 91125 || USA |+--+___ntg-context mailing listntg-context@ntg.nlhttp://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, XML, multiple attributes evaluation
Johannes Graumann wrote: but this doesn't work ... But it worked fine for me!? Anyway, it is probably a better idea to do it like this: \defineXMLenvironment [list]% {% \let\listoptions\empty \XMLifequalelse{list}{setup}{n} {\appendtocommalist{n}\listoptions} {}% \XMLifequalelse{list}{packed}{yes} {\appendtocommalist{packed}\listoptions} {\appendtocommalist{unpacked}\listoptions}% \expanded{% \startitemize[\listoptions]% }% }% {\stopitemize} Because that way, the xml attributes can be optional. If it still doesn't work, please explain what goes wrong. Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context