[pdftex] pdftex-pdfcrypt update

Ricardo Sanchez Carmenes carmenes at bioquimica.uniovi.es
Thu Mar 29 11:42:55 CEST 2001


On Thu, 29 Mar 2001, Hans Hagen wrote:

> At 12:31 PM 3/29/01 +0200, Ricardo Sanchez Carmenes wrote:
> >On Thu, 29 Mar 2001, Heiko Oberdiek wrote:
> 
> >For testobj I'll need to parse the stuff to distinguish strings
> >and streams from the rest. It's certainly more complicated to
> >solve than the others, but it should be feasible.
> 
> i suggest to just provide switched to temp disable encryption; the macro
> writer knows what goes into such a steam and can take measures; this is
> much simplier; parsing such content is asking for troubles

Mmm. It may be a good idea, but we need to perfilate it.

For example, using Oberdiek's testobj.tex sample, where would you
suggest to switch on/off encryption ?

\pdfcompresslevel=0
\pdfcrypt{owner = "test" user = "test" none print}
\nopagenumbers
\hbox{}
\immediate\pdfobj{%
  <<%
    /Type /DummyTest%
    /TestString (FOO BAR)%
    /Length 11%
  >>%
  stream%
  HELLO WORLDendstream%
}
\bye

Ricardo.




More information about the pdftex mailing list