Hello Filippo, What you need it to the the "role" attribute and use "fo" and "html" as arguments. <mediaobject> <imageobject role="fo"> <imagedata fileref="print-minexpert-almost-whole-window-set.png" format="PNG"/> </imageobject> <imageobject role="html"> <imagedata fileref="web-small-minexpert-almost-whole-window-set.png"/> </imageobject> <caption><para>The position and size of all the windows can be stored for a later session</para></caption> </mediaobject>
Regards, Dean Nelson In a message dated 10/24/2018 6:23:34 AM Pacific Standard Time, [email protected] writes: Greetings, I am trying to understand the switch described in the Subject. I use two files (one with more definition for print and one smaller for screen (web). But only the one for print seems to be used. docbook-xml 4.5-8 docbook-xsl 1.79.1 docbook-xsl-ns 1.79.1 This is my code: <mediaobject> <imageobject condition="print"> <imagedata fileref="print-minexpert-almost-whole-window-set.png" format="PNG"/> </imageobject> <imageobject condition="web"> <imagedata fileref="web-small-minexpert-almost-whole-window-set.png"/> </imageobject> <caption><para>The position and size of all the windows can be stored for a later session</para></caption> </mediaobject> Any soul to provide hints ? Cheers, Filippo -- ⢀⣴⠾⠻⢶⣦⠀ Filippo Rusconi, PhD ⣾⠁⢠⠒⠀⣿⡁ Scientist at CNRS ⢿⡄⠘⠷⠚⠋⠀ Debian Developer ⠈⠳⣄⠀⠀⠀⠀ http://msxpertsuite.org http://www.debian.org ~~~~ book: http://www.lavoisier.fr/livre/notice.asp?id=3LKW2OAR2KROWZ http://books.google.fr/books?id=2NmguxmEI1sC&printsec=frontcover&dq=rusconi+f+lavoisier&hl=fr&sa=X&ei=nGGOUt2SH_Ly0gX0uIHoBQ&ved=0CDUQ6AEwAA#v=onepage&q&f=false ~~~~ Génétique Quantitative et Évolution & Plateforme PAPPSO UMR CNRS 8120 – INRA – Université Paris-Sud – AgroParisTech - Université Paris-Saclay http://moulon.inra.fr/ & http://pappso.inra.fr/ Ferme du Moulon 91190 Gif-sur-Yvette France Tel : +33 (0)1 69 33 23 68 Fax : +33 (0)1 69 33 23 40 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
