[NTG-context] "bug" in OC support

2003-11-04 Thread Peter Rolf
Hello all,

just a small fix for the Optional content (OC) support.
The keywords for the default state (visible or not) must be
changed to uppercase letters.
spec-fdf.tex:

def\flushPDFtextlayers
 {\ifx\PDFtextlayers\empty \else
 ...
   \doPDFaddtocatalog
  {/OCProperties
   << % display in menu
  /D  << /Order \!!stringa
 /On\!!stringb
> ^^
> /ON\!!stringb
 /Off   \!!stringc >>
> ^^
> /OFF   \!!stringc >>
  % used properties
  /OCGs \!!stringa >>}%
Thanks to Hans for implementing it. It works perfect and I love it...
Greetings,
 Peter



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


Re: [NTG-context] Dithering (off-topic)

2003-11-04 Thread Michal Kvasnicka
Dear Sir,

many thanks for your kind help. This is precisely what I was searching for.

Bill McClain wrote:

  pnmscale -width=1950 pleiades.pnm | pnmsmooth -size 5 5 | pgmtopbm
-fs -value 0.5 | pnmtopng > pleiades.png
BTW, is there some easy way to set the size of the dithering points (eg. 
2x2 pixels, 3x3 pixels), or should I do it ex post in some image editor 
(Gimp, imagemagick)?

Many thanks once more.
M.K.


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


Re: [NTG-context] Dithering (off-topic)

2003-11-04 Thread Bill McClain
On Tue, 04 Nov 2003 14:34:54 +0100
Michal Kvasnicka <[EMAIL PROTECTED]> wrote:

> BTW, is there some easy way to set the size of the dithering points
> (eg. 2x2 pixels, 3x3 pixels), or should I do it ex post in some image
> editor (Gimp, imagemagick)?

I haven't studied the Floyd-Steinberg algorithm, but it seems to be an
error-difusion technique that handles that automatically. The
resulting pixel dimensions of the image are the same as the
original. There are other halftoning methods you can experiment with in
pgmtopbm.

Although I did some experimentation, I am by no means an expert at this.
My method is simply to expand the orginal image to so that a pixel in
the image will be a dot on the output. Using the example I posted
before, the image was 3.5 inches wide, the printer was 600 dots per
inch, so I sized the graphic to 3.5 x 600 = 1950 pixels before
halftoning. I've dealt with only one printer so far, but the results
have been good.

Depending on the original grayscale image, it may need to be normed
(pgmnorm) or smoothed (pgmsmooth) before halftoning.

-Bill
-- 
Sattre Press  Pagan Papers
http://sattre-press.com/by Kenneth Grahame
[EMAIL PROTECTED]  http://pp.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Yet another itemize question

2003-11-04 Thread Thomas A. Schmitz
Is this a bug or a feature? Please compare these two setups:

\setupitemize[1][n,inmargin][margin=2em,alignment=left,stopper=)]

This does what I want: I get a numbered list with numbers aligned 
raggedleft.

\setupitemize[n,inmargin][margin=2em,alignment=left,stopper=)]

According to the manual, this should do exactly the same. But I get a 
list with bullets.

My problem is that I want two different kind of lists in my document, 
and when I use definition # 1, all the lists seem to be numbered, even 
if I specify \startitemize[2,packed,joinedup] later on. Any hints will 
be welcome!

Best

Thomas

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


Re: [NTG-context] "bug" in OC support

2003-11-04 Thread Hans Hagen
At 12:11 04/11/2003, you wrote:

just a small fix for the Optional content (OC) support.
The keywords for the default state (visible or not) must be
changed to uppercase letters.
ok

H  

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