[NTG-context] et~al. in m-bib

2004-08-19 Thread Peter Mnster
Dear Taco,
a kind of feature request for the next release:
et al. is not language dependant, but nevertheless it would be nice (at
least for the thesis of my brother), if this string wouldn't be hard-coded
(just a macro as \bibetalname or similar).
Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Is there a bug during pagination of external figures?

2004-08-19 Thread Hans Hagen
Patrick Gundlach wrote:
\setupheadertexts[margin][{\tfc bu}][\ifnum\pageno = 1\NamedExternalLink{../../../../bu/8/8_3_refkom/1/inhalt.pdf}{last}{\symbol[PfeilNachLinks]{} §}\else\PrevOrNextPage{/PrevPage}{\symbol[PfeilNachLinks]{} §}\fi\hskip.5em\ifnum\pageno = \lastpage{§ \symbol[PfeilNachRechts]}\else\PrevOrNextPage{/NextPage}{§ \symbol[PfeilNachRechts]}\fi]
 

why not use 

\goto[PreviousPage]{\symbol[...]}
\goto[NextPage]{\symbol...]}
or 

\goto [forward]{\symbol[...]
\goto [backward]{...}
etc 

(firstpage, lastpage, nextpage, previouspage, etc) 

Hans 

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Using ConTeXt through MikTeX

2004-08-19 Thread Hans Hagen
Shailesh Ashok Shirali wrote:
Hello, friends,
I posted this message some days back to the MikTeX mailing list, but 
would like to repeat it here.

I use MikTeX with the text editor TechnicCenter. I generally work with 
PDFLaTeX.

I have been reading about ConTeXt, which among other things enables 
the use of Metapost from within the package. (I wish to use Metapost 
as I need to draw lots of diagrams for Euclidean geometry.) It seems 
that one can configure MikTeX for ConTeXt.

Could any user of ConTeXt suggest how to do the configuring? I am not 
able to act on the tips given. I have located in MikTeX Options the 
option cont-uk (in the Formats tab) and have selected it; but am not 
sure of the next step.

I would be grateful for some advice on this matter. Thanks.
- there should be a texexec.ini (if not copy texexec.rme to texexec.ini) in which you have to uncomment: 

 set TeXShell  to  miktex
- next you need to generate formats
 texexec --make --alone --all (maybe without alone) 

now you should be able to process files with 

 texexec  --pdf somefile
(more info on how to set up metapost runtime support can be found in the wiki/archives) 

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] rectangle-words (like in details.pdf)

2004-08-19 Thread Hans Hagen
Steffen Wolfrum wrote:
...it is not that I am inpatient - it's curiosity:
Does really nobody knows the answer to my question,
or is it just that it's too trivial to answer?!
 

i did sent you the file, didn't i?
(anyhow, the file in in the distribution and the this-way on the site)  

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: typescript checking

2004-08-19 Thread Hans Hagen
dr. Hans van der Meer wrote:
Hi Hans,
On my travels through ConTeXt's fonthandling I got the following 
result on typescript matching:
enter[xyz][][] and check[xyz][pqr][]
does match.

If I read the definition of  \dochecktypescript#1#2#3 well, this is 
because an empty  argument #1 at once leads to a \donetrue. That makes 
the checking of an empty argument equivalent to the checking with an 
[all] key (but for the additional fact that [all] matches on both the 
entered and the checked key). Then

(enter[xyz][][] --- check[xyz][pqr][]) is equivalent with 
(enter[xyz][all][] --- check[xyz][pqr][])

Isn't this counterintuitive? I would have expected empty matching 
nothing at all, or at most matching another empty argument. The point 
is, I wanted to do a nice structured setup, something like:

\starttypescript [A]  \usetypescript[A][AA]  
\usetypescript[A][AB]\stoptypescript
\starttypescript [A][AA] ...
\starttypescript [A][AB] ...
etc.

Now [A] matches[A][AA] (i.e. [A][][] matching [A][AA][]) and this 
doesn't work.
It has the addtional problem that for example typescript [pos] in 
type-pre.tex (by calling \setupbodyfont[pos]) has a sub-typescript 
[all][times,helvetica,courier][texnansi] that now will match 
typescript [A][][]. That was not meant to be the case! At least not by 
me when I wrote the typesciprt. But if the file containing [A][][] is 
in the searchpath it will be processed in each round. In some cases it 
even can lead to an infinite recursion of typescripts.

Setting up things from back to front ([AA}[A] etc.) alleviates some 
of the problems, but does not stop the unwanted occasions where [A] 
matches [all][other_things].

