Re: [NTG-context] Ancient Greek
Idris Samawi Hamid <[EMAIL PROTECTED]> wrote: > On Wed, 18 Aug 2004 22:57:07 +0200, Steffen Wolfrum > <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I am about to edit a book with quotes in ancient (polyphonic) greek. > > How can this be done in ConTeXt? > > Well, you can always use aleph; see typ-omg.tex and m-gamma.tex for > details. I can also send you a sample file if you like. But if you are not > adventurous;-) I suspect there is a solution that will work for pdfetex. > > Best > Idris Well, I'd love to use aleph - no doubt! But, as I work with MacOS(X) I fear I have to find a solution that will work for pdfetex. Could someone help me? Steffen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
Hello Hans, >Hmm, shouldn't \usetypescript[adobekb][..] be enough to load the file? >>I have just deleted my tetex 2 installation, so I can't verify. type-akb.tex >>didn't get loaded with fedora linux that the person (whatever his >>name is) used so it is either not available or one has to use the >>right magic to load. >> > just to make sure: type-akb is on your system isn't it? (or did i mess > up the distribution ?) Hans Sure! We have a problem with something archaeological: ConTeXt ver: 2003.1.31 fmt: 2004.5.28 int: english mes: english So "[EMAIL PROTECTED]" should report again. P. -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
Patrick Gundlach wrote: Hello Hans, [...] but type-akb.tex should be there ... \usetypescriptfile[type-akb] Hmm, shouldn't \usetypescript[adobekb][..] be enough to load the file? I have just deleted my tetex 2 installation, so I can't verify. type-akb.tex didn't get loaded with fedora linux that the person (whatever his name is) used so it is either not available or one has to use the right magic to load. just to make sure: type-akb is on your system isn't it? (or did i mess up the distribution ?) 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
Hello Hans, [...] > but type-akb.tex should be there ... > > \usetypescriptfile[type-akb] Hmm, shouldn't \usetypescript[adobekb][..] be enough to load the file? I have just deleted my tetex 2 installation, so I can't verify. type-akb.tex didn't get loaded with fedora linux that the person (whatever his name is) used so it is either not available or one has to use the right magic to load. Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
Patrick Gundlach wrote: Yes, but you stated that "different metrics, different subpaths, urw instances either or not present". Different metrics? I can't see any differences in metrics between differnent distributions on those fonts! Can you? They come from one source, i.e psnfss. Different subpaths? Perhaps, but what is the problem? Kpathsea is taking care of this. URW or not to URW? Good question, lets get started on this subject :-)) If we accept that there is such thing as "psnfss", which is preinstalled on almost all TeX systems out there, we can let the user decide: use "psnfss-metrics" or the ones generated by $TOOL. And I can't see any problems with the spacing with those fonts being too LaTeX related. We should be happy about those fonts, since we get good fonts (in terms of encodings/spacing/finetuning) for free from the LaTeX side. sure, and anyone is free to use what he/she wants; but ... my main problem is that i want to *know* what i use; recently i generated a set of metrics files using afm2pl which defaults to the ps* defaults and since a different spacing and emwidth metrics are used i got strange incompatible typeset results; (afm2pl now has a afm2tfm compatibility switch); there have been many discussions on how well for instance adobe metrics (the standard 35, present in printers, but they may differ over time and per platform) match urw's (on tex live, used when embedded) [nelson beebe has done quite some research on that]. One problem with all those fonts is that they have characteristics that are not reflected in the filename (take for instance the slant), emwidth, spacing, etc. The later may differ from the ones specified in the afm file. (actually, setting those probably makes more sense in tex itself, font dimens and such; if i have time i'll look into that: psfnss files with overloaded font dimens -) Imagine what would happen if protruding and hz was defined in fonts -) say that i want to mix polish and german (using qx and ec encoding) in one doc, i want similar spacing etc, don't i? concerning the akb file, that's more related to wanting to use adobe related metrics You are right that there are many other things being to LaTeX related. The situation is getting much better. A few years ago the distributions only knew about LaTeX. I had major problems with old tetex (memory problems for example), now most things work out of the box. let's hope it stays that way; e.g. context uses one format name for all engines, and until now could distinguish on suffix (fmt,efmt,ofmt) but web2c/tds now uses one suffix (fmt) and $engine subpath; but not all distributions will follow that spec, so context users who use pdfetex alongside aleph are worse off (well, texexec can be configured to use the web2c/$engine subpath: --engine of in texexec.ini) another everlasting issue is 8 bit in - 8 bit out (which is now solved by context always loading natural.tcx) that only leaves fonts, patterns, encoding vectors (yes they sometimes change, and there can be duplicates in the tree -) encoding, there are in most cases no tfm files etc. They are mentioned here and there, but often not on the system. It took me a while to find out that -because of that- i could not use precoockes metrics at all -) Who needs texnansi anyway? (OK, perhaps there are few who really need texnansi :-), but we might aks Mr. psnfss to generate texnansi metrics as well). we've always used them, probably before ec was around -) actually, the nice thing about afm2pl is that it creates texnansi metric files avoiding virtual fonts. 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Ancient Greek
On Wed, 18 Aug 2004 22:57:07 +0200, Steffen Wolfrum <[EMAIL PROTECTED]> wrote: Hi, I am about to edit a book with quotes in ancient (polyphonic) greek. How can this be done in ConTeXt? Well, you can always use aleph; see typ-omg.tex and m-gamma.tex for details. I can also send you a sample file if you like. But if you are not adventurous;-) I suspect there is a solution that will work for pdfetex. Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
Patrick Gundlach wrote: [...] The following works at live.contextgarden.net, but not on my Fedora Core 2 installation. Oh damned. The adobekb file does not exist on your system and ConTeXt doesn't feel like giving an error message :-( install http://levana.de/context/font/adobekb.tex into your homedir/TeX system. but type-akb.tex should be there ... \usetypescriptfile[type-akb] 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] a footnote bug?
Hi Hans, I'm very sorry - maybe i'm blind today - but I can't see any change. What does "headcommand=\llap" actually mean? I tried with various parameter, but again no effect. Could you give a small example please? Steffen > >>>Does this distance cannot be adjusted? > >>> > >>> > >>> > >>> > >>can you make me a small demo file? > >> > >>Hans > >> > >> > > > > > > > > > >Yes, sure. > >I just made a frame around the footnote number so you'll can clearly see the gap: > > > >\def\myFNnumber#1{\inframed[width=\leftmarginwidth,offset=.0em,frame=on,align=left]{#1}} > >\setupfootnotedefinition[command=\myFNnumber,location=inleft] > >\setuppagenumbering [alternative=doublesided,location={header,right}] > >\showframe \showgrid > > > >\starttext > >test\footnote{first note} > >\page testest\footnote{second note} > >\stoptext > > > > > this is not so much a bug but a missing feature -) > > in cont-new.tex, add: > > \startconstantsdutch english >germanczech >italian romanian > > kopcommando: kopcommando headcommand >headcommand headcommand >headcommand headcommand > > \stopconstants > > \unprotect > \setvalue{@@definitie\v!commando}#1{\do@@definitie{\executeifdefined{\??dd#1\c!kopcommando}\framed}{#1}} > \protect > > Now you can say: > > \setupfootnotedefinition[location=command,headcommand=\llap] > > and go wild with putting footnote markers anywhere > > Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
Hello Hans, >>And the argument about being too LaTeXy: the encoding of these files >>is not LaTeX specific (besides from the fact that LaTeX can only >>handle T1/OT1 encoding right), so what is not generic about them? >> > if you run afm2tfm on some files you get different results that the > handcrafted' ones that come with distributions; (afm2pl for instance > defaults to different metrics [esp spacing] than afm2tfm); many of > these things are not really documented and done by people who use > latex and know about latex internals (for instance how they deal with > spacing); concerning generic ... Yes, but you stated that "different metrics, different subpaths, urw instances either or not present". Different metrics? I can't see any differences in metrics between differnent distributions on those fonts! Can you? They come from one source, i.e psnfss. Different subpaths? Perhaps, but what is the problem? Kpathsea is taking care of this. URW or not to URW? Good question, lets get started on this subject :-)) If we accept that there is such thing as "psnfss", which is preinstalled on almost all TeX systems out there, we can let the user decide: use "psnfss-metrics" or the ones generated by $TOOL. And I can't see any problems with the spacing with those fonts being too LaTeX related. We should be happy about those fonts, since we get good fonts (in terms of encodings/spacing/finetuning) for free from the LaTeX side. You are right that there are many other things being to LaTeX related. The situation is getting much better. A few years ago the distributions only knew about LaTeX. I had major problems with old tetex (memory problems for example), now most things work out of the box. [...] > latex commands in entries) concerning fonts: if you want texnansi > encoding, there are in most cases no tfm files etc. They are > mentioned here and there, but often not on the system. It took me a > while to find out that -because of that- i could not use precoockes > metrics at all -) Who needs texnansi anyway? (OK, perhaps there are few who really need texnansi :-), but we might aks Mr. psnfss to generate texnansi metrics as well). [...] Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
[...] > The following works at live.contextgarden.net, but not on my Fedora > Core 2 installation. Oh damned. The adobekb file does not exist on your system and ConTeXt doesn't feel like giving an error message :-( install http://levana.de/context/font/adobekb.tex into your homedir/TeX system. Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
- Original Message - From: Patrick Gundlach <[EMAIL PROTECTED]> Date: Thursday, August 19, 2004 6:01 pm Subject: [NTG-context] Re: How to use PostScript font > > Please post an error message on the things that we have written. (But > I doubt you will get any.) > The following works at live.contextgarden.net, but not on my Fedora Core 2 installation. \usetypescript[adobekb][ec] \setupbodyfont[ppl,11pt] \starttext The quick brown fox jumps over the lazy dog. \stoptext Please advise on how to fix this issue. [EMAIL PROTECTED] PalatinoTest]$ texexec --pdf test TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002 executable : pdfetex format : cont-en inputfile : test output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) entering extended mode (./test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2003.1.31 fmt: 2004.5.28 int: english mes: english language : language en is active system : cont-new loaded (/usr/share/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! system (E-TEX) : [line 726] \ifcsname ) system : cont-old loaded (/usr/share/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (/usr/share/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded system : test.top loaded (./test.top specials : loading definition file tpd (/usr/share/texmf/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/share/texmf/tex/context/base/spec-fdf.tex system (E-TEX) : [line 1815] \ifcsname ) specials : fdf loaded ) specials : fdf,tpd loaded ) pdftex : needs map file: original-context-symbol.map pdftex : needs map file: pl0-ams-cmr.map pdftex : needs map file: original-vogel-symbol.map typescript : [adobekb] [ec] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) (/usr/share/texmf/tex/context/base/type-pre.tex typescript : [serif] [palatino] [name,ec] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) typescript : [serif] [default] [size] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) typescript : [map] [ec] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex pdftex : needs map file: original-ams-cmr.map pdftex : needs map file: original-ams-euler.map pdftex : needs map file: ec-adobe-utopia.map pdftex : needs map file: ec-bit-charter.map pdftex : needs map file: ec-public-antp.map pdftex : needs map file: ec-public-antt.map pdftex : needs map file: ec-urw-bookman.map pdftex : needs map file: ec-urw-courier.map pdftex : needs map file: ec-urw-helvetica.map pdftex : needs map file: ec-urw-palatino.map pdftex : needs map file: ec-urw-times.map pdftex : needs map file: ec-urw-zapfchan.map pdftex : needs map file: original-youngryu-px.map pdftex : needs map file: original-youngryu-tx.map pdftex : needs map file: ec-bh-lucida.map ) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex))kpathsea: Running mktextfm ec-uplr8a /usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation c- for ec-uplr8a. /usr/share/texmf/web2c/mktexnam: Need to update /usr/share/texmf/fontname/special.map? mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ec-uplr8a This is METAFONT, Version 2.7182 (Web2C 7.4.5) kpathsea: Running mktexmf ec-uplr8a ! I can't find file `ec-uplr8a'. <*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a Please type another input file name ! Emergency stop. <*> ...jfour; mag:=1; nonstopm
Re: [NTG-context] a footnote bug?
Steffen Wolfrum wrote: Hans Hagen <[EMAIL PROTECTED]> wrote: Steffen Wolfrum wrote: Hi, when setting the \setupfootnotedefinition with location=margin, or location=inleft there is always a little distance between footnote number and footnote text. Neither width nor distance can affect it. Does this distance cannot be adjusted? can you make me a small demo file? Hans Yes, sure. I just made a frame around the footnote number so you'll can clearly see the gap: \def\myFNnumber#1{\inframed[width=\leftmarginwidth,offset=.0em,frame=on,align=left]{#1}} \setupfootnotedefinition[command=\myFNnumber,location=inleft] \setuppagenumbering [alternative=doublesided,location={header,right}] \showframe \showgrid \starttext test\footnote{first note} \page testest\footnote{second note} \stoptext this is not so much a bug but a missing feature -) in cont-new.tex, add: \startconstantsdutch english germanczech italian romanian kopcommando: kopcommando headcommand headcommand headcommand headcommand headcommand \stopconstants \unprotect \setvalue{@@definitie\v!commando}#1{\do@@definitie{\executeifdefined{\??dd#1\c!kopcommando}\framed}{#1}} \protect Now you can say: \setupfootnotedefinition[location=command,headcommand=\llap] and go wild with putting footnote markers anywhere 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Typing in Polytonic Greek
Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: > Am 19.08.2004 um 23:39 schrieb Steffen Wolfrum: > > What should I write in my tex document so that ConTeXt understands the > > UTF-8 glyphs > > that I am typing with Polytonic Greek? > > Did you try > \enableregime[utf8] > > > > Grüßlis vom Hraban! Sure, but it doesn't have any effect on my file: c o d i n g [ d e f a u l t = 8 r ] \ m a i n l a n g u a g e [ d e ] \ s e t u p b o d y f o n t [ A t h e n i a n G r e e k , 2 0 p t ] \ e n a b l e r e g i m e [ u t f 8 ] \ s t a r t t e x t ± [greek text in UTF-8 characters] \ s t o p t e x t Maybe Hans can help? Steffen P.S. The font used here is "athenian" from http://ist-socrates.berkeley.edu/~pinax/greekkeys/Atheniandownload.html ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] a footnote bug?
Hi, when setting the \setupfootnotedefinition with location=margin, or location=inleft there is always a little distance between footnote number and footnote text. Neither width nor distance can affect it. Does this distance cannot be adjusted? Thank you, Steffen Wolfrum ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
Patrick Gundlach wrote: And the argument about being too LaTeXy: the encoding of these files is not LaTeX specific (besides from the fact that LaTeX can only handle T1/OT1 encoding right), so what is not generic about them? if you run afm2tfm on some files you get different results that the 'handcrafted' ones that come with distributions; (afm2pl for instance defaults to different metrics [esp spacing] than afm2tfm); many of these things are not really documented and done by people who use latex and know about latex internals (for instance how they deal with spacing); concerning generic ... when discussing the fact that some files were not present or zipped with some people at a tex conference (in de) one of contributers remarked "why should they be there, since everyone uses latex and the stuff i make and no one is supposed to generate metrics") similar things are true for patterns: they are supposed to be generic, but for instance the czech patterns (on tl2003) simply quit when not used in latex. Other changes take place as well, like changes in names of files, and if someone changes a name and then patches some latex source file, users won't notice; when such things are not communicated, 'generic' users end up with a non working system; i think that the amount of real generic stuff out there is much smaller than people think (for instance bibtex files that have latex commands in entries) concerning fonts: if you want texnansi encoding, there are in most cases no tfm files etc. They are mentioned here and there, but often not on the system. It took me a while to find out that -because of that- i could not use precoockes metrics at all -) 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Typing in Polytonic Greek
Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: > Am 19.08.2004 um 23:39 schrieb Steffen Wolfrum: > > What should I write in my tex document so that ConTeXt understands the > > UTF-8 glyphs > > that I am typing with Polytonic Greek? > > Did you try > \enableregime[utf8] > > > > Grüßlis vom Hraban! Sure, but it doesn't have any effect on my file: c o d i n g [ d e f a u l t = 8 r ] \ m a i n l a n g u a g e [ d e ] \ s e t u p b o d y f o n t [ A t h e n i a n G r e e k , 2 0 p t ] \ e n a b l e r e g i m e [ u t f 8 ] \ s t a r t t e x t ± [greek text in UTF-8 characters] \ s t o p t e x t Maybe Hans can help? Steffen P.S. The font used here is "athenian" from http://ist-socrates.berkeley.edu/~pinax/greekkeys/Atheniandownload.html ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context