[NTG-context] Problems with font encodings

2005-02-21 Thread Stefan Ohletz
Hello,
I'm working on some XSL stylesheets for translating XML documents into
Context. Although I've read the document Fonts in Context and
understood that one could use typescripts for managing fonts, in the
context of my stylesheets I'd rather like to stick to the
\definebodyfont command, because so far it works and I'm a bit confused
about all those indirections one has to use when defining typescripts.
The only thing which doesn't seem to work are font encodings. Please,
take a look at the following document:
%
\enableregime[il1]
\mainlanguage[de]
\language[de]
\setupencoding[default=texnansi]
\definefontsynonym[NewCenturySchoolbook][pncr8r][encoding=texnansi]
\definebodyfont[4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt][rm]
  [tf=NewCenturySchoolbook sa 1]
\definefont[nctr][NewCenturySchoolbook at 10pt]
\setupbodyfont[10pt]
\starttext
{\nctr \showcharacters}
{\showcharacters}
\stoptext
%
Defining the font directly with \definefont leads to a
texnansi-encoded table of characters, so that I could use the special
German umlaut characters (which is my intention, of course). The
definition of the font with \definebodyfont produces a default-encoded
table with characters, which are *not* texnansi-encoded, because all the
umlaut characters are missing. At least using Windows XP, TexLive 2004
distribution (MikTeX). I don't understand why this happens for two reasons:
1. Both commands (\definebodyfont and \definefont) use the same synonym
for the font, with an explicitely defined texnansi-encoding.
2. The default encoding of the whole document was set to texnansi.
It is getting even more disturbing when I'm setting the body font size
to 12pt. (Using the command \setupbodyfont[12pt]). Then both tables are
showing a texnansi-encoded font. What has font size to do with encodings?
Since I don't want to use a body font size of 12pt in all of my
documents, only to be able to use German umlaut characters, any hints to
what I'm doing wrong here would be appreciated very much.
Thanks in advance,
Stefan Ohletz
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Framed text splitting over pages

2005-02-21 Thread Slawek Zak
On Wed, Feb 16, 2005 at 12:26:03PM +0100, Hans Hagen wrote:
 Slawek Zak wrote:
 
 I'd like to split some source code over a couple of pages. I'd like it
 to have distinct background and rounded frame around. 
 
 Search on google comes up with an email from Hans answering some
 fellow wanting the same thing, but the technique used was
 textbackgrounds which doesn't give me the frame, just the background.
 
 Is there any way to tickle framed+splitfloat or any other macro to
 achieve what I want?
 
 text background can have frames, and anything drawable by metapost; if you 
 can;t find it in details.pdf let me know; anyhow, the next one gives me a 
 frame and a background

It does in my case too, but \definetextbackground seems to ignore
framecorner=round parameter. I use ConTeXt ver: 2004.6.30  fmt: 2004.7.5. Too
old?

 (see core-pos.tex for the real dirty details and how to hook in your own mp 
 code)
 
 todo, excercise: only topline at first page and bottom line at last page 
 (not that hard -)

Doh. Would be cool to have. Not in this case though, as for rounded frames it
doesn't look right :)

Thanks for swift response Hans, /S
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Can't install ConTeXt

2005-02-21 Thread Paul Tremblay
I've just dowloaded the ConTeXt form the website 

http://www.pragma-ade.com/download-1.htm

I've downloaded both the the main CONTEXT distribution as well as the
minimal CONTEXT distribution (linux)

Both distributions give me a bunch of directories and scrits, but no
instructions on where to put what. 

With the linux distrubtion, I was given a setuptex script. I ran this, and
got nothing. I opend this script and uncommented the following lines and
put them at the bottom of the script:

# mktexlsr
# texexec --make --alone

I seemed to get a successful make, but then when I ran texecec I
got the following message:


This is pdfeTeX, Version 3.14159-1.00b-pretest-20020211-HO20020731-2.1 (Web2C 
7.3.7)
kpathsea: Running mktexfmt  cont-en.efmt
fmtutil: no info for format `cont-en'.
Sorry, I can't find the format `cont-en.efmt'; will try `context.efmt'.
kpathsea: Running mktexfmt  context.efmt
fmtutil: no info for format `context'.
I can't find the format file `context.efmt'!

