Jean-Pierre Chretien wrote:
Hello,

Using the beamer layout, the Title, Author, Subject styles are used
after the \begin{document} as they appear in the LyX window.

As a consequence, the \hypersetup commands which set pdftitle and such
do not have the right information and thus
pdfinfo foo.pdf
is non informative, in contrast with the latex equivalent where the \title,
\author and such are in the preamble. I tried unsuccessfully to encapsulate the \hypersertup commands in a \AtEndDocument command.

Any other workaround (other than duplicating or defining the \title. etc
command in preamble instead of the document body) ?


How about defining variables in the preamble to contain them, and then using those variables in both the preamble and body for setting \title etc.
i.e.
in the preamble:
\def\DocReleaseDate{05 OCT 2005}
\def\DocNumber{<Proj abriv>-SRS-01a-<DocDate>}
\def\DocProjectName{<Project>}
\lhead{\DocNumber }
\rhead{ UNCLASSIFIED Draft \DocReleaseDate}

and in the body...[Pseudo markup]:
 (SRS) for ERT[\DocProjectName]


At least you could then put that in your beamer template and only have to maintain the data in one place. This is the technique I use for some data that our document policies want in ~5 places.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

Reply via email to