Re: [NTG-context] shading box many times

2005-11-29 Thread Hans Hagen

Vit Zyka wrote:


Hans Hagen wrote:


Taco Hoekwater wrote:


Hans Hagen wrote:


Vit Zyka wrote:


Dear Metafun Wizards,

I have noticed some strange behaviour with box shading. It works 
OK until some number of shadings. Please see example:

  http://typokvitek.com/tmp/shade-many.pdf
Any idea for solving? Next not-minimal but small and illustrative 
example can help.





works ok here; since it concerns independent mp runs, i cannot 
imagine what goes wrong; mayeb a bad random numer; does your log 
say something?





My results are the same as Vit's example: The last 9 items are
not shaded but have 3 black sides and 1 white one
(with \write18 disabled, using a single \jobname-mpgraph.mp)

I don't know what is going, but at least I can reproduce the problem.





it's related to the fact that there can be 1000 specials only (this 
/1000 in mp-spec)


if you add:

\def\MPrgbnumber#1{\expandafter\doMPrgbnumber#1.0\relax}
\def\doMPrgbnumber#1.#2#3#4#5#6\relax{#2#3#4#5}

\startMPinclusions
_special_div_ := 1 ;
\stopMPinclusions

to the file, and change all 1000's in mp-spec.tex into _special_div_ 
it works ok; so, the question (for taco is): does mp have the right 



Really? Hmmm, not for me. I have got the graphics with flat color per 
picture; every picture in the sequence has lighter and lighter color 
(starting from black). (After performing your instructions in the 
mp-spec.mp and refreshing metafun.mem.)


can you try the experimental zip i posted yesterday (.../temp/cont-tmf.zip)
forget about the definitions, just set \settrue \manyMPspecials in your 
file


should work

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


Re: [NTG-context] ConTeXt, XML en-dash

2005-11-29 Thread Hans Hagen

Johannes Graumann wrote:


Hello,

I just started to experiment with typesetting XML using ConTeXt ...
I ran into this problem which I'm unable to solve:
1) I added the following rule to my xml map file:
   \defineXMLentity[en]--
2) yet calling en; in my document results in the TeX equivalent of -
rather than -- being typeset.

Any pointers?
 


add this to type-exa.tex (or to your doc file)

\starttypescript [serif,sans,mono] [handling] [noligs]

 \setupfontsynonym [\typescriptprefix\typescriptone ]
[handling=\typescriptthree]
 \setupfontsynonym [\typescriptprefix\typescriptone Bold]
[handling=\typescriptthree]
 \setupfontsynonym [\typescriptprefix\typescriptone Slanted] 
[handling=\typescriptthree]
 \setupfontsynonym [\typescriptprefix\typescriptone Italic]  
[handling=\typescriptthree]
 \setupfontsynonym [\typescriptprefix\typescriptone BoldSlanted] 
[handling=\typescriptthree]
 \setupfontsynonym [\typescriptprefix\typescriptone BoldItalic]  
[handling=\typescriptthree]


\stoptypescript

explanation for David Arnold (who is eager to know the obscure 
typescript features -): the macro \typescriptprefix{serif} will expand 
to Serif, because in type-def we have the definition:


\definetypescriptprefix [serif] [Serif]
\definetypescriptprefix [sans]  [Sans]
\definetypescriptprefix [mono]  [Mono]

so, instead of defining 3 times n_of_encodings we can stick to one 
typescriptdefinition which is much more efficient.


ok, after this is done, you need to define a typeface using this 
handling; because of the nature of the underlying tex font mechanism 
(global optimizations in tex itself) we need to do it this way:


\usetypescript[serif][handling][noligs]

\definetypeface[mine][rm][serif][latin-modern][default][encoding=texnansi]
\definetypeface[mine][rm][serif][latin-modern][default][encoding=texnansi]

\setupbodyfont[mine,10pt]

\starttext

asjemenou-het--lijkt---tewerken

\stoptext

The noligs handling is selective (only ? ! - -- --- are taken care of, 
so you keep the fi ligatures)


Hans

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


Re: [NTG-context] I can't find the format file `pdfetex.fmt'!

2005-11-29 Thread Hans Hagen

ktt wrote:


Yes, that's true.
 

ok, let's solve this off-list; i'll send you a patched ruby script for 
testing


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


[NTG-context] \nomarking feature request

2005-11-29 Thread Taco Hoekwater

Hi Hans,

Currently \nomarking expand into (essentially) \unknown.
Is it possible to make that configurable? I now have

  \section{title\nomarking{\footnote{note}}}
  \marking[section]{title}

and that is rather ugly (or is there a better way?)

Taco

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


Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0

2005-11-29 Thread Tobias Burnus