I got the same exact message when I ran perl texecec.pl with the main
CONTEXT distribution. 

I already have a working distribution of TeX on my system. I know I need
to move some directories around and set up PATH to find the executable,
but I am at a loss what to move.

Thanks

Paul

PS

Could you cc me? I am not a part of the mailing list yet. I subscribed
yesterday and am waiting for the moderator to approve me. 

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Which version is best for MSWindows users.?

2005-02-21 Thread Bruce Horrocks
In message [EMAIL PROTECTED], John Culleton 
[EMAIL PROTECTED] writes
So how would you start an absolute newbie to e.g., Context and pdfetex? 
Where would you point them for their first download?
Mswintex.zip is another option for a basic (Context only) setup that 
avoids the frighteningly large list of checkbox options presented by 
MikTeX. The only problems I had installing mswintex.zip were in trying 
to find any installation instructions. :-) (Note to Hans: if 
installation instructions do exist then please make them more visible.)

So I wrote my own :-) which I have attached and which you are welcome to 
use freely. The only caveat is that I already had ActiveState Perl 
installed on my machine so I don't know whether it needs to be installed 
separately in order to make texexec work or whether mswintex.zip handles 
this on its own as well. I would be grateful if you could check this out 
for me.

If the instructions do work then please also let Hans know and maybe he 
could add them to the mswintex.zip distribution? No need to keep my name 
in there - people might start asking me for help (which would be bad for 
them). ;-)

Regards,
--
Bruce Horrocks
Surrey
England
firstname@surname.plus.com -- fix the obvious for email
I can't find a proper install guide for mswintex.zip under XP Professional 
(SP2) so here is a quick summary:

1) Unzip mswintex.zip into c:\tex (d:\tex etc. should be fine if you have 
another drive/partition).

2) Start a CMD shell and run the commands:
   C:\tex c:\tex\setuptex.bat
   C:\tex mktexlsr
   C:\tex texexec --make --alone en metafun

(The last line sets up ConTeXt for English. Use nl for Dutch, de for German.)

3) Now the problems start.  The setuptex.bat file ought to go into autoexec.nt 
so that it is run on startup. Unfortunately texexec doesn't seem to want to run 
at all from a command.com shell (only a cmd.exe shell) but cmd.exe isn't 
interested in running autoexec.nt. So far I've just been starting a shell and 
running the c:\tex\setuptex.bat by hand each time.

Since setuptex.bat only sets environment variables (type 'set' to see which) 
you could enter them into the registry via START - Settings - Control Panel 
- System - Advanced - Environment Variables and then they would be set 
permanently.

4) Create a sample file to test the installation. Copy the following to a file 
called demo.tex using Notepad. Put it into a working directory somewhere - I'm 
assuming c:\work. (Tip: In Notepad, when you save the file, enter the filename 
as demo.tex *including* the quotes and it won't add .txt to the filename.) 
Don't include the start and end lines.

-- start --
% interface=en

\setuppapersize
  [S6][S6]

\setuplayout
  [width=middle,
   height=middle]

\setuphead
  [chapter]
  [header=high,
   style=\bfc,
   alternative=middle]

\starttext

\title{Peter D. Ward}
The Earth, as a habitat for animal life, is in old age and
has a fatal illness. Several, in fact. It would be happening
whether humans had ever evolved or not. But our presence is
like the effect of an old|-|age patient who smokes many packs
of cigarettes per day |.| and we humans are the cigarettes.

\stoptext
-- end --

5) Start a cmd shell (or use the current one) and cd to c:\work. Run the 
texsetup.bat script as per step 2 if you're using a fresh shell. Now run the 
command:
  c:\work texexec --batch --output=pdftex demo

This will create several working files (all called demo.something) plus a 
demo.pdf (assuming that all has gone well).

Hope this helps.
Bruce Horrocks, Jan 2005___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Initial Font Installation Question (Mac)

