[pdftex] Simple (?) question about \pdfobj

Martin Schröder martin at oneiros.de
Sun Mar 6 00:33:45 CET 2011


2011/3/6 Heiko Oberdiek <heiko.oberdiek at googlemail.com>:
> If the invalid contents of this object is the problem,
> then it raises the questions:
> * What is the relation to class beamer?

Nothing.

<qoute src="sampledf.tex">
\pdfobj{(Hello)}            % the simplest case: a string "Hello"
\pdfrefobj \pdflastobj      % mark the object to be written out; it can be
                            % understood as a reference to the object

% Note, that the object you type must comply the syntax of one of PDF data
% types (dictionary, array, string, stream, number, ...). The object created
% with `\pdfobj{Hello}' is incorrect and may lead to parser crash. This issue
% may not be noticed until one try to refer to the object anyhow or compress it
% using non-zero \pdfobjectstreams.
</quote>

Best
   Martin


More information about the pdftex mailing list