GNU bug report logs - #45894
Bug report for preview-latex

Previous Next

Package: auctex;

Reported by: "Bruckmann, Tobias" <tobias.bruckmann <at> uni-due.de>

Date: Fri, 15 Jan 2021 17:20:02 UTC

Severity: normal

Full log


Message #59 received at 45894 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: "Bruckmann, Tobias" <tobias.bruckmann <at> uni-due.de>
Cc: "45894 <at> debbugs.gnu.org" <45894 <at> debbugs.gnu.org>,
 "44578 <at> debbugs.gnu.org" <44578 <at> debbugs.gnu.org>
Subject: Re: Future of EPS (was Re: bug#45894: Bug report for preview-latex)
Date: Fri, 03 Sep 2021 17:19:48 +0900
[Message part 1 (text/plain, inline)]
>>>>> "Bruckmann, Tobias" <tobias.bruckmann <at> uni-due.de> writes:
> Are you aware of any approach to do these LaTeX text replacements in PDF
> graphics already today?

How about exporting figures _without_ texts and _adding_ annotation with
TikZ, as done in the attached example? In this way, no "text
replacements" are necessary.

Or is it too painful to adjust the position of the texts at LaTeX level,
not at the time of creation of figure?

Regards,
Ikumi Keita

[graphic-annot.tex (text/x-tex, inline)]
\documentclass{article}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
  \node (figure) at (0,0) {\includegraphics[width=10cm]{tiger.pdf}};
  \node at (figure.east) {foo};
  \node at (figure.north west) {\(x^{2}+y^{2}=z^{2}\)};
  \path (figure) ++(-2,-1) node[fill=white] {\Large\(E=mc^{2}\)};
\end{tikzpicture}
\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
[graphic-annot.pdf (application/pdf, attachment)]

This bug report was last modified 3 years and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.