2005-02-21 Thread Thomas A . Schmitz
Just a quick reply:
having the afm is already very good. The file without an extension 
looks suspiciously like a Mac font resource. Can you try running the 
utility fondu on it (from the command line)? That will usually 
produce the pfbs (very likely, there's more than one: roman, italics, 
bold ...). Texfont, btw, can equally well work with truetype fonts, so 
if you have a proper tryetype font with extension .ttf. you might as 
well use this. texfont will produce a map entry that you will have to 
modify a bit (so it points to a .ttf instead of the default .pfb), but 
that's not too difficult. As to names: don't bother, ConTeXt is happy 
with whatever name you throw at it.

HTH
Thomas
On Feb 21, 2005, at 1:58 AM, David Wooten wrote:
Greetings all,
I've been having a lot of fun struggling with the installation of a 
newly purchased font, and wanted to double check a preliminary 
question before I give in and ask a more thorough question ;)

I'm working with Mac OS X, so I bought a font-set with both Mac TTF 
and Postscript files. The Postscript folders have 2 types of file for 
each fontname: .afm and another without a suffix. The names also have 
uppercase letters, such as AndulBooBol (a.k.a. Andulka Book Bold).

For the texfont script, it apparently needs the .afm files and .pfb 
files. Thus:

1) Are these non-suffixed files the .pfb files in question? If so, 
should I rename (add .pfb to) them before trying to install them? (I 
could convert the TTF files to .pfb?)

2) Should I take away the UpperCaseLettering as well? Rename them to 
something more Berry-like?

In fact, I've tried these things with no success, but before I spell 
out the details of my failure I thought I would get this straight.

Kind regards,
David Wooten
___
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] Initial Font Installation Question (Mac)

2005-02-21 Thread David Wooten
Greetings all,
I've been having a lot of fun struggling with the installation of a 
newly purchased font, and wanted to double check a preliminary question 
before I give in and ask a more thorough question ;)

I'm working with Mac OS X, so I bought a font-set with both Mac TTF and 
Postscript files. The Postscript folders have 2 types of file for each 
fontname: .afm and another without a suffix. The names also have 
uppercase letters, such as AndulBooBol (a.k.a. Andulka Book Bold).

For the texfont script, it apparently needs the .afm files and .pfb 
files. Thus:

1) Are these non-suffixed files the .pfb files in question? If so, 
should I rename (add .pfb to) them before trying to install them? (I 
could convert the TTF files to .pfb?)

2) Should I take away the UpperCaseLettering as well? Rename them to 
something more Berry-like?

In fact, I've tried these things with no success, but before I spell 
out the details of my failure I thought I would get this straight.

Kind regards,
David Wooten
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Initial Font Installation Question (Mac)

2005-02-21 Thread Adam Lindsay
Thomas A.Schmitz said this at Mon, 21 Feb 2005 10:01:50 +0100:

Just a quick reply:

having the afm is already very good. The file without an extension 
looks suspiciously like a Mac font resource. Can you try running the 
utility fondu on it (from the command line)? That will usually 
produce the pfbs (very likely, there's more than one: roman, italics, 
bold ...). Texfont, btw, can equally well work with truetype fonts, so 
if you have a proper tryetype font with extension .ttf. you might as 
well use this. texfont will produce a map entry that you will have to 
modify a bit (so it points to a .ttf instead of the default .pfb), but 
that's not too difficult. As to names: don't bother, ConTeXt is happy 
with whatever name you throw at it.

Only a couple things to add:
When fondu generates the .pfb file, copy the .afm to share the new
(probably longer) filename.

Texfont on MacOSX trips on capital letter extensions: make sure they're
uniformly lower case.

If fondu fails you (it hasn't failed me yet), there's also t1unmac (lcdf.org).

And if texfont installation fails or inexplicably stalls, you might need
to go in and truncate long (255+ character) lines by manually editing the
text file. I've always found these to be comment/copyright lines, so
you're not hurting anything by doing so.

You lucky so-and-so for getting Andulka!
adam

On Feb 21, 2005, at 1:58 AM, David Wooten wrote:

 Greetings all,

 I've been having a lot of fun struggling with the installation of a 
 newly purchased font, and wanted to double check a preliminary 
 question before I give in and ask a more thorough question ;)

 I'm working with Mac OS X, so I bought a font-set with both Mac TTF 
 and Postscript files. The Postscript folders have 2 types of file for 
 each fontname: .afm and another without a suffix. The names also have 
 uppercase letters, such as AndulBooBol (a.k.a. Andulka Book Bold).

 For the texfont script, it apparently needs the .afm files and .pfb 
 files. Thus:

 1) Are these non-suffixed files the .pfb files in question? If so, 
 should I rename (add .pfb to) them before trying to install them? (I 
 could convert the TTF files to .pfb?)

 2) Should I take away the UpperCaseLettering as well? Rename them to 
 something more Berry-like?

 In fact, I've tried these things with no success, but before I spell 
 out the details of my failure I thought I would get this straight.

 Kind regards,
 David Wooten

 ___
 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

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problems with font encodings