Do I have it all wrong?
Thanks to those who will take the trouble to look into this matter.
Hans van der Meer
Ok, the next release will have: 

\usetypescriptexact
where empty defaults to a false match, so that you can play a bit with that alternative. I'll send you the file.  

Hans  

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Installing new fonts ..

2004-08-19 Thread Hans Hagen
Dirar Bougatef wrote:
... was this problem solved (we now have texfont 2.2 btw)
*/Hi,/*
*//* 
*/I've just downoaded a new font from with afm and .pfb files. I have 
started installing it but have some problems./*
*//* 
*/This is the message i get:/*
 
Contexttexfont --ve=Rubicon --co=OpulentDemo-Normal --ma --in
Kpathsea released!
 
 TeXFont 1.8 - ConTeXt / PRAGMA ADE 2000-2003
 
mktexlsr: Updating c:/PROGRA~1/TeXLive/TEXMF-~2/ls-R...
mktexlsr: your `ls-R' database files have been modified
while kpathsea Dll was loaded by other programs.
It is recommended that you terminate all of them.
in order to reinitialize the shared databases.
mktexlsr: Done.
   encoding vector : ec
   vendor name : rubicon
   source path : .
   font collection : opulentdemo-normal
   texmf font root : c:/progra~1/texlive/texmf-~2
   pdftex map file : ec-rubicon-opulentdemo-normal.map
   source path : .
  processing files : all on afm path
locating afm files : using pattern *
 copying files : afm
   copying : OPD_.AFM
 copying files : pfb
   copying : OPD_.PFB
extending map file : 
c:/PROGRA~1/TeXLive/TEXMF-~2/pdftex/config/ec-rubicon-opulentdemo-normal.map
 
   font identifier : OpulentDemo-Normal - text - tfm + vf
generating raw tfm/vpl : ec-raw-OPD (from OPD)
! need at most two non-option arguments
 generating new vf : ec-OPD (from ec-raw-OPD)
vptovf.exe: ec-raw-OPD.vpl: No such file or directory
 updating map file : ec-rubicon-opulentdemo-normal.map
 
generating : ls-r databases
 
mktexlsr: Updating c:/PROGRA~1/TeXLive/TEXMF-~2/ls-R...
mktexlsr: your `ls-R' database files have been modified
while kpathsea Dll was loaded by other programs.
It is recommended that you terminate all of them.
in order to reinitialize the shared databases.
mktexlsr: Done.
 
*/In another way i can't get to generate the tfm files./*
*//* 
*/Can anyone help ?/*
*//* 
*/D./*
*//* 
*/P.S. I have tried both ec and ansi encodings./*

Deze e-mail is door E-mail VirusScanner van Planet Internet 
gecontroleerd op virussen. Op http://www.planet.nl/evs staat een 
verwijzing naar de actuele lijst waar op wordt gecontroleerd.


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
 


--
-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \startenvironment \currentfile

2004-08-19 Thread Hans Hagen
Peter Münster wrote:
Hello,
isn't it redundant:
\startenvironment filename
\startproject filename
\startproduct filename
\startcomponent filename
??
Is this argument really needed?
\startenvironment xxx seems to works too.
 

the name (id) is used to 

- report status in \version[concept] \version[temporary]
- keep track of what needs to be loaded once only
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] et~al. in m-bib

2004-08-19 Thread Taco Hoekwater

Hi Peter, 

I've noted that and it is on my todo list.

On Thu, 19 Aug 2004 08:30:19 +0200 (CEST), Peter wrote:

 Dear Taco,
 a kind of feature request for the next release:
 et al. is not language dependant, but nevertheless it would be nice (at
 least for the thesis of my brother), if this string wouldn't be hard-coded
 (just a macro as \bibetalname or similar).
 Greetings, Peter
 
 -- 
 http://pmrb.free.fr/contact/
 _
 FilmSearch engine: http://f-s.sf.net/
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context


-- 
groeten,

Taco
___
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-19 Thread Hans Hagen
Patrick Gundlach wrote:
Hi,
[...]
 

I also tried:
   

\usetypescript[adobekb][\defaultencoding]
 

\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]
   

Patrick
 

Concerning those fonts, there are differences between distributions: 
different metrics, different subpaths, urw instances either or not 
present; i got the feeling that sometimes fixes/changes take place when 
a font contributer finds out that his/her system does not work thereby 
breaking other things); unfortunately much of those pieces of 
distributions are dictated by what latex wants to see instead of being 
generic

(one reason why i always generate metrics myself, although i found out 
that on the current tex live some of the files needed for that are not 
present of in different paths, so watch your logs -)

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] Footnotes in margin?

2004-08-19 Thread Hans Hagen
Steffen Wolfrum wrote:
does ConTeXt provide a way to place footnote (not margin notes!) per page - but not 
below the body text?
A suitable place could be the margin. But there is no 
\setupfootnotes[location=inmargin]
and somthing like \inmargin{\footnote{}The footnote's text.} doesn't flow.
Does anybody know a working solution?
 

Idris should know since i made him definable footnotes -) 

\showframe
\definenote[mynote][way=bypage,location=text,width=\marginwidth,rule=,before=]
\setuplayout[backspace=5cm,margin=3cm,margindistance=.5cm,width=middle]
\setuptexttexts
 [margin]
 [\vbox to \textheight{\placenotes[mynote]\vfill}]
 []
\starttext
test \mynote{one} test \mynote{two} \page
test \mynote{one} test \mynote{two} \page
test \mynote{one} test \mynote{two} \page
test \mynote{one} test \mynote{two} \page
\stoptext
or a bit more modern (structured, readable, replacable): 

\setuptexttexts
 [margin]
 [\setups{flushmynotes}]
 []
\startsetups flushmynotes
 \vbox to \textheight{\placenotes[mynote]\vfill}
\stopsetups
So, it's up to you to feed this in the wiki -) 

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] How to implement a changing navigation bar?

2004-08-19 Thread Hans Hagen
Stefan Wachter wrote:
Hi all,
I use an overlay to implement a navigation bar in the left margin of a 
document. It seems to me that the processing of the overlay is done 
only once and not for every page again. In addition, the \lastpage is 
not available.
page, paper and text backgrounda are calculated each page, unless you 
say \setupbackgrounds[state=repeat], in which case all are recalculated; 
if you put something in a layer it happens directly (but the layer may 
be flushed later)

Does anyone know a solution? Maybe headers/footers are a solution. But 
how is absolute positioning accomplished with them?

you can put a layer in the background of the header area and that do 
something:

\startsetups whatever
 \setlayer[thatlayer][positioning...]{\the\pageno}
\stopsetups
\setupheadertexts[\setups{whatever}]
PS: Here is my current implementation:
\definelayer[navbar]
\setupbackgrounds[text][leftmargin][background=navbar]
\setlayer[navbar][x=0cm,y=10cm]{\the\pageno}
lastpage etc only make sense in the output routine (during page building) since one does not know where tex will break the page. 

H 

-
 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: Is there a bug during pagination of external figures?

2004-08-19 Thread Stefan Wachter
Hi Hans,
thanks for the tip,
--Stefan
why not use
\goto[PreviousPage]{\symbol[...]}
\goto[NextPage]{\symbol...]}
or
\goto [forward]{\symbol[...]
\goto [backward]{...}
etc
(firstpage, lastpage, nextpage, previouspage, etc)
Hans
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: error with _ in header?

2004-08-19 Thread Hans Hagen
Patrick Gundlach wrote:
Hello,
 

--
\setupoutput[pdftex]
\usetypescript[adobekb][texnansi]
\usetypescript[postscript][texnansi]
\setupbodyfont[postscript,ss,13pt]
\setupheadertexts[text][\_][]
\starttext
\dorecurse{10}{\input tufte \par}
\externalfigure[cow][scale=1424]
\externalfigure[cow][scale=1424]
\stoptext
--
 

This file processes ok here; also, your bug is not so much related to
headers but more to some kind of \_ expansion In what path are your
graphics? 
   

it breaks on 2004.8.14 as well on live.contextgarden.net
Graphics (cow.pdf) is in /opt/local/texmf/tex/context/sample
If the two graphics are not on the same page, the error dissapears.
The reproduction of the error is very sensitive to layout changes.
 

the problem occurs in the output routine (when the page is built); some tracing all learns that while flushing the fig box takes place, the meaning of textunderscore is changed; so we need to restore this before hand; actually this problem should be solved differently, i.e. no redefinition at all; the problem is that findinf good solutions is not that easy because of moments of expansion 

fix (in core-fig.tex:)
\def\dodoplaceexternalfigure[#1][#2][#3][#4][#5][#6]%
 {\doifsomething{#3}% catches \defineexternalfigure dummies
{\bgroup
\pushmacro\textunderscore
 \edef\textunderscore{\string_}% brrr, temp hack, still needed?
 \calculateexternalfigure[#1][#2][#3][#4][#5][#6]%
 \calculateexternalscreenfigure[#1][#2][#3][#4][#5][#6]%
\popmacro\textunderscore
 \box\foundexternalfigure
 \egroup}}

-
 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: error with _ in header?

2004-08-19 Thread Patrick Gundlach
Hello Hans,

[...]

 fix (in core-fig.tex:)

solves the problem here. 

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] How to use PostScript font

2004-08-19 Thread skhilji
None of the commands that I was told worked.  I donT think its my installation.  To my 
surprise, the following does not work at live.contextgarden.net.  If you see the log 
file, it says that the TFM file not found.  Even the server at contextgarden is 
missing the package that I am missing from my system

\usetypescript[berry][ec] % or [8r]
\setupbodyfont[pos]
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Lucida Bright Fonts from StarOffice

2004-08-19 Thread skhilji
For right now, I am giving up on the postscript fonts.  Lets try something else.

At http://home1.vr-web.de/~was/lucidayy/, you will see some files that tell you how to 
use the Lucida Bright fonts that come with StartOffice 5.2 with LaTeX.

I copied all the pfb and afm files from StarOffice52 into a folder.  Its contents are:

[EMAIL PROTECTED] fonts]$ ls *.pfb
hlcbot6w.pfb  hlcrot6w.pfb  hlhd80.pfb   hlhri80.pfb  hlsdo80.pfb  hlsro80.pfb
hlcbot80.pfb  hlcrot80.pfb  hlhd81.pfb   hlhri81.pfb  hlsdo81.pfb  hlsro81.pfb
hlcbot81.pfb  hlcrot81.pfb  hlhdi80.pfb  hlsd6w.pfb   hlsr6w.pfb
hlcbt6w.pfb   hlcrt6w.pfb   hlhdi81.pfb  hlsd80.pfb   hlsr80.pfb
hlcbt80.pfb   hlcrt80.pfb   hlhr80.pfb   hlsd81.pfb   hlsr81.pfb
hlcbt81.pfb   hlcrt81.pfb   hlhr81.pfb   hlsdo6w.pfb  hlsro6w.pfb
[EMAIL PROTECTED] fonts]$

I also have all the *.afm files from StarOffice.


Is there any way I can use these fonts with ConTeXt?  If yes, where do I need to copy 
them and what do I rename them to? Are these fonts exactly the same as the ones that 
you buy from yandy.com?

Also the above site says On the other hand, only the basic font styles (roman, sans 
serif, typewriter) are available, whereas the fonts from YY include many more 
variants such as true smallcaps, sans serif italic, fax, handwriting, blackletter and 
more)  Does CoTeXt use the other fonts that are missing?

I suppose it would be legal for me to use these fonts with ConTeXt?  I may have to ask 
someone at yandy.com.  It could be possible that these fonts are supposed to be used 
with StarOffice and StarOffice only.

Salman

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


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

2004-08-19 Thread Mari Voipio
On Thu, 19 Aug 2004 [EMAIL PROTECTED] wrote:

 None of the commands that I was told worked.  I donT think its my
 installation.  To my surprise, the following does not work at
 live.contextgarden.net.  If you see the log file, it says that the TFM
 file not found.

You just missed one critical row that makes things work both in
live.contextgarden.net and at least in my own installation (I just wish
somebody made TeXFont work in Windows...). Patrick mentioned this
yesterday, but perhaps you haven't seen the message?

Try this:
\usetypescript[adobekb][ec] %or whatever your encoding is
 \setupbodyfont[pos]
 \starttext
 The quick brown fox jumps over the lazy dog.
 \stoptext


If that works on your computer (I *know* it works in contextgarden as I
found out about it by trial and error, a note in cont-sys.rme/cont-sys.tex
led me to the right track), try this (works in contextgarden):

---

\usetypescript[adobekb][ec] % THIS does the magic
\usetypescript[palatino][ec]
\setupbodyfont[palatino,12pt]

\starttext

The quick brown fox jumps over the lazy dog.

ÅÄÖ åäö

\stoptext

---


[I always use the diacritics of my native language(s) Finnish and Swedish
as Computer Modern doesn't have them - if the diacritics turn up in the
pdf file, the font settings work.]


Good luck from a font-fighting fellow,


Mari
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: error with _ in header?

2004-08-19 Thread Stefan Wachter
Hi Hans,
thanks for your fix. It solves the problem. Will this fix be included in 
future Context releases?

I am still confused why the content of the document directory had an 
impact on the output routine. (The problem disappeared after I had 
removed additional *.png files in the document directory. When I copied 
the superflous images into there again the problem reappeard.) I accept 
that computing in general and Context in special is kind of an empirical 
secret science. ;-)

Thanks again,
--Stefan
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: error with _ in header?

2004-08-19 Thread Hans Hagen
Stefan Wachter wrote:
thanks for your fix. It solves the problem. Will this fix be included 
in future Context releases?
it's in my source file so ... 

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: Is there a bug during pagination of external figures?

2004-08-19 Thread Stefan Wachter
Hi Hans,
thanks for the additional hints. The width calculation method is very 
instructive. Yet, I think I can not use it, because I do not know in 
advance what kind of text is used as item labels. Maybe a label text 
contains already a comma. Is there another \processXXX-Makro for example 
\processampersandlist that can be used (because ampersands can not 
appear unescaped in normal text)?

--Stefan
PS: I found nowhere a description of \charwd
\def\determinecommalistwidth[#1]%
 {\scratchdimen\zeropoint
  \def\docommand##1%
{\setbox\scratchbox\hbox{##1}%
 \ifdim\wd\scratchbox\scratchdimen
   \scratchdimen\wd\scratchbox
 \fi}%
  \processcommalist[#1]\docommand}
\determinecommalistwidth[a),b),c)]
\the\scratchdimen
(or use \charwd cum suis)
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Is there a bug during pagination of external figures?

2004-08-19 Thread Hans Hagen
Stefan Wachter wrote:
Hi Hans,
thanks for the additional hints. The width calculation method is very 
instructive. Yet, I think I can not use it, because I do not know in 
advance what kind of text is used as item labels. Maybe a label text 
contains already a comma. Is there another \processXXX-Makro for 
example \processampersandlist that can be used (because ampersands can 
not appear unescaped in normal text)?

--Stefan
PS: I found nowhere a description of \charwd
\def\determinecommalistwidth[#1]%
 {\scratchdimen\zeropoint
  \def\docommand##1%
{\setbox\scratchbox\hbox{##1}%
 \ifdim\wd\scratchbox\scratchdimen
   \scratchdimen\wd\scratchbox
 \fi}%
  \processcommalist[#1]\docommand}
\determinecommalistwidth[a),b),c)]
\the\scratchdimen
(or use \charwd cum suis)

\processseparatedlist may be of help
of course you can do: \determine...[{a},{b\c},{d\_e},{f,g,h}]
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] Typing in Polytonic Greek

2004-08-19 Thread Steffen Wolfrum
Hi,

I have a font for Polytonic Greek (athenian) installed in my ConTeXt-set
and save my tex-files with utf-8 encoding (in TeXShop).
Now I want to typeset a text (latin characters) with quotes in Polytonic Greek.
Work is much easier for me if I will type these qoutes directly in Polytonic Greek 
(therefore I have a special keyboard layout from GreekKeys).


What should I write in my tex document so that ConTeXt understands the UTF-8 glyphs 
that I am typing with Polytonic Greek?


Steffen Wolfrum
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Typing in Polytonic Greek

2004-08-19 Thread Henning Hraban Ramm
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!
---
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


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

2004-08-19 Thread Patrick Gundlach
Hello Hans,

[.. psnfss fonts ..]

 Concerning those fonts, there are differences between distributions:
 different metrics, different subpaths, urw instances either or not
 present; i got the feeling that sometimes fixes/changes take place
 when a font contributer finds out that his/her system does not work
 thereby breaking other things); unfortunately much of those pieces of
 distributions are dictated by what latex wants to see instead of being
 generic

Well, we are talking about the fonts required by the psnfss (latex)
system. Those should be all the same for all systems. The files typset
should be completely portable. Maybe the outcome doesn't look right,
but I doubt it will. I'd like to hear about any problems with psnfss
not being compatible among distributions. 

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?

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

2004-08-19 Thread Patrick Gundlach

[...]

 I get errors. I am using Fedora Core 2 with teTex 2.02. 

the ConTeXt in tetex 2.02 should be new enough to handle what Mari
and I have pointed out.

Please post an error message on the things that we have written. (But
I doubt you will get any.)

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] How to use PostScript font

2004-08-19 Thread Nigel King
Very quietly shhh - I just wish some one would make TeXFont work in Mac 
OSX from GW.

Nigel
On 19 Aug 2004, at 14:40, Mari Voipio wrote:
(I just wish
somebody made TeXFont work in Windows...).
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context