\jobname again

2015-08-04 Thread aparsloe
Around six weeks ago I enquired about making the document-wide \jobname available to preview insets. This is difficult, presumably because previews are needed /before/ LyX invokes latex for whole-document compilation. At present in a preview inset \jobname gives the name of the preview, which

-std=c++11 and [PATCH] Improve the display of the source (bugs #6501,#7359)

2015-08-04 Thread Guillaume Munch
Hello, Here is a patch that I would like to discuss. It brings some improvements to the source view panel and it fixes http://www.lyx.org/trac/ticket/6501 (Cursor in LaTeX Source pane does not follow cursor in Editor window). I use a unique_ptr because it was the best way to do. Because of

\input@path - two slashes, quotation marks

2015-08-04 Thread PhilipPirrip
Why does \input@path end with two slashes, as in /home/user/directory// and why is its output /home/user/dir ectory// (note quotation marks, and two separate ending slashes) when the folder name contains spaces?

\jobname again

2015-08-04 Thread aparsloe
Around six weeks ago I enquired about making the document-wide \jobname available to preview insets. This is difficult, presumably because previews are needed /before/ LyX invokes latex for whole-document compilation. At present in a preview inset \jobname gives the name of the preview, which

\input@path - two slashes, quotation marks

2015-08-04 Thread PhilipPirrip
Why does \input@path end with two slashes, as in /home/user/directory// and why is its output "/home/user/dir ectory/"/ (note quotation marks, and two separate ending slashes) when the folder name contains spaces?

-std=c++11 and [PATCH] Improve the display of the source (bugs #6501,#7359)

2015-08-04 Thread Guillaume Munch
Hello, Here is a patch that I would like to discuss. It brings some improvements to the source view panel and it fixes (Cursor in "LaTeX Source" pane does not follow cursor in Editor window). I use a unique_ptr because it was the best way to do.