Re: [NTG-context] Typing in Polytonic Greek

2004-08-20 Thread Steffen Wolfrum
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:

coding[default=8r]

\mainlanguage[de]

\setupbodyfont[AthenianGreek,20pt]

\enableregime[utf8]

\starttext

± [greek text in UTF-8 characters]

\stoptext


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


Re: [NTG-context] Re: How to use PostScript font

2004-08-20 Thread Hans Hagen
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] a footnote bug?

2004-08-20 Thread Hans Hagen
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


[NTG-context] Re: How to use PostScript font

2004-08-20 Thread Patrick Gundlach

[...]

 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] a footnote bug?

2004-08-20 Thread Steffen Wolfrum
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


Re: [NTG-context] Ancient Greek

2004-08-20 Thread Idris Samawi Hamid
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

2004-08-20 Thread Hans Hagen
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


[NTG-context] Re: How to use PostScript font

2004-08-20 Thread Patrick Gundlach
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

2004-08-20 Thread Hans Hagen
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