Hi,

Nikolai Weibull wrote:

The only texmf.cnf lives in /etc/texmf.cnf; other are symlinks to it.


Do you have a symlink in /etc/share/texmf/web2c as well?
  
Well, I have with a standard-SUSE-10.0 teTeX only 
/etc/texmf/web2c/texmf.cnf and neither of those others.


To find the texmf.cnf, which TeX uses, enter:
  kpsewhich texmf.cnf
(gives here: /usr/share/texmf/web2c/texmf.cnf)

to find the real file (you can also edit the symlink, actually), use 
readlink:

 readlink -f `kpsewhich texmf.cnf`
(gives here: /etc/texmf/web2c/texmf.cnf, the symlink above is actually 
../../../../etc/texmf/web2c/texmf.cnf)


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


[NTG-context] Re: ConTeXt, XML en-dash

2005-11-29 Thread Johannes Graumann
Gee ... Tacos fix (see thread) worked just fine ... when would I need this?

Joh

Hans Hagen wrote:

 Johannes Graumann wrote:
 
Hello,

I just started to experiment with typesetting XML using ConTeXt ...
I ran into this problem which I'm unable to solve:
1) I added the following rule to my xml map file:
\defineXMLentity[en]--
2) yet calling en; in my document results in the TeX equivalent of -
rather than -- being typeset.

Any pointers?
  

 add this to type-exa.tex (or to your doc file)
 
 \starttypescript [serif,sans,mono] [handling] [noligs]
 
   \setupfontsynonym [\typescriptprefix\typescriptone ]
 [handling=\typescriptthree]
   \setupfontsynonym [\typescriptprefix\typescriptone Bold]
 [handling=\typescriptthree]
   \setupfontsynonym [\typescriptprefix\typescriptone Slanted]
 [handling=\typescriptthree]
   \setupfontsynonym [\typescriptprefix\typescriptone Italic]
 [handling=\typescriptthree]
   \setupfontsynonym [\typescriptprefix\typescriptone BoldSlanted]
 [handling=\typescriptthree]
   \setupfontsynonym [\typescriptprefix\typescriptone BoldItalic]
 [handling=\typescriptthree]
 
 \stoptypescript
 
 explanation for David Arnold (who is eager to know the obscure
 typescript features -): the macro \typescriptprefix{serif} will expand
 to Serif, because in type-def we have the definition:
 
 \definetypescriptprefix [serif] [Serif]
 \definetypescriptprefix [sans]  [Sans]
 \definetypescriptprefix [mono]  [Mono]
 
 so, instead of defining 3 times n_of_encodings we can stick to one
 typescriptdefinition which is much more efficient.
 
 ok, after this is done, you need to define a typeface using this
 handling; because of the nature of the underlying tex font mechanism
 (global optimizations in tex itself) we need to do it this way:
 
 \usetypescript[serif][handling][noligs]
 
 \definetypeface[mine][rm][serif][latin-modern][default][encoding=texnansi]
 \definetypeface[mine][rm][serif][latin-modern][default][encoding=texnansi]
 
 \setupbodyfont[mine,10pt]
 
 \starttext
 
 asjemenou-het--lijkt---tewerken
 
 \stoptext
 
 The noligs handling is selective (only ? ! - -- --- are taken care of,
 so you keep the fi ligatures)
 
 Hans

-- 
+--+
| Johannes Graumann, Dipl. Biol.   |
|  |
|  Graduate StudentTel.: ++1 (626) 395 6602|
|  Deshaies LabFax.: ++1 (626) 395 5739|
|  Department of Biology   |
|  CALTECH, M/C 156-29 |
|  1200 E. California Blvd.|
|  Pasadena, CA 91125  |
|  USA |
+--+

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


Re: [NTG-context] tetex or texlive on linux

2005-11-29 Thread VnPenguin
On 11/29/05, olivier Turlier [EMAIL PROTECTED] wrote:
 Hi everybody,
 I'm going to install context on a linux box (ubuntu 5.10).

 1) I wish to hear texnicians (rather than aficionados) words on wich tex
 distro fit best for mainly context use, on fonts optimisation, for
 exemple, etc.

teTeX is a good choice. Of course there is also TeXlive :-)

 2) is informations on contextgarden wiki are still uptodate for tetex
 install ?

Yes,

--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] tetex or texlive on linux

2005-11-29 Thread olivier Turlier

Hi everybody,
I'm going to install context on a linux box (ubuntu 5.10).

1) I wish to hear texnicians (rather than aficionados) words on wich tex 
distro fit best for mainly context use, on fonts optimisation, for 
exemple, etc.


2) is informations on contextgarden wiki are still uptodate for tetex 
install ?


