Hari Sundar | 6 Mar 15:12
Picon
Gravatar

Compatibility with Acrobat 5.0

Hi,

I recently discovered that some figures I created using pgf/tikz do not render correctly (rather completely) when viewed using Acrobat 5.0.

Is there anyway in which I can ensure that the resulting pdf will be compatible with Acrobat 5.0 ?

thanks,
~Hari

--
1 (215) 662 7501 (w)
1 (215) 614 0266 (f)
1 (732) 672 1094 (m)

http://www.seas.upenn.edu/~hsundar/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Alain Matthes | 6 Mar 16:19
Picon
Gravatar

Re: Compatibility with Acrobat 5.0


Le 6 mars 07 à 15:12, Hari Sundar a écrit :

> Hi,
>
> I recently discovered that some figures I created using pgf/tikz do  
> not render correctly (rather completely) when viewed using Acrobat  
> 5.0.
>
> Is there anyway in which I can ensure that the resulting pdf will  
> be compatible with Acrobat 5.0 ?
>

Are you sure that it is a problem from pgf/tikz. Which is the driver  
pdflatex or dvips ?

You need to look at ps2pdf and often ps2pdf use pstopdf13, perhaps  
you need ps2pdf14 for example if you want that opacity works.

You need also the lats version of ghostscript 8.54 ??? perhaps i'm  
not sure?

And with pdftex it is possible to indicaye the compatibilty that you  
want for the use of Acrobat but i've forget the name of the option

Sorry for my bad english

Alain

ps : give a little example with the problem !
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Hari Sundar | 6 Mar 20:30
Picon
Gravatar

Re: Compatibility with Acrobat 5.0

Hi,

I used pdfLatex ... and cannot figure out the way to specify the compatibility.

Here is an example of a figure that I have problem with. It draws nicely with Acrobat 7.0, but with 5.0 only the grid is shown, no blocks, no color ...

\begin{tikzpicture}[scale=0.35]
    %% draw regular grid
    \draw[gray, very thin, step=0.25cm] (0,0) grid (8,8);
   
        % draw background ...
    \filldraw[fill=green, fill opacity=0.3] (0,0) rectangle +(8,8);
 
         % draw first set of boxes ... red
         \foreach \x in {2,6}
             \foreach \y in {2,6}
                 \filldraw[fill=red, fill opacity=0.3] (\x,\y) rectangle +(1,1);
        
         % draw 2nd set of boxes ...  blue
         \foreach \x in {1,5}
             \foreach \y in {0,4}
                 \filldraw    [fill=blue, fill opacity=0.3] (\x,\y) rectangle +(1,1);   

\end{tikzpicture}

any clues, ?

thanks,
~Hari

On 3/6/07, Alain Matthes <alain.matthes <at> mac.com> wrote:

Le 6 mars 07 à 15:12, Hari Sundar a écrit :

> Hi,
>
> I recently discovered that some figures I created using pgf/tikz do
> not render correctly (rather completely) when viewed using Acrobat
> 5.0.
>
> Is there anyway in which I can ensure that the resulting pdf will
> be compatible with Acrobat 5.0 ?
>

Are you sure that it is a problem from pgf/tikz. Which is the driver
pdflatex or dvips ?

You need to look at ps2pdf and often ps2pdf use pstopdf13, perhaps
you need ps2pdf14 for example if you want that opacity works.

You need also the lats version of ghostscript 8.54 ??? perhaps i'm
not sure?

And with pdftex it is possible to indicaye the compatibilty that you
want for the use of Acrobat but i've forget the name of the option

Sorry for my bad english

Alain

ps : give a little example with the problem !



--
1 (215) 662 7501 (w)
1 (215) 614 0266 (f)
1 (732) 672 1094 (m)

http://www.seas.upenn.edu/~hsundar/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Kjell Magne Fauske | 6 Mar 21:46
Picon

Re: Compatibility with Acrobat 5.0

On 3/6/07, Hari Sundar <hsundar <at> gmail.com> wrote:
> Hi,
>
> I used pdfLatex ... and cannot figure out the way to specify the
> compatibility.
>

You can set the minimum required version by adding this line to your document:
\pdfminorversion=4

Allowed versions are currently 0-9

Transparency is supported from v 1.4 (Acrobat 5.0), so your example
should work, unless PGF uses some features introduced in PDF v 1.5 or
later.

- Kjell Magne Fauske

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Hari Sundar | 7 Mar 15:31
Picon
Gravatar

Re: Compatibility with Acrobat 5.0

Thanks Kjell,

I did change the pdf version (both 3,4) and it doesn't work in either case. In both cases Acrobat 5 does not render the figure correctly (see attached images). I did check that the pdf files created were of the correct version ( i.e 1.3, 1.4).

Anything that I can do to fix this ?

thanks
~Hari

On 3/6/07, Kjell Magne Fauske < kjellmf <at> gmail.com> wrote:
On 3/6/07, Hari Sundar < hsundar <at> gmail.com> wrote:
> Hi,
>
> I used pdfLatex ... and cannot figure out the way to specify the
> compatibility.
>

You can set the minimum required version by adding this line to your document:
\pdfminorversion=4

Allowed versions are currently 0-9

Transparency is supported from v 1.4 (Acrobat 5.0), so your example
should work, unless PGF uses some features introduced in PDF v 1.5 or
later.

- Kjell Magne Fauske

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users



--
1 (215) 662 7501 (w)
1 (215) 614 0266 (f)
1 (732) 672 1094 (m)

http://www.seas.upenn.edu/~hsundar/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Alain Matthes | 7 Mar 20:45
Picon
Gravatar

Re: Compatibility with Acrobat 5.0


Le 7 mars 07 à 15:31, Hari Sundar a écrit :

> Thanks Kjell,
>
> I did change the pdf version (both 3,4) and it doesn't work in  
> either case. In both cases Acrobat 5 does not render the figure  
> correctly (see attached images). I did check that the pdf files  
> created were of the correct version ( i.e 1.3, 1.4).
>
> Anything that I can do to fix this ?

hello

1) The problem now is perhaps the pdftex that is used :

from pdf manual :

pdfminorversion (integer)
This primitive sets the pdf version of the generated file and the  
latest allowed pdf version of included
pdfs. E. g., \pdfminorversion=3 tells pdfTEX to set the pdf version  
to 1.3 and allows only included pdf
files with versions numbers up to 1.3. The default for  
\pdfminorversion is 4, producing files with pdf
version 1.4. If specified, this primitive must appear before any data  
is to be written to the generated pdf
file, so you should put it at the very start of your files. The  
command has been introduced in pdfTEX
1.30.0 as a shortened synonym of \pdfoptionpdfminorversion command,  
that is obsolete by now.

a lot of users  have 1.20 or 1.2x

2) If you try without opacity :\filldraw[fill=green] (0,0) rectangle + 
(8,8);

Do you have a result in acrobate 5 ?

Alain

>
> thanks
> ~Hari
>
> On 3/6/07, Kjell Magne Fauske < kjellmf <at> gmail.com> wrote:On 3/6/07,  
> Hari Sundar < hsundar <at> gmail.com> wrote:
> > Hi,
> >
> > I used pdfLatex ... and cannot figure out the way to specify the
> > compatibility.
> >
>
> You can set the minimum required version by adding this line to  
> your document:
> \pdfminorversion=4
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Gmane