<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Pr\00E9format\00E9 HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.PrformatHTMLCar
{mso-style-name:"Pr\00E9format\00E9 HTML Car";
mso-style-priority:99;
mso-style-link:"Pr\00E9format\00E9 HTML";
font-family:"Courier New";
mso-fareast-language:FR-BE;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-BE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Dear list,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I have a small problem with auto-pst-pdf: see example file at the end.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If pst-pdf version 1.1 is used, compilation in PdfLatex and Latex work fine.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If pst-pdf version 1.2 is used, compilation in PdfLatex works as expected but compilation in Latex fails with the following error message:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">. (c:/texlive/2016/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Package: pst-pdf 2016/07/11 v1.2a PS graphics for pdfLaTeX (RN,HjG)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">! Extra \fi.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">l.62 \fi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I'm ignoring this; it doesn't match any \if.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">! Extra \fi.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">l.63 \fi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I'm ignoring this; it doesn't match any \if.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:maroon;mso-fareast-language:FR-BE">\documentclass</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-BE">{report}</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:maroon;mso-fareast-language:FR-BE">\usepackage</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-BE">{<u>pstricks</u>-add}</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:maroon;mso-fareast-language:FR-BE">\usepackage</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-BE">[crop=off]{auto-<u>pst</u>-pdf}</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:maroon;mso-fareast-language:FR-BE">\listfiles</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#0000CC;mso-fareast-language:FR-BE">\begin</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-BE">{document}</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#0000CC;mso-fareast-language:FR-BE">\begin</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-BE">{figure}[!<u>htb</u>]</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:maroon;mso-fareast-language:FR-BE">\centering</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#0000CC;mso-fareast-language:FR-BE">\begin</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-BE">{pspicture}</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#9A4D00;mso-fareast-language:FR-BE">[showgrid=true](-</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#660066;mso-fareast-language:FR-BE">1.5</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#9A4D00;mso-fareast-language:FR-BE">,-</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#660066;mso-fareast-language:FR-BE">1</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#9A4D00;mso-fareast-language:FR-BE">)(</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#660066;mso-fareast-language:FR-BE">2</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#9A4D00;mso-fareast-language:FR-BE">,</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#660066;mso-fareast-language:FR-BE">5.5</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#9A4D00;mso-fareast-language:FR-BE">)</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:#0000CC;mso-fareast-language:FR-BE">\end</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-BE">{pspicture}</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:maroon;mso-fareast-language:FR-BE">\caption</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-BE">{Geometrical
structure of a <u>singlemode</u> optical fiber.}</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#0000CC;mso-fareast-language:FR-BE">\end</span><span style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-BE">{figure}</span><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:FR-BE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0000CC;mso-fareast-language:FR-BE">\end</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black;mso-fareast-language:FR-BE">{document}</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR" style="mso-fareast-language:FR-BE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:FR-BE">It seemes that the test inside pst-pdf are wrong in case of Latex.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:FR-BE">Any clue?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:FR-BE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:FR-BE">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:FR-BE">Patrice
</span><u><span lang="EN-US" style="color:gray;mso-fareast-language:FR"><o:p></o:p></span></u></p>
</div>
</body>
</html>