Re: Setting default document class

2023-10-27 Thread Paul Rubin




On 10/26/23 13:13, Rich Shepard wrote:



Speaking of which, if you go to ~/.lyx/templates, you should see a file
named defaults.lyx. That's your default starting document. All else
failing, try creating an empty doc with the Report class, saving it to
/tmp with the name defaults.lyx, and then moving it over to the 
templates

directory.


Okay. I didn't look in templates, but there the textclass is set to
scrreport so I cannot explain why a new doc comes up as scrbook.

Oh, well. I'll cope with it. :-)

Many thanks,

Rich
You might try "grep template_path ~/.lyx/preferences" and make sure that 
your template directory is correctly set (~/.lyx/templates). If LyX is 
looking for templates in the wrong place, that might explain why it's 
defaulting to the wrong class.


You sure know how to have fun!

Paul

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


Re: Setting default document class

2023-10-26 Thread Rich Shepard

On Thu, 26 Oct 2023, Paul Rubin wrote:

Are you saying that the doc class within a document kept changing back to 
Book on its own, or that the default class kept changing back to Book?


Paul,

Yes, the doc class changed back to Book a couple of times, but that's the
only time I've seen this happen. I can't explain it either.


Speaking of which, if you go to ~/.lyx/templates, you should see a file
named defaults.lyx. That's your default starting document. All else
failing, try creating an empty doc with the Report class, saving it to
/tmp with the name defaults.lyx, and then moving it over to the templates
directory.


Okay. I didn't look in templates, but there the textclass is set to
scrreport so I cannot explain why a new doc comes up as scrbook.

Oh, well. I'll cope with it. :-)

Many thanks,

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


Re: Setting default document class

2023-10-26 Thread Paul Rubin




On 10/26/23 11:54, Rich Shepard wrote:

On Thu, 26 Oct 2023, Paul Rubin wrote:

Create a new document, select the document class you want as default, 
and

make any other customizations that you want applied to new documents
(fonts, paper size, whatever). Then go to Document > Settings... >
Document Class and click "Save as Document Defaults".


Paul,

Sigh. Yes, I did that yesterday with a new document. The default when the
new doc opened was KOMA-Script Book. I changed it to KOMA-Script 
Report and
clicked the link, "Save as Document Class." (Aside, it kept shifting 
back to

Book and I kept changing that to Report.)

Now, starting a new doc the default class is "KOMA-Script Book" which 
is why
I thought there might be another place that actually set the default 
class I

want.

Thanks,

Rich


Rich,

Are you saying that the doc class within a document kept changing back 
to Book on its own, or that the default class kept changing back to 
Book? I would have no explanation for the former. The latter might 
indicate a permissions problem with the directory where the default is 
saved.


Speaking of which, if you go to ~/.lyx/templates, you should see a file 
named defaults.lyx. That's your default starting document. All else 
failing, try creating an empty doc with the Report class, saving it to 
/tmp with the name defaults.lyx, and then moving it over to the 
templates directory.


Paul

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


Re: Setting default document class

2023-10-26 Thread Rich Shepard

On Thu, 26 Oct 2023, Paul Rubin wrote:


Create a new document, select the document class you want as default, and
make any other customizations that you want applied to new documents
(fonts, paper size, whatever). Then go to Document > Settings... >
Document Class and click "Save as Document Defaults".


Paul,

Sigh. Yes, I did that yesterday with a new document. The default when the
new doc opened was KOMA-Script Book. I changed it to KOMA-Script Report and
clicked the link, "Save as Document Class." (Aside, it kept shifting back to
Book and I kept changing that to Report.)

Now, starting a new doc the default class is "KOMA-Script Book" which is why
I thought there might be another place that actually set the default class I
want.

Thanks,

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


Re: Setting default document class

2023-10-26 Thread Paul Rubin



On 10/26/23 11:00, Rich Shepard wrote:

Looking in ~/.lyx/lyxrc and ../preferences I do not see where I can set a
default document class when I create a new doc. Have I missed seeing 
where I

can do this?

TIA,

Rich
Create a new document, select the document class you want as default, 
and make any other customizations that you want applied to new documents 
(fonts, paper size, whatever). Then go to Document > Settings... > 
Document Class and click "Save as Document Defaults".


Paul

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