Re: Permanence of strange .tex file

2021-08-28 Thread Rich Shepard

On Sat, 28 Aug 2021, Stephan Witt wrote:


Ok, I mentioned it because you said you’ve killed LyX. If you’ve quit LyX
regularly then the temporary files are removed and you cannot find them anymore.
The running process has this open and therefore you can see it. It’s on disk
present until you kill the background process and then the disk space is freed.


LyX is always exited with Ctrl-Q. The .tex processes that remained and
consumed 100% of the CPUs (according to top) were killed by root with the
command
kill -9 

FWIW I've run only linux since 1997 and am quite familiar with it.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Permanence of strange .tex file

2021-08-28 Thread Stephan Witt
Am 28.08.2021 um 14:36 schrieb Rich Shepard :
> 
> On Sat, 28 Aug 2021, Stephan Witt wrote:
> 
>> on quit LyX removes it’s temporary files and directories. This doesn’t
>> happen on sudden death of LyX. The question now is: is /tmp the location
>> for temporary files and directories?
>> 
>> On MacOS it’s not /tmp if you don’t set the path explicitly to /tmp.
> 
> Stephan,
> 
> Yes, LyX has always stored temporary files in /tmp (appropriately enough)
> which is a default directory in linux. And I've not had LyX crash in
> decades; it's closed properly.

Ok, I mentioned it because you said you’ve killed LyX. If you’ve quit LyX
regularly then the temporary files are removed and you cannot find them anymore.
The running process has this open and therefore you can see it. It’s on disk
present until you kill the background process and then the disk space is freed.

BR, Stephan
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Format Page number references

2021-08-28 Thread Andreas Plihal
I had already radically shortened the LYX file. The preamble now too. I am enclosing both of these with this mail.

 

And I don't work with Makeindex because I can use texindy to enforce a DUDEN order in the subject index. If you can tell me how I can do this with Makeindex, I might be able to switch to Makeindex.

 
 

Gesendet: Samstag, 28. August 2021 um 14:00 Uhr
Von: lyx-users-requ...@lists.lyx.org
An: lyx-users@lists.lyx.org
Betreff: lyx-users Digest, Vol 100, Issue 7

Send lyx-users mailing list submissions to
lyx-users@lists.lyx.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.lyx.org/mailman/listinfo/lyx-users
or, via email, send a message with subject or body 'help' to
lyx-users-requ...@lists.lyx.org

You can reach the person managing the list at
lyx-users-ow...@lists.lyx.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lyx-users digest..."


Today's Topics:

1. Re: Permanence of strange .tex file (Paul A. Rubin)
2. Re: Permanence of strange .tex file (Rich Shepard)
3. Re: Permanence of strange .tex file (Paul A. Rubin)
4. Re: Permanence of strange .tex file (Stephan Witt)
5. Re: Format Page number references (Herbert Voss)


--

Message: 1
Date: Fri, 27 Aug 2021 16:10:51 -0400
From: "Paul A. Rubin" 
To: lyx-users@lists.lyx.org
Subject: Re: Permanence of strange .tex file
Message-ID: <818186fb-6c3a-96b7-3b6a-38f4be38a...@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

On 8/26/21 3:27 PM, Rich Shepard wrote:
> Here's another new experience for me. When I kill the lyx process there
> remains a file, for example lyxpreviewN17596.tex, which shows up in the
> process list as 'latex lyxpreviewN17596.tex' and consumes 100% of the
> CPUs
> most of the time.
>
> Root cannot find this file anywhere, and it persists after I close
> lyx, even
> when I did not open the compiled PDF or look at a preview within lyx.
>
> I kill the process but haven't seen this before and would like to
> understand
> what might be behind this behavior.
>
> Regards,
>
> Rich
Do you by any chance have instant preview turned on in Tools >
Preferences > Look & Feel > Display. The presence of "preview" in the
file name suggests to me that LyX might have been compiling something
for instant preview. As far as the undead process, if LyX spawns a latex
/ pdflatex / whatever process to compile something and then you kill
LyX, the child process does not get killed automatically (at least in my
experience). You have to nuke it manually. I would expect the
lyxpreviewN17596.tex file to be stashed in the LyX temporary directory
for the parent document.

Paul



--

Message: 2
Date: Fri, 27 Aug 2021 13:51:52 -0700 (PDT)
From: Rich Shepard 
To: lyx-users@lists.lyx.org
Subject: Re: Permanence of strange .tex file
Message-ID:

Content-Type: text/plain; charset=US-ASCII; format=flowed

On Fri, 27 Aug 2021, Paul A. Rubin wrote:

> Do you by any chance have instant preview turned on in Tools > Preferences >
> Look & Feel > Display.

Paul,

Huh! It was turned on, but I've no recollection of ever doing this. And, as
I wrote, it's never before been an issue. So I turned it off.

> The presence of "preview" in the file name suggests to me that LyX might
> have been compiling something for instant preview.

Could be. I opened LyX, looked in preferences (but not Display), exited,
then found Display and turned off instant preview. There were to *.tex files
using the CPUs after I exited the second time. Killed both processes.

> As far as the undead process, if LyX spawns a latex / pdflatex / whatever
> process to compile something and then you kill LyX, the child process does
> not get killed automatically (at least in my experience). You have to nuke
> it manually. I would expect the lyxpreviewN17596.tex file to be stashed in
> the LyX temporary directory for the parent document.

If yesterday's files were in /tmp find should have found them. It didn't.

Anyway, however the instant preview became active it's now off. Must be
pandemic related, eh? :-)

Stay well,

Rich


--

Message: 3
Date: Fri, 27 Aug 2021 20:03:35 -0400
From: "Paul A. Rubin" 
To: lyx-users@lists.lyx.org
Subject: Re: Permanence of strange .tex file
Message-ID: <890e4ee8-5ceb-54cc-9f2a-4e972875a...@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

On 8/27/21 4:51 PM, Rich Shepard wrote:
> On Fri, 27 Aug 2021, Paul A. Rubin wrote:
>
>> Do you by any chance have instant preview turned on in Tools >
>> Preferences > Look & Feel > Display.
>
> Paul,
>
> Huh! It was turned on, but I've no recollection of ever doing this.
> And, as
> I wrote, it's never before been an issue. So I turned it off.
>
>> The presence of "preview" in the file name suggests to me that LyX might
>> have been compiling something for instant preview.
>
> Could be. I opened LyX, looked in 

Re: Permanence of strange .tex file

2021-08-28 Thread Rich Shepard

On Sat, 28 Aug 2021, Stephan Witt wrote:


on quit LyX removes it’s temporary files and directories. This doesn’t
happen on sudden death of LyX. The question now is: is /tmp the location
for temporary files and directories?

On MacOS it’s not /tmp if you don’t set the path explicitly to /tmp.


Stephan,

Yes, LyX has always stored temporary files in /tmp (appropriately enough)
which is a default directory in linux. And I've not had LyX crash in
decades; it's closed properly.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Format Page number references

2021-08-28 Thread Herbert Voss




Am 27.08.21 um 16:03 schrieb Andreas Plihal:
I filled the preamble exactly as you recommended - so I didn't have to 
change anything.
But I removed the commands \ index and added "|myA" etc. to the three 
LYX boxes.
The result is unchanged in that I still only get the three keywords 
with the three letters a, b and f in the subject index, but without 
the page number.

Enclosed the LYX and PDF files of a small example.


I was talking about a _short_ example file! Your complete tikz stuff in 
the preamble has

_nothing_ to do with the index problem ...

You are using texindy for the index. My solution works with makeindex.

Herbert


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users