In LyX, the "Insert > Graphics" dialog is the standard way for including graphics and, usefully, provides an inline-preview of the graphic in question.
\includegraphics command allows to select pages from multi-page images, such as TIFF files or PDF documents, e.g.
In LyX the correct final output can be achieved by adding this option manually. However, when previewed inside LyX, these options are ignored.
Is there any possibility to get the correct preview for both graphics?
I already tried wrapping the graphics in "Insert > Preview" boxes, but it doesn't change anything.
Libreoffice Draw allows grouping related images into a single file, and allows to export the document as a multi-page pdf. For fast edit->export->preview cycles, this is the most efficient option, as there is no other support for exporting all pages at once.
Similarly, it can sometimes be less messy to group multiple plots from plotting software (matplotlib, gnuplot, ...) into a single PDF.
When used from within LaTeX, the
page=... option works fine, but the lack of correct preview in LyX makes it inconvenient to use.
Based on the comments, the issue is known. It remains unclear, if a workaround is currently available, though the explanations make it seem unlikely.
- when I uploaded a pdf file with several pages into lyx and used pages=-, it showed just the first pages several times, where it was assumed to be incorrect, rather than a missing feature.
- Ticket #9039: “graphic preview only shows first page of multipage pdf”
- Ticket #6403: “support for multi-page PDF figures”