* Setting up footnotes...
@ 2000-08-19 12:21 Joop Susan
2000-08-21 11:00 ` Hans Hagen
0 siblings, 1 reply; 38+ messages in thread
From: Joop Susan @ 2000-08-19 12:21 UTC (permalink / raw)
Hallo,
I would like to see my footnote numbers as a superscript number followed
by a ')'. I need my footnote references to be a bit more visible and
slightly bigger targets in interactive documents. (A CMSS superscript '1'
just looks lost ;-))
I have tried:
\def\Myfooternumber#1%
{\high{#1)}}
\setupfootnotes
[numbercommand=\Myfooternumber]
This only changes the presentation of the footnote number at the bottom of
the page, but not the reference in text.
Can anybody tell me which command changes the reference as well?
Joop
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Setting up footnotes...
2000-08-19 12:21 Setting up footnotes Joop Susan
@ 2000-08-21 11:00 ` Hans Hagen
2000-08-21 18:19 ` Joop Susan
0 siblings, 1 reply; 38+ messages in thread
From: Hans Hagen @ 2000-08-21 11:00 UTC (permalink / raw)
Cc: ntg-context
At 02:21 PM 8/19/00 +0200, Joop Susan wrote:
>
>Hallo,
>
>I would like to see my footnote numbers as a superscript number followed
>by a ')'. I need my footnote references to be a bit more visible and
>slightly bigger targets in interactive documents. (A CMSS superscript '1'
>just looks lost ;-))
>
>I have tried:
>
>\def\Myfooternumber#1%
> {\high{#1)}}
>
>\setupfootnotes
> [numbercommand=\Myfooternumber]
>
>This only changes the presentation of the footnote number at the bottom of
>the page, but not the reference in text.
>
>Can anybody tell me which command changes the reference as well?
This is rather hard coded, so I have to look into it.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Setting up footnotes...
2000-08-21 11:00 ` Hans Hagen
@ 2000-08-21 18:19 ` Joop Susan
2000-08-22 6:59 ` Hans Hagen
0 siblings, 1 reply; 38+ messages in thread
From: Joop Susan @ 2000-08-21 18:19 UTC (permalink / raw)
Cc: Joop Susan, ntg-context
Hans Hagen wrote:
> At 02:21 PM 8/19/00 +0200, Joop Susan wrote:
> >
> >Hallo,
> >
> >I would like to see my footnote numbers as a superscript number followed
> >by a ')'. I need my footnote references to be a bit more visible and
> >slightly bigger targets in interactive documents. (A CMSS superscript '1'
> >just looks lost ;-))
> >
> >I have tried:
> >
> >\def\Myfooternumber#1%
> > {\high{#1)}}
> >
> >\setupfootnotes
> > [numbercommand=\Myfooternumber]
> >
> >This only changes the presentation of the footnote number at the bottom of
> >the page, but not the reference in text.
> >
> >Can anybody tell me which command changes the reference as well?
>
> This is rather hard coded, so I have to look into it.
>
> Hans
> ------------------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
> ------------------------------------------------------------------------
>
I'm only working on one project, so for the time being I can live with
hacking the source to get it right for this project.
I'm a TEX amateur. I couldn't figure out all the \v!, \@@vnwijze, etc. So
my solution is crude (but effective!).
I hacked \dofootnote in core-not.tex as follows:
\def\FootnoteNumberCommand#1% This defaults to just the number
{#1}
\def\dofootnote#1%
{\iffootnotesenabled
\doglobal\increment\internalfootreference
\doifelse{\@@vnwijze}{\v!per\v!pagina}
{\settrue\pagewisefootnotes}
{\setfalse\pagewisefootnotes}%
\doifelse{#1}{-}
{\let\footnotenumber=\empty}
{\ifconditional\pagewisefootnotes
\doifreferencefoundelse{\s!fnt:t:\internalfootreference}
{\ifnum\currentrealreference>\lastfootnotepage\relax
\global\let\lastfootnotepage\currentrealreference
\resetnummer[\v!voetnoot]%
\fi}
{}%
\fi
\verhoognummer[\v!voetnoot]%
\maakhetnummer[\v!voetnoot]%
\def\Myfootnotenumber{\FootnoteNumberCommand{\hetnummer}}
\rawtextreference{\s!fnt}{#1}{\Myfootnotenumber}%
\let\footnotenumber=\Myfootnotenumber}%
\expandafter\dostartfootnote
\else
\expandafter\gobbleoneargument
\fi}
In my document source files I can override FootnoteNumberCommand:
\def\FootnoteNumberCommand#1%
{[#1]}
or
\def\FootnoteNumberCommand#1%
{\inframed[offset=0.2ex,strut=no,width=fit,height=fit]{#1}}
It looks like \setupfootnotes needs another option that accepts a
command...
No doubt you will be able to fix this in a proper way. Unfortunately I
lack the skills...
I'm using tetex-1.0.7 with updated pdftex binaries (Version
3.14159-14f-released-20000525-2.1) and an updated context tree (ver:
2000.5.31).
Joop
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Setting up footnotes...
2000-08-21 18:19 ` Joop Susan
@ 2000-08-22 6:59 ` Hans Hagen
0 siblings, 0 replies; 38+ messages in thread
From: Hans Hagen @ 2000-08-22 6:59 UTC (permalink / raw)
Cc: ntg-context
>I'm a TEX amateur. I couldn't figure out all the \v!, \@@vnwijze, etc. So
>my solution is crude (but effective!).
>
>I hacked \dofootnote in core-not.tex as follows:
You can add such a fix in cont-loc.tex which is loaded at runtime. That way
you can keep track of such hacks.
BTW, the \tx is doing the hardcoded font switch in the footnote number.
Make that \bfx and you get bold ones.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Horizontal centering \startlines...\stoplines
@ 2001-02-22 7:24 Steve Lumos
2001-02-22 8:47 ` Horizontal centering \startlines...\stoplines / poems Hans Hagen
0 siblings, 1 reply; 38+ messages in thread
From: Steve Lumos @ 2001-02-22 7:24 UTC (permalink / raw)
Hi.
I've just recently started using ConTeXt for the purpose of
typesetting a poetry chapbook (small, usually self published,
typically saddle stitch bound). I can't begin to tell you how much I
love how easy the layout becomes with ConTeXt.
What I'm wondering is whether there is an automatic way in ConTeXt to
horizontally center a poem (or any fairly long block of short-line,
ragged-right text) on the page. For example I would like to do
something like:
\definehead[Poem][subject]
\setuphead[Poem][alternative=middle,textcommand=\ss]
\setupindenting[big]
\setuplines[indenting=even]
\starttext
\Poem{deMorgan}
\startlines
Great fleas have little fleas
upon their backs to bite 'em
And little fleas have lesser fleas,
and so ad infinitum,
And the great fleas themselves,
in turn, have greater fleas to go on,
While these again have greater still,
and greater still, and so on.
\stoplines
\stoptext
except wrapping the \startlines...\stoplines in some magic so that the
poem is beneath the title and without having a human to measure with
width of the widest line. This is especially important for setting
poems in two columns because in that case the title looks strange no
matter where you put it.
With LaTeX in the past, I have either lived with everything on the
left which makes the title look funny, or resorted to putting each
poem in a minipage of a width found by trial and error.
Steve
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Horizontal centering \startlines...\stoplines / poems
2001-02-22 7:24 Horizontal centering \startlines...\stoplines Steve Lumos
@ 2001-02-22 8:47 ` Hans Hagen
2001-03-03 9:22 ` Steve Lumos
0 siblings, 1 reply; 38+ messages in thread
From: Hans Hagen @ 2001-02-22 8:47 UTC (permalink / raw)
Cc: ntg-context
At 11:24 PM 2/21/01 -0800, Steve Lumos wrote:
>What I'm wondering is whether there is an automatic way in ConTeXt to
>horizontally center a poem (or any fairly long block of short-line,
>ragged-right text) on the page. For example I would like to do
>something like:
One way (there a re couple more) to handle this is to analyze the poem, so
let's open up pandora's box:
\setupindenting
[big]
\setuplines
[indenting=even]
\definehead
[FancyPoem]
[subject]
\setuphead
[FancyPoem]
[textcommand=\midaligned,
textstyle=\ss]
\def\startFancyPoem#1%
{\def\PoemTitle{\FancyPoem{#1}}%
\beginofshapebox
\startlines}
\def\stopFancyPoem%
{\stoplines
\endofshapebox
\dimen1=0pt
\reshapebox
{\setbox\scratchbox=\hbox{\unhcopy\shapebox}%
\ifdim\wd\scratchbox>\dimen1 \global\dimen1=\wd\scratchbox \fi
\unhbox\shapebox}
\bgroup
\hsize\dimen1
\PoemTitle
\egroup
\flushshapebox}
\starttext
\startFancyPoem{SomePoem}
Great fleas have little fleas
upon their backs to bite 'em
And little fleas have lesser fleas,
and so ad infinitum,
And the great fleas themselves,
in turn, have greater fleas to go on,
While these again have greater still,
and greater still, and so on.
\stopFancyPoem
\stoptext
Of course this is a rather minimal implementation.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Horizontal centering \startlines...\stoplines / poems
2001-02-22 8:47 ` Horizontal centering \startlines...\stoplines / poems Hans Hagen
@ 2001-03-03 9:22 ` Steve Lumos
2001-03-04 21:09 ` Hans Hagen
0 siblings, 1 reply; 38+ messages in thread
From: Steve Lumos @ 2001-03-03 9:22 UTC (permalink / raw)
Cc: ntg-context
This centers the title on the poem, but what I was hoping to do
was center the entire poem horizontally on the page. This definitely
gives me a way to get started though.
Steve
>At 11:24 PM 2/21/01 -0800, Steve Lumos wrote:
>
>>What I'm wondering is whether there is an automatic way in ConTeXt to
>>horizontally center a poem (or any fairly long block of short-line,
>>ragged-right text) on the page. For example I would like to do
>>something like:
>
>One way (there a re couple more) to handle this is to analyze the poem, so
>let's open up pandora's box:
>
>\setupindenting
> [big]
>
>\setuplines
> [indenting=even]
>
>\definehead
> [FancyPoem]
> [subject]
>
>\setuphead
> [FancyPoem]
> [textcommand=\midaligned,
> textstyle=\ss]
>
>\def\startFancyPoem#1%
> {\def\PoemTitle{\FancyPoem{#1}}%
> \beginofshapebox
> \startlines}
>
>\def\stopFancyPoem%
> {\stoplines
> \endofshapebox
> \dimen1=0pt
> \reshapebox
> {\setbox\scratchbox=\hbox{\unhcopy\shapebox}%
> \ifdim\wd\scratchbox>\dimen1 \global\dimen1=\wd\scratchbox \fi
> \unhbox\shapebox}
> \bgroup
> \hsize\dimen1
> \PoemTitle
> \egroup
> \flushshapebox}
>
>\starttext
>
>\startFancyPoem{SomePoem}
>
>Great fleas have little fleas
> upon their backs to bite 'em
>And little fleas have lesser fleas,
> and so ad infinitum,
>
>And the great fleas themselves,
> in turn, have greater fleas to go on,
>While these again have greater still,
> and greater still, and so on.
>
>\stopFancyPoem
>
>\stoptext
>
>Of course this is a rather minimal implementation.
>
>Hans
>
>-------------------------------------------------------------------------
> Hans Hagen | PRAGMA ADE | pragma@wxs.nl
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
>-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Horizontal centering \startlines...\stoplines / poems
2001-03-03 9:22 ` Steve Lumos
@ 2001-03-04 21:09 ` Hans Hagen
2001-03-07 4:08 ` Steve Lumos
0 siblings, 1 reply; 38+ messages in thread
From: Hans Hagen @ 2001-03-04 21:09 UTC (permalink / raw)
Cc: ntg-context
At 01:22 AM 3/3/01 -0800, Steve Lumos wrote:
>
>This centers the title on the poem, but what I was hoping to do
>was center the entire poem horizontally on the page. This definitely
>gives me a way to get started though.
>> ...
>>\def\stopFancyPoem%
>> {\stoplines
>> \endofshapebox
>> \dimen1=0pt
>> \reshapebox
>> {\setbox\scratchbox=\hbox{\unhcopy\shapebox}%
>> \ifdim\wd\scratchbox>\dimen1 \global\dimen1=\wd\scratchbox \fi
>> \unhbox\shapebox}
>> \bgroup
>> \hsize\dimen1
>> \PoemTitle
>> \egroup
Then add here:
\expanded{\setuplayout[width=\the\dimen1]}
>> \flushshapebox}
>>
>>\starttext
(untested)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Horizontal centering \startlines...\stoplines / poems
2001-03-04 21:09 ` Hans Hagen
@ 2001-03-07 4:08 ` Steve Lumos
2001-03-07 8:14 ` Hans Hagen
0 siblings, 1 reply; 38+ messages in thread
From: Steve Lumos @ 2001-03-07 4:08 UTC (permalink / raw)
>>This centers the title on the poem, but what I was hoping to do
>>was center the entire poem horizontally on the page. This definitely
>>gives me a way to get started though.
>
>>> ...
>>>\def\stopFancyPoem%
>>> {\stoplines
>>> \endofshapebox
>>> \dimen1=0pt
>>> \reshapebox
>>> {\setbox\scratchbox=\hbox{\unhcopy\shapebox}%
>>> \ifdim\wd\scratchbox>\dimen1 \global\dimen1=\wd\scratchbox \fi
>>> \unhbox\shapebox}
>>> \bgroup
>>> \hsize\dimen1
>>> \PoemTitle
>>> \egroup
>
>Then add here:
>
>\expanded{\setuplayout[width=\the\dimen1]}
>
>>> \flushshapebox}
>>>
>>>\starttext
>
>(untested)
>
>
>Hans
Changing width like this moves the margin away from the edge of the
page. I'm doubltess about to show how much of a beginner I am, but
this is what I did:
\def\startCenterBlock%
{\beginofshapebox}
\def\stopCenterBlock%
{\endofshapebox
\dimen1=0pt
\reshapebox
{\setbox\scratchbox=\hbox{\unhcopy\shapebox}%
\ifdim\wd\scratchbox>\dimen1 \global\dimen1=\wd\scratchbox \fi
\unhbox\shapebox}
\dimen2=\hsize
\advance\dimen2 by-\dimen1
\divide\dimen2 by 2
\moveright\dimen2\box\newshapebox
\flushshapebox}
I'm not sure whether it is considered bad to reference \newshapebox,
but I couldn't figure out another way. This seems to work as long as
the poem is shorter than a page. I'm still playing with settings, but
here's what I'm using now if it makes any difference:
\definepapersize[booklet][width=5.5in,height=8.5in]
\setuppapersize[booklet][letter,landscape]
\setuplayout
[topspace=0.1in,
backspace=0.25in,
header=0.25in,
footer=0pt,
leftmargin=0pt,
leftmargindistance=0pt,
rightmargin=0.4in,
rightmargindistance=0.1in,
height=fit,
width=fit]
\setuppagenumbering
[alternative=doublesided,
location={header,inmargin},
command=\InverseBox]
\setuparranging[2UP,rotated]
Steve
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Horizontal centering \startlines...\stoplines / poems
2001-03-07 4:08 ` Steve Lumos
@ 2001-03-07 8:14 ` Hans Hagen
0 siblings, 0 replies; 38+ messages in thread
From: Hans Hagen @ 2001-03-07 8:14 UTC (permalink / raw)
Cc: ntg-context
At 08:08 PM 3/6/01 -0800, Steve Lumos wrote:
> \moveright\dimen2\box\newshapebox
> \flushshapebox}
>
>I'm not sure whether it is considered bad to reference \newshapebox,
>but I couldn't figure out another way. This seems to work as long as
In your case teh box is now empty so the flush cannot handle odd cases,
\setbox\newshapebox\normalvbox{\moveright\dimen2\box\newshapebox}%
may be a better way, or simply leave out the \flush...
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* fonts fonts and fonts
@ 2001-03-12 16:50 ` Hans Hagen
2001-03-12 17:07 ` Frans Goddijn
` (5 more replies)
0 siblings, 6 replies; 38+ messages in thread
From: Hans Hagen @ 2001-03-12 16:50 UTC (permalink / raw)
Hi all,
Fonts is still one of the more complicated areas in tex. I have written a
perl script that can do some of the tasks needed to install a 'commercial'
font under context. I'm also working on some math fonts (like micropress
informal which is a nice one and y&y mathtime that can be used with many
fonts).
There are several issues that need to be taken care of:
- copying fonts the right location in the texmf-local tree
- generating a map file for pdftex
- generating font synonyms
Now, i'm thinking of setting up a font tfm/vf/map repository but first i
want to knwo if there is any need for that.
An important issue is the encoding and naming. I know that there are all
those predefined kb font names, but i never work that way: i just use the
original names and one encoding. So, we need to make choices as well as
provide methods, auto map file inclusion etc. It's not that hard actually
but i can only do this if we agree upon it. I want to get rid of the tex
font mess -)
How many of you use fonts other that cmr and what fonts? In what encodings?
In what combinations?
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-12 16:50 ` fonts fonts and fonts Hans Hagen
@ 2001-03-12 17:07 ` Frans Goddijn
2001-03-12 23:11 ` Christoph Dreyer
` (4 subsequent siblings)
5 siblings, 0 replies; 38+ messages in thread
From: Frans Goddijn @ 2001-03-12 17:07 UTC (permalink / raw)
> How many of you use fonts other that cmr and what fonts? In what
encodings?
> In what combinations?
I do, I use a special set of the Times font that Taco configured for me. I
have no idea what encodings and combinations -- I looked into it but
concluded that it's all way above my head.
If it were easier I would probably sooner contemplate buying a new font
family. As it is, it would mean spending money on PFB files and being
completely lost with them, unless I could find a guru like Taco to do all
the installation work ;=}}
Groet!
frans
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-12 16:50 ` fonts fonts and fonts Hans Hagen
2001-03-12 17:07 ` Frans Goddijn
@ 2001-03-12 23:11 ` Christoph Dreyer
2001-03-13 9:33 ` S2P development
2001-03-13 7:12 ` Steve Lumos
` (3 subsequent siblings)
5 siblings, 1 reply; 38+ messages in thread
From: Christoph Dreyer @ 2001-03-12 23:11 UTC (permalink / raw)
Cc: ntg-context
Hi!
On Mon, Mar 12, 2001, Hans Hagen wrote:
> Fonts is still one of the more complicated areas in tex. I have written a
> perl script that can do some of the tasks needed to install a 'commercial'
> font under context.
Are you using fontinst for this? This should imho be the best way to do
it, because you can also use the font for tex/latex.
> There are several issues that need to be taken care of:
>
> - copying fonts the right location in the texmf-local tree
tetex keeps all font-related files in subdirs foundry/fontname, e.g.
fonts/tfm/adobe/minion.
> - generating a map file for pdftex
This should be easy. But pdftex needs to know about the map file. For
tetex you have to edit the script updmap and place the name of the new
map file in a variable. After that you need to call updmap, which will
create a new map file for dvips and pdftex.
> - generating font synonyms
The user should tell the script if it's a serif, sansserif or whatever.
> Now, i'm thinking of setting up a font tfm/vf/map repository but first i
> want to knwo if there is any need for that.
A repository for what?
> An important issue is the encoding and naming. I know that there are all
> those predefined kb font names, but i never work that way: i just use the
> original names and one encoding. So, we need to make choices as well as
> provide methods, auto map file inclusion etc. It's not that hard actually
> but i can only do this if we agree upon it. I want to get rid of the tex
> font mess -)
Imho it's better to stay with fontinst. But this certainly needs
an easy-to-use frontend. If you tell the user, after fontinst has
completed, that he can now use Minion by \setupbodyfont [minion], then
he won't see anything of the "tex font mess". So the user should use the
real name of the font, but the software the kb names.
> How many of you use fonts other that cmr and what fonts? In what encodings?
> In what combinations?
I have used the standard pdf fonts, Lucidabright, Utopia, Charter and
the Microsoft Core Fonts. All in texnansi encoding, because I still
don't understand how this encoding stuff works... :-( But I never
had problems with this. Except that some symbols are taken from
the Computer Modern Math fonts.
Hope this helps.
Christoph
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-12 16:50 ` fonts fonts and fonts Hans Hagen
2001-03-12 17:07 ` Frans Goddijn
2001-03-12 23:11 ` Christoph Dreyer
@ 2001-03-13 7:12 ` Steve Lumos
2001-03-13 9:13 ` Hans Hagen
2001-03-14 0:29 ` Uwe Koloska
2001-03-13 14:35 ` Ed L Cashin
` (2 subsequent siblings)
5 siblings, 2 replies; 38+ messages in thread
From: Steve Lumos @ 2001-03-13 7:12 UTC (permalink / raw)
>How many of you use fonts other that cmr and what fonts? In what encodings?
>In what combinations?
>
>Hans
I have the Lucida Bright Expert collection on order. In the poetry
chapbook I'm currently working on, I'm thinking of using Lucida Bright
in the body and Ludica Casual or Handwriting for headings.
I've done two other poetry chapbooks with LaTeX, one in Palatino, and
the other in the Pandora metafont, which I liked quite alot.
I'm looking for recomendations for fonts that are a little decorative
but still easy to read for typesetting poems.
Steve
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-13 7:12 ` Steve Lumos
@ 2001-03-13 9:13 ` Hans Hagen
2001-03-14 0:29 ` Uwe Koloska
1 sibling, 0 replies; 38+ messages in thread
From: Hans Hagen @ 2001-03-13 9:13 UTC (permalink / raw)
Cc: ntg-context
At 11:12 PM 3/12/01 -0800, Steve Lumos wrote:
>
>>How many of you use fonts other that cmr and what fonts? In what encodings?
>>In what combinations?
>>
>>Hans
>
>I have the Lucida Bright Expert collection on order. In the poetry
>chapbook I'm currently working on, I'm thinking of using Lucida Bright
>in the body and Ludica Casual or Handwriting for headings.
you can see lucidas in action in the math ml manual [where i used the
handwriting for headings]
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-12 23:11 ` Christoph Dreyer
@ 2001-03-13 9:33 ` S2P development
2001-03-13 10:12 ` Han The Thanh
` (2 more replies)
0 siblings, 3 replies; 38+ messages in thread
From: S2P development @ 2001-03-13 9:33 UTC (permalink / raw)
Christoph Dreyer wrote:
>
> Hi!
>
> On Mon, Mar 12, 2001, Hans Hagen wrote:
>
> > Fonts is still one of the more complicated areas in tex. I have written a
> > perl script that can do some of the tasks needed to install a 'commercial'
> > font under context.
>
> Are you using fontinst for this? This should imho be the best way to do
> it, because you can also use the font for tex/latex.
fontinst is a confusing affair. While it is fairly easy to install
a simple text font with it, it is very hard to do something complicated.
People keep telling me that it's possible, but it doesnt make a lot
of sense to me.
Also, I don't understand why it was coded in TeX (don't tell me it is
for ease of use ... it's not easy to use ... and it's not helpful for
portability ... fontinst doesn't even do any of the non-portable stuff).
In short: I don't like fontinst, nor will I ever. But it does make
sense to create an 8t/7t encoded tfm along with the texnansi one for
context.
> > There are several issues that need to be taken care of:
> >
> > - copying fonts the right location in the texmf-local tree
>
> tetex keeps all font-related files in subdirs foundry/fontname, e.g.
> fonts/tfm/adobe/minion.
In general, this is the easy part (at least for all TDS-conforming
distributions).
> > - generating a map file for pdftex
>
> This should be easy. But pdftex needs to know about the map file. For
> tetex you have to edit the script updmap and place the name of the new
> map file in a variable. After that you need to call updmap, which will
> create a new map file for dvips and pdftex.
updmap is a hack. I'm sure Thomas would be happy to replace it
with something cleaner.
> > Now, i'm thinking of setting up a font tfm/vf/map repository but first i
> > want to knwo if there is any need for that.
>
> A repository for what?
For metric files, basically. Right?
Y&Y still have the tfm files for the full Adobe library on-line, which
is basically the same idea hans is going for. Have a look at:
http://www.yandy.com/usely1.htm
> > An important issue is the encoding and naming. I know that there are all
> > those predefined kb font names, but i never work that way: i just use the
> > original names and one encoding. So, we need to make choices as well as
> > provide methods, auto map file inclusion etc. It's not that hard actually
> > but i can only do this if we agree upon it. I want to get rid of the tex
> > font mess -)
>
> Imho it's better to stay with fontinst. But this certainly needs
> an easy-to-use frontend. If you tell the user, after fontinst has
> completed, that he can now use Minion by \setupbodyfont [minion], then
> he won't see anything of the "tex font mess". So the user should use the
> real name of the font, but the software the kb names.
I believe that if you do all of the hard work yourself anyway, that
it is probably a better idea to replace fontinst alltogether. (But,
as I said earlier, keeping the functionality intact).
Technically: it is easy to replace 8r (the so-called Adobe Raw encoding)
with 8y (texnansi) as the base encoding on top of which you can build
the 8-bit latex virtual font version.
> > How many of you use fonts other that cmr and what fonts? In what
> > encodings? In what combinations?
I lost track, really. :-)
texnansi is generally the easiest encoding to install, so most of the
simple fonts I used had that encoding, and most of the hard ones had
'do-it-yourself' encodings. (trying to fit e.g. TimesExpert into the
'text companion' encoding is just too much work for me).
Greetings, Taco
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-13 9:33 ` S2P development
@ 2001-03-13 10:12 ` Han The Thanh
2001-03-13 10:35 ` Hans Hagen
2001-03-14 21:32 ` H. Ramm
2 siblings, 0 replies; 38+ messages in thread
From: Han The Thanh @ 2001-03-13 10:12 UTC (permalink / raw)
Cc: ntg-context
> > Are you using fontinst for this? This should imho be the best way to do
> > it, because you can also use the font for tex/latex.
>
> fontinst is a confusing affair. While it is fairly easy to install
> a simple text font with it, it is very hard to do something complicated.
> People keep telling me that it's possible, but it doesnt make a lot
> of sense to me.
>
> Also, I don't understand why it was coded in TeX (don't tell me it is
> for ease of use ... it's not easy to use ... and it's not helpful for
> portability ... fontinst doesn't even do any of the non-portable stuff).
completely agree!
> In short: I don't like fontinst, nor will I ever. But it does make
> sense to create an 8t/7t encoded tfm along with the texnansi one for
> context.
I do use fontinst, because I don't have anything more reasonable to deal
with things like composed glyphs, letterspacing, kerning and the likes.
Don't tell me that afm2tfm can do that job.
Thanh
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-13 9:33 ` S2P development
2001-03-13 10:12 ` Han The Thanh
@ 2001-03-13 10:35 ` Hans Hagen
2001-03-14 21:32 ` H. Ramm
2 siblings, 0 replies; 38+ messages in thread
From: Hans Hagen @ 2001-03-13 10:35 UTC (permalink / raw)
Cc: ntg-context
At 10:33 AM 3/13/01 +0100, S2P development wrote:
>For metric files, basically. Right?
indeed, with the accompanying map files, i now generate something
texnansi-adobe-myriad.map
as well as a tex test file which also shows how to include them (using
their internal names, which for some reason are always inconsistent:
blabla-bold-italic vs blablabold-italic vs blabla-bolditalic vs blabla-bi
or whatever).
>Y&Y still have the tfm files for the full Adobe library on-line, which
>is basically the same idea hans is going for. Have a look at:
>
> http://www.yandy.com/usely1.htm
i'll have a look
>I believe that if you do all of the hard work yourself anyway, that
>it is probably a better idea to replace fontinst alltogether. (But,
>as I said earlier, keeping the functionality intact).
a matter of stepwise improvement adn i bet that you have some ideas too
>Technically: it is easy to replace 8r (the so-called Adobe Raw encoding)
>with 8y (texnansi) as the base encoding on top of which you can build
>the 8-bit latex virtual font version.
how i would like texnansi-blabla.tfm and rawtex-blabla.tfm ...
>> > How many of you use fonts other that cmr and what fonts? In what
>> > encodings? In what combinations?
>
>I lost track, really. :-)
well, if *you* lost it, then who kept track
A thought: why not use unicode mapping? The regimes can map onto it and
internally we can then stick to <font><char> pairs. We only need to create
series of virtual files i suppose? I don;t know what the consequence for
patterns is, but it would solves the mix ten languages that don't map onto
one font instance problem
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-12 16:50 ` fonts fonts and fonts Hans Hagen
` (2 preceding siblings ...)
2001-03-13 7:12 ` Steve Lumos
@ 2001-03-13 14:35 ` Ed L Cashin
2001-03-14 0:18 ` Uwe Koloska
2001-03-15 21:55 ` H. Ramm
5 siblings, 0 replies; 38+ messages in thread
From: Ed L Cashin @ 2001-03-13 14:35 UTC (permalink / raw)
Cc: ntg-context
Hans Hagen <pragma@wxs.nl> writes:
> Fonts is still one of the more complicated areas in tex. I have written a
> perl script that can do some of the tasks needed to install a 'commercial'
> font under context.
If you succeed in creating an easy way to install commercial fonts,
this tool will likely become very popular.
...
> How many of you use fonts other that cmr and what fonts? In what
> encodings? In what combinations?
I used postscript Courier bold once. (Mostly I stick to cmr, partly
because there's been no tool like the one you're making.)
--
--Ed Cashin PGP public key:
ecashin@terry.uga.edu http://www.terry.uga.edu/~ecashin/pgp/
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-12 16:50 ` fonts fonts and fonts Hans Hagen
` (3 preceding siblings ...)
2001-03-13 14:35 ` Ed L Cashin
@ 2001-03-14 0:18 ` Uwe Koloska
2001-03-15 21:55 ` H. Ramm
5 siblings, 0 replies; 38+ messages in thread
From: Uwe Koloska @ 2001-03-14 0:18 UTC (permalink / raw)
Am Montag, 12. März 2001 17:50 hast du geschrieben:
> Hi all,
> [for lack of time I only refer to the last question]
>
> How many of you use fonts other that cmr and what fonts? In what
> encodings? In what combinations?
I do love fonts. And I use many different ones (not in the same document
thought!) For the last project (a journal that I promised to make a report
about the work) I managed to implement a family of TTF fonts (Glasgow
Serial) from the demo collection:
http://www.freefont.de/de/megastar.htm
and a headline font (Batmos) from
http://buddha.graphix.dk/
There are lots of problems with the existing tools. I hope to prepare a
report on that font challenge the next days ...
Uwe
--
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
-- --
right now the web page is in german only
but this will change as time goes by ;-)
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-13 7:12 ` Steve Lumos
2001-03-13 9:13 ` Hans Hagen
@ 2001-03-14 0:29 ` Uwe Koloska
1 sibling, 0 replies; 38+ messages in thread
From: Uwe Koloska @ 2001-03-14 0:29 UTC (permalink / raw)
Am Dienstag, 13. März 2001 08:12 hast du geschrieben:
> I've done two other poetry chapbooks with LaTeX, one in Palatino, and
> the other in the Pandora metafont, which I liked quite alot.
>
> I'm looking for recomendations for fonts that are a little decorative
> but still easy to read for typesetting poems.
I do like the "Bradley Hand" but haven't used it yet for longer texts
myself. But the Adobe Illustrator handbook shows some longer texts with it
and there it looks very good.
Uwe
--
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
-- --
right now the web page is in german only
but this will change as time goes by ;-)
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-13 9:33 ` S2P development
2001-03-13 10:12 ` Han The Thanh
2001-03-13 10:35 ` Hans Hagen
@ 2001-03-14 21:32 ` H. Ramm
2 siblings, 0 replies; 38+ messages in thread
From: H. Ramm @ 2001-03-14 21:32 UTC (permalink / raw)
S2P development schrieb:
>fontinst is a confusing affair. While it is fairly easy to install
>a simple text font with it, it is very hard to do something complicated.
>People keep telling me that it's possible, but it doesnt make a lot
>of sense to me.
Walter Schmidt told me, he is detecting more and more errors in fontinst,
the more he looks into it... (esp. for small caps and other expert fonts)
--
Grüßlis vom Hraban!
---
http://angerweit.tikon.ch/ http://www.drucktechniker2001.de/
http://www.planet-interkom.de/fiee.visuelle/formelsammlung.html
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: fonts fonts and fonts
2001-03-12 16:50 ` fonts fonts and fonts Hans Hagen
` (4 preceding siblings ...)
2001-03-14 0:18 ` Uwe Koloska
@ 2001-03-15 21:55 ` H. Ramm
5 siblings, 0 replies; 38+ messages in thread
From: H. Ramm @ 2001-03-15 21:55 UTC (permalink / raw)
Another font hint:
There are some new font packages (metrics, install instructions etc,
no pfb) for LaTeX by Walter Schmidt on his homepage:
<http://home.vr-web.de/was/fonts>
Perhaps someone could adapt them for ConTeXt?
--
Grüßlis vom Hraban!
---
http://angerweit.tikon.ch/ http://www.drucktechniker2001.de/
http://www.planet-interkom.de/fiee.visuelle/formelsammlung.html
^ permalink raw reply [flat|nested] 38+ messages in thread
* Environments, Projects, Products, Components
@ 2001-05-30 11:40 Giuseppe Bilotta
2001-05-30 15:14 ` Taco Hoekwater
0 siblings, 1 reply; 38+ messages in thread
From: Giuseppe Bilotta @ 2001-05-30 11:40 UTC (permalink / raw)
Hello,
I'm getting the first attempts to structured ConTeXt, and I needed
some clarifications.
As I see it, it goes like this:
environments are more or less the equivalent of LaTeX2e classes.
Projects are collection of material (say, Calculus books)
Products are the single books (say, Calculus, Advanced Calculus)
Components are the single chapters of the various books.
If this is correct, I'd like to know if it is possible to
structure components in such a way that they can be recycled. I
mean:
imagine that I'm writing two books, BookA and BookB, and imagine
that both books have a chapter in common, say ChapFoo.
If I was thinking of the single books, I would write:
(booka.tex)
\startproduct booka
\component chapbar
\component chapfoo
\stopproduct
(chapfoo.tex)
\startcomponent chapfoo
\product booka
\starttext
the text for this chapter
\stopttext
\stopcomponent
But now, what if I say
(bookb.text)
\startproduct bookb
\component chapquuz
\component chapfoo
\stopproduct
?
Shouldn't I change chapfoo.tex so that it says \product bookb?
Any clarification appreciated.
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Environments, Projects, Products, Components
2001-05-30 11:40 Environments, Projects, Products, Components Giuseppe Bilotta
@ 2001-05-30 15:14 ` Taco Hoekwater
2001-05-30 18:01 ` Re[2]: " Giuseppe Bilotta
0 siblings, 1 reply; 38+ messages in thread
From: Taco Hoekwater @ 2001-05-30 15:14 UTC (permalink / raw)
Giuseppe Bilotta wrote:
> Hello,
>
> I'm getting the first attempts to structured ConTeXt, and I needed
> some clarifications.
>
> As I see it, it goes like this:
>
> environments are more or less the equivalent of LaTeX2e classes.
>
> Projects are collection of material (say, Calculus books)
>
> Products are the single books (say, Calculus, Advanced Calculus)
>
> Components are the single chapters of the various books.
Correct.
> Shouldn't I change chapfoo.tex so that it says \product bookb?
Just delete the \product line alltogether, it is optional. :-)
Or you can do it like this:
chapfoo.tex:
...
\product booka
\input chapfoo-contents
...
chapbar.tex:
....
\product bookb
\input chapfoo-contents
...
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re[2]: Environments, Projects, Products, Components
2001-05-30 15:14 ` Taco Hoekwater
@ 2001-05-30 18:01 ` Giuseppe Bilotta
2001-05-31 7:51 ` Taco Hoekwater
2001-05-31 8:11 ` Re[2]: " Hans Hagen
0 siblings, 2 replies; 38+ messages in thread
From: Giuseppe Bilotta @ 2001-05-30 18:01 UTC (permalink / raw)
Cc: ntg-context
Wednesday, May 30, 2001 Taco Hoekwater wrote:
TH> Giuseppe Bilotta wrote:
>> Hello,
>>
>> I'm getting the first attempts to structured ConTeXt, and I needed
>> some clarifications.
>>
>> As I see it, it goes like this:
>>
>> environments are more or less the equivalent of LaTeX2e classes.
>>
>> Projects are collection of material (say, Calculus books)
>>
>> Products are the single books (say, Calculus, Advanced Calculus)
>>
>> Components are the single chapters of the various books.
TH> Correct.
Phew! :-)
>> Shouldn't I change chapfoo.tex so that it says \product bookb?
TH> Just delete the \product line alltogether, it is optional. :-)
Oh.
TH> Or you can do it like this:
TH> chapfoo.tex:
TH> ...
TH> \product booka
TH> \input chapfoo-contents
TH> ...
TH> chapbar.tex:
TH> ....
TH> \product bookb
TH> \input chapfoo-contents
TH> ...
I see. Hadn't thought of that ... which do you think is the better
idea? taking \product off is space-saving (only one file per
chapter, instead of two wrappers plus the file), but somehow seems
less structuring ... maybe I'd better keep \product in until I
need to use the same file somewhere else ...
What happens if product booka meets a component that says \product
bookb?
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Environments, Projects, Products, Components
2001-05-30 18:01 ` Re[2]: " Giuseppe Bilotta
@ 2001-05-31 7:51 ` Taco Hoekwater
2001-05-31 9:34 ` Hans Hagen
2001-05-31 8:11 ` Re[2]: " Hans Hagen
1 sibling, 1 reply; 38+ messages in thread
From: Taco Hoekwater @ 2001-05-31 7:51 UTC (permalink / raw)
Cc: ntg-context
Giuseppe Bilotta wrote:
>
> Wednesday, May 30, 2001 Taco Hoekwater wrote:
>
> I see. Hadn't thought of that ... which do you think is the better
> idea? taking \product off is space-saving (only one file per
> chapter, instead of two wrappers plus the file), but somehow seems
> less structuring ... maybe I'd better keep \product in until I
> need to use the same file somewhere else ...
>
> What happens if product booka meets a component that says \product
> bookb?
If I understand correctly, nothing. I *think* \product is in there
to allow partial compile of the component. But I not sure and
I've never used this stuff so I am just doing a guess here.
--
groeten,
Taco
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Re[2]: Environments, Projects, Products, Components
2001-05-30 18:01 ` Re[2]: " Giuseppe Bilotta
2001-05-31 7:51 ` Taco Hoekwater
@ 2001-05-31 8:11 ` Hans Hagen
1 sibling, 0 replies; 38+ messages in thread
From: Hans Hagen @ 2001-05-31 8:11 UTC (permalink / raw)
Cc: ntg-context
At 08:01 PM 5/30/01 +0200, Giuseppe Bilotta wrote:
>I see. Hadn't thought of that ... which do you think is the better
>idea? taking \product off is space-saving (only one file per
>chapter, instead of two wrappers plus the file), but somehow seems
>less structuring ... maybe I'd better keep \product in until I
>need to use the same file somewhere else ...
>
>What happens if product booka meets a component that says \product
>bookb?
there are also locale env's that can be loaded per product so in that case
you may waqnt the directive so that context can backtract the doc tree.
some day this will be more extensive [split doc processing and auto cross
doc/toc refs and so]
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Environments, Projects, Products, Components
2001-05-31 7:51 ` Taco Hoekwater
@ 2001-05-31 9:34 ` Hans Hagen
2001-08-30 17:54 ` Steve Lumos
0 siblings, 1 reply; 38+ messages in thread
From: Hans Hagen @ 2001-05-31 9:34 UTC (permalink / raw)
Cc: ntg-context
At 09:51 AM 5/31/01 +0200, Taco Hoekwater wrote:
>Giuseppe Bilotta wrote:
>>
>> Wednesday, May 30, 2001 Taco Hoekwater wrote:
>>
>> I see. Hadn't thought of that ... which do you think is the better
>> idea? taking \product off is space-saving (only one file per
>> chapter, instead of two wrappers plus the file), but somehow seems
>> less structuring ... maybe I'd better keep \product in until I
>> need to use the same file somewhere else ...
>>
>> What happens if product booka meets a component that says \product
>> bookb?
>
>If I understand correctly, nothing. I *think* \product is in there
>to allow partial compile of the component. But I not sure and
you got it right!
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Environments, Projects, Products, Components
2001-05-31 9:34 ` Hans Hagen
@ 2001-08-30 17:54 ` Steve Lumos
2001-08-31 7:19 ` Hans Hagen
0 siblings, 1 reply; 38+ messages in thread
From: Steve Lumos @ 2001-08-30 17:54 UTC (permalink / raw)
Hans Hagen <pragma@wxs.nl>:
>At 09:51 AM 5/31/01 +0200, Taco Hoekwater wrote:
>>Giuseppe Bilotta wrote:
>>>
>>> Wednesday, May 30, 2001 Taco Hoekwater wrote:
>>>
>>> I see. Hadn't thought of that ... which do you think is the better
>>> idea? taking \product off is space-saving (only one file per
>>> chapter, instead of two wrappers plus the file), but somehow seems
>>> less structuring ... maybe I'd better keep \product in until I
>>> need to use the same file somewhere else ...
>>>
>>> What happens if product booka meets a component that says \product
>>> bookb?
>>
>>If I understand correctly, nothing. I *think* \product is in there
>>to allow partial compile of the component. But I not sure and
>
>you got it right!
>
>Hans
Is there a complete example anywhere that uses partial compilation? I
couldn't get it working before and just assumed that I'd misunderstood
what it was for.
Steve
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Environments, Projects, Products, Components
2001-08-30 17:54 ` Steve Lumos
@ 2001-08-31 7:19 ` Hans Hagen
0 siblings, 0 replies; 38+ messages in thread
From: Hans Hagen @ 2001-08-31 7:19 UTC (permalink / raw)
Cc: ntg-context
[-- Attachment #1: Type: text/plain, Size: 1292 bytes --]
At 10:54 AM 8/30/2001 -0700, Steve Lumos wrote:
>Hans Hagen <pragma@wxs.nl>:
> >At 09:51 AM 5/31/01 +0200, Taco Hoekwater wrote:
> >>Giuseppe Bilotta wrote:
> >>>
> >>> Wednesday, May 30, 2001 Taco Hoekwater wrote:
> >>>
> >>> I see. Hadn't thought of that ... which do you think is the better
> >>> idea? taking \product off is space-saving (only one file per
> >>> chapter, instead of two wrappers plus the file), but somehow seems
> >>> less structuring ... maybe I'd better keep \product in until I
> >>> need to use the same file somewhere else ...
> >>>
> >>> What happens if product booka meets a component that says \product
> >>> bookb?
> >>
> >>If I understand correctly, nothing. I *think* \product is in there
> >>to allow partial compile of the component. But I not sure and
> >
> >you got it right!
> >
> >Hans
>
>Is there a complete example anywhere that uses partial compilation? I
>couldn't get it working before and just assumed that I'd misunderstood
>what it was for.
>
>Steve
Attached is a set of files. You should be able to run the components
(onderdeel) and products separately.
the examples are dutch so you need to generate a dutch format or translate
them to english first
omgeving => environment
onderdeel => component
[leerdoel => learning objective]
Hans
[-- Attachment #2: dutch.zip --]
[-- Type: application/zip, Size: 2457 bytes --]
[-- Attachment #3: Type: text/plain, Size: 373 bytes --]
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Broken catcodes
@ 2002-05-25 18:14 Giuseppe Bilotta
2002-05-25 20:17 ` Hans Hagen
0 siblings, 1 reply; 38+ messages in thread
From: Giuseppe Bilotta @ 2002-05-25 18:14 UTC (permalink / raw)
Hello,
I'm testing ConTeXt 2002.05.17 and found out that even at
protection-level 0 ! ? and @ have catcode 11 instead of 12. I
wasn't able to see where the messing up occurred, though.
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Broken catcodes
2002-05-25 18:14 Broken catcodes Giuseppe Bilotta
@ 2002-05-25 20:17 ` Hans Hagen
2002-05-25 21:46 ` Re[2]: " Giuseppe Bilotta
0 siblings, 1 reply; 38+ messages in thread
From: Hans Hagen @ 2002-05-25 20:17 UTC (permalink / raw)
Cc: ntg-context
At 08:14 PM 5/25/2002 +0200, Giuseppe Bilotta wrote:
>Hello,
>
>I'm testing ConTeXt 2002.05.17 and found out that even at
>protection-level 0 ! ? and @ have catcode 11 instead of 12. I
>wasn't able to see where the messing up occurred, though.
can you test the current version?
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re[2]: Broken catcodes
2002-05-25 20:17 ` Hans Hagen
@ 2002-05-25 21:46 ` Giuseppe Bilotta
2002-05-26 17:39 ` Hans Hagen
0 siblings, 1 reply; 38+ messages in thread
From: Giuseppe Bilotta @ 2002-05-25 21:46 UTC (permalink / raw)
Cc: ntg-context
Saturday, May 25, 2002 Hans Hagen wrote:
HH> At 08:14 PM 5/25/2002 +0200, Giuseppe Bilotta wrote:
>>Hello,
>>
>>I'm testing ConTeXt 2002.05.17 and found out that even at
>>protection-level 0 ! ? and @ have catcode 11 instead of 12. I
>>wasn't able to see where the messing up occurred, though.
HH> can you test the current version?
Still bugged in 2002.05.24 --to be precise, @ has catcode 12, but
! and ? have catcode 11.
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re[2]: Broken catcodes
2002-05-25 21:46 ` Re[2]: " Giuseppe Bilotta
@ 2002-05-26 17:39 ` Hans Hagen
2002-05-26 20:38 ` Re[3]: " Giuseppe Bilotta
[not found] ` <pragma@wxs.nl>
0 siblings, 2 replies; 38+ messages in thread
From: Hans Hagen @ 2002-05-26 17:39 UTC (permalink / raw)
Cc: ntg-context
At 11:46 PM 5/25/2002 +0200, Giuseppe Bilotta wrote:
>Saturday, May 25, 2002 Hans Hagen wrote:
>
>HH> At 08:14 PM 5/25/2002 +0200, Giuseppe Bilotta wrote:
> >>Hello,
> >>
> >>I'm testing ConTeXt 2002.05.17 and found out that even at
> >>protection-level 0 ! ? and @ have catcode 11 instead of 12. I
> >>wasn't able to see where the messing up occurred, though.
>
>HH> can you test the current version?
>
>Still bugged in 2002.05.24 --to be precise, @ has catcode 12, but
>! and ? have catcode 11.
Well, this one took me a while to uncover (btw, one can trace these things
by setting \protectionthreshold to zero)
The problem was introduced when adding support for french active : ; etc.
The reset code was generated under an unprotected regime, so the patch goes
into lang-spe.tex;
\protect % added
\deactivatelanguagespecific "
\deactivatelanguagespecific /
\deactivatelanguagespecific :
\deactivatelanguagespecific ;
\deactivatelanguagespecific ?
\deactivatelanguagespecific !
\unprotect % added
Hans
========
For Oblomov's eyes only:
I also took the opportunity to extend the protection report code a bit
\def\reportunprotection {\message{<unprotect \protectionstate>}}
\def\reportprotection {\message{<protect \protectionstate>}}
\def\protectionstate
{\the\protectionlevel
\ifcase\protectionthreshold=0\else
:\space
@=\the\catcode`@\space\space
!=\the\catcode`!\space\space
?=\the\catcode`?%
\fi}
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re[3]: Broken catcodes
2002-05-26 17:39 ` Hans Hagen
@ 2002-05-26 20:38 ` Giuseppe Bilotta
[not found] ` <pragma@wxs.nl>
1 sibling, 0 replies; 38+ messages in thread
From: Giuseppe Bilotta @ 2002-05-26 20:38 UTC (permalink / raw)
Cc: ntg-context
Sunday, May 26, 2002 Hans Hagen wrote:
HH> The problem was introduced when adding support for french active : ; etc.
HH> The reset code was generated under an unprotected regime, so the patch goes
HH> into lang-spe.tex;
Thank you.
HH> For Oblomov's eyes only:
HH> I also took the opportunity to extend the protection report code a bit
HH> \def\reportunprotection {\message{<unprotect \protectionstate>}}
HH> \def\reportprotection {\message{<protect \protectionstate>}}
HH> \def\protectionstate
HH> {\the\protectionlevel
HH> \ifcase\protectionthreshold=0\else
HH> :\space
HH> @=\the\catcode`@\space\space
HH> !=\the\catcode`!\space\space
HH> ?=\the\catcode`?%
HH> \fi}
Yes, that's more or less the code I was using myself when
(unsuccessfully) trying to trace the thing ... :-)
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Re[2]: Broken catcodes
[not found] ` <pragma@wxs.nl>
2001-03-12 16:50 ` fonts fonts and fonts Hans Hagen
@ 2002-05-27 15:27 ` Daniel Flipo
2002-05-27 15:32 ` Hans Hagen
1 sibling, 1 reply; 38+ messages in thread
From: Daniel Flipo @ 2002-05-27 15:27 UTC (permalink / raw)
Cc: Giuseppe Bilotta, ntg-context, Daniel.Flipo
Hans Hagen wrote:
« The problem was introduced when adding support for french active : ; etc.
« The reset code was generated under an unprotected regime, so the patch goes
« into lang-spe.tex;
«
« \protect % added
«
« \deactivatelanguagespecific "
« \deactivatelanguagespecific /
« \deactivatelanguagespecific :
« \deactivatelanguagespecific ;
« \deactivatelanguagespecific ?
« \deactivatelanguagespecific !
«
« \unprotect % added
This correction does not seem to be the right one yet :-(
Check this file:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%interface=en output=pdftex
\definepapersize [P6] [\c!breedte=520pt,\c!hoogte=450pt]
\starttext
Text
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Log file :
! Missing \endcsname inserted.
<to be read again>
\unhbox
\leavevmode ->\unhbox
\voidb@x
\bottomaccent #1#2#3#4#5->\leavevmode
\vtop {\forgetall \baselineskip \zerop...
\dohandleaccent ...acterencoding #1\endcsname {#2}
\else \csname \nocharacter...
<argument> \c !
breedte
\dosetvalue ...!internal!n \ifcsname \k!prefix! #2
\endcsname \let \c!interna...
...
l.3 ...ize [P6] [\c!breedte=520pt,\c!hoogte=450pt]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[In fact the definition of papersize takes place in a module
for presentations I derived from pre-05, but this does not make
any difference]
When I comment out the lines
\protect
\unprotect
in lang-spe.tex and rebuild the format, my files compile again :-)
I am working with the version of ConTeXt that is on the TL7
as of last night (20020527), this correction included...
==========================================================================
Daniel Flipo Courriel : Daniel.Flipo@univ-lille1.fr
UFR de Mathématiques -- Bâtiment M2 Tél : (33/0) 3 20 43 67 75
Université des Sciences et Technologies Fax : (33/0) 3 20 43 67 74
F-59655 Villeneuve d'Ascq Cedex France
==========================================================================
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Re[2]: Broken catcodes
2002-05-27 15:27 ` Re[2]: Broken catcodes Daniel Flipo
@ 2002-05-27 15:32 ` Hans Hagen
0 siblings, 0 replies; 38+ messages in thread
From: Hans Hagen @ 2002-05-27 15:32 UTC (permalink / raw)
Cc: Giuseppe Bilotta, ntg-context, Daniel.Flipo
At 05:27 PM 5/27/2002 +0200, Daniel Flipo wrote:
>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>%interface=en output=pdftex
>
>\definepapersize [P6] [\c!breedte=520pt,\c!hoogte=450pt]
>
>\starttext
>Text
>\stoptext
beware \c! is not valid here,
use
\unprotect
\define..
\protetc
instead
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 38+ messages in thread
end of thread, other threads:[~2002-05-27 15:32 UTC | newest]
Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-22 7:24 Horizontal centering \startlines...\stoplines Steve Lumos
2001-02-22 8:47 ` Horizontal centering \startlines...\stoplines / poems Hans Hagen
2001-03-03 9:22 ` Steve Lumos
2001-03-04 21:09 ` Hans Hagen
2001-03-07 4:08 ` Steve Lumos
2001-03-07 8:14 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2002-05-25 18:14 Broken catcodes Giuseppe Bilotta
2002-05-25 20:17 ` Hans Hagen
2002-05-25 21:46 ` Re[2]: " Giuseppe Bilotta
2002-05-26 17:39 ` Hans Hagen
2002-05-26 20:38 ` Re[3]: " Giuseppe Bilotta
[not found] ` <pragma@wxs.nl>
2001-03-12 16:50 ` fonts fonts and fonts Hans Hagen
2001-03-12 17:07 ` Frans Goddijn
2001-03-12 23:11 ` Christoph Dreyer
2001-03-13 9:33 ` S2P development
2001-03-13 10:12 ` Han The Thanh
2001-03-13 10:35 ` Hans Hagen
2001-03-14 21:32 ` H. Ramm
2001-03-13 7:12 ` Steve Lumos
2001-03-13 9:13 ` Hans Hagen
2001-03-14 0:29 ` Uwe Koloska
2001-03-13 14:35 ` Ed L Cashin
2001-03-14 0:18 ` Uwe Koloska
2001-03-15 21:55 ` H. Ramm
2002-05-27 15:27 ` Re[2]: Broken catcodes Daniel Flipo
2002-05-27 15:32 ` Hans Hagen
2001-05-30 11:40 Environments, Projects, Products, Components Giuseppe Bilotta
2001-05-30 15:14 ` Taco Hoekwater
2001-05-30 18:01 ` Re[2]: " Giuseppe Bilotta
2001-05-31 7:51 ` Taco Hoekwater
2001-05-31 9:34 ` Hans Hagen
2001-08-30 17:54 ` Steve Lumos
2001-08-31 7:19 ` Hans Hagen
2001-05-31 8:11 ` Re[2]: " Hans Hagen
2000-08-19 12:21 Setting up footnotes Joop Susan
2000-08-21 11:00 ` Hans Hagen
2000-08-21 18:19 ` Joop Susan
2000-08-22 6:59 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).