Dear list,

After some more thoughts, I plan to implement this feature like the
following. Comments are welcome.

1. An on/off menu under "view" called  "view latex for selected text" 
or simply "view latex". It will be enabled with a valid latex document
. Support for docbook etc may be pending.

2. When a piece of code is selected, a window is displayed with the
latex code of the selected paragraphs. This window will be updated
with the next selection event, and close when "view" -> 'view latex'
is turned off.

Rationals:

1. This will be a great feature to learn latex,

2. This will make debugging of latex-related errors much easier. For
example, today, I copy/paste a *centered* figure into a table and get
a latex error. Only after I look up the latex export did I find out
the problem.

3. view-latex will be a more frequent event than view->pdf etc so I do
not want to call an external viewer.

4. It is tempting to update latex code at each key stroke but that
will be too expensive. Select event seems to be a better choice.


Cheers,
Bo

Reply via email to