[OS X TeX] LaTeXiT 1.2 beta
Pierre Chatelier
pierre.chatelier at club-internet.fr
Sat Jul 2 22:13:52 CEST 2005
> Sorry, I should have provided an example to make my request more
> clear. So for example, lets say I enter an equation in LaTeXiT and
> add it to the library and name it myequ. My request would then
> allow me to click and drag the equation icon from the library into
> TexShop, for example, and get one of the following pasted into my
> document: \ref{equ:myequ}, \label{equ:myequ}, $equ source$, or
> \begin{equation}\label{equ:myequ}equ source\end{equation}. The
> content of pasted text would somewhow be controlled within LaTeXiT.
Ok, I understood, now. I have a solution for you, let's talk about it :
My idea is that, if you drag'n drop an equation *from the library*,
and drop it in an textfield *that cannot display images* (like a
TeXShop document), the data provided by the pasteboard would be the
label of the equation. So, this label would appear at the drag
destination. Exactly what you want ?
But it would work only if you drag from the library, since only
library items have a label.
The problem is that it will be difficult to make it well-documented.
Moreover, this trick will fail if you drop in textfields that support
images, since most of the time the image in the pasteboard will be
preferred by the receiver. So, there is a solution (not very handy),
that is to set a new export-type (in the preferences of the app). In
addition to PDF, EPS, TIFF... there would be "string label". (It is
even affordable to add a checkbox that would encapsulate this label
in a "\ref{...}"
My opinion would be to keep the very first solution, since the last
one is not very handy in fact.
What do you think about that ?
Pierre
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list