<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 27-Nov-19 9:39 PM, Wolfgang Engelmann wrote:<br>
</div>
<blockquote type="cite" cite="mid:1479396e-1edc-0672-3062-cab4c5fee107@uni-tuebingen.de">
<p>I try to insert a pdf graphic in a float of a book document, but get <i>error converting in a loadable format</i>. What do I have to set in the tools>file handling>converters to make it work, respectively, in which help file and where there do I find infos?
 Its an older file (2016) which used to work. Has something changed in the meantime?</p>
<p>Wolfgang<br>
</p>
<br>
</blockquote>
<p>Does this problem occur when you open the file and when LyX tries to show the PDF or when you compile the file (e.g with pdflatex)? I am trying to understand if this is a LyX issue or latex issue.</p>
<p>There were questions about PDF is not converted correctly for LyX preview in the list, which is related to PDF to PNG conversion, and I had the following recommendation for such problems. I do not know if this is your problem but worth to remind this:</p>
<p style="box-sizing: border-box; margin-top: 0px; margin-bottom:
      16px; color: rgb(36, 41, 46); font-family: -apple-system,
      BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
      sans-serif, "Apple Color Emoji", "Segoe UI
      Emoji"; font-size: 16px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;">
Default LyX will show the PDFs with lower quality on the screen, when scaled. To solve this problem you need to tell to increase the resolution of the preview image as follows:</p>
<ul style="box-sizing: border-box; padding-left: 2em; margin-top:
      0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family:
      -apple-system, BlinkMacSystemFont, "Segoe UI",
      Helvetica, Arial, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji"; font-size: 16px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;">
<li style="box-sizing: border-box;">Make sure the convert utility of ImageMagick is installed and the utility "convert" is made available to path.</li><li style="box-sizing: border-box; margin-top: 0.25em;">Start LyX and do not open a file.</li><li style="box-sizing: border-box; margin-top: 0.25em;">Go to "Preferences" under the "Tools" menu.</li><li style="box-sizing: border-box; margin-top: 0.25em;">Go to "Converters" under the "File Handling" section.</li><li style="box-sizing: border-box; margin-top: 0.25em;">Select "PDF(graphics)" from "From Format:" and "PNG" from "To Format:"</li><li style="box-sizing: border-box; margin-top: 0.25em;">To "Converter:" write :<span> </span><code style="box-sizing:
          border-box; font-family: SFMono-Regular, Consolas,
          "Liberation Mono", Menlo, monospace; font-size:
          13.6px; padding: 0.2em 0.4em; margin: 0px; background-color:
          rgba(27, 31, 35, 0.05); border-radius: 3px;">convert
 -density *** -trim -quality 100 -sharpen 0x1.0 $$i $$o</code>, where *** can be 200 to start with. You may try other values based on the results.</li><li style="box-sizing: border-box; margin-top: 0.25em;">Click "Add" button.</li><li style="box-sizing: border-box; margin-top: 0.25em;">Click "Apply" button.</li><li style="box-sizing: border-box; margin-top: 0.25em;">Click "Save" button.</li><li style="box-sizing: border-box; margin-top: 0.25em;">Select "Reconfigure" under "Tools" menu.</li><li style="box-sizing: border-box; margin-top: 0.25em;">Restart LyX.</li></ul>
<pre class="moz-signature" cols="72">-- 
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
Please bottom-post. Start your reply here:</pre>
</body>
</html>