Re: Tiling Window Manager Interaction with LyX

2018-08-09 Thread Anthony Campbell
On 07 Aug 2018, Joel Kulesza wrote:
> Colleagues,
> 
> A co-worker recently prompted me to experiment with a tiling window manager
> (TWM) within macOS.  I'm still evaluating how it fits in with my workflow.
> However, I've found that it periodically doesn't treat LyX as consistently
> as the other applications I commonly use.  That is, the TWM inconsistently
> fails to properly tile LyX's window.
> 
> Does anyone else use a TWM (either with macOS or another OS)?  If so, have
> you experienced any odd behavior or is this a "feature" of the particular
> TWM application I'm using?
> 
> Thank you,
> Joel
> 
> P.S. The TWM I'm using is chunkwm (https://koekeishiya.github.io/chunkwm/).


I've used a TWM (Spectrwm) with LyX  on OpenBSD for more than 3
years without any difficulties. Before that I was on Linux using
various TWMs, also without problems with LyX.

Regards,

Anthony

-- 
Anthony Campbellhttp://www.acampbell.uk


Re: how to obtain the aux file of the references

2018-08-09 Thread Wolfgang Engelmann




Am 08.08.2018 um 19:54 schrieb Paul A. Rubin:

On 08/08/2018 08:46 AM, Wolfgang Engelmann wrote:
I use a bib file from which I select the references for my document. 
Since I use only parts of the references, I would like to get those 
by using the aux file which is produced if I export the latex file 
and run this (3 times, and onces biblatex). In JabRef, which is my 
reference manager, I can (under tools) select a subfile based on this 
aux file. Can I get the aux file somehow also without the latex 
procedure from lyx?


Wolfgang

If you View the document in LyX, the .aux file should be generated in 
the LyX temporary directory. While the document is still open in LyX, 
go to the temporary directory LyX is using and it should be there. On 
Linux, the temporary directory is typically under /tmp, and in any 
case "Tools > Preferences > Paths > Temporary directory" will get you 
to the starting point. It's just a matter of drilling down a couple of 
levels from there.


Paul

Thanks, Paul, that was very helpful and well explained. Its much easier 
to get the aux file from there as to run the latex stuff. Furthermore, 
running latex creates large .eps files (instead of the .jpg files) for 
the figures which I don't need and want.

Wolfgang


Re: Tiling Window Manager Interaction with LyX

2018-08-09 Thread Helge Hafting




Den 08. aug. 2018 06:41, skrev Joel Kulesza:

Colleagues,

A co-worker recently prompted me to experiment with a tiling window 
manager (TWM) within macOS.  I'm still evaluating how it fits in with 
my workflow.  However, I've found that it periodically doesn't treat 
LyX as consistently as the other applications I commonly use.  That 
is, the TWM inconsistently fails to properly tile LyX's window.


Does anyone else use a TWM (either with macOS or another OS)?  If so, 
have you experienced any odd behavior or is this a "feature" of the 
particular TWM application I'm using?


Thank you,
Joel

