Re: (how) can I use \cite and \ref commands in IPE for embedding in a large document?
elwood151 <elwood151-S0/[email protected]>
| Newsgroups | gmane.comp.graphics.ipe.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Tomek, thank you, I'll try that. Do I get it right, that I'll have to: * compile the LateX document n times until all refs and cite commands are ok (at the moment, as things are evolving, the bibliography is constantly growing and so the numbers of the citations may change) * then "re-compile" all ipe documents, so that they get the correct citation numbers from the fresh aux file * and then finally do one (?!) last pdflatex run to incorporate the latest versions of the IPE graphics? Kind regards Martin T T-7 wrote: > > On 14 March 2011 11:48, elwood151 <elwood151-S0/[email protected]> wrote: >> I wonder if there is a way to use commands like \cite{} or \ref{} / >> \pageref{} in pdf documents created with IPE which I want to include in >> the >> pdfLaTeX file of my dissertation as images / tables. >> > > There is a trick for everything :) For \ref{} / \pageref{} there's xr > package, but doesn't work for \cite{}. The trick is to grep the > \newlabel / \bibcite stuff from your main document aux file(s) and > input that in your IPE graphic, e.g., put in the graphic preamble > (requires -shell-escape option): > > \immediate\write18{grep -E 'newlabel|bibcite' mainfile.aux >> > \jobname.aux} > > -- View this message in context: http://old.nabble.com/%28how%29-can-I-use-%5Ccite-and-%5Cref-commands-in-IPE-for-embedding-in--a-large-document--tp31143211p31145461.html Sent from the Ipe - General mailing list archive at Nabble.com.