[NTG-context] [Fwd: [pdftex] pdftex 1.30.0]

2005-08-02 Thread Taco Hoekwater



 Original Message 
Subject: [pdftex] pdftex 1.30.0
Date: Mon, 1 Aug 2005 22:54:55 +0200
From: Martin Schröder [EMAIL PROTECTED]
To: PDF-TeX mailing list [EMAIL PROTECTED]

[http://sarovar.org/download.php/673/pdftex-1.30.0.zip]

The pdfTeX team is happy to announce the release of a new stable version:

===
   pdfTeX 1.30.0
===

This is the announcement of pdfTeX 1.30.0 an extended version of TeX that
can create PDF directly from TeX source files and enhance the result of TeX
typesetting with the help of PDF.

===
  Main changes of pdfTeX 1.30.0
===

- pdfxtex (introduced with 1.20a) is gone; all extensions are now in
  pdf(e)tex.
- Some primitives have been renamed; the old names will still work, but are
  deprecated and some give a warning that they are obsolete:
\pdfoptionpdfminorversion - \pdfminorversion
\pdfoptionalwaysusepdfpagebox - \pdfforcepagebox
\pdfoptionpdfinclusionerrorlevel  - \pdfinclusionerrorlevel
- pdftex knows two new units:
  - new Didot (1nd=0.375mm)
  - new Cicero (1nc=12nd)
- New primitives:
  - Inclusion of pngs has been greatly improved: It now does
- alpha channel and transparency (only if %!PDF =1.4)
- 16-bit colour (only if %!PDF =1.5); this must be enabled by setting
  \pdfimagehicolor to 1.
- gamma correction; this must be enabled by setting \pdfimageapplygamma
  to 1. The device gamma is taken from \pdfgamma. If no embedded value
  can be found in the png image, then the value of \pdfimagegamma is
  used instead.
- fast direct embedding of png streams, if their structure allows this;
  the automatic fall-back is to decompress and re-compress as before.
  - pdfTeX now has an interface to the precise system time (if available)
as an aid in benchmarking TeX macro code.
- \pdfelapsedtime is a read-only integer that (initially) returns the
  amount of time passed since the start of this run. This amount is
  given in `scaled seconds': the value 65536 counts as one second. If
  more time has passed than 32767 seconds, (2^31)-1 will be returned.
- \pdfresettimer updates the internal timer, such that subsequent calls
  to \pdfelapsedtime will restart from 0.
  - pdfTeX can now generate random numbers.
- \pdfuniformdeviate count generates a uniformly distributed random
  integer value between 0 (inclusive) and count (exclusive).
- \pdfnormaldeviate expands to a random integer value with a mean of 0
  and a unit of 65536.
- \pdfrandomseed allows access to the current seed value.
- \pdfsetrandomseed count sets the random seed to a specific value.
  - \pdfnoligatures\f disables ligatures for the loaded font \f.
  - \pdfstrcmp{a}{b} compares two strings and returns the strings 0
if a equals b, -1 if a is less than b, 1 if a is greater
than b
  - \pdfretval is an integer that is either 0, 0, or 0; currently it's
used by \pdfstrcmp.
  - Escaping strings:
- \pdfescapestring{a} escapes the string a so that it can be used
  as PDF string.
- \pdfescapename{a} escapes the string a so that it can be used as
  PDF name.
- \pdfescapehex{a} converts the string a to uppercase hexadecimal
  representation.
- \pdfunescapehex{b} reverses the effect of \pdfescapehex
  - \pdfcreationdate expands to the date string that pdfTeX uses in the
info dict as default.
  - \pdffilemoddate{file} expands to the modification date of file in
the same format as \pdfcreationdate (PDF date format).
  - \pdffilesize{file} expands to the size of file as string.
  - \pdfmdfivesum{abc} or \pdfmdfivesum file {file} calculates the md5
sum (of a string or a file) and converts it to uppercase hexadecimal
format (same as \pdfescapehex).
  - \pdfshellescape is a read-only integer that is 1 if \write18 is
enabled, 0 otherwise.
  - \pdfxformname object number, which expands to the number in the
corresponding form XObject name.
  - \leftmarginkern box number and \rightmarginkern box number tell the
margin kern at the left and right side of the horizontal list stored in
box box number.
  - \pdfpkmode is a token register that sets the MF mode for pixel font
generation. The contents of this register is dumped into the format, so
one can (optionally) preset it e.g. in part of pdftexconfig.tex.
  - \pdftracingfonts: An integer variable controlling the tracing of font
expansion. It is zero by default; then we get a log (with
fontexpansion) like this
...\tenrm t
...\tenrm (+20) e
Without font expansion, this default should be compatible with TeX's
original log output.
If \pdftracingfonts is set 

Re: [NTG-context] Scite spelling support

2005-08-02 Thread Hans Hagen

Willi Egger wrote:

As in my other post is mentioned now there is an error while scite 
attempts to load lua.


Also in the big zipped version ?

I downloaded the mswintex.zip of 30-07-05. After installing I see no 
major problems with different testfiles. Of course the lua loading 
error remains.
Further I detected: that there must have been changes in the Antykwa 
Torunska environment:


...
texnansi-antt
fonts   : using map file: rm-antt
fonts   : using map file: mi-antt
fonts   : using map file: sy-antt
fonts   : using map file: ex-antt
{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-urw-zapfchan 

.map}{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-public-antp 


.map}{c:\NEWCON~1\tex\texmf/fonts/map/pdftex/context/texnansi-antt.map}
Warning: pdfetex.exe (file rm-antt.map): cannot open font map file

Warning: pdfetex.exe (file mi-antt.map): cannot open font map file

Warning: pdfetex.exe (file sy-antt.map): cannot open font map file

Warning: pdfetex.exe (file ex-antt.map): cannot open font map file


fixed (i hope); i also added iwona and kurier and removed plr/csr/vnr since we have mlr (oeps, i need to remove aer too)  

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] \obeyspaces

2005-08-02 Thread Peter Rolf
Hi all,

I need to pass a short text as parameter to a defintion. My problem is,
that the significant spaces are removed in this process. Hmm.no clue.


% interface=en output=pdftex
\starttext

\def\TextWithSpaces#1{\framed{\obeyspaces#1}}%

% output is ok
\framed{\obeyspaces{A gap from here  to here!}}
% no big gap between 'here' and 'to'
\TextWithSpaces{A gap from here  to here!}

\stoptext


Any help is welcome.

Greetings,

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


Re: [NTG-context] \obeyspaces

2005-08-02 Thread Taco Hoekwater



Peter Rolf wrote:

Hi all,

I need to pass a short text as parameter to a defintion. My problem is,
that the significant spaces are removed in this process. Hmm.no clue.


% interface=en output=pdftex
\starttext

\def\TextWithSpaces#1{\framed{\obeyspaces#1}}%


A two-part solution is needed:

  \def\TextWithSpaces{\bgroup\obeyspaces\doTextWithSpaces}
  \def\doTextWithSpaces#1{\framed{#1}\egroup}

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


Re: [NTG-context] \obeyspaces

2005-08-02 Thread Peter Rolf
Taco Hoekwater wrote:
 
 
 Peter Rolf wrote:
 
 Hi all,

 I need to pass a short text as parameter to a defintion. My problem is,
 that the significant spaces are removed in this process. Hmm.no clue.


 % interface=en output=pdftex
 \starttext

 \def\TextWithSpaces#1{\framed{\obeyspaces#1}}%
 
 
 A two-part solution is needed:
 
   \def\TextWithSpaces{\bgroup\obeyspaces\doTextWithSpaces}
   \def\doTextWithSpaces#1{\framed{#1}\egroup}
 
stupid me. \obeyspaces changes the cat-code of the space char, so...

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

Many thanks Taco!

Greetings,

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


Re: [NTG-context] Getting ToC to match page numbering

2005-08-02 Thread Duncan Hothersall
Hans said:

wikiable:

And I said:

 Will do; would be great to fix (or at least understand) the alignment
 before I do though, for completeness. :-)

I've added this to the wiki now, since having tested it out I don't
think my alignment problems were anything to do with the issue at hand.

To fix the alignment, I have now defined:
\def\GenPagecommand#1{\hfill\llap{#1}}
and said:
pagecommand=\GenPagecommand
for every setuplist except those which require prefixes. This allows me
to have very large page numbers and long prefixes without seeing the
page number alignment go all squiggly.

The appendices now have:
\def\AppPrefix#1{\GenPagecommand{A#1}}
and:
pagecommand=\AppPrefix
in the setuplist, and the backmatter is done similarly.

Possibly this leaves me exposed if a very long title runs over into the
llap, but I'm hoping not to run into that. Is this the only solution here?

Thanks again.

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


Re: [NTG-context] \obeyspaces

2005-08-02 Thread Hans Hagen

Taco Hoekwater wrote:




Peter Rolf wrote:


Hi all,

I need to pass a short text as parameter to a defintion. My problem is,
that the significant spaces are removed in this process. Hmm.no 
clue.



% interface=en output=pdftex
\starttext

\def\TextWithSpaces#1{\framed{\obeyspaces#1}}%



A two-part solution is needed:

  \def\TextWithSpaces{\bgroup\obeyspaces\doTextWithSpaces}
  \def\doTextWithSpaces#1{\framed{#1}\egroup}


i suggest that rolf adds en entry to the wiki, with the posted solutions, maybe we need a how tex treats arguments corner or so 

Hans 



-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

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


Re: [NTG-context] \obeyspaces

2005-08-02 Thread Hans Hagen

Peter Rolf wrote:


Hi all,

I need to pass a short text as parameter to a defintion. My problem is,
that the significant spaces are removed in this process. Hmm.no clue.


% interface=en output=pdftex
\starttext

\def\TextWithSpaces#1{\framed{\obeyspaces#1}}%

% output is ok
\framed{\obeyspaces{A gap from here  to here!}}
% no big gap between 'here' and 'to'
\TextWithSpaces{A gap from here  to here!}

\s


\def  \TextWithSpaces  {\framed\bgroup\obeyspaces\doTextWithSpaces}
\def\doTextWithSpaces #1{#1\egroup}

just postpone argument loading 

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] \obeyspaces

2005-08-02 Thread Peter Rolf
Hans Hagen wrote:
 Taco Hoekwater wrote:
 


 Peter Rolf wrote:

 Hi all,

 I need to pass a short text as parameter to a defintion. My problem is,
 that the significant spaces are removed in this process. Hmm.no
 clue.


 % interface=en output=pdftex
 \starttext

 \def\TextWithSpaces#1{\framed{\obeyspaces#1}}%



 A two-part solution is needed:

   \def\TextWithSpaces{\bgroup\obeyspaces\doTextWithSpaces}
   \def\doTextWithSpaces#1{\framed{#1}\egroup}
 
 
 i suggest that rolf adds en entry to the wiki, with the posted
 solutions, maybe we need a how tex treats arguments corner or so
 Hans
done. And my (first) name is Peter. Thank god I have no middle name

Greetings,

Peter

 
 -
  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


[NTG-context] new symbol font

2005-08-02 Thread Hans Hagen
In a few hours i will upload a new zip, this one has a new symbol 
definition file:


%D \module
%D   [   file=symb-jmn,

...

%D This file defines a few navigational symbol vectors. The font used
%D here is designed by Janusz M.~Nowacki, one of the Polish Font
%D Gurus who made this font specially for me, hence the name. If you
%D you want to meet its designer, come to Bachotek! In case you're
%D not familiar with his work, take a look at the Antikwa, Iwona and
%D Kurier fonts!
%D
%D \usesymbols[jmn]
%D
%D \showsymbolset[navigation 1]
%D \showsymbolset[navigation 3]
%D \showsymbolset[navigation 2]
%D \showsymbolset[navigation 4]
%D
%D \page
%D \showfont[NavigationNormal]
%D \page
%D \showfont[NavigationShadowed]
%D \page

The font is also in the zip (they are called hans.* and hans-sh.*).

Many thanks to Janusz!

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] mswincontext.zip

2005-08-02 Thread Coydell Rivers



Let me gladly, and openly report that the 
latest release of mswincontext.zip, had no files detected as a virus from 
AVG Free.
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.9/62 - Release Date: 8/2/2005
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] mswincontext.zip

2005-08-02 Thread Lutz Haseloff

Hi all,

Coydell Rivers schrieb:

Let me gladly, and openly report that 
the latest release of mswincontext.zip, 
had no files detected as a virus from AVG Free.
 




On my System (Win XP) F-Secure AV remains complaining about
Trojan.Win32.Agent.ez in texmfstart.exe (timestamp: 03.08.05 00:15).

I had to put this file into the exclude list for F-Secure by hand.

btw ClamWin doesn't find any suspect in mswintex.zip


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