2005-02-21 Thread Taco Hoekwater
Hi Stefan,
I do not claim to understand all of it, but I can help you a bit:
Stefan Ohletz wrote:
\definefontsynonym[NewCenturySchoolbook][pncr8r][encoding=texnansi] 
This line is wrong. pncr8r is not texnansi, but '8r', an internal
encoding that is not intended to be used directly. In a standard
installation, there is no texnansi-encoded version of NCS, so it
would probably be easier to use
  \definefontsynonym[NewCenturySchoolbook][pncr8t][encoding=ec]
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Can't install ConTeXt

2005-02-21 Thread VnPenguin
On Fri, 18 Feb 2005 18:24:47 -0500, Paul Tremblay [EMAIL PROTECTED] wrote:
 I've just dowloaded the ConTeXt form the website
 
 http://www.pragma-ade.com/download-1.htm
 
 I've downloaded both the the main CONTEXT distribution as well as the
 minimal CONTEXT distribution (linux)

How about teTeX 3.0 ?
I use it in my FC3 box and ConTeXt works very well :)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] strange color change

2005-02-21 Thread Hans Hagen
Peter Münster wrote:
On Thu, 17 Feb 2005, Hans Hagen wrote:

Peter Münster wrote:
Hello,
could anybody explain, why the last 2 subsections have another color?
\setupinteraction[state=start]
\setupcolors[state=start]
\starttext
\placecontent
\dorecurse{6}{\section{a section}}
\dorecurse{6}{\subsection{a subsection}}
\stoptext
actually, it's the reverse, i guess you can find out why if you compare
\placecontent
with
\placecontent \page
(the magic is in setting color as well as contrastcolor)

I'm sorry, but I do not understand...
links on the same page as the reference get a different color (indicating that 
there no real jump)

What should I do, if I don't want a pagebreak after \placecontent and only
one color in the table of contents?
\setupinteraction[color=green,contrastcolor=green]
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Unconventional page number placement

2005-02-21 Thread Hans Hagen
Adam Lindsay wrote:
Hi Matt.
I don't have a total solution, but I think you were much closer than you
thought.
Matt Gushee said this at Fri, 18 Feb 2005 11:40:22 -0700:

 * Use negative dimensions to cause the header and footer to overlap
   the text area, e.g.:
\setuplayout [...,headerdistance=-0.35in,footerdistance=-0.5in]
As I said, this comes very close to the desired effect, but it seems 
impossible to correctly align the header text and page numbers with the 
main text. 

How about this:
\setuppapersize[A4,landscape][A4,landscape]
\setuplayout[width=16cm,rightedge=\marginwidth]
\setuplayout[headerdistance=-2\lineheight,
 header=2\lineheight,
 footerdistance=-2\lineheight,
 footer=2\lineheight,
 height=middle]
\setupheadertexts[margin][section][]
\setupfootertexts[margin][pagenumber][]
\setuphead[section][page=yes]
\starttext
\showframe
\section{one}
\section{two}
You had it pretty much right, you just need to make sure that the text
blocks reach the bottom, a la the grid or \setupalign[line] stuff on the
list these past weeks.
Actually, at first, I thought this was a job for texttexts (weird, yeah,
but in the manual...), but I have not idea how to move those up and down,
where you want them.
And that rightedge block isn't really relevant here, but it looks nice on
the page. :)
\section{three}
\setuptext[margin][style=bold]
\setuptexttexts[margin][section][pagenumber]
\section{four}
\stoptext
you can play with ...
\startsetups one
\vbox to \textheight \bgroup
  \strut \getmarking[section]
  \vfill
  \strut \pagenumber