TIA

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


Re: [NTG-context] Re: ConTeXt, XML en-dash

2005-11-29 Thread Hans Hagen

Johannes Graumann wrote:


Gee ... Tacos fix (see thread) worked just fine ... when would I need this?

 

taco's fix deals with entities; the other method is meant for direct 
input (say three -'s in the input stream)


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


Re: [NTG-context] Iwona font

2005-11-29 Thread David Arnold

Hans et al,

So, could I fix this by changing some filenames?

On Nov 28, 2005, at 7:55 AM, Hans Hagen wrote:


David Arnold wrote:


Hans, I did, but I'll try again:


well, the log says:
 Warning: pdfetex (file texnansi-iwona.map): cannot open font map file

and i took a look at the latest zip and there they use

  iwona-*.map

names instead of

  *-iwona.map

so ... another uncommunicated change in names

i slowly come to the conclusion that

(1) we should forget about being early adopters (or not adopt at all)
(2) distributions will become more and more instable
(3) if things go on this way, tex will not survive
(4) it's time we start making our own repository and distribution

i simply don't have the time to keep up with all those changes;  it  
looks like the policy of today is wipe out and start new which  
also means never buy a font and don't install your own stuff etc


(there is no way to determine such changes unless we load every map  
file available which is something i don't want to do at all because  
it's the cause of even more trouble)




sudo texhash

And got this response:

Password:
texhash: Updating /usr/local/teTeX/share/texmf/ls-R...
texhash: Updating /usr/local/teTeX/share/texmf.gwtex/ls-R...
texhash: Updating /usr/local/teTeX/share/texmf.local/ls-R...
texhash: Updating /usr/local/teTeX/share/texmf.tetex/ls-R...
texhash: Updating /var/tmp/texfonts/ls-R...
texhash: Done.

Mktexlsr seems to do the same thing:

011-101:~/tmp davidarnold$ sudo mktexlsr
mktexlsr: Updating /usr/local/teTeX/share/texmf/ls-R...
mktexlsr: Updating /usr/local/teTeX/share/texmf.gwtex/ls-R...
mktexlsr: Updating /usr/local/teTeX/share/texmf.local/ls-R...
mktexlsr: Updating /usr/local/teTeX/share/texmf.tetex/ls-R...
mktexlsr: Updating /var/tmp/texfonts/ls-R...
mktexlsr: Done.

Then:

011-101:~/tmp davidarnold$ cat junk.tex

\definetypeface[david][rm][sans][iwona][default][encoding=texnansi]
%\definetypeface[david][mm][math][iwona][default]

\setupbodyfont[david,ss,10pt]

\starttext
This should work.
\stoptext

And, no luck. Log file attached.



On Nov 28, 2005, at 2:38 AM, Hans Hagen wrote:


David Arnold wrote:


1. Do I have to also do an updmap or enable or some such thing?



no, context loads the files needed at runtime



2. I note that on my office system, /usr/local/teTeX is owned  
by   root:wheel. But done in my fonts directory, some files are  
owned  by  darnolddarn:admind and some by root:admin. Could this  
be a  problem?



did you run a mktexlsr ? (otherwise tex cannot find the files)

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



David Arnold
College of the Redwoods
Mathematics Department
Eureka, CA 95501
(707) 476-4222
http://online.redwoods.edu/instruct/darnold/


- 
---


___
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


David Arnold
College of the Redwoods
Mathematics Department
Eureka, CA 95501
(707) 476-4222
http://online.redwoods.edu/instruct/darnold/


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


[NTG-context] Lucida Hooray

2005-11-29 Thread David Arnold

Hans et al,

I think I have Lucida installed. We'll see how it holds up in the  
future.


David Arnold
College of the Redwoods
Mathematics Department
Eureka, CA 95501
(707) 476-4222
http://online.redwoods.edu/instruct/darnold/


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


Re: [NTG-context] tetex or texlive on linux

2005-11-29 Thread Renaud AUBIN

Ok, I've tried to reuse ConTeXt with tetex (Debian unstable package) and :
1. pdfTeX version is 1.21 (texlive2005 give 1.3x)
2. Lucida font is apparently more difficult to manage with teTeX

Experience from other people ?

Conclusion : apt-get remove tetex-* then reinstall texlive2005... If you 
don't want to spend a lot of time on configuration


olivier Turlier a écrit :


Hi everybody,
I'm going to install context on a linux box (ubuntu 5.10).

1) I wish to hear texnicians (rather than aficionados) words on wich 
tex distro fit best for mainly context use, on fonts optimisation, for 
exemple, etc.


2) is informations on contextgarden wiki are still uptodate for tetex 
install ?


TIA



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