Dear Liviu,
thanks for your suggestion. From my point of view, the feature as you
have described it would be really useful. Shall I add it to the bug
tracker, or do you want to do it? (I first have to register).
All the best,
Sebastian
Am 27.08.2013 11:16, schrieb Liviu Andronic:
Dear Sebastien,
On Mon, Aug 19, 2013 at 9:43 PM, Sebastian Kranz
<[email protected]> wrote:
I wanted to ask if perhaps, it could be possible to add a Lyx command that
allows to copy selected Lyx text containing math and text as Latex code. To
be more precise, when I paste copied Lyx text in a text editor it shall be
correct Latex code including $ signs.
I gave it more thought and I think that one thing that is worth
requesting on our bugtracker (
http://www.lyx.org/trac/wiki/BugTrackerHome ), to avoid it getting
forgotten on the ML, is the following:
- in the Source pane, in the "Current paragraph" combo add a 'Current
inset' item
- and lower, add a button to 'Copy' currently displayed code (or
perhaps through a different UI solution, such as a custom c-menu in
Source)
I assume that to make this generally useful functionality come alive,
there would be a need to add an LFUN that copies the source code of
current {inset, paragraph, etc.} for the selected 'Format' to
clipboard, thus satisfying your original request. This could look
like:
copy-source pdflatex inset
or:
copy-source lyxhtml paragraph
Regards,
Liviu
--
Prof. Dr. Sebastian Kranz
Professorship for Sustainable Regulatory Economics
Institute for Economics, Department of Mathematics and Economics
Ulm University
89069 Ulm, Germany
Email: [email protected]
Web: http://www.uni-ulm.de/mawi/mawi-wiwi/mitarbeiter/skranz.html
http://www.wiwi.uni-bonn.de/kranz/
Phone: +49 (0)731/ 50 23691
Fax: +49 (0)731/ 50 23737