\egroup
\stopsetups
\setuptexttexts[margin][\setups{one}][\setups{two}]
etc

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


Re: [NTG-context] Bad page breaks!

2005-02-21 Thread Hans Hagen
G.C.H.M. Verhaag wrote:
 h h extern wrote:
.
no, more with the default penalties, compare:
(for adam: take a look at core-spa, the default setups in there may 
answer a few of the questions in your postings)

\starttext
\startsetups [test]
  \resetpenalties\widowpenalties
  \resetpenalties\clubpenalties
  \resetpenalties\interlinepenalties
\stopsetups

I suppose this is another test setup!
\startsetups [test]
  \nopenalties
\stopsetups
Sorry, but I keep struggling with the bad page breaks! I've tried both 
suggested setups, but my document (approx. 80 pages) hardly improved, 
despite the fact that it only deals with a few figures!

I want all pages to be of the same length, one missing line is allowed 
but no more!

It's not a ConTeXt problem I suppose, so switching to LaTeX won't solve 
the problem! Do you've any suggestions for further reading regarding 
these various penalties?
did you try:
\widowpenalty=0
\clubpenalty=0
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] help needed with special macro

2005-02-21 Thread Hans Hagen
Peter Münster wrote:
On Fri, 18 Feb 2005, Hans Hagen wrote:

Peter Münster wrote:
On Thu, 17 Feb 2005, Hans Hagen wrote:

   \expanded{\bTR ... \eTR}
table data is collected and processed four times so you need to freeze
the content
can you send me a small sample

Of course:
\newcount\MyVersion
\def\MyMacro#1{%
  \getgparameters[XXX][#1]
  \global\advance\MyVersion by 1
  \expanded{\bTR\bTD \the\MyVersion \eTD \bTD \XXXDate \eTD\eTR}
}
\starttext
\bTABLE
\bTR \bTD Version \eTD \bTD Date \eTD \eTR
\MyMacro{Date=1.2.2005}
\MyMacro{Date=3.4.2005}
\MyMacro{Date=5.6.2005}
\eTABLE
\stoptext
Peter

\def\MyMacro#1{%
  \getgparameters[XXX][#1]
  \global\advance\MyVersion by 1
  \bTR \bTR\expanded{\bTD \the\MyVersion \eTD} \expanded{\bTD \XXXDate \eTD}\eTR
}

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


Re: [NTG-context] Strange interaction of \chapter and \AutoDroppedCaps

2005-02-21 Thread Slawek Zak
On Sat, Feb 19, 2005 at 04:06:56PM +0100, Hans Hagen wrote:
 Slawek Zak wrote:
 Hi,
 
 In this document:
 
 \setupindenting[medium]
 \setupwhitespace[medium]
 \setupbodyfont[16pt]
 
 \starttext
 \chapter{This is a test}
 
 \AutoDroppedCaps \input tufte
 
 \input tufte
 \stoptext
 
 I get output attached in gif file. It works fine without \chapter before. 
 Any
 thoughts?
 
 can you try
 
 \unprotect
 
 \ifx\keeplinestogether\undefined
   \let\keeplinestogether\gobbleoneargument
 \fi

[...]

 btw, high level interface:
 
 \setupindenting[medium] \setupwhitespace[medium]
 
 \setupinitial[state=start,n=3]
 \definefontsynonym[Initial][SerifBold]
 
 \placeinitial \dorecurse{3}{\input tufte \endgraf}

Tried that. Same problem. Should I patch the original ConTeXt file? I just put
your code in the document. Sorry for a lame question.

/S
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] lucida fonts

2005-02-21 Thread Hans Hagen
Hi,
Now that yandy has gone into a more fancy business (www.yandy.com, looking at 
the menu it looks like they now also sell special latex stuff -) i wonder where 
one can get the usual bunch of lucida fonts needed for tex; any ideas?

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


Re: [NTG-context] lucida fonts

2005-02-21 Thread Taco Hoekwater
It seems that nothing is known yet, you should subscribe/ask on
the yandytex support mailing list, I guess. It is linked from
http://tug.org/yandy
Greetings, Taco
Hans Hagen wrote:
Hi,
Now that yandy has gone into a more fancy business (www.yandy.com, 
looking at the menu it looks like they now also sell special latex stuff 
-) i wonder where one can get the usual bunch of lucida fonts needed for 
tex; any ideas?

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


