Re: Finding the generated latex file

2015-11-02 Thread Guillaume Munch

Le 28/10/2015 14:09, Ilan a écrit :

After compiling a file in Lyx, I no longer see the full path to the Latex file
in the log.
It used to be in the first lines of the Latex log window.

Is there any way to get it back? That way I can easily copy and paste the path
in order to debug the Latex file directly.





There is now an "Open Containing Directory" button in the log dialog in
place of the "Copy to Clipboard" button, in the upcoming 2.2 alpha.



Finding the generated latex file

2015-10-28 Thread Ilan
After compiling a file in Lyx, I no longer see the full path to the Latex file 
in the log.
It used to be in the first lines of the Latex log window.

Is there any way to get it back? That way I can easily copy and paste the path 
in order to debug the Latex file directly.



Re: Finding the generated latex file

2015-10-28 Thread Ilan
Thanks David and Stephan.

My problem is that I'm working on a multi-file project so under the tmp 
directory there are several directories and the location of the Latex file 
depends on the file I compiled (and of course the tmp directory has a different 
name each time under windows).

What I used to do until few months ago is opening the Latex log, and there I 
saw the full path to the compiled file, so I could copy it to a Latex editor.
After some updates to Lyx & Latex, I see in the log only the file name without 
the path.

I can (and this is what I do) to find the current tmp directory and then 
searching for all the Latex files to find the right one by its name.
I hoped there is an option to return to the previous state of easily finding 
the directory with a click.



Re: Finding the generated latex file

2015-10-28 Thread Scott Kostyshak
On Wed, Oct 28, 2015 at 04:39:23PM +, Ilan wrote:
> Thanks David and Stephan.
> 
> My problem is that I'm working on a multi-file project so under the tmp 
> directory there are several directories and the location of the Latex file 
> depends on the file I compiled (and of course the tmp directory has a 
> different 
> name each time under windows).
> 
> What I used to do until few months ago is opening the Latex log, and there I 
> saw the full path to the compiled file, so I could copy it to a Latex editor.
> After some updates to Lyx & Latex, I see in the log only the file name 
> without 
> the path.

I'm not aware of a LyX update that meant to change this so perhaps it
was an update to the LaTeX file? LyX does not (and has never AFAIK)
changed the log in any way after you click on "View Complete Log".
However, this might be worth a feature request. If you can think of a
good way LyX can show the path to the log in an unintrusive way (e.g.
not changing the LaTeX log), then it might be considered. Please make a
ticket at http://www.lyx.org/trac

> I can (and this is what I do) to find the current tmp directory and then 
> searching for all the Latex files to find the right one by its name.
> I hoped there is an option to return to the previous state of easily finding 
> the directory with a click.

Another possibility is:
on Linux when I preview with Evince, I can just right-click on the PDF
that is opened in Evince and there is an option "Open Containing
Folder". I think that is the folder you want.

Scott


Re: Finding the generated latex file

2015-10-28 Thread David
Am 28.10.2015 um 17:47 schrieb Scott Kostyshak:
> On Wed, Oct 28, 2015 at 04:39:23PM +, Ilan wrote:
>> Thanks David and Stephan.
>>
> 
> Another possibility is:
> on Linux when I preview with Evince, I can just right-click on the PDF
> that is opened in Evince and there is an option "Open Containing
> Folder". I think that is the folder you want.
> 
> 

A very similiar method when viewing the PDF preview: most PDF viewers
have something like File/Properties where the path to the file is displayed.



Re: Finding the generated latex file

2015-10-28 Thread David
Am 28.10.2015 um 15:09 schrieb Ilan:
> After compiling a file in Lyx, I no longer see the full path to the Latex 
> file 
> in the log.
> It used to be in the first lines of the Latex log window.
> 
> Is there any way to get it back? That way I can easily copy and paste the 
> path 
> in order to debug the Latex file directly.
> 
> 

If you are under Linux, you can start Lyx from the command line. The tmp
folder is printed to stdout at some point. (At least under Lyx 2.1.3 and
2.1.4)



Re: Finding the generated latex file

2015-10-28 Thread Stephan Witt
Am 28.10.2015 um 15:09 schrieb Ilan :

> After compiling a file in Lyx, I no longer see the full path to the Latex 
> file 
> in the log.
> It used to be in the first lines of the Latex log window.
> 
> Is there any way to get it back? That way I can easily copy and paste the 
> path 
> in order to debug the Latex file directly.

Hi Ilan,

there are many possible answers/suggestions:

1. You can lookup the current temporary in the settings dialog.
It's in the section for the path names.

2. There is the so called Source Pane. There you can see the
live TeX code LyX will produce for the paragraph or the document.

3. You may use one of the Export menu items with "LaTeX" to
place the output in the directory where your LyX file is.

Stephan

Re: Finding the generated latex file

2015-10-28 Thread Stephan Witt
Am 28.10.2015 um 17:39 schrieb Ilan :

> Thanks David and Stephan.
> 
> My problem is that I'm working on a multi-file project so under the tmp 
> directory there are several directories and the location of the Latex file 
> depends on the file I compiled (and of course the tmp directory has a 
> different 
> name each time under windows).
> 
> What I used to do until few months ago is opening the Latex log, and there I 
> saw the full path to the compiled file, so I could copy it to a Latex editor.
> After some updates to Lyx & Latex, I see in the log only the file name 
> without 
> the path.
> 
> I can (and this is what I do) to find the current tmp directory and then 
> searching for all the Latex files to find the right one by its name.
> I hoped there is an option to return to the previous state of easily finding 
> the directory with a click.

You may create a directory somewhere and assign it as temporary directory
in the settings dialog. LyX creates the temporary files in sub-directories
of this assigned temporary directory after a restart of the LyX application.

Hope this is useful.

Stephan