P.S. The TWM I'm using is chunkwm 
(https://koekeishiya.github.io/chunkwm/).


I use the tiling window manager spectrwm on Linux. Took some time 
getting used to the forced tiling, but there don't seem to be any 
LyX-specific problems. Occationally, some old app gets trouble with 
tiling; Some popup like search/save/message meant to be small is tiled, 
and forced to some crazy large size. Spectrwm gives the option of 
overriding the tiling in its config file. I use that to avoid tiling 
xclock. I haven't needed overrides for LyX.


You may want to describe the exact problem, and post a screenshot. Maybe 
a mac-specific fix is needed, or perhaps the problem can be reported to 
chunkwm developers and fixed by them.


Helge Hafting


Re: how to obtain the aux file of the references

2018-08-09 Thread Wolfgang Engelmann




Am 09.08.2018 um 03:53 schrieb Richard Kimberly Heck:

On 08/08/2018 01:54 PM, Paul A. Rubin wrote:

On 08/08/2018 08:46 AM, Wolfgang Engelmann wrote:

I use a bib file from which I select the references for my document.
Since I use only parts of the references, I would like to get those
by using the aux file which is produced if I export the latex file
and run this (3 times, and onces biblatex). In JabRef, which is my
reference manager, I can (under tools) select a subfile based on this
aux file. Can I get the aux file somehow also without the latex
procedure from lyx?

Wolfgang


If you View the document in LyX, the .aux file should be generated in
the LyX temporary directory. While the document is still open in LyX,
go to the temporary directory LyX is using and it should be there. On
Linux, the temporary directory is typically under /tmp, and in any
case "Tools > Preferences > Paths > Temporary directory" will get you
to the starting point. It's just a matter of drilling down a couple of
levels from there.

There is a program aux2bib that will take the aux file and produce a bib
file from it. Once you find the right temporary directory, you can run
aux2bib in that directory.

See https://ctan.org/pkg/bibtools.

Riki


Thats also good to know, its faster than using the Jabref method.
Wolfgang


Re: how to obtain the aux file of the references

2018-08-09 Thread Paul A. Rubin

On 08/09/2018 03:09 AM, Wolfgang Engelmann wrote:



Am 08.08.2018 um 19:54 schrieb Paul A. Rubin:

On 08/08/2018 08:46 AM, Wolfgang Engelmann wrote:
I use a bib file from which I select the references for my document. 
Since I use only parts of the references, I would like to get those 
by using the aux file which is produced if I export the latex file 
and run this (3 times, and onces biblatex). In JabRef, which is my 
reference manager, I can (under tools) select a subfile based on 
this aux file. Can I get the aux file somehow also without the latex 
procedure from lyx?


Wolfgang

If you View the document in LyX, the .aux file should be generated in 
the LyX temporary directory. While the document is still open in LyX, 
go to the temporary directory LyX is using and it should be there. On 
Linux, the temporary directory is typically under /tmp, and in any 
case "Tools > Preferences > Paths > Temporary directory" will get you 
to the starting point. It's just a matter of drilling down a couple 
of levels from there.


Paul

Thanks, Paul, that was very helpful and well explained. Its much 
easier to get the aux file from there as to run the latex stuff. 
Furthermore, running latex creates large .eps files (instead of the 
.jpg files) for the figures which I don't need and want.

Wolfgang

Wolfgang,

Viewing the document in LyX causes LyX to run LaTeX, so those .eps files 
are probably being generated anyway. It's just that they'll be in the 
temp directory, and automatically deleted when you exit LyX.


Paul



Re: how to obtain the aux file of the references

2018-08-09 Thread Wolfgang Engelmann




Am 09.08.2018 um 15:47 schrieb Paul A. Rubin:

On 08/09/2018 03:09 AM, Wolfgang Engelmann wrote:



Am 08.08.2018 um 19:54 schrieb Paul A. Rubin:

On 08/08/2018 08:46 AM, Wolfgang Engelmann wrote:
I use a bib file from which I select the references for my 
document. Since I use only parts of the references, I would like to 
get those by using the aux file which is produced if I export the 
latex file and run this (3 times, and onces biblatex). In JabRef, 
which is my reference manager, I can (under tools) select a subfile 
based on this aux file. Can I get the aux file somehow also without 
the latex procedure from lyx?


Wolfgang

If you View the document in LyX, the .aux file should be generated 
in the LyX temporary directory. While the document is still open in 
LyX, go to the temporary directory LyX is using and it should be 
there. On Linux, the temporary directory is typically under /tmp, 
and in any case "Tools > Preferences > Paths > Temporary directory" 
will get you to the starting point. It's just a matter of drilling 
down a couple of levels from there.


Paul

Thanks, Paul, that was very helpful and well explained. Its much 
easier to get the aux file from there as to run the latex stuff. 
Furthermore, running latex creates large .eps files (instead of the 
.jpg files) for the figures which I don't need and want.

Wolfgang

Wolfgang,

Viewing the document in LyX causes LyX to run LaTeX, so those .eps 
files are probably being generated anyway. It's just that they'll be 
in the temp directory, and automatically deleted when you exit LyX.


Paul

Yes, but if I run latex in my lyx directory, the eps files clutter it I 
have to delete them. So your advice is indeed helpful

Wolfgang