Re: [NTG-context] Strange interaction of \chapter and \AutoDroppedCaps

2005-02-21 Thread Hans Hagen
Slawek Zak wrote:
Tried that. Same problem. Should I patch the original ConTeXt file? I just 
put
your code in the document. Sorry for a lame question.
patch supp-fun.tex and regenerate the format
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Euro-sign

2005-02-21 Thread Johannes Werner
Hello,
what i have to do, to get the euro into my document? Is there any 
documentation ? (surely i'm not the first with this question, but i 
cannot find something)
I tried \euro, but nothing happened.
mfg, Johannes Werner

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Can't install ConTeXt

2005-02-21 Thread Paul Tremblay
Responding to my own email. 

I finally found the documentation for installing ConTeXt burried in one
of the distribution I downloaded. However, this documenttion only told
me to unzip the archive in the appropriate directory. It did not tell me
what that appropriate directory was.

This page explained mor explicitly what to do:

http://home.salamander.com/~wmcclain/context-help.html#install

It told me to unzip the archive in the actual texmf directory and to
overwrite existing files. I did't do this before because I didn't think
I was supposed to overwrite existing files. 

Actually, my first step in installing ConTeXt was to get a completely
new installation of LiveTeX. I had a lot of problems installing this.
When I ran texconfig, I was told that there was no config file in
//temfm/web2c. When I looked, sure enough, the config file was there. 

The problem was that my old installation had put all the scripts, such
as kpsewhich in /usr/bin and my system was reading these executables. I
had to write a script comparing /usr/TeX/bin/i386-linux/ (my current
directory for TeX scripts) to /usr/bin (my old directory). If the same
executable was found in my old direcotry, I removed it. 

After that, TeX worked fine. I then unzipped the ConTeXt archive in the
texmf directory, followed the instructions above, and seem to have
gotten everything working. 

This took me two days to figure out, though! It was frustrating because
I was able to get ConTeXt working on my girfriend's Macintosh simply by
using an install package.

I hope someone will find these brief notes helpful.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] help needed with special macro

2005-02-21 Thread Peter Münster
On Mon, 21 Feb 2005, Hans Hagen wrote:

 \def\MyMacro#1{%
\getgparameters[XXX][#1]
\global\advance\MyVersion by 1
\bTR \bTR\expanded{\bTD \the\MyVersion \eTD} \expanded{\bTD \XXXDate 
 \eTD}\eTR
 }

Thank you very much, Hans!
In fact, I should have tried just a bit more: I tried \expanded{\bTR ... \eTR}
and \bTD \expanded{...} \eTD, but not that one...

Thank you also for contrastcolor=green !
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Euro-sign

2005-02-21 Thread Peter Münster
On Mon, 21 Feb 2005, Johannes Werner wrote:

 what i have to do, to get the euro into my document? Is there any 
 documentation ? (surely i'm not the first with this question, but i 
 cannot find something)
 I tried \euro, but nothing happened.
 mfg, Johannes Werner

\texteuro
But \euro works here too:
ConTeXt  ver: 2005.01.31  fmt: 2005.2.17  int: english  mes: english

See also http://contextgarden.net/ISO-8859-15 or try UTF encoding.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Euro-sign - problem solved

2005-02-21 Thread Johannes Werner
need no help anymore - it was a configuration problem
Johannes Werner wrote:
Hello,
what i have to do, to get the euro into my document? Is there any 
documentation ? (surely i'm not the first with this question, but i 
cannot find something)
I tried \euro, but nothing happened.
mfg, Johannes Werner

___
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] numbering lines

2005-02-21 Thread Ciro A. Soto
is there a quick way to generate the number of each linein the margin of the page?
thank you
ciro___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] numbering lines

2005-02-21 Thread Thomas A . Schmitz
\setuplinenumbering[step=5,location=inmargin]
\startlinenumbering
[and don't forget the \stoplinenumbering at the end, or ConTeXt will 
complain]

Best
Thomas
On Feb 21, 2005, at 8:49 PM, Ciro A. Soto wrote:
is there a quick way to generate the number of each line
in the margin of the page?
thank you
ciro
___
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