Karakas Online

5.9. Callouts

Callouts are those reverse-video circled numbers or "(1)", "(2)", etc. that you see appended to selected lines in some code examples, like the following:

baseurl={http://www.karakas-online.de/mySGML/}, (1)
pdftitle={Document processing with LyX and SGML}, (2)
pdfsubject={Linux,document formatting}, (3)
pdfauthor={Copyright \textcopyright 2004, Chris Karakas}, (4)
pdfkeywords={Linux SGML LyX DSSSL DocBook} (5)
(1)
The baseurl will be added in front of any relative WWW link that you have in your PDF document.
(2)
The pdftitle will appear as the title of your PDF document in Acrobat® Reader under File-->Document Info-->General.
(3)
The pdfsubject will appear as the subject of your PDF document in Acrobat® Reader under File-->Document Info-->General.
(4)
The pdfauthor will appear as the author of your PDF document in Acrobat® Reader under File-->Document Info-->General. You may add copyright information as shown here.
(5)
The pdfkeywords will appear as a list of keywords for your PDF document in Acrobat® Reader under File-->Document Info-->General. Keywords are separated by blanks.

Just as is the case with admonitions (see Section 5.8), there is no LyX environment (Section 5.1) for callouts (there is no such environment for TeX/LaTeX either, which is the reason why it is absent from LyX too). The only way to get callouts to work with LyX ist to create an SGML environment and put the SGML code there. For the example above, here is what you would have to write in the SGML environment:

<screen>
baseurl={http://www.karakas-online.de/mySGML/}, <co id="baseurl">
pdftitle={Document processing with LyX and SGML}, <co id="pdftitle">
pdfsubject={Linux,document formatting}, <co id="pdfsubject">
pdfauthor={Copyright \textcopyright 2003, Chris Karakas}, <co id="pdfauthor">
pdfkeywords={Linux SGML LyX DSSSL DocBook} <co id="pdfkeywords">
</screen>
<calloutlist>
    <callout arearefs="baseurl">
       <para>
      The baseurl will be added in front of any relative WWW link 
      that you have in your PDF document.
      </para>
    </callout>
<callout arearefs="pdftitle">
       <para>
      The pdftitle  will appear as the title of your PDF document 
      in Acrobat® <application>Reader</application> under File-->Document Info-->General.
      </para>
    </callout>
<callout arearefs="pdfsubject">
       <para>
      The   pdfsubject will appear as the subject  of your PDF document 
      in Acrobat® <application>Reader</application> under File-->Document Info-->General.
      </para>
    </callout>
<callout arearefs="pdfauthor">
       <para>
      The   pdfauthor  will appear as the author  of your PDF document 
      in Acrobat® <application>Reader</application> under File-->Document Info-->General. You may add copyright information as shown here.
      </para>
    </callout>
<callout arearefs="pdfkeywords">
       <para>
      The   pdfkeywords will appear as a list of keywords for  your PDF document 
      in Acrobat® <application>Reader</application> under File-->Document Info-->General. Keywords are separated by blanks.
     </para>
    </callout>
</calloutlist>
Last updated Mon Sep 24 01:19:25 CEST 2007 Permalink: http://www.karakas-online.de/mySGML/lyx-callouts.html All contents © 2002-2007 Chris Karakas