Re: \jobname in previews

2015-06-14 Thread aparsloe
On 15/06/2015 10:03 a.m., aparsloe wrote: On 15/06/2015 6:18 a.m., Enrico Forestieri wrote: On Sun, Jun 14, 2015 at 08:44:19PM +1200, aparsloe wrote: I realise \jobname is highly unlikely to feature in math macros, but the problem arises more generally in preview insets where it may well

Re: \jobname in previews

2015-06-14 Thread aparsloe
On 15/06/2015 6:18 a.m., Enrico Forestieri wrote: On Sun, Jun 14, 2015 at 08:44:19PM +1200, aparsloe wrote: With all the work done on preview for 2.2, I wonder if the following case has been considered? Open a document, myfile.lyx. Define a math macro using \jobname, e.g. so that the source

Re: \jobname in previews

2015-06-14 Thread Enrico Forestieri
On Sun, Jun 14, 2015 at 08:44:19PM +1200, aparsloe wrote: > With all the work done on preview for 2.2, I wonder if the following case > has been considered? > > Open a document, myfile.lyx. Define a math macro using \jobname, e.g. so > that the source pane shows \global\long\def\test{\jobname}. N

\jobname in previews

2015-06-14 Thread aparsloe
With all the work done on preview for 2.2, I wonder if the following case has been considered? Open a document, myfile.lyx. Define a math macro using \jobname, e.g. so that the source pane shows \global\long\def\test{\jobname}. Now in a math inset write \test. In 2.1.3 this previews to somethi