Re: lyx remove in Debian bullseye

2022-08-14 Thread Dr Eberhard Lisse



Steve

I read the subject line "Debian Bullseye" as meaning Linux.

el

On 2022-08-12 08:49 , Steve Litt wrote:
[...]

Hi Wolfgang,

What El wrote is a shellscript.  Shellscripts can't be used on Windows
unless you have Linux For Windows or Windows Posix or whatever.

[...]

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


Re: lyx remove in Debian bullseye

2022-08-11 Thread Dr Eberhard Lisse

apt install coreutils

or

for i in lyx lyx24[0xn]
do
sudo find / -name $i -exec rm -rf {} ';'
done

this is not difficult.

el

On 2022-08-11 18:08 , Wolfgang Engelmann wrote:



Am 11.08.22 um 14:28 schrieb Dr Eberhard Lisse:

for i in lyx lyx240 lyx24n lyx24x
do
 rm -rf $(realpath $(which $i))
done

el

[...]

Thanks, El,

but I do not know how to apply this script.  How do I find the
realpath of my installed lyx's?

I checked the help files of lyx, but couldn't find a description of
how to uninstall a lyx file and all the stuff going with it.

Wolfgang




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


Re: lyx remove in Debian bullseye

2022-08-11 Thread Dr Eberhard Lisse
for i in lyx lyx240 lyx24n lyx24x
do
 rm -rf $(realpath $(which $i))
done

el

On 11/08/2022 00:08, Alan Tyree wrote:
> Hi Wolfgang,
> I can't help you with your immediate problem, but if you again wish to
> install multiple versions of a program, I suggest using GNU Stow.  It
> allows multiple versions to be installed and easily managed.
>
> Good luck with the more immediate problem.
>
> Cheers,
> Alan
>
> On Thu, 11 Aug 2022 at 00:56, Wolfgang Engelmann
> mailto:engelm...@uni-tuebingen.de>> wrote:
>
> I have several lyx 2.4.0 dev installed (which I named lyx; lyx240;
> lyx24n; lyx24x).  They should be removed, before I install a lyx
> 2.3.6.1 for debian.
>
> sudo apt-get remove lyx
>  > Paket lyx240 not found (kann nicht gefunden werden)
>
> How to remove these lyx's?
[...]


-- 
To email me replace 'nospam' with 'el'

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


Re: Voice Recognition Accessibility

2022-08-04 Thread Dr Eberhard Lisse



I purchased a Dragon Dictate license for the Mac exactly 4 weeks before
they discontinued the Mac Support.

I was never able to dictate into the Mac LyX, so I went through a small
detour dictating MarkDown which is much easier to dictate than LaTeX,
and worked extremely well for me.  I spent some time on a PanDoc
Template, and so the translation into LyX works perfectly.  Use a
Makefile and include files for example.

That said, from what I read, maths in MarkDown are LaTeX anyway, so if
you can dictate (normal text) into LyX the solution below (ERT) should
do quite well.

greetings, el

On 04/08/2022 05:27, t...@wescottdesign.com wrote:

I can't help you directly -- but consider instead setting up Nuance
Dragon Dictate to put LyX into LaTeX insertion mode, then translate
LaTeX directly.

This will give you everything that LyX can give you, with the benefit
-- to other users if not immediately to you -- of being useful for any
tool that supports LaTeX, not least being folks who might light to
author documents in LaTeX directly.

[...]


--
To email me replace 'nospam' with 'el'

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


Re: no document classes available

2022-07-29 Thread Dr Eberhard Lisse

Buy a Mac, install Homebrew and then install MacTeX and LyX from Homebrew :-)-O

el


On 28/07/2022 17:06, Wolfgang Engelmann wrote:

I just found that my lyx document does not have the Document class
KOMA-script-book available

In fact, all the document classes are greyed out.

What should I do?

Wolfgang



--
To email me replace 'nospam' with 'el'

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


Re: check the logs

2022-07-29 Thread Dr Eberhard Lisse

This is because you don't read (the manuals) :-)-O

el

On 28/07/2022 16:43, Steve Litt wrote:
[...]

I had no idea you could install tlmgr as anything BUT root. Thanks for the
information.

[...]

--
To email me replace 'nospam' with 'el'

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


Re: check the logs

2022-07-28 Thread Dr Eberhard Lisse

This is of course a LaTeX and not a LyX issue and



https://www.google.com/search?q=I+can%27t+find+the+format+file+%60lualatex.fmt


shows 63 hits.

el

On 28/07/2022 07:34, Wolfgang Engelmann wrote:



Am 27.07.22 um 22:38 schrieb Dr Eberhard W Lisse:

Wolfgang,

this is not what what I suggested, try this:


 lyx24x -f -e luatex A-SP-Jul26.lyx
 lualatex A-SP-Jul26.tex

el



lualatex A-SP-Jul26.tex
This is LuaHBTeX, Version 1.15.0 (TeX Live 2022)

kpathsea: Running mktexfmt lualatex.fmt
/usr/local/texlive/2022/bin/x86_64-linux/mktexfmt: kpsewhich 
-var-value=TEXMFROOT failed, aborting early.
BEGIN failed--compilation aborted at 
/usr/local/texlive/2022/bin/x86_64-linux/mktexfmt line 25.
I can't find the format file `lualatex.fmt'!

Wolfgang



--
To email me replace 'nospam' with 'el'

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


Re: Syncing skim with LyX

2022-07-20 Thread Dr Eberhard Lisse



Not all do.

On 20/07/2022 07:01, Stephan Witt wrote:
[...]

PS: the readers on this list prefer the use of inline citation or
bottom post in mails.[...]

--
To email me replace 'nospam' with 'el'

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


Re: Bug tracker accounts

2022-07-20 Thread Dr Eberhard Lisse



While deliberation on email lists are very helpful that just will not
work for software development, not even in closed shops, but most
certainly not in Open Source projects and large ones such as this.

el

On 15/07/2022 23:16, Steve Litt wrote:
[...]

Or, how's this for a novel idea: How about discussing bugs on the
mailing list so that many eyes can effortlessly and immediately peruse
it and many voices can effortlessly narrow it down.  This will weed
out the "defective user" caused bugs, and will produce a pinpoint
accurate symptom description for the overworked developer.

[...]

--
To email me replace 'nospam' with 'el'

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


Re: Syncing skim with LyX

2022-07-20 Thread Dr Eberhard Lisse



Ehud,

Search in Help -> Customization for Copiers (or Converters) :-)-O

Some variables are there defined and $$i is the input file name.

greetings, el


On 20/07/2022 00:43, tush via lyx-users wrote:
[...]

By the way, what does the $$i option that you added to "open -a
Skim.app" do?

With the help of the other members my LyX is set to the first way you
described.  Thanks very much.

[...]
--
To email me replace 'nospam' with 'el'

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


Re: Conversion failure for older format

2022-06-24 Thread Dr Eberhard Lisse

He did address it by complete path prefixed by python2.

I would think the scrip itself uses python3 and therefor works.

el

On 2022-06-21 12:06 , Jean-Marc Lasgouttes wrote:

Le 20/06/2022 à 15:28, Rudi Gaelzer a écrit :

That successfully converted the original to format 544, which the
frontend was able to render.  Is it possible that there's a bug in
the automagic process?
I'm running the installation from the rpm packages distributed for
Fedora core 35/36.


Could it be that you have another version of lyx2lyx on your path?

JMarc


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


Re: Settings file for lyx

2022-06-02 Thread Dr Eberhard Lisse

You are not listening.

Don't do this, there is no need to and it'll confuse your colleagues.

Split the document into chapters and have each "owned" by a particular
colleague and then use GIT or CVS source control.  That's much more
productive with messing with the site installation, which has nothing to
do with the document you are working on.

el

On 02/06/2022 15:03, tush via lyx-users wrote:

Thank you very much once again, Riki.

I found the file and I can see it being updated after I apply changes
in the preferences menu inside LyX.

Where can I choose which preferences file to use?  I want to save a
copy of such a file and save it in the project's directory.  How do I
tell lyx to use that new file?  I can't see anything related to it in
the menus.

Screen shot: https://i.ibb.co/cYyJdpk/screenshot.png   
  >


Ehud

[...]

--
To email me replace 'nospam' with 'el'

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


Re: Formatting Python code

2022-05-30 Thread Dr Eberhard Lisse

STOP. USING. ERT! :-)-O

In Settings -> Document -> Listings you can set things into the window
which wind up in the generated tex file as \lstset{}

greetings, el


On 2022-05-27 23:20 , Rich Shepard wrote:

On Fri, 27 May 2022, Rich Shepard wrote:


Thanks for the pointer.


Paul,

Since all the code in the document is the same language I searched the
web for setting defaults.  Found a list archive thread from 10 years
ago and your response was to add the language and other attributes to
the preamble; here
I entered
\lset{language=Python, Tabulator size=4}

This makes no difference.  I closed and re-opened lyx; this had no
effect.

Each block of program code still defaults to Language=None and
Tabulator size=8.

Has anything changed in the past decade?

Regards,

Rich



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


Re: Acrobat pdf

2022-05-20 Thread Dr Eberhard Lisse

Assuming this is on the Mac:

Click on any PDF and then issue CMD-I. Then change the "Open-With"
Pulldown do whatever viewer you want but click on "Change-All"

Then in Lyx you can use "open" as the viewer.

PDF Expert is very nice and powerful but I like Skim for day-to-day by
the way.

greetings, el

On 2022-05-19 14:24 , Kornel Benko wrote:

Am Thu, 19 May 2022 12:33:49 +0100
schrieb mark salmon :


Thank you Kornel- when I get to Viewer ( for pdflatex) it gives me
only 2 options- None or Custom- alongside Custom in another box it
also has " auto".  No mention of PDF Expert or in fact Adobe
Acrobat--what do I haver to do now to make lyx use PDF Expert??
Cheers,
Mark



Use custom and fill the box with the path to your favourite pdf
viewer.  You may not need the full path, if your pdf-viewer is
directly accessible.


On 19/05/2022 12:04, Kornel Benko wrote:

Am Thu, 19 May 2022 11:50:20 +0100
schrieb mark salmon:
  

I have moved away from Adobe Acrobat for PDFs as there are many
alternatives that are substantially cheaper and in fact in many
cases better.  However as my Adobe licence has just run out it
seems I can no longer generate PDF documents- I get the pdf in
acrobat but I can't access it as an adobe page comes up asking me
to re-licence Acrobat but I want to continue using PDFexpert
instead- How do I change the preferences with Lyx to stop it
assuming I am using Adobe Acrobat for PDFs and instead use
PDFExpert for pdf output?
Many thanks,
Mark

Select
Tools->Preferences->File Handling->File Formats->Format
Select there the relevant PDF output, e.g. 'PDF (pdflatex)'
and select the Viewer to what you desire.

Kornel


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


Re: Suggestions for custom layouts/templates creation

2022-05-20 Thread Dr Eberhard Lisse

I have recreated a number of forms required by the local Medical
Industrial Complex :-)-O using tables, judicious spacing and other
trickery to achieve reasonable similarity which has been accepted in
each case.

I usually use Komascript but have a few legacy forms that I created in
Memoir and they are not broken.

It's a lot of manual labor, even only once:-)-O and you can template
(variables like $$SURNAME$$) with Perl (or for the younglings Python
:-)-O) if you want.

The really complicated and colorful forms I do in LaTeX with the PDF as
the background and then use something like \usepackage{lpic} so I can
place the variables right where I need them, usually incorporating
them into Perl scripts.

Using Pashua for simple forms and Platypus to create (simple) Apps on
the Mac makes this quite powerful.

Usually these forms change over time but in particular the lab I use has
overlooked the outdatedness of my forms (probably because they are happy
not to have to try to read my handwriting :-)-O)

el

On 2022-05-19 23:19 , Rich Shepard wrote:

I use the KOMA-Script classes and assume the KOMA-Script Article
class would be the most appropriate.  But, not before creating any
LyX templates I would appreciate suggestions how to go about making
this first one.


Thinking I'm on the right track, I'm copying text from the PDF form
with questions emphasized (to visually separate them from the filled
in answers).  I'm using sections* and subsctions* to follow the
agency's formatting.

Will save in ~/.lyx/templates when finished.

Recommendations still welcome!

Rich


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


Re: Top toolbar missing after switching from debian 10 to debian 11 (bullseye)

2022-05-16 Thread Dr Eberhard Lisse

John,

what happens if you right-click on one of the toolbars?

"Standard" should be ticked.

el


On 12/05/2022 18:56, John White wrote:

The main lyx tool bar is gone, the one with


File, Edit, View, Insert, Navigate, Document, Tools, Help.


Any thoughts on how I might get it back?


Thanks,


John





--
To email me replace 'nospam' with 'el'

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


Re: License Agreement Entitlement Query

2022-05-13 Thread Dr Eberhard Lisse



Neither statement is helpful.

This most likely boilerplate that they send to everybody and
as we want to push Open Source use we should politely point them
towards the GLP2 license.

greetings, el


On 2022-05-05 00:09 , Alan Tyree wrote:

"Can you please confirm that your license terms and conditions will
allow the University to deliver LyX using this new model?  Otherwise,
if this does not comply with your current terms, can you please advise
what changes are required to allow us to deliver LyX"

On Thu, 5 May 2022 at 05:58, Dr Eberhard Lisse  wrote:

Neither statement is helpful.

This most likely boilerplate that they send to everybody and
as we want to push Open Source use we should politely point them
towards the GLP2 license.

greetings, el

[...]

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


Re: License Agreement Entitlement Query

2022-05-13 Thread Dr Eberhard Lisse



Neither statement is helpful.

This most likely boilerplate that they send to everybody and
as we want to push Open Source use we should politely point them
towards the GLP2 license.

greetings, el


On 2022-05-05 00:09 , Alan Tyree wrote:

"Can you please confirm that your license terms and conditions will
allow the University to deliver LyX using this new model?  Otherwise,
if this does not comply with your current terms, can you please advise
what changes are required to allow us to deliver LyX"

On Thu, 5 May 2022 at 05:58, Dr Eberhard Lisse  wrote:

Neither statement is helpful.

This most likely boilerplate that they send to everybody and
as we want to push Open Source use we should politely point them
towards the GLP2 license.

greetings, el

[...]

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


Re: License Agreement Entitlement Query

2022-05-04 Thread Dr Eberhard Lisse

Neither statement is helpful.

This most likely boilerplate that they send to everybody and
as we want to push Open Source use we should politely point them
towards the GLP2 license.

greetings, el

On 2022-05-03 08:50 , Alan Tyree wrote:

I agree with Steve on this.  It's no part of the LyX team's business
to be interpreting the GPL2 or any other licence.

Cheers,
Alan

On Tue, 3 May 2022 at 15:33, Steve Litt  wrote:

I wouldn't suggest replying to these guys.  They're trying to put
the LyX project in the role of their lawyer, without payment.
Personally, I think the GPL2 is clear enough for me to stake my
business on, but if they have questions, they can hire a lawyer.

Or, if they don't like the project not acting as their lawyer,
they can start using a proprietary substitute, and REALLY start
paying lawyers.

SteveT


Service Centre Licensing said on Mon, 2 May 2022 04:45:07 +

 >Dear LyX Team,
 >
 >
 >
 >We are writing to you in relation to the licensing for LyX.

[...]

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


Re: Tufte Handout class handling of citations broken by LyX v2.3.6.2

2022-04-29 Thread Dr Eberhard Lisse

This is a LaTeX issue, not a LyX one as far as I can see.

And perhaps one between chair and screen (lack of RTFM perhaps) :-)-O


el

On 29/04/2022 01:18, Trevor Jenkins wrote:

I have a number of (old) LyX files that use the Tufte Handout class
(tufte-handout.cls).  In LyX version 2.0 these were formatted
correctly that is the citation of a reference appears in marginalia;
numbered in sequence with formal sidenotes.  However, for new and
modified files the most recent LyX version 2.3.6.2 breaks this
behaviour!  A reference is placed in the text and the citation only
appears in the bibliography at the end of the final document.
Depending on exactly which style of reference is selected via Insert >
Citation the reference may also be incorrect and appear as {author?}.
But none of the styles available via Insert > Citation give the
documented result that Tufte Handout is supposed to produce.

This breakage makes LyX useless for me as I only use Tufte Handout
(and have no interest or desire to use a different LaTeX class in its
place).

Regards, Trevor.

<>< Re: deemed!




--
To email me replace 'nospam' with 'el'

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


Re: SOLVED >: nomenclature error

2022-04-28 Thread Dr Eberhard Lisse

I don't think LyX can ever fix LaTeX errors :-)-O

el


On 19/04/2022 10:24, Wolfgang Engelmann wrote:
[...]

It took some time to find out, and I wonder whether there could be a
better error or warning handling.


[...]

Am 14.04.22 um 17:30 schrieb Wolfgang Engelmann via lyx-users:

[...]

! LaTeX Error: Lonely \item--perhaps a missing list environment

[...]
--
To email me replace 'nospam' with 'el'

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


Re: What Am I Doing Wrong … bibliography entries not being included

2022-04-18 Thread Dr Eberhard Lisse

Create an MWE, please, ie a minimal working example, by reducing
everything but what triggers the issue, and paste this here, including
the BIB file which should contain a single reference.

Often that will lead you to the solution and if not we can have a look
at it :-)-O

el



On 2022-04-18 10:39 , Trevor Jenkins wrote:

When I View my document ⌘-R pdflatex shouts that there are no
citations!  I have added the relevant BibTeX file using Insert >
List/TOC > Bib(la)Tex Bibliography picking a local .bib file and then
added a citation using Insert > Citation followed by Adding a specific
citation.  (It appears in a sidenote entry as I have tuftepaper as my
document class.)

Pdflatex’s error message is

BibTeX error: I found no \citation commands---while reading file Statins.aux

It makes no difference what Citation Style I select when adding the
citation.  I have had this working before (on a now dead machine) but
cannot for the life me work out what I am doing wrong.

Operating System: macOS 12.3.1 (Monterey)
Processor: M1
LyX version: 2.3.6.2
Python: 3.10.4 (freshly (re)installed)
Document class: tuftepaper
  with custom options:
  justified,a4paper,sidenote=raggedright,marginnote=raggedright,nobib
  that latter because I want to suppress the final bibliography
  listing and was fine in my previous not that it suppressed the
  bibliography


Regards, Trevor.

<>< Re: deemed!



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


Re: After my latest MacOS/Microsoft updates

2022-04-18 Thread Dr Eberhard Lisse

This is a "security" feature of the Mac. See

https://developer.apple.com/developer-id/

I usually enter from a terminal window (iTerm2)

sudo spctl --master-disable

and then you still get a warning when you open an app for the first
time but can go ahead at your discretion.

el



On 2022-04-14 01:11 , Chris Menzel via lyx-users wrote:

Go into System Preferences and click on the "Security & Privacy" icon.
In the bottom half of the window you should see an option for allowing
LyX to install once you click on the lock at the bottom of the screen
and enter your password.

-cm

On Wed, Apr 13, 2022 at 5:19 PM Herbert Clemens via lyx-users
 wrote:

Dear JMarc.  Thanks very much for your quick reply!  I apologize
for my carelessness.  I wrote Microsoft by mistake.  I meant
Apple.  Here’s the screen shot


Regards,
Herb C.


On Apr 13, 2022, at 4:40 PM, Jean-Marc Lasgouttes
 wrote:

Le 13/04/2022 à 19:45, Herbert Clemens a écrit :

Hi.  My MacOS won’t let me open my lyx files because Microsoft
'can’t check them for malware.’ The previous workaround no
longer works.  Is there anything I can do or do I finally have
to learn to TeX?
Thanks for any help!
Herb Clemens
Columbus OH USA


Dear Herbert,

We need more details to be able to help you.

I suspect that you would have more useful help if you asked on
the lyx-users@lists.lyx.org list.  You could maybe include
screenshots and details on your settings, because at this point I
do not know why Microsoft would have anything to say about
programs running on your mac.

And describe precisely what you do.

Regards,
JMarc


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


Re: MacOS 12.3.1 (Monterey) lyx2lyx script fails to convert

2022-04-18 Thread Dr Eberhard Lisse

On the Mac I STRONGLY recommend using homebrew's python as it will
be updated any time you do a 'brew update'.

el


On 2022-04-17 10:21 , Stephan Witt wrote:

Am 16.04.2022 um 01:52 schrieb gelfand :


Just upgraded (from Mohave!) and when attempt to open any LyX 2.2 and earlier 
get lyx2lyx script failed to convert. Also when attempt to reconfigure get 
system reconfiguration failed.

Did see the warning message when first launching LyX that in future OS versions 
the application will no longer run and should be updated.

Running LyX 2.3.6.2 on Intel Mac with OS 12.3.1


Apple finally removed Python 2 in macOS 12.3 - sorry for LyX not being 
prepared. At the time LyX 2.3.6.2 was built it was announced already but not 
sure when it happens.

Now you have to install Python yourself. You may download it from python.org 
(https://www.python.org/downloads/macos/). Alternatively you may run python in 
a terminal window and choose to install it from Apple. I recommend the first 
option.

BR, Stephan



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


Re: How to include a bunch of tex commands globally

2022-04-18 Thread Dr Eberhard Lisse

That will not survive LyX Updates.  Local Layouts should go into the
local layout difrectory (which on the Mac is below ~/Library/Application
Support/LyX-2.3).

Never mind that "must be located" is incorrect.  LaTeX finds documents
in many places (find out what texhash does :-)-O)

I don't understand the issue, however. Why do you need (look at) the
TeX files generated by LyX? And even if so, why the concern about the
"clutter"?

That's what the Preamble is for (put in ton's of LaTeX and never look
at it again :-)-O)

I have a large include.tex for my handbook whih is included by the
master document and all child documents, so I have the same
"environment" for all and even setting up conditionals so font changes
depending on Landscape vs Portrait and similar.

greetings, el

On 2022-04-17 20:00 , tush via lyx-users wrote:

I have a big block of tex commands (about 80 lines in length) that set
up theorem environments using the |amsthm| and |thmtools| packages.

To this bunch of tex commands there is also a corresponding LyX module
that defines the theorems in the editor (paragraph styles, section
5.3.7 in the customization manual).

I want to avoid this 80 lines code block in my document preamble.  It
clutters the document structure.

Of course, one can insert the code block as it is inside this:

Preamble
⟨80 lines of code go here⟩
EndPreamble

But this adds the big code block right into my preamble, which, as I
said, I want to avoid.

The other option is to save the code block in a tex file
(`myPreable.tex` for example) and to load it into my document:
Preamble
\input{myPreamble}
EndPreamble

But this means that the file `myPreamble.tex` must be located in the
root directory of the LyX project.

Is there any way to load the code block while it is located in the
"Applications/LyX.app/Contents/Resources/layouts/" directory?  I am
about to send this module file and all its accompanying files to a
colleague, and I want to spare him from the task of taking care which
files go where.

I hope my question is clear.




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


Re: Making first paragraphs not indented in exported HTML

2022-04-11 Thread Dr Eberhard Lisse via lyx-users

If you think other people have the time you don't maybe you
also not waste their time by posting this.

el

On 2022-04-11 09:22 , Steve Litt via lyx-users wrote:

Daniel via lyx-users said on Mon, 11 Apr 2022 08:13:43 +0200


On 2022-04-11 03:44, Steve Litt via lyx-users wrote:

Hi all,

In the past, some exporters have implemented the custom of not
indenting the first of several successive paragraphs by using a
different class of paragraph for the first of a series of paragraphs.
This way of doing things makes more work for the person writing the
export, and more work for the person converting the export to
acceptable ePub, because those special classes will need to be backed
out or otherwise specially handled.

Not indenting the first of a series of paragraphs is easily
accomplished by the following two lines of CSS:

p::first-letter{margin-left: 3em;}
:not(p) + p::first-letter{margin-left:0.0001em;}

Let CSS decide which is the first of several consecutive paragraphs,
and let CSS define what to do with that paragraph. Make it easy on
everybody.

I took an hour to figure this out. Could somebody please take 3
minutes to forward it to the developer's list and also the person
who is writing the HTML export?

Thanks,

SteveT

Steve Litt
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm


I'd suggest that you file a bug/enhancement report at
https://www.lyx.org/trac/wiki/BugTrackerHome (including the LyX
version you are using and exact steps to reproduce the problem).


Like I said, I spent an hour getting that code just right. I did the
hard part, I did my part. In the time you took to respond to me, you
could have forwarded my email.

I don't have time to learn the quirks of every project's bugtracker,
type in information that's not relevant, and hope somebody looks at it.
At a lot of projects, the bugtracker is where requests go to die
(Bluefish, you listening?).

If I could change one thing about FOSS it would be to get rid of
bugtrackers and work directly with the user. That's what we did at
VimOutliner, and bugs got solved and requests got implemented very
quickly.

SteveT

Steve Litt
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm



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


Re: lyx not a readable Lyx document

2022-04-08 Thread Dr Eberhard Lisse via lyx-users

Yes and no,

LyX 2.4 uses a different format from 2.3 and hence the (2.3) lyx2lyx
does not know the new (2.4) format (yet).

That happens during (almost) every major upgrade and the developers
then usually "backport" that so I would think the eventual 2.3.6.3 (or
2.3.7) will be able to read the 2.4 format.

el

On 2022-04-08 08:18 , Wolfgang Engelmann via lyx-users wrote:



Am 08.04.22 um 07:21 schrieb Dr Eberhard Lisse via lyx-users:

An older version of lyx2lyx can't know about newer formats?

el


On 2022-04-07 09:55 , Wolfgang Engelmann via lyx-users wrote:
[...]

I remember, that one does not need a lyx2lyx in the same version, here
2.4.x
Has this changed?

Wolfgang




are you saying, the lyx2lyx is changing in the 2.4.x?
Wolfgang


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


Re: lyx not a readable Lyx document

2022-04-07 Thread Dr Eberhard Lisse via lyx-users

An older version of lyx2lyx can't know about newer formats?

el


On 2022-04-07 09:55 , Wolfgang Engelmann via lyx-users wrote:
[...]

I remember, that one does not need a lyx2lyx in the same version, here
2.4.x
Has this changed?

Wolfgang


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


Re: [Important] New behavior for spam handling on this list

2022-04-07 Thread Dr Eberhard Lisse via lyx-users

To me it is as much  or little of an inconvenience as reading the manual ;-0-O

el


On 07/04/2022 10:12, Steve Litt via lyx-users wrote:

Jean-Marc Lasgouttes via lyx-users said on Wed, 6 Apr 2022 16:01:16
+0200


Dear all,

Until now, the handling of the list was like: messages from
subscribers go through, other messages get discarded.

There is actually a way to filter e-mails marked as spam, and I have
already changed all our other lists to take advantage of this
information.

Today it is lyx-users' turn. The new behavior is:
* spams are automatically discarded; please notify the list if a
message of yours just disappears. It seems to work correctly on the
other lists that we have;
* members posts not qualified as spam go through as usual;
* remaining non-member posts are held for moderation.

The big advantage is that now non-subscribers will be able to post
messages (with a low amount of manual moderation from my side).

Comments welcome.


I'd suggest you put it back the way it was. I'm on 30+ FOSS mailing
lists, and can't police everything to see that it goes through. If some
AI algorithm somewhere decides I'm spam because of my email provider
or whatever, I'm just writing into the wind, wasting a lot of time.

And what's the supposed upside? So non-subscribers can post. Look at
any netiquette guide and they'll roundly catcall the clowns who begin
or end their message with "please CC me because I'm not on the list."

Let's not inconvenience valuable list members to accommodate those so
lazy they can't take 5 minutes to join the mailing list.

SteveT

Steve Litt
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm



--
To email me replace 'nospam' with 'el'

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


Re: Setting up LyX on a new computer

2022-03-17 Thread Dr Eberhard Lisse via lyx-users

After installation (I do that from from Homebrew) I would do

ln -fs $HOME/Library/Application Support/LyX-2.3/preferences \
 $HOME/lyxrc

and run unison with a force from the old to the new, but installing
unison is currently not advisable for casual users as the stable mac
version suffers from a SSH issue introduced by Monterey and the
developers are working on a rewrite anyway.

rsync is too complicated so I would probably just do something like this
on the old box

tar cvfz ~/Downloads/lyxdir.tgz ~/Library/Application\ Support/LyX-2.3
scp ~/Downloads/lyxdir.tgz newbook.local:~/Downloads/

and on the new one

cd
tar xvfz ~/Downloads/lyxdir.tgz

I run unison regularly on all my systems in a star formation
synchronizing with each other, which I offer as the answer to below
question.

As it is scriptable it was a nice exercise to script it so that it knows
where it runs and what to to exactly, but that's another story :-)-O.



el

On 16/03/2022 22:27, Hal Kierstead via lyx-users wrote:

All -

I have many preference settings that I would like to transfer to a new
MacBook Pro.  What is the approved way to do this?  Can I just copy
the preference file and bind file in Application Support/LyX-2.3 from
one computer to the other or what?  Maybe I could copy the whole
LyX-2.3 folder?  Along the same lines, what is the best way to keep my
LyX setup consistent across several computers.  I use dropbox to sync
files.

Thanks,

Hal


--
To email me replace 'nospam' with 'el'

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


Re: Continuation of lists across beamer frames

2022-03-16 Thread Dr Eberhard Lisse via lyx-users

enumerate-resume?

el

On 15/03/2022 16:22, markhsalmon via lyx-users wrote:

Hi,
  I have tried everything I know without success and asked tis question on 
other fora without a result- simple question how do I continue an existing say 
numbered list onto a new Beamer frame/slide please? Thanks

Decision making is about predicting counterfactuals





--
To email me replace 'nospam' with 'el'

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


Re: EPUB converter

2022-03-09 Thread Dr Eberhard Lisse via lyx-users

Perl is your friend :-)-O or Python, Lua or whatever language you prefer.

el

On 2022-03-09 06:41 , Tom Goldring via lyx-users wrote:

Is there a substitute for \thinspace that will not generate an error in elxyer?



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


Re: EPUB converter

2022-03-07 Thread Dr Eberhard Lisse via lyx-users



Ken

there is a mailing list/news group for elyxer (last traffic 2017)

elyxer-us...@nongnu.org
gmane.editors.lyx.elyxer

el


On 2022-03-07 04:35 , Ken Kopelson via lyx-users wrote:
[...]

Speaking of which, I did run into a problem with the LyXHTML export
from LyX. The other HTML exports from LyX all include the output
contained in Tex Code insets, while the LyXHTML export does not.  This
creates a problem for using any kind of /lettrine or "initials"
functionality in your book, which is quite a problem.

What I did to fix the problem is include a configurable table in the
converter that automatically includes the starting text for each
paragraph.  Anytime I would change the first words of a paragraph, I
would have to make a change in the converter's configuration file,
changing the text there also.  This is obviously extremely hacky, but
it does get the job done.  If only the LyX team would fix the LyXHTML
export so it includes any text in a Tex Code block, ideally executing
the Tex Code so it properly adjusts the text size, that would be
ideal.  The regular HTML export does this, so it should be easy to
just port that code over to the LyXHTML export.  At least, one would
hope so.

[...]

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


Re: EPUB converter

2022-03-06 Thread Dr Eberhard Lisse via lyx-users



Steve,

Since it such a schlepp, why don't you participate in the development or
support the developers?

Never mind that LyX seems to predate the Kindle, this is a LaTeX issue
rather than a LyX one (which, after all, just a front end).

As written numerous times I am very keen on on the new DocBook format
but since I use LyX in production in my practice, I can't use two
different formats, and my staff can't cope with alpha software.

So patience is a virtue on the one hand but trying out stuff like this
is interesting.

el

On 2022-03-06 04:09 , Steve Litt via lyx-users wrote:

Hi Ken,

I suggest you put it out.  The LyX project has a 15 year history of
outputting pidgeon HTML incapable of building a *semantic* ePub,
claiming what they've done is good enough, and treating with hostility
my observations that they're prematurely converting style to
appearance.

The LyX project is the wrong project to do LyX=>ePub; ePub isn't in
their DNA, and until I'm shown otherwise, I'm treating any LyX=>ePub
capabilities from the LyX project as vaporware.

Where can I download your converter with instructions?

Thanks,

SteveT

[...]

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


Re: EPUB converter

2022-03-03 Thread Dr Eberhard Lisse via lyx-users

Ken,

where is the missing link :-)-O?


This is great news.

I am actually waiting for 2.4 and DocBook to convert my 859
page "handbook" to EPUB so my staff and I can carry it around on our
Kindles (App on iPad actually).

But, I would be very keen to see how your package works.

My little handbook doesn't really need anything fancier than a few
images (JPG, PNG and PDF).

I also use (in one (common) "include.tex") something like

 \usepackage{etoolbox}
 \newbool{business}
 \boolfalse{business}
 \newbool{private}
 \booltrue{private}

but if that (see your below remark) were not to work I can address that
via a Makefile and different include (front matter) files as you seem to
be doing.

Maybe you can look into that, because then you can have a single include
file by putting something like this into a Makefile

bus:
 @perl -i -p \
  -e 's/\\boolfalse\{business\}/\\booltrue\{business\}/g;' \
  -e 's/\\booltrue\{private\}/\\boolfalse\{private\}/g;' \
  include.tex
 @lyx -f -e pdf5 handbook.lyx

priv:
 @perl -i -p \
  -e 's/\\booltrue\{business\}/\\boolfalse\{business\}/g;' \
  -e 's/\\boolfalse\{private\}/\\booltrue\{private\}/g;' \
  include.tex
 @lyx -f -e pdf5 handbook.lyx

and then use something like

 \ifbool{business}{}{\include{business.tex}}
 \ifbool{private}{\include{private.tex}}{}

as ERT.

Looks complicated, is complicated, but once it works no further
touching required.



In the meantime I have pulled

 http://www.editorium.com/ftp/LyXBookSampler.zip

from

 https://wiki.lyx.org/Layouts/Layouts

and will start some RTFM :-)-O

greetings, el


On 03/03/2022 00:58, Ken Kopelson via lyx-users wrote:

Hello LyX users,

I am sending this email to let people know that I have produced a
converter for LyX that produces an excellent quality EPUB/Kindle file.

[...]

I love using LyX with the LyXBook theme (as it has the greatest number
of paragraph formats), and I am able to set up a system of files,
having different Front Matter versions.

[...]

I know that the next version of LyX is supposed to produce EPUB,

[...]

As one final problem, the LyXHTML export fails to include anything in
the LaTeK code blocks,

--
To email me replace 'nospam' with 'el'

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


Re: LyX for Mac

2022-02-21 Thread Dr Eberhard Lisse via lyx-users

I stand corrected, my cursor does blink :-)-O but I seem to be so used
to it that I didn't even notice :-)-O.

I copy and paste all my mail messages into an AlphaX window (I keep a
file on the Desktop to double click) because that one can format format
even indented text properly and then copy and paste it back into TBird.

TBird used to allow the firing up of an external editor, but no more
:-)-O. So I got used to this (workflow) as well.

el

 On 2022-02-19 15:17 , Stephan Witt via lyx-users wrote:

Am 19.02.2022 um 04:11 schrieb Tom Goldring via lyx-users
:


I don't know how to adjust the cursor blink rate in Apple Mail,
Thunderbird, Safari, etc.  (if anyone does, please tell me!)  but
since I'm not spending a lot of time typing text into a window when I
use a web browser, it isn't that much of an issue.  When composing
email, I usually type my text into an emacs buffer (which does allow
me to turn off the blink) and then paste it into the mail client.


That seems to be weary.

[...]

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


Re: LyX for Mac

2022-02-21 Thread Dr Eberhard Lisse via lyx-users

My cursor does not blink and my background is an ugly beige (default)
:-)-O

The background is most certainly configurable.

What are hotkeys?

el

On 2022-02-18 21:46 , Tom Goldring via lyx-users wrote:

I have version 2.3.6.2 on my MacBook Pro.  I consider it a poor
substitute for the Windows version.  I can't turn off the blinking
cursor (extremely annoying!), I can't change the background color
(white background gives me a headache), hotkeys don't work, etc.  Is
there an alternative binary that I could download?

Thanks,
Tom



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


Re: Single space TOC

2022-01-26 Thread Dr Eberhard Lisse via lyx-users

Have a look at the tocloft package.

el

On 26/01/2022 08:35, Joseph Hesse via lyx-users wrote:

I am writing a book with separate chapters in a master document.  My
TOC prints double spaced and I want to make it single spaced.

I have the package setspace and I have \usepackage{setspace} in the
preamble.

In the master document I surrounded the Table of Contents entry with
the tex code \begin{singlespace} and \end{singlespace}.  This causes
no errors but it doesn't work, the TOC is still double spaced.

Any help is much appreciated.

Thank you in advance,
Joe



--
To email me replace 'nospam' with 'el'

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


Re: Remove textquotedblplain from preamble

2022-01-20 Thread Dr Eberhard Lisse via lyx-users



This is not an MWE.

It requires several files not provided and has a ton of
entries in the Preamble.

el

On 2022-01-16 21:34 , tush via lyx-users wrote:

I want to remove it because I don't have any idea what it add or
alters in the shape of my output file.  I want to have control over
what is inserted and what is absent in my project.

The MWE is attached.

Thanks a lot!

[...]

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


Re: Program Listings

2022-01-13 Thread Dr Eberhard Lisse via lyx-users

Joe,

When you open the Insert -> File -> Child Document -> Program Listing
there should be a window looking something like the enclosed, where you
can either type the path to the file (complete or relative as in this
example) or click the Browse button, find the file and double click it
after the path will appear there.

Please note the Caption, Label and the parameters.  If you enter
something on the right the left will show you "completions" and/or
choices. Color is mentioned in the LaTeX Listings manual.

greetings, el

On 2022-01-14 05:32 , Joseph Hesse via lyx-users wrote:

On 1/13/22 21:11, Herbert Voss wrote:

Joseph Hesse via lyx-users schrieb:

On 1/12/22 15:00, Herbert Voss via lyx-users wrote:

Use /Insert -> Program Listing/ option.


I tried what you suggested.  I right clicked on the inset and could
not find an option where I could specify where my code listing are
located.


What do you mean with "listing are located"?  If you do not define it
as a float it will appear at the place where you defined it.

Attached the screenshot of the output of the demo file.

Herbert

I am sorry that I did not state my problem more clearly.
Before even using lyx, I have program code in folders in my computer.
I want to have this code appear in my lyx document.  What I meant was
that when I use "Insert -> Program Listing" I do no see a way to
choose the folders on my computer to import these already written
programs into my lyx document.  The only option that gave me that
choice was "Insert -> File -> Child Document" and this seems to work
for me except for the color.
Thank you,
Joe
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Program Listings

2022-01-13 Thread Dr Eberhard Lisse via lyx-users

RTFM of the LaTeX Listings package

I would use a single word for the label or separate ords with ':' ie
something like first:program. If that's the culprit, we should file an
improvement request (ie checking for spaces from within LyX).

Generally speaking attaching a MWE is very helpful, ie the document
without ANY changes to the default and ONLY the code required to
trigger the issue.

Often constructing this lets me find the issue myself :-)-O

On huge documents this is of course very difficult, but then halving
the document successively until one finds the area causing the issue
helps.

el

On 12/01/2022 14:22, Joseph Hesse via lyx-users wrote:

I am writing a programing book and want to have programs that have
been prepared with a text editor included in the book.  This is what I
have done so far.

Insert->File->Child Document

File: CodeListings/Test.cpp
Include Type: Program Listing
Caption: My Caption
Label: First Program

More Parameters: numbers=left, frame=tb, caption=b, float

It sort of works but I need assistance.
The caption I have set above does not appear on the bottom as
"caption=b" would suggest.
The label I have set above does not appear anywhere.

I would like the text of the inserted program to have "typewriter"
font and be colored green.  How do I do this.

Am I on the right track, is the above the correct way of doing what I
want?

Thank you,
Joe Hesse



--
To email me replace 'nospam' with 'el'

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


Re: LyX on Apple Silicon (in a VM)

2021-12-27 Thread Dr Eberhard Lisse via lyx-users

Chris,

I have a development version which I run both on arm64 and x86_64.

LyX does not "run" faster. The graphical front end on the M1 feels
zippier, indeed, but while typing and enditing it does not make that
much aof a differnece.

The limiting factor is the (Lua)LaTeX running in the background.  I use
the MacTexBasic 2021 which has universal binaries and they are indeed
(much) faster on the arm64.

greetings, el

On 2021-12-21 01:50 , Christopher Menzel via lyx-users wrote:

LyX folk,

I haven’t seen any reports about running LyX on Apple Silicon so I
thought I’d post a datapoint.  I compiled LyX (with QT 5) from the
latest source under Kubuntu 20.04 for ARM in a Parallels VM running on
a 14” MacBook Pro with a 10-core M1 Pro chip.  The compile ran
flawlessly (once I got the package dependencies and configure flags
right).  Unsurprisingly, even though running in a VM, the Linux
version is much faster than the current MacOS version which, because
it is an Intel app, requires Rosetta 2 to run on the M1.  Compiling a
technical 135 page document with a large associated BiBTeX file as a
PDF with the Mac version takes about 50 seconds; the Linux version
takes 15 (most of that being biber processing the bibliography info).
And updating a change with the Mac version takes about 10 seconds,
whereas it takes about 4 seconds with the Linux version.

Chris Menzel



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


Re: LuaTeX vs XeTeX

2021-12-27 Thread Dr Eberhard Lisse via lyx-users



And 20 seconds is a drama? Come on.

And my understanding is that you can pass parameters from the command
line to make, so this can become part of an automatable workflow.

el


On 2021-12-20 22:49 , Steve Litt via lyx-users wrote:

Dr Eberhard Lisse via lyx-users said on Mon, 20 Dec 2021 08:49:24 +0200



PDFLaTeX is much faster that LuaLaTeX but to be hoest, nowadays the
day to day stuff is so fast anyway that that doesn't matter.


I noticed that my new book, which is much shorter than most, took
about triple the time, like about 20 seconds on a very fast machine,
to compile that books with LaTeX, XeTeX, and PDFTeX took.  Because I
personalize every book, I need to recompile for every order, so I
might research using PDFTeX. Thanks for the tip.

SteveT

[...]

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


Re: LuaTeX vs XeTeX

2021-12-19 Thread Dr Eberhard Lisse via lyx-users



Stve,

I like the Noto fonts, but my understanding is that all TeX Gyre
fonts also work under PDFLaTeX.

But, LUA is really cool.

You can put simple stuff into the preamble like

\usepackage{luacode}
\begin{luacode*}
   socket = require "socket"
   function hostname()
  local hname = socket.dns.gethostname():gsub('.local','' )
  return hname
   end
\end{luacode*}
\newcommand\hostname{\directlua{tex.sprint(hostname())}}

which then makes the name of the box you are compiling to PDF on (which
I like in my little handbook) available to ERT (or footers defined in
the preamble).

And more complicated stuff, from calculating Expected Date of Delivery
from Last Menstrual Period, Body Mass Index from weight and height, or
even calculating the nearest Friday of a calculated date (thanks
Herbert :-)-O), access to the differend SQL databases and whatnot.

Of course one can do most of that also in R with knitR but that has
a lot of overhead.

PDFLaTeX is much faster that LuaLaTeX but to be hoest, nowadays the
day to day stuff is so fast anyway that that doesn't matter.



On 2021-12-18 00:58 , Steve Litt via lyx-users wrote:

Herbert Voss via lyx-users said on Thu, 16 Dec 2021 15:31:15 +0100



- no more fiddling around with the encoding, everything is UTF-8
- no more restrictions in using fonts, all current types are
supported, like pfb, ttf, utf, ttc, ...
- easy integration of the script language Lua into a document


That's what brought me to LuaTeX and LuaLaTeX: The ability to use TeX
Gyre Schola font, which looks better than everything except its
lookalike Century Schoolbook, but somehow, about 6 years ago, Century
Schoolbook stopped working for me.

Since beginning to use LuaTeX, I've enjoyed that it does everything
the others do, and by using it all the time, I gain expertise and
everything's easier.


SteveT

[...]

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


Re: Fwd: "Lyx must be updated"

2021-12-16 Thread Dr Eberhard Lisse via lyx-users

Murat,

2.40 is on the verge of going from Alpha to Beta, and patience is a
virtue :-)-O

el


On 2021-12-16 10:56 , Murat Yildizoglu via lyx-users wrote:

I have tried to send this to lyx-devel but I am not a member.


Begin forwarded message:

[...]

This is what OSX 12.1 tells me now with Lyx  LyX-2.3.6.2.

""LyX" needs to be updated This app will not work with future
versions of macOS and needs to be updated to improve compatibility.
Contact the developer for more information.”

I imagine that the next version will be good with future versions of
OSX.

I have just wanted to inform.

Best regards,
Murat

[...]

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


Re: I think we need a better name than "MWE"

2021-12-15 Thread Dr Eberhard Lisse via lyx-users

And

https://texfaq.org/FAQ-minxampl

el


On 15/12/2021 14:37, Dr Eberhard Lisse via lyx-users wrote:

https://ctan.org/pkg/mwe

el

On 14/12/2021 22:05, Steve Litt via lyx-users wrote:

Hi all,

Here on the LyX list we use the word MWE to mean the simplest example
that still exhibits the symptom. But MWE stands for Minimum *Working*
Example, and by definition, the file that exhibits the symptom does not
"work". Also, I think I've seen MWE used on various LaTeX venues to
mean the smallest file that works, for a specific feature you want to
incorporate.

Can anyone think of a better name for the tiniest file that exhibits a
symptom?

Thanks,

SteveT

[...]





--
To email me replace 'nospam' with 'el'

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


Re: Glitch (bug?) in 2.3.6.1 [FIXED]

2021-12-15 Thread Dr Eberhard Lisse via lyx-users

Rich, Steve,

that was a rhetorical question of course  :-)-O

I do however find that whenever I find myself using ERT I always try and
look for a LyX way to do it, because I don't like ERT :-)-O

I just found out myself, that on the Mac I can just do Option-0 :-)-O

BTW, it should be \textdegree{}

el

On 14/12/2021 22:22, Rich Shepard via lyx-users wrote:

On Tue, 14 Dec 2021, Steve Litt via lyx-users wrote:


Maybe because he didn't know about Insert -> Symbols -> Superscripts.
I didn't know it either, but now I do, and will use it.  Thanks for
the information!


I frequently use Insert -> Formatting -> Superscripts (or Subscripts,
but just type ctrl-l and insert \textdegree because a) I don't need to
move my hands from the keyboard and use the trackball, and b) I've
used it many times over the past decades.

When there are multiple ways of doing things all work while each of us
prefers one way.  Same with OSes, text editors, etc.

Rich


--
To email me replace 'nospam' with 'el'

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


Re: I think we need a better name than "MWE"

2021-12-15 Thread Dr Eberhard Lisse via lyx-users

https://ctan.org/pkg/mwe

el

On 14/12/2021 22:05, Steve Litt via lyx-users wrote:

Hi all,

Here on the LyX list we use the word MWE to mean the simplest example
that still exhibits the symptom. But MWE stands for Minimum *Working*
Example, and by definition, the file that exhibits the symptom does not
"work". Also, I think I've seen MWE used on various LaTeX venues to
mean the smallest file that works, for a specific feature you want to
incorporate.

Can anyone think of a better name for the tiniest file that exhibits a
symptom?

Thanks,

SteveT

[...]


--
To email me replace 'nospam' with 'el'

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


Re: A big Christmas wish

2021-12-15 Thread Dr Eberhard Lisse via lyx-users

That may be so, but MacTeX Basic does not have it, and I still believe
it's very easy to enclose BIB files with MWEs. Especially for us
(experienced but( casual users.

el

On 14/12/2021 13:59, Kornel Benko via lyx-users wrote:

Am Tue, 14 Dec 2021 13:36:52 +0200
schrieb Dr Eberhard Lisse via lyx-users :


Maybe, but it would be helpful not to have to look for it.

el


What is wrong with this bibfile? It is included in texlive. (Package
'texlive-bibtex-extra' in debian)


On 14/12/2021 12:21, Daniel via lyx-users wrote:

On 13/12/2021 19:20, Dr Eberhard Lisse via lyx-users wrote:

[...]

Attaching the BIB file would help...

el


Sorry. The attached file uses the standard biblatex example BIB file.

Daniel
   


Kornel





--
To email me replace 'nospam' with 'el'

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


Re: Glitch (bug?) in 2.3.6.1 [FIXED]

2021-12-14 Thread Dr Eberhard Lisse via lyx-users

Or use curly braces.

But why would you do this with ERT in the first place?

Instead of \textdegree{} I just used the first character from

Insert -> Symbols -> Superscripts

and Subscripts and get ⁰C.

Never mind that this not only was not an MWE. as you not only don't need
the graphic, it also had an absolute path so wasn't found until manually
changed and a number of lines in the Preamble, some of which are even
superfluous during the non MWE run (like the graphicx one)

greetings, el

On 10/12/2021 00:08, Rich Shepard via lyx-users wrote:

On Thu, 9 Dec 2021, Paul A. Rubin via lyx-users wrote:


"For want of a nail the shoe was lost.  ..."  Here, substitute space
for nail.  You need to put a space between the ERT and the letter C.
The error message is because LaTeX thinks you are invoking the
nonexistent command \textdegreeC.


Paul,

Well, shame on me for not seeing that!  I've used a space elsewhere in
the document and missed the lack of a space in the figure caption.

Thanks for successfully applying the fresh eyes solution.

Regards,

Rich


--
To email me replace 'nospam' with 'el'

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


Re: A big Christmas wish

2021-12-14 Thread Dr Eberhard Lisse via lyx-users

Maybe, but it would be helpful not to have to look for it.

el

On 14/12/2021 12:21, Daniel via lyx-users wrote:

On 13/12/2021 19:20, Dr Eberhard Lisse via lyx-users wrote:

[...]

Attaching the BIB file would help...

el


Sorry. The attached file uses the standard biblatex example BIB file.

Daniel




--
To email me replace 'nospam' with 'el'

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


Re: A big Christmas wish

2021-12-13 Thread Dr Eberhard Lisse via lyx-users

Attaching the BIB file would help...

el

On 2021-12-13 09:18 , Daniel via lyx-users wrote:

On 2021-12-11 10:39, Wolfgang Engelmann via lyx-users wrote:

After having spent numerous hours/days in trying to get a
Koma script book to work under luatex/biblatex my biggest Christmas
wish is to get a user file template for it which works.

It should tell me,
what to put in the Document settings
the LaTeX Preamble
the Bibliography (e.g. biblatex-spbasic)
and the preferences in Tools

Wolfgang


I haven't worked with LuaTeX before, so forgive my ignorance.  But I
am curious what the issue is.  I have just created a KOMA-script book
with a reference using biblatex-spbasic (attached) and compiled it
with LuaTeX and it just worked.  No need for preamble or preferences
to set.  Maybe I am missing some feature that you were using?  Or what
is it in particular that was tricky to accomplish?

Daniel



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


Re: LyX document corrupted [RESOLVED]

2021-12-09 Thread Dr Eberhard Lisse via lyx-users

Rich,

buy a Windoze box and you can do that daily :)-O

el


On 08/12/2021 21:05, Rich Shepard wrote:
[...]

Every few years something constipates the computer and it requires a
reboot to clear the clog.

[...]

--
To email me replace 'nospam' with 'el'

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


Re: How to find LyX' compile strategy?

2021-12-09 Thread Dr Eberhard Lisse via lyx-users

Steve,

from my ~/.latemkrc

 #
 # set default to luatex (ie '4')
 #
 $pdf_mode = 4;
 #

greetings, el

On 08/12/2021 19:16, Steve Litt wrote:

Dr Eberhard Lisse said on Wed, 8 Dec 2021 17:22:34 +0200

[...]

Aside from the fact that latexmk needed a -lualatex arg, nothing was
wrong with them.

[...]
--
To email me replace 'nospam' with 'el'

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


Re: Graphic file formatsx

2021-12-09 Thread Dr Eberhard Lisse via lyx-users

Steve,

On the Mac I do

brew install --cask pdf-squeezer

works well, and so I bought the license.  Comes even with a command line
utility so it went straight into the Makefile :-)-O

I must confess, I have a 3.9 MB accounting software of which I only need
the installation part which is 6 pages, so I use qpdf to pull out those,
making 75K.

 brew install qpdf

Besides not having answered (timed) how long it takes, I would
personally, besides looking at shrinkers, int he first instance look at
how the sucker is generated and work on that.

I save my images on R with ggplot2::ggsave and the help page shows:

device  Device to use. Can either be a device function (e.g. png),
or one of "eps", "ps", "tex" (pictex), "pdf", "jpeg",
"tiff", "png", "bmp", "svg" or "wmf" (windows only).

I however, put the R chunks into my LyX files so that the images are
generated on the fly (knitR).

You asked in another message how many words my handbook has.  It has 25
child documents and I don't know how to run the stats from the comand
line, but the result has 950 pages. As I wrote elsewhere when working
on a chapter I can compile that child document separately which takes
5-10 seconds and look at that before running the Makefile. Works for me.

greetings, el

On 08/12/2021 19:37, Steve Litt wrote:

Rich Shepard said on Wed, 8 Dec 2021 07:51:56 -0800 (PST)


On Wed, 8 Dec 2021, Dr Eberhard Lisse wrote:



For my big handbook (which takes 110 seconds to compile (70 on the
M1)) I have split this into child documents which compile
individually within 10 to 15 seconds.


How about loading a PDF image that's 3,704,503 bytes in size while
reading your big handbook?


OK, 3,704,503 bytes got my attention. No wonder it's slow.

There are ways to shrink PDF size:

Web search: linux shrink pdf size

SteveT

[...]


--
To email me replace 'nospam' with 'el'

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


Re: How to find LyX' compile strategy?

2021-12-08 Thread Dr Eberhard Lisse

What's wrong with

lyx -f -e pdf5 lawnmower.lyx

or if you must, with

lyx -f -e luatex lawnmower.lyx && latexmk lawnmower.tex

el

On 08/12/2021 03:20, Steve Litt wrote:
[...]

The following is my shellscript:

==
#!/bin/sh

namee="lawnmower"

zap_files(){
dot="."
for f in aux idx ilg ind log out pdf tex toc; do
   fname=$namee$dot$f
   rm $fname && echo "Deleted $fname."
done
}

while /bin/true; do
   cd /d/at/books/mm_create
   zap_files
   /bin/texhash
   /usr/local/share/lyx/configure.py
   lyx --export luatex $namee.lyx
   lualatex  $namee.tex
   makeindex $namee.idx
   #texindy $namee.idx
   lualatex $namee.tex
   mupdf $namee.pdf &  #no box
   echo -n "Press Enter to do it again: "
   read junk
done
==

[...]

--
To email me replace 'nospam' with 'el'

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


Re: Graphic file formatsx

2021-12-08 Thread Dr Eberhard Lisse

What does "slowly" mean?

One could try the "draft" option (of graphicx) which should speed
things up until the production runs.

For my big handbook (which takes 110 seconds to compile (70 on the M1))
I have split this into child documents which compile individually
within 10 to 15 seconds.

greetings, el

On 07/12/2021 19:33, Rich Shepard wrote:

Most of the graphics I import into a LyX document are PDFs.  When the
data sets are large they load slowly.

When I create a figure float I see that it's converted to a preferred
format.

Would these figures load more quickly if they were pre-converted?
What is the preferred format?

TIA,

Rich


--
To email me replace 'nospam' with 'el'

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


Re: beamer metropolis fonts

2021-12-01 Thread Dr Eberhard Lisse

I use

\usepackage[medium]{noto}

in the (middle of the) preamble :-)-O

el

On 2021-12-01 17:06 , Neal Becker wrote:

I've been using beamer with metropolis theme for some time now.  The
recommended font here is Fira.  I've used:

\setsansfont[
BoldFont={Fira Sans SemiBold},
ItalicFont={Fira Sans BookItalic},
BoldItalicFont={Fira Sans SemiBold Italic}
]{Fira Sans Book}

I found the semibold seems the most pleasing weight.  Then to try to
get a good matching math font, I've tried adding:

\usepackage{amsmath}
\usepackage[mathrm=sym]{unicode-math}
\setmathfont{Fira Math}
\setoperatorfont\mathsf

This is not terrible, but the math still looks more bold than the
text.

I wonder whether any of you use metropolis and what fonts you find
work well?  There is some previous discussion here in which I
participated:
https://tex.stackexchange.com/questions/403734/beamer-metropolis-theme-recommend-a-math-font-that-matches-with-fira

Thanks,
Neal



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


Re: Fwd: PDF Page Size

2021-10-19 Thread Dr Eberhard Lisse

If you were to look into the Emoji Handbook you'd find that I am
credited with the stethoscope (25 years or so ago).

The arrows are just pointing...

el



On 19/10/2021 13:56, Daniel wrote:

On 18/10/2021 01:12, Dr Eberhard Lisse wrote:

--> :-)-O <-- stands for I was joking


Never came across that emoji before.  What is it supposed to picture?

The more common, ;-) works quite well in this case too, I think.

Daniel



--
To email me replace 'nospam' with 'el'

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


Re: Fwd: PDF Page Size

2021-10-17 Thread Dr Eberhard Lisse



On 2021-10-15 16:38 , Daniel wrote:

On 15/10/2021 13:07, Dr Eberhard Lisse wrote:

On 15/10/2021 07:57, Ken Kopelson wrote:

[...]

What is the LyXBook class?  Or if it refers to the layout, where did
you get it from?


What is the LyXBook class?


I find Koma Script much better and easier that memoir and have
switched some years ago.  That may be opinion, but try it out :-)-O

el


But you saw the other solution that worked, right?

Daniel


Yes, but that's beside the point (that I wanted to make) :-)-O

greetings, el

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


Re: Fwd: PDF Page Size

2021-10-17 Thread Dr Eberhard Lisse

Ken,

--> :-)-O <-- stands for I was joking

If it works for you it works for you.

However I am not sure that for LyX and LaTeX 64GB RAM makes that much
difference, and we see many queries here caused by the MikReX setup.

I run the latexbench on all machines I can lay my hands on and after
every TeX Update:

http://www.complang.tuwien.ac.at/anton/latex-bench/
https://github.com/Gabriel439/bench

And the age/speed seems to be the determining factor from what I see,
not the RAM.

greetings,

el

On 2021-10-15 17:21 , Ken Kopelson wrote:


Thanks Dr., but honestly, the Windows setup I have kicks butt on the
other TWO Macbook Pros I have, so I'll stick with Windows, thanks :)
(It has 64GB of RAM) In fact, the name of my Windows machine is "BEEFY
BEAST", if that tells you anything...

Also, as I indicated in my final email to Daniel, he nailed the
solution, and I was very thankful and happy for the assistance.

I sent his solution to the list so that others could see how to fix
this problem.  I feel bad that you missed seeing that last email, and
therefore took time to try and help me.  I do thank you for your
efforts, and wish you an excellent day and weekend!

Regards,
-Ken

[...]

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


Re: Fwd: PDF Page Size

2021-10-15 Thread Dr Eberhard Lisse

Ken,

the answer is obvious, don't use Windows :-)-O


But, I don't think it has anything to do with LyX but rather is a LaTeX
issue, and guessing of setting a default page size installation wide.

The LeX Live Manager app on the Mac has the option

Configure --> Change Paper Size

which is the default for all documents if nothing else is specified, in
a document, which then overrides.

I have no clue what MikTeX Windows does and whether it allows override.
Could be set with admin privilege or some other issue.

What is the LyXBook class? Or if it refers to the layout, where did you
get it from?

I find Koma Script much better and easier that memoir and have switched
some years ago. That may be opinion, but try it out :-)-O

el



On 15/10/2021 07:57, Ken Kopelson wrote:

FYI
-- Forwarded message -
From: *Ken Kopelson* mailto:kenb...@gmail.com>>
Date: Thu, Oct 14, 2021 at 10:55 PM
Subject: Re: PDF Page Size
To: racoon mailto:xraco...@gmx.de>>


Thank you SO MUCH Daniel!  Your suggestion fixed the problem for me,
and it works beautifully now!

Many thanks again,
*Ken Kopelson*

On Thu, Oct 14, 2021 at 12:20 PM racoon mailto:xraco...@gmx.de>> wrote:

It seems that your class is based on the memoir class.  It might
be that the settings in Document > Settings > Page Layout which
use the geometry package are not working well with that class.
Unfortunately, I have never worked with the memoir class.  From a
little reading in the memoir class documentation
(https://ftp.acc.umu.se/mirror/CTAN/macros/latex/contrib/memoir/memman.pdf)
I gathered that you might try to add

\setstocksize{9in}{6in}

in Document > Settings > Preamble. Does that help?

Daniel


On 2021-10-14 20:24, Ken Kopelson wrote:
 > Thanks Daniel.  It seems to have something to do with the
 > inserted image.  I'm using the LyXBook class, which I've also
 > included with this small test file.  I use the Layout as a
 > local in the same directory as the .lyx file.
 >
 > -Ken

[...]


--
To email me replace 'nospam' with 'el'

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


Re: LaTeX warning explanation needed [RESOLVED]

2021-10-14 Thread Dr Eberhard Lisse



Rich,

Good that it's working now.


In large documents, I find it helpful to pull out every section into its
own child document and have other than the ToC only Include statements
generated by

Insert --> File --> Child Document...

in the main file.

I then put my preamble into an include.tex which I pull into the
preamble of each file.

This is very helpful in my little "handbook" (888 pages currently),
where I can compile a section individually when making changes (and am
too impatient to wait the 2 1/2 minutes for the Makefile (570 lines
:-)-O) to do its thing)

greetings, el

On 2021-10-14 23:49 , Rich Shepard wrote:

On Wed, 13 Oct 2021, Rich Shepard wrote:

[...]

I copied the main doc's .lyx to bit-by-bit.lyx and deleted everything
but the title page and the paragraphs with the citations from this
copied file.

Then I copied the old file to the new one section-by-section, saving
and compiling each addition.  The bibliography was in the resulting
PDF with each addition.

No differences in the two files in the copied sections, but the new
one is 2K smaller in size.  So there must be something invisible in
the original file, but I'm not going to spend time looking for it
since I now have a complete copy.

[...]

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


Re: Bibliography styles

2021-10-14 Thread Dr Eberhard Lisse

I can only find LOG and PNG files, not a LyX, never mind an MWE :-)-O

On 13/10/2021 17:06, Rich Shepard wrote:

On Wed, 13 Oct 2021, Dr Eberhard Lisse wrote:


Because it is in the "label" (\cite key?)  field whereas (I assume
without having seen a MWE) the others are elsewhere ("author" field
for example).


Yep.

And I sent a MWE with my first post but you thought it too long.

Rich


--
To email me replace 'nospam' with 'el'

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


Re: Compile error

2021-10-14 Thread Dr Eberhard Lisse

Rich,

you are welcome :-)-O


I would not spend much time focussing on the latel/cite key.  Since that
does not appear in the PDF (only the names do, and they allow
apostrophes) just remove the apostrophe(s) in the label and citations.

el


On 13/10/2021 18:57, Rich Shepard wrote:

On Wed, 13 Oct 2021, Dr Eberhard Lisse wrote:


BibTeX does not like Apostropes "'" in the label names.


el,

With more research on stackexchange I see that you're correct.  My
apologies.

[...]

--
To email me replace 'nospam' with 'el'

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


Re: Compile error [FIXED]

2021-10-14 Thread Dr Eberhard Lisse

':' also seem to work in LaTeX.

And, there's not heat here :-)-O

el

On 14/10/2021 09:58, Steve Litt wrote:

Rich Shepard said on Wed, 13 Oct 2021 08:10:57 -0700 (PDT)

[...]

I'm not taking sides in this too-heated argument, but my practice is
to make every variable and filename consist of the characters that in
ASCII would be 32 to 126, and except for underscore I never put
punctuation nor spaces in variable names and filenames.  When somebody
sends me a file whose filename has spaces, I just delete it unless
it's important enough for me to remove all punctuation and replace
spaces with underscores.  Unless I remember to quote every variable in
every shellscript, space or punctuation within filenames cause
malfunction.  Life's too short.

[...]

--
To email me replace 'nospam' with 'el'

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


Re: LaTeX warning explanation needed

2021-10-14 Thread Dr Eberhard Lisse

LOG files don't help.

MWE's do :-)-O

el

On 14/10/2021 00:47, Rich Shepard wrote:

The document now compiles without error using TeXLive2021 (and the
2020 version of texlive-extra), but the bibliography still does not
print in the PDF.

The latex.log has these warnings:
LaTeX Warning: Citation 'Groot1991' on page 4 undefined on input line 151.
LaTeX Warning: Citation 'Marcoe2018' on page 4 undefined on input line 167.

Lines 149-151 in the .lyx file are:
\begin_layout Standard
\begin_inset ERT
status open

and lines 163-167 are:
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset

There are other warnings at the top of the (attached) latex.log file
and I need help understanding what the warnings mean.

TIA,

Rich



--
To email me replace 'nospam' with 'el'

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


Re: END-OF-FRAME, once again..

2021-10-14 Thread Dr Eberhard Lisse

That comibiantion does not work on the Mac and so I use the Pulldown

Insert --> Separated Frame Below

after placing the cursor at the end of the last line.

And of course you can always tie that to a simple(r) keystroke
combination but I could not be bothered.

el

On 13/10/2021 17:12, Scott Kostyshak wrote:

On Wed, Oct 13, 2021 at 07:59:16AM -0700, Rich Shepard wrote:

On Wed, 13 Oct 2021, Scott Kostyshak wrote:

[...]

I don't recall the exact keystrokes, but if the cursor is at the end
of the last line in a frame and one presses (IIRC), shift-ctrl-enter,
then an end-of-frame and new frame below that magically appears.
That does the job, but takes two hands and a couple of fingers.  :-)


Thanks, Rich.  That's what I do also and it is the recommended
approach.

[...]

--
To email me replace 'nospam' with 'el'

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


Re: Bibliography styles

2021-10-13 Thread Dr Eberhard Lisse

Because it is in the "label" (\cite key?)  field whereas (I assume
without having seen a MWE) the others are elsewhere ("author" field for
example).

From

 https://bibdesk.sourceforge.io/manual/BibDeskHelp_2.html

 Citation Keys

 A cite key is a unique identifier for a given reference.  BibTeX
 scans your document for occurrences of a cite command with a cite
 key embedded in it, and translates it into a properly formatted
 reference.  Several patterns are common in choosing cite keys, from
 simple ones such as "lastnameYEAR" to more complicated abbreviations
 of journal names and author names.  BibDesk will automatically
 generate cite keys for you (See section Citation Keys), or you can
 enter your own in the editor.

-->
 BibDesk takes a fairly strict interpretation of the valid characters
 for cite keys, and the characters " "@',\#}{~%" (including the space
 character) are never allowed, while you will be warned if you use
 one of "&$^" in a cite key.
<--

 Cite keys are essentially TeX commands, so you should avoid
 using underscores, for instance, if you ever need to print the
 actual cite key itself.

el

On 13/10/2021 14:54, Rich Shepard wrote:

On Wed, 13 Oct 2021, Dr Eberhard Lisse wrote:


IT. IS. THE. APOSTROPHE!


1. Then why is it only this one entry and not any of the other 9?

2. Why has this not been an issue before now? Is it biblatex-related and not
seen by bibtex?

3. If you're correct then how does one enter an apostrophy in an author's
name so it's properly written in both citation and bibliography?

You keep pointing out the source of the problem so I assume you have the
solution to it. I'd greatly appreciate learning that solution.

Rich


--
To email me replace 'nospam' with 'el'

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


Re: Compile error [FIXED]

2021-10-13 Thread Dr Eberhard Lisse

Rich,

the author field is not the same as the label field.

Perhaps it is enclosed by curly braces by default.  In which case, the
label field should thus also be, by default).

But it does make sense not to put Apostrophes into the labels.

greetings, el

On 13/10/2021 15:10, Rich Shepard wrote:

On Wed, 13 Oct 2021, Dr Eberhard Lisse wrote:

[...]

Actually, neither bibtex nor biblatex object to apostrophes or other
accents and umlauts, etc.  It's how they're entered and I had
completely forgotten how to do it properly until this morning and
recent caffinization.

The solution is to enclose the string in curly braces: {}.

Doing so for @article{{O'Connor2019}, removed that error (and revealed
a totally different complaint I'll deal with).  But, there were no
errors generated with these strings:

author = {Brooks, R.P. and O'Connell, T.J. and Wardrop, D.H. and Jackson, L.E.},
author = {O'Hagan, M.},

and the other seven apostrophes because the entire string in which it
occurs were enclosed in curly braces.

The initial entry name string had an opening curly brace but not a
closing one.

Being bright-eyed and bushy-tailed upon awakening, and having consumed
my first mug of coffee, allowed me to remember this.

Regards,

Rich


--
To email me replace 'nospam' with 'el'

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


Re: END-OF-FRAME, once again..

2021-10-13 Thread Dr Eberhard Lisse

Neal,

thanks.

I am however now quite used to the LyX way and I hate ERT so I don't
think I'll change my template just yet.

For those who are interested it sits on

 https://github.com/gadmm/beamer-flex

greetings, el

On 13/10/2021 15:21, Neal Becker wrote:

I've found the LyX UI for beamer somewhat confusing.  At one time,
someone (I've forgotten who to credit here, sorry) contributed this
beamer-flx inset (attached).  I've been using it ever since.
Generally I find it more to my liking.  The only thing missing is it
lacks a direct way to add frame options.

[...]
--
To email me replace 'nospam' with 'el'

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


Re: Bibliography styles

2021-10-13 Thread Dr Eberhard Lisse

IT. IS. THE. APOSTROPHE!


On 12/10/2021 17:10, Rich Shepard wrote:

On Tue, 12 Oct 2021, Dr Eberhard Lisse wrote:


Change the label/reference to OConnor2019 :-)-O
BibDesk does not allow me to even enter a "'"


el,

$ grep -c -e "O'" documents/jabrefdb.bib 10

There are 10 entries begining with "O'" and none has before been an
issue.

Rich


--
To email me replace 'nospam' with 'el'

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


Re: JabRef entry warning

2021-10-13 Thread Dr Eberhard Lisse

Paul,

this is why I am getting irritated at the (ie his) persistent lack of
sending in MWEs.  Having to go through this (and every time) borders on
the rude, and frustrates people like you (and me) who want to help.

A small file such as your dummy file, producing the error with the
required files allows anyone to just run the sucker and see where the
issue comes from.  Then one can also open the BIB file with another tool
(I like BibDesk on the Mac) and see what errors this flags.

I also find, when I have such an issue myself, reducing the file to
nothing else but the error producing text often makes me find the error
:-)-O

Never mind (him) sending in stuff with typos.

el

 12/10/2021 20:56, Paul A. Rubin wrote:
[...]

I turned your entry into a .bib file, cited it in a dummy document,
and compiled with biblatex.  It specifically flagged the first entry
that ended with a comma.  I think the "name" in the error message is
because it thinks that, after that last comma, there will be another
name = value pair in the field that it never finds (due to the closing
brace).  Not the ideal error message in my opinion, but deleting the
surplus comma did fix it.

I spotted the "and and" Maria flagged, but in my test that did not
cause an error message, it just mucked up the printed citation.

[...]

--
To email me replace 'nospam' with 'el'

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


Re: END-OF-FRAME, once again..

2021-10-13 Thread Dr Eberhard Lisse

I totally disagree :-)-O

but then I have written recently about having a template and using that
for presentations.

greetings, el

On 13/10/2021 00:32, UD K wrote:

On 10/12/21 7:49 PM, Steve Litt wrote:

UD K said on Mon, 11 Oct 2021 17:47:46 +0200

[...]

I like LyX as much as the next guy --- I'm selling about 9 books
authored in LyX. But when it comes to putting together a slide
presentation with Beamer, I think LyX adds more complexity than it
removes.  When I use Beamer at all, I just edit the LaTeX in an
editor.  Doing that would be the kiss of death writing a book, but
Beamer/LaTeX uses only a small subset of LaTeX.

[...]

Steve-- I TOTALLY agree with you about the Lyx/Beamer combo being a
killjoy experience.  To make matters worse, I use this combination
only rarely, and in between, pandemics, Former-Presidents and other
plagues brush away what I knew about using it, so the experience is
usually like a root-canal: painful, frustrating and disappointing.  It
is harder to use than the much maligned Impress of the
even-more-maligned LibreOffice, but of course the output, if I ever
get to that stage, is MUCH better looking.  Whether that improved look
is worth the pain depends on your pain threshold ;-)

[...]

--
To email me replace 'nospam' with 'el'

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


Re: Compile error

2021-10-13 Thread Dr Eberhard Lisse

Rich,

Which part of 'change the label from "O'Connor" to "OConnor"' do you not
understand? Never mind the Minimal Working Example...

BibTeX does not like Apostropes "'" in the label names.

el

On 12/10/2021 21:41, Rich Shepard wrote:
[...]


Now I still have biber complaining about the O'Conner article in the .bib
file, That's a warning and doesn't prevent the file from compiling ...
maybe ... but there's still no bibiolgraphy in the complied PDF. That needs
fixing.

[...]


--
To email me replace 'nospam' with 'el'

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


Re: END-OF-FRAME, once again..

2021-10-13 Thread Dr Eberhard Lisse

Ehud,

the best thing is to have both current.

I work on Macs and do a daily update (of MacTeX, Homebrew (which will
get me the latest LyX, Perl, Python, R and RStudio), pip (package
installer for Python :-)-O), CPAN and R (modules)) by way of a rather
hefty function in my (bash) aliases file :-)-O

greetings, el

On 13/10/2021 00:42, UD K wrote:



On 10/12/21 4:54 PM, Dr Eberhard Lisse wrote:

Ehud,

 https://www.google.com/search?q=%22MX+Linux%22+latex

returns 89 results of which the first one

 https://forum.mxlinux.org/viewtopic.php?t=59086

gives a hint at how to get a TexLive installed.

As it is Debian based, there are dummy packages for TexLive somewhere.

el

On 11/10/2021 21:50, UD K wrote:
[...]

This is punishment for using something called MX Linux, which has
only that antiquated version, without this needed feature.

[...]

EL-- My problem with MX Linux was installing a more recent version of
Lyx, not TexLive, which I have installed and used.



--
To email me replace 'nospam' with 'el'

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


Re: END-OF-FRAME, once again..

2021-10-12 Thread Dr Eberhard Lisse

Ehud,

 https://www.google.com/search?q=%22MX+Linux%22+latex

returns 89 results of which the first one

 https://forum.mxlinux.org/viewtopic.php?t=59086

gives a hint at how to get a TexLive installed.

As it is Debian based, there are dummy packages for TexLive somewhere.

el

On 11/10/2021 21:50, UD K wrote:
[...]

This is punishment for using something called MX Linux, which has only
that antiquated version, without this needed feature.

[...]
--
To email me replace 'nospam' with 'el'

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


Re: Bibliography styles

2021-10-12 Thread Dr Eberhard Lisse

Change the label/reference to OConnor2019 :-)-O

BibDesk does not allow me to even enter a "'"

el

On 12/10/2021 15:47, Rich Shepard wrote:
[...]

@article{O'Connor2019,
  abstract = {Mercury (Hg) is a potentially harmful trace element
 in the environment and one of the World Health Organization's
 foremost chemicals of concern.  The threat posed by Hg

[...]

--
To email me replace 'nospam' with 'el'

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


Re: Bibliography styles

2021-10-12 Thread Dr Eberhard Lisse

Would be so much more helpful to include the complete citation, and even better 
a MWE.

el


On 12/10/2021 15:47, Rich Shepard wrote:
[...]

@article{O'Connor2019,
 abstract = {Mercury (Hg) is a potentially harmful trace element in the
   environment and one of the World Health Organization's
   foremost chemicals of concern. The threat posed by Hg

and the error refers to the first line, but I don't understand why. Should
the apostrophe be doubled?

[...]

--
To email me replace 'nospam' with 'el'

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


Re: Bibliography styles

2021-10-12 Thread Dr Eberhard Lisse

Rich,

you can have whatever BST file is found by LaTeX, or rather whatever BST
file LyX finds when Tools --> Reconfigure...  is run.

I for one like one called plaindin.bst which for German texts comes with
the din1505 package (via the tlmgr manager) and have hacked me an
English version which resides below texmf-local to survive updates :-)-O


Click on the BibTeX Generated Bibliograpy which you get from

Insert -> List/TOC -> Bib(la)tex Bibliography...

and then type into the Style field whatever style BST file you have and
like.


BTW, you probably should upgrade (anyway) from 2.6.3.1 (!)  to 2.3.6.2
:-)-O

greetings, el

On 11/10/2021 19:23, Rich Shepard wrote:

The last document with a bibliography used the APA style. I don't see that
in the list of styles in 2.6.3.1. With what style has it been replaced?

TIA,

Rich


--
To email me replace 'nospam' with 'el'

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


Re: How to convert LyX doc to LaTeX

2021-10-12 Thread Dr Eberhard Lisse

Please do not confuse novices with XeTeX.

LyX can export to a number of formats from the File pulldown, PDF being
the most common with several choices LuaTeX being probably the most
common.

There is also DVI, if really necessary, and of course LaTeX. Hoeevr you
would only export to LaTeX usually if you need to debug the LaTeX code,
not for day to day use.

The files reside in the same directory as the LyX and if you export
repeatedly (after changes) it'll ask for overwrite.

And, there is a really well designed help system for perusal :-)-O

greetings, el

On 12/10/2021 13:43, Axel Dessecker wrote:

Am Dienstag, 12. Oktober 2021, 13:27:20 CEST schrieb typ...@mac.com:

On 12 Oct 2021, at 9:10 pm, typ...@mac.com wrote:

On 12 Oct 2021, at 8:59 pm, Axel Dessecker  wrote:

Am Dienstag, 12. Oktober 2021, 11:15:04 CEST schrieb typ...@mac.com:


Thanks Alex, I did that.  Exported to LaTeX (plain) but I cannot
find the file!?  (The system details were included: just-in-case.)
LyX101


On 12 Oct 2021, at 7:50 pm, Axel Dessecker 

[...]

Why don't you just export your document via File -> Export? My machine
shows me five options to export to LaTeX but I don't think this depends
on the operating system you are using.

Axel

[...]

--
To email me replace 'nospam' with 'el'

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


Re: KOMA-Script Report: page numbers not displaying

2021-10-07 Thread Dr Eberhard Lisse

Revision Control is your friend :-)-O

el

On 2021-10-08 03:06 , Rich Shepard wrote:

On Fri, 8 Oct 2021, Dr Eberhard Lisse wrote:


I think, if you use one of these you must make appropriate definitions for
the headers/footers lest nothing is being the default.

However, when using Koma Script I set

Document -> Settings... -> Page Layout -> Page Style: Default

and in the preamble I put something something like


EL,

I, too, have used the default page style.

I think that I inadvertenty removed all the header information from the
preamble. That's probably the cause.

I'll make sure that the preamble is restored and that should solve the
problem.

Thanks for the reminder and stay well,

Rich



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


Re: LibreOffice to LyX

2021-10-07 Thread Dr Eberhard Lisse



Everybody has Word and how difficult can it be?

Indeed it is very easy to write poorly looking documents in (Word and)
LibreOffice.

LaTeX enforces a lot of things, and this one of the reasons why you
really have to try hard to write poorly looking documents, though I
have seen many determined attempts at doing so over the years, some of
them successful.

The answer I ALWAYS get from Word/LO users is: Styles? What are Styles?

el

On 2021-10-08 03:44 , Alan Tyree wrote:

Why is it so hard to get people to use styles?  I worked recently with
a friend to convert his Word document into an ePub.  My advice is
don't ever, ever do this!  Even though I had advocated the use of
styles, he had spent hours using direct formatting.

And it is not just amateurs.  I write for a service that insists on
using Word documents (who knows why?)  and the stuff they send me is
all direct formatting.

I know that this is preaching to the choir here, but I wondered if
anyone had a strategy that convinced others to work with styles.

Cheers,
Alan

[...]

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


Re: KOMA-Script Report: page numbers not displaying

2021-10-07 Thread Dr Eberhard Lisse

Rich,

I think, if you use one of these you must make appropriate definitions
for the headers/footers lest nothing is being the default.

However, when using Koma Script I set

Document -> Settings... -> Page Layout -> Page Style: Default

and in the preamble I put something something like

\usepackage[automark]{scrlayer-scrpage}
\usepackage{lastpage}

\clearscrheadfoot
\lofoot{Title of the Book}
\rofoot{Page \thepage\ of \pageref{LastPage}}
\pagestyle{scrheadings}
\renewcommand*{\chapterpagestyle}{scrheadings}

You then want to download and peruse


http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf

because scrlayer-scrpage offers much finer control over headers and
footers and I have forgotten what automark does :-)-O

greetings, el

On 2021-10-08 00:04 , Rich Shepard wrote:

I must have broken something and haven't identified what broke.

In Settings -> Page layout I've changed the page style from 'default' to
'header' and 'fancy' and none has the pages numbered when I compile the
document using pdflatex.

My web search finds help on removing page numbers and the wiki page on page
numbering, but I've not seen why they're not appearing in this document.

A clue stick is needed.

TIA,

Rich


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


Re: LibreOffice to LyX

2021-10-07 Thread Dr Eberhard Lisse

Virgil,

how could that work in ANY program ("dorward" compatibility)?

But it's Open Source, just pull the latest version once out of beta.

The next one is rumored to support DocBook so you can get inti evenmore
trouble :-)-O

el

On 2021-10-07 14:05 , Virgil Arrington wrote:
[...]

This is even true with different versions of LyX. Every new release
seems to change the source file format just enough that earlier
versions of LyX have trouble reading documents created with later
versions.

[...]

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


LibreOffice to LyX (new thread)

2021-10-06 Thread Dr Eberhard Lisse

From my early days in private practice I have about 185 surgery reports
which I wrote then in Open Office.

They are in table form and when I am really bored I copy and paste them
over into LyX files, review them and if it is correct I remove the
original (ODT).

In true Perl fashion I was wondering whether I could not avoid the
manual repetitions :-)-O

So I googled a little (Virgil are you reading this :-)-O?) and found
that the new Alpha version of the Writer2LaTeX LO module has a Java file
which you can run from the command line.

Pulled it, installed it and played with it.

It produces very reasonable LaTeX code, which is almost useful by itself
requiring a few small Perl string manipulations, but when tex2lyx'ing
it, the tables get translated into ERT and it does not even compile.

So, a

 grep : theatre.odt.raw.tex|grep -v ^%|sort -bu|awk -F: '{print $1}'

reveals

[...]
 Date of Birth
[...]
 First Name
[...]
 Name
[...]

Next time I am bored I'll hack me a Perl script that pulls what is on
the right of those (if necessary multiline) into variables and then I'll
make it fill in a template.

This similar to what I do now already for my current reports (in LyX)
which contain strings like this:

 Name: $$SURNAME$$ First Name: $$FIRSTNAME$$ Date of Birth: 
$$BIRTHDATE$$

so after slurping the whole file into a variable $LyXfile something like

 $LyXfile =~ s/\$\$FIRSTNAME\$\$/$FIRSTNAME/g;
 $LyXfile =~ s/\$\$SURNAME\$\$/$SURNAME/g;
 $LyXfile =~ s/\$\$BIRTHDATE\$\$/$BIRTHDATE/g;

will do the trick :-)-O

greetings, el
--
To email me replace 'nospam' with 'el'

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


Re: LibreOffice to LyX

2021-10-06 Thread Dr Eberhard Lisse

Charlie,

you are welcome.

I have 2 years and 3 months on the clock :-) and I am probably going to
start learning Python then, when I will not need 30 years worth of perl
scripts any longer for day-to-day :-)-O

el


On 06/10/2021 00:07, Charlie wrote:
[...]

I would like to thank you both, Virgil and Dr Eberhard Lisse for your
interesting, informative tutorial.

[...]

As an aside: Retired?  I was never as busy, nor learned more, before I
was retired.

[...]

--
To email me replace 'nospam' with 'el'

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


Re: LibreOffice to LyX

2021-10-06 Thread Dr Eberhard Lisse

On 05/10/2021 22:51, Virgil Arrington wrote:

On 10/5/2021 2:45 PM, Dr Eberhard Lisse wrote:

[...]

Actually constant misunderimprovements are one of the mistakes one
often makes in presentations.

I suspect you're right, but I just can't leave things alone.  


Once of my CPD/CME presentations (2016) was about what not to do in
PowerPoint :-)-O and I went so far as to have my colleagues choose which
font they want to see my presentations in and whether Sans Serif is
better for the screen than Serif (which it is).

Of course this intervention did not result in a change of behavior on
their part :-)-O, but I at least wanted to do what I preach (pardon the
pun).

[...]

Even setting this aside, adding your color redefinitions to the
preamble is only helpful if you know what the color codes "40" and
"8b1a1a" actually mean.


 https://www.google.com/search?q=color+8b1a1a

brings up the color picker as the first element on the page :-)-O


LibreOffice's method of pointing to a color in a palette on the
toolbar is certainly easier and quicker than making all these preamble
modifications.


This is a conceptual and intentional difference.


That said, I will concede that once these preamble changes are made in
LyX, you're good to go on any future documents.


With LaTeX you are forced or at least encouraged to make changes only
in the preamble (in the sense that they affect the appearance of the
elements such as titles globally) so that the document has a consistent
look.

Before TurnItIn, a colleague of mine lecturing at the U picked up
plagiarism by just looking at the styles as most younglings don't notice
(subtle) differences in their copy-'n-paste.

[...]

And, in case someone is interested I attach the template I use if I
have to write something for our weekly Continuing Professional
Development/ Continuing Medical Education sessions.


Your template is both beautiful and an example of what one can do with
a LaTeX education.  I'm impressed.  


Thanks.


But, I was curious when you said you use a modified Metropolis theme.


Actually, I use the plain Metropolis style with my (preamble)
modifications, and in particular stuff like showing the progress on the
bottom of the slides (read line) instead of the #/# (I don't want my
audience to start counting slides till to go :-)-O and the Questions?
page)


Just for fun, I wanted to see how much work it would be to add a
slanted date background to a LibreOffice Impress slide presentation.

[...]

There are a number of ways on how to watermark a document.

I like this background package because one can take a (church?)  logo,
experiment with size and transparency as the background of the slide,
and this gains a little real estate.
 

Thank you for sharing your template.  It has a wealth of information
in it and could save a user a ton of research time in learning how to
do what you already know.

[...]

Took a few weekends to RTFM :-)-O but has been quite stable now for many
years.


You have inspired me to play more with Beamer.  I'm impressed with
what you have accomplished.

[...]

I have been saying since Medical School in the 80's when I learned LaTeX
on VMS, that there is nothing I can do in Word that I can't do at least
as well in LaTeX, and this is still true (including LO Writer).

Something similar applies to PowerPoint/Impress/Keynote, though I grant
you Steve Jobs had a way with this (and a huge department designing
the presentation) :-)-O


greetings, el

--
To email me replace 'nospam' with 'el'

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


Re: LibreOffice to LyX

2021-10-05 Thread Dr Eberhard Lisse

Virgil,

I have shortened and reformatted slightly for ease of reference.


On 2021-10-05 15:24 , Virgil Arrington wrote:
[...]

Unlike our good Dr.  E.L., I can't leave my slide designs alone.

[...]

Actually constant misunderimprovements are one of the mistakes one
often makes in presentations.


I tried to do the same thing in LyX.

[...]

After much searching online, I learned about the LaTeX \xcolor
package, which provides access to many, many more colors.  


The query

https://www.google.com/search?q=lyx+text+color

returns 126 results, the very FIRST of which

https://tex.stackexchange.com/questions/33225/color-text-in-lyx

explains this quite nicely.

[...]

I then hit Ctrl-R to compile my slides and was met with a LaTeX error
of "Option clash for package xcolor."  Say, what!?


As xcolor is loaded by LyX I just add something like

\definecolor{MyBlue}{HTML}{40}
\definecolor{Firebrick4}{HTML}{8b1a1a}

to my preamble

[...]


So, yes LyX/Beamer worked, but only after I spent many hours learning
about an xcolor package to get the shade I wanted and troubleshooting
errors.  As you can imagine, I could tell many other stories with
similar processes and outcomes.


https://www.google.com/search?q=xcolor+site%3A.lyx.org

shows 51 hits (on *.lyx.org), and after 30 years with LaTeX (and 15
with lyx) looking for stuff has become second nature.

It seems you have an aversion towards RTFM :-)-O, even though one only
needs to do this once.  I must say, even in (not so deep) Africa we have
Internet speed which allows me to look stuff up on the web as fast as in
the online help.


[...]

The difference -- for me at least -- is that, with LO, I can usually
track down errors and solve problems from within the program itself
without having to resort to extensive other documentation or online
StackExchange threads.

[...]


And, in case someone is interested I attach the template I use if I have
to write something for our weekly Continuing Professional Development/
Continuing Medical Education sessions.

In the preamble I include the multimedia package because sometimes I
like to play videos from within the PDF :-)-O, scrdate because I like
the \ISOToday (-MM-DD), as I wrote earlier I like a modified
metropolis theme, the NOTO fonts (need to be added late in the preamble,
never bothered to figure out why :-)-O), mess a bit around with the
formatting and font family, put a Draft/Date into the background and
make provision for handouts which are commented out.

I add

17pt, xcolor=svgnames,aspectratio=1610

to Document --> Document Class --> Custom: because I like it big, am
used to svgnames rather than dvipsnames and I in particular like the
aspect ration change to that I get more real estate on the screen.

greetings, el









cpdtemplate.pdf
Description: Adobe PDF document
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass beamer
\begin_preamble
\usepackage{multimedia}
%
% General
%
\usepackage{scrdate}
% very dark blue
%
\definecolor{MyBlue}{HTML}{40}
\definecolor{MyRed}{HTML}{8b1a1a}
%
% Metropolis
%

\useoutertheme[%
   progressbar=foot,
   numbering=none
]{metropolis} 

\useinnertheme[%
   sectionpage=progressbar
]{metropolis}


\usecolortheme{metropolis-highcontrast}

\usefonttheme[%
   titleformat title=smallcaps, 
   titleformat subtitle=smallcaps, 
   titleformat section=smallcaps, 
   titleformat frame=smallcaps,
]{metropolis}

\makeatletter
\setlength{\metropolis@titleseparator@linewidth}{1pt}
\setlength{\metropolis@progressonsectionpage@linewidth}{1pt}
\setlength{\metropolis@progressinheadfoot@linewidth}{2pt}
\makeatother

%
% chnage font, after last metropolis entry
%
\usepackage[medium]{noto}


% Theme colors are derived from these two elements
\setbeamercolor{background canvas}{bg=}

\setbeamercolor{alerted text}{fg=MyRed}
\setbeamercolor{progress bar}{fg=MyRed}

\setbeamercolor{frametitle}{bg=MyBlue, fg=white}
\setbeamercolor{title separator}{fg=MyBlue, bg=white}
\setbeamercolor{title}{fg=MyBlue, bg=white}
\setbeamercolor{subtitle}{fg=MyBlue, bg=white}
\setbeamercolor{institute}{fg=MyBlue, bg=white}
\setbeamercolor{author}{fg=MyBlue, bg=white}
\setbeamercolor{date}{fg=MyBlue, bg=white}

\setbeamersize{text margin left=0.5cm}
\setbeamersize{text margin right=0.5cm}


\setbeamerfont{section title}{family=\rmfamily}
\setbeamerfont{subsection title}{family=\rmfamily}
\setbeamerfont{frametitle}{family=\rmfamily}
\setbeamerfont{title}{family=\rmfamily}

\setbeamerfont*{description item}{series=\bfseries,family=\sffamily} 

\setbeamertemplate{section in toc}[sections numbered]

\usepackage[anythingbreaks]{breakurl}
\Urlmuskip=0mu plus 1mu


\usepackage{background}
\backgroundsetup{%
color=gray, 
contents={Draft, \ISOToday}, 
opacity=0.3, 
placement=center, 
angle=25, 
scale=2
}


Re: LibreOffice to LyX

2021-10-04 Thread Dr Eberhard Lisse



Steve,

I do all my slides in Beamer.  I have settled on a modified metropolis
theme and that works very well and I haven't changed that in years
years.

I am a fan of 10-20-20 and bullet points and do my tables and graphs
usually with knitR.

If you have a clean pandoc template you can generate LaTeX from
Markdown which translates into LyX without ERT. Perhaps a little perl
massaging of the text.

And you can dicate Markdown.

el

On 2021-10-04 19:23 , Steve Litt wrote:
[...]

Speaking of Markdown (in general), in theory I have a process stack
that can add custom styles to Markdown (or Asciidoc if the programs are
written differently). This brings the real possibility of writing
fairly simple books in Markdown, which would be fast as a bat out of
hell.

If there's a markdown to slide conversion, my stack could also be used
to create slides with styles.

In theory, I think Beamer is best for slides, but sometimes Beamer can
get difficult.

[...]

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


Re: LibreOffice to LyX

2021-10-04 Thread Dr Eberhard Lisse

It would probably easier to translate from LyX/LaTeX to
LibreOffice/Word/RTF, but I have no idea (and of course no interest
whatsoever) to find out (how to template the front page and page
numbering.

But, it is probably not worth the effort to even try :-)-O there must
be gazillions of ugly Word templates out there :-)-O

I like to keep all my referrals and reports (of referrals) to one page,
if it is at all possible :-)-O


el

On 04/10/2021 02:53, John White wrote:


We do everything in lyx, even one page letters, except that some
courts require that submitted orders be in doc format (in case the
judge wants to edit).  For those docs we use libreoffice.

John

[...]

--
To email me replace 'nospam' with 'el'

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


Re: LibreOffice to LyX

2021-10-04 Thread Dr Eberhard Lisse

This list should be kept free from responses such as the one below
because for many people they just do not care.  Abstain from trying to
continue stupid flame wars.

el



On 01/10/2021 19:07, Tobias Hilbricht wrote:

Am Donnerstag, den 30.09.2021, 21:38 -0400 schrieb Steve Litt:

[...]


This list should be kept free from remarks such as the one above,
because for many people it is just not true.  Abstain from trying to
ignite stupid flame wars.

Tobias
--

To email me replace 'nospam' with 'el'

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


Re: Thanks

2021-10-03 Thread Dr Eberhard Lisse

Osman,

you are welcome.

If you want (further) help (on a topic) it is important to follow the
thread, so perhaps try harder to find out or in any case on the Mac CMD-R
would probably to that and then one can always Right-Click on the
message and see what that does.

greetings, el

On 2021-10-02 08:31 , Osman Kemal Kadiroğlu wrote:

Sorry, I am new in this list, so I could not find a reply button for a
very helpful replies to my LibreOffice question by Steve Litt and Dr.
Eberhard Lisse.  Many thanks for the help you have given to me, I will
try them.

Best regards

Osman Kemal Kadiroğlu


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


Re: LibreOffice to LyX

2021-10-01 Thread Dr Eberhard Lisse

To go into even more detail:

Look on CTAN for letterhead templates, of which they are galore.

Then refine to those that do this in KomaScript and find one that is as
close to your ideas as possible.

This (probably a letter class options file *.LCO, the name of which you
then add to LyX's Settings -> Document Class -> Custom:) you will have
to then adapt or find someone to do it for you.

That is indeed an effort, but it only needs to be done once, and the
results can be awesome :-)-O

el

On 01/10/2021 03:38, Steve Litt wrote:

Osman Kemal Kadiroğlu said on Thu, 30 Sep 2021 08:21:46 +


Hi,

I am a bit inexperienced LyX user. I have a letter format with a
header and a graphical signature created with LibreOffice. How can I
convert it to a LyX letter template?

Best regards

Osman Kemal Kadiroğlu


If you're asking as a one-off, one time thing, just copy and paste
everything into LyX's letter writing facility. Treat the graphic as you
would treat any other graphic within LyX.

If you're asking because you want to keep using LibreOffice and
converting to LyX, the answer is don't. LibreOffice is a bug ridden
program that tries to be all things to all people and fails miserably.
You need a 170 IQ and a doctorate to be able to deal with the quirky,
often disappearing or changing styles in LibreOffice.

If a letter is short enough, informal enough, and not of vital value,
and you want to author it in LibreOffice, just print it from
LibreOffice. LibreOffice is a great quick and dirty for anything below
1000 words. If there's any chance a document will grow beyond 1000
words, use LyX or some other genuine authoring environment right from
the start.

SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques



--
To email me replace 'nospam' with 'el'

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


Re: LibreOffice to LyX

2021-09-30 Thread Dr Eberhard Lisse

You can't.

Ad you should not :-)-O

You need to create the header manually with KomaScript, which has a
gazillion possibilities, and then you can save the signature image and
add that image to the signature field.

el


On 30/09/2021 10:21, Osman Kemal Kadiroğlu wrote:

Hi,

I am a bit inexperienced LyX user.  I have a letter format with a
header and a graphical signature created with LibreOffice.  How can I
convert it to a LyX letter template?

Best regards

Osman Kemal Kadiroğlu

Sent with ProtonMail  Secure Email.




--
To email me replace 'nospam' with 'el'

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


Re: How to access the Date Field from Koma Letter in the (LaTeX) preamble.

2021-09-28 Thread Dr Eberhard Lisse


Turned out to be really easy.

Looked into

/Applications/LyX.app//Contents/Resources/layouts/scrlttr2.layout

and see that it does something like


 Style Date
 CopyStyle Name
 LatexName setkomavar
 LatexParam{date}
 LabelString   "Date:"
 End

exported to LuaLaTeX and see that if I use a date in the LyX file it
exports to something like

 \setkomavar{date}{2021-09-01}

Quick look in TFM (scrguien.pdf) and it turns out I can just use

 \usekomavar{date}

in the stamp instead of \ISOToday as per the enclosed diff:

 *** bookoff.2021-09-28.lyx 2021-09-28 17:35:19.0 +0200
 --- bookoff.lyx2021-09-28 17:40:36.0 +0200
 ***
 *** 33,39 
\tiny\myStampProf\\
\scriptsize\myStampPO\\
\myStampNo\\
 !   \footnotesize\usekomavar{date}
}
\setsansfont{IBM Plex Sans}
}
 --- 33,39 
\tiny\myStampProf\\
\scriptsize\myStampPO\\
\myStampNo\\
 !   \footnotesize\ISOToday
}
\setsansfont{IBM Plex Sans}
}
 ***
 *** 185,194 
2021-08-01
\end_layout

 - \begin_layout Date
 - 2021-09-01
 - \end_layout
 -
\begin_layout Signature
Dr Eberhard W Lisse
\end_layout
 --- 185,190 

If I don't, LyX (or rather Koma) sets up a default date (into the Koma
variable), which then also comes up on the stamp.

Complete files enclosed again.


el


On 28/09/2021 17:12, Dr Eberhard Lisse wrote:

Herbert,

thanks.

I seem to recall having asked this particular question a few years ago,
but can't find the post.

However, you helped me in 2017 with some luacode, to be accessed via a
local layout which Philip Pirrip helped me with.  Adapting this should a
project for one of my next weekends

greetings, el

On 25/09/2021 12:27, Herbert Voss wrote:



Am 24.09.21 um 07:58 schrieb Dr Eberhard Lisse:


here is the complete letter with the accompanying Koma Letter Class
Option file, which either needs to be in the same directory or in one
which texhash (which MUST be run after each change) can find.


Look into the document's preamble (at the end).  The command
\myISOdate should be set in your document as a date field and not in
the preamble.  I never used scrlettr2 so I do not know how to define
such a field in LyX. Then you can input a date different from \today

Herbert





--
To email me replace 'nospam' with 'el'#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrlttr2
\begin_preamble
\usepackage{noto}

%% LUA: Winkel des Gesamtstempels -- willk\"{u}rlich 
%% zwischen -5 und +5 Grad -- bei jedem Dokument anders
\usepackage{luacode}
\newcommand\rot{\directlua{tex.sprint(math.random(-5,5))}}

\usepackage{tikz}
\usepackage{xpatch}

%% XCOLOR: Farbdefinitionen
\definecolor{stampink}{RGB}{122 150 165}

%% LATEX: Individuelle Definitionen f\"{u}r den Stempel (Formatierung 
Gr\"{o}{\ss}e und Schriftstil)
\newcommand\myStampName{Dr Eberhard W Lisse}
\newcommand\myStampProf{Obstetrician \& Gynecologist}
\newcommand\myStampPO{PO Box 8421 Bachbrecht}
\newcommand\myStampNo{016-000-0141135}

\newcommand\myStampArrangement{%
   \setsansfont{Linux Biolinum O}
   \parbox{3cm}{%
  \centering\sffamily
  \footnotesize\myStampName\\
  \tiny\myStampProf\\
  \scriptsize\myStampPO\\
  \myStampNo\\
  \footnotesize\usekomavar{date}
   }
   \setsansfont{IBM Plex Sans}
}

%% TIKZ: Laden notwendiger Styles
\usetikzlibrary{fit}

%% Erstellen eines Befehls f\"{u}r den Stempel in einer Gr\"{o}{\ss}e von 6 cm 
x 3 cm skaliert
\newcommand\Stamper{%
\resizebox{8cm}{3cm}{%
\begin{tikzpicture}
%%%
%%
%% 
%% TIKZ: Setzen der linken unteren und rechten oberen Ecke des Rechtecks
\coordinate (dm1) at (0,0);
\coordinate (dm2) at (2.6,1.4);
%%%
%% TIKZ: Schleife f\"{u}r drei Winkel
\foreach \r in {-0.9,0,0.9}{%
%% TIKZ: Rahmmen des Stempels: Rechteck, Farbe=stampink, Transparenz=0.4, 
Linienst\"{a}rke des Rahmens=1pt
%%   und einen Knoten namens (bx4) definieren
\node[rectangle,draw,stampink,opacity=.4,line width=1.2pt,rotate=\r, rounded 
corners=1pt][fit=(dm1)(dm2)](bx4){};
%% TIKZ: Stempeltext: Farbe=stampink, gedreht um den Winkel \r mit 
Transparenz=0.4

Re: How to access the Date Field from Koma Letter in the (LaTeX) preamble.

2021-09-28 Thread Dr Eberhard Lisse

Herbert,

thanks.

I seem to recall having asked this particular question a few years ago,
but can't find the post.

However, you helped me in 2017 with some luacode, to be accessed via a
local layout which Philip Pirrip helped me with.  Adapting this should a
project for one of my next weekends

greetings, el

On 25/09/2021 12:27, Herbert Voss wrote:



Am 24.09.21 um 07:58 schrieb Dr Eberhard Lisse:


here is the complete letter with the accompanying Koma Letter Class
Option file, which either needs to be in the same directory or in one
which texhash (which MUST be run after each change) can find.


Look into the document's preamble (at the end).  The command
\myISOdate should be set in your document as a date field and not in
the preamble.  I never used scrlettr2 so I do not know how to define
such a field in LyX. Then you can input a date different from \today

Herbert



--
To email me replace 'nospam' with 'el'

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


Re: How to access the Date Field from Koma Letter in the (LaTeX) preamble.

2021-09-23 Thread Dr Eberhard Lisse

John, all

here is the complete letter with the accompanying Koma Letter Class
Option file, which either needs to be in the same directory or in one
which texhash (which MUST be run after each change) can find.

On MacTeX the file to look for is

/usr/local/texlive/2021basic/texmf.cnf

on linux something like

find /usr -name texmf.cnf

might help.

The variable to look for is

TEXMFLOCAL = /usr/local/texlive/texmf-local

which in my case yields something like

[...]
32  /usr/local/texlive/texmf-local/tex/latex/misc
1496/usr/local/texlive/texmf-local/tex/latex/koma-script
240 /usr/local/texlive/texmf-local/tex/latex/rangen
[...]

and I have my own adapted *.lco in there, as homebrew (on the mac) makes
me own the tree below /usr/local and so I don't need sudo.

I think you can set up a similar tree below $HOME somehow, but I don't
use LyX/LaTeX on linux, so I don't know.

The letter is currently set up for DIN A4. In the LyX file as

Document -? Settings... -> Page Layout (Default)

where for US formats it would need to be adapted, and in the LCO at the
top where you should comment out the DIN and un-comment the
UScommercial9.

If you want to know where they are

The letter and stamp require a number packages, so at the very least do:

tlmgr install pgf xpatch lipsum hyperref xurl lastpage koma-script \
luacode

packages that are installed already will cause a warning message.

I hope it's a complete list.

I like Google's NOTO fonts but if you don't, just change in the document
preamble (this is required for the stamp to work, but I have never
bothered to try to understand why it doesn't work properly when put
directly into the LyX Font page).

Iso you may need to

tlmgr install noto

sudo may be required (of course).

I have put two paragraphs worth of lorem ipsum text in there, and if you
really want to play with it, wait for at least a minute, make small
change to the LyX file and regenerate, while the PDF viewer has it open.

You should see that the stamp will slightly rotate and move :-)-O

I also enclose a PDF for comparison, which was generated from the
command line using

lyx -f -e pdf5 bookoff.lyx

It needs LUATEX (LuaLaTeX), pdflatex does NOT work (it uses LUA
internally to calculate some randomness).

I find really cool, that you can have seriously involved and complicated
LaTeX Voodoo without a single line of it bothering the (casual) user
:-)-O as it is all hidden in the preamble or in the LCO.


I am quite interested in positive comments and improvements to make
it faster, better or both.

I would be EXTREMELY interested in someone doing this over as a LyX
module, i.e. so that you can get additional fields in the LyX window and
that the stamp dimensions are then calculated dynamically, and this
sordid mess could perhaps even join the LyX project properly :-)-O

I have not the faintest clue how to do that, myself :-)-O and as it
works for me, no interested in hopping on that particular learning
curve :-)-O

greetings, el

On 2021-09-23 18:43 , Dr Eberhard W Lisse wrote:

john,

I'll share a complete example


[...]

On 23. Sep 2021, 17:43 +0200, John White , wrote:

On Thursday, September 23, 2021 4:25:57 AM PDT Dr Eberhard Lisse wrote:

[...]

Thanks Doc,

I have marked this email "important" and "action item."  When I get
some time I will try to figure it out.  It prints your letterhead
with some extraneous code.  Do not try to tell me how to fix it.  I
need to figure that out for myself.

Best,

John#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrlttr2
\begin_preamble
\usepackage{noto}

%% LUA: Winkel des Gesamtstempels -- willk\"{u}rlich 
%% zwischen -5 und +5 Grad -- bei jedem Dokument anders
\usepackage{luacode}
\newcommand\rot{\directlua{tex.sprint(math.random(-5,5))}}

\usepackage{tikz}
\usepackage{xpatch}

%% XCOLOR: Farbdefinitionen
\definecolor{stampink}{RGB}{122 150 165}

%% LATEX: Individuelle Definitionen f\"{u}r den Stempel (Formatierung 
Gr\"{o}{\ss}e und Schriftstil)
\newcommand\myStampName{Dr Eberhard W Lisse}
\newcommand\myStampProf{Obstetrician \& Gynecologist}
\newcommand\myStampPO{PO Box 8421 Bachbrecht}
\newcommand\myStampNo{016-000-0141135}

\newcommand\myStampArrangement{%
   \setsansfont{Linux Biolinum O}
   \parbox{3cm}{%
  \centering\sffamily
  \footnotesize\myStampName\\
  \tiny\myStampProf\\
  \scriptsize\myStampPO\\
  \myStampNo\\
  \footnotesize\ISOToday
   }
   \setsansfont{IBM Plex Sans}
}

%% TIKZ: Laden notwendiger Styles
\usetikzlibrary{fit}

%% Erstellen eines Befehls f\"{u}r den Stempel in einer Gr\"{o}{\ss}e von 6 cm 
x 3 cm skaliert
\newcommand\Stamper{%
\resizebox{8cm}{3cm}{%
\begin{tikzpicture}
%%

How to access the Date Field from Koma Letter in the (LaTeX) preamble.

2021-09-23 Thread Dr Eberhard Lisse

Hi,

I have hacked me a Stamp in LaTeX which works very well in the Koma
Letter (by way of putting it in LyX's preamble.

The stamp gets placed next to the signature block, slightly randomly
placed, then slightly randomly rotated and by way of some roation of the
frame achieving a realistic look (smudged corners).  I wrote an article
about this in the German TeX Usergroup's Die Technische Kommödie 2/2017.

I use the \ISOtoday ERT from Koma Script's scrdate package.


I do not remember whether I have asked this before, and I have looked,
but is there a way of using the date that Lyx uses in the blue Date:
field?  So that if I put a fixed date in the letter, the same should
appear in the stamp (i.e. I do not want to have today's stamp on
yesterday's letter :-)-O

greetings, el


PS: In case someone is interested, here is what I use in my Practice,
copy and paste into the preamble:


% You can do whatever you want with this, other than bothering us but
% if you make money from it, you must send us some.
%
% Copyright, -wrong -left, and -center 2017, 2021 SPF Lisse Private
% Family Foundation best...@spflisseff.nl

%% LUA: Winkel des Gesamtstempels -- willk\"{u}rlich
%% zwischen -5 und +5 Grad -- bei jedem Dokument anders
\usepackage{luacode}
\newcommand\rot{\directlua{tex.sprint(math.random(-5,5))}}


\usepackage{tikz}
\usepackage{xpatch}

%% XCOLOR: Farbdefinitionen
\definecolor{stampink}{RGB}{122 150 165}

%% LATEX: Individuelle Definitionen f\"{u}r den Stempel
%% (Formatierung Gr\"{o}{\ss}e und Schriftstil)
%%
\newcommand\myStampName{Dr Eberhard W Lisse}
\newcommand\myStampProf{Obstetrician \& Gynecologist}
\newcommand\myStampPO{PO Box 8421 Bachbrecht}
\newcommand\myStampNo{016-000-0141135}

\newcommand\myStampArrangement{%
   \setsansfont{Linux Biolinum O}
   \parbox{3cm}{%
  \centering\sffamily
  \footnotesize\myStampName\\
  \tiny\myStampProf\\
  \scriptsize\myStampPO\\
  \myStampNo\\
  \footnotesize\ISOToday
   }
   \setsansfont{IBM Plex Sans}
}

%% TIKZ: Laden notwendiger Styles
\usetikzlibrary{fit}

%% Erstellen eines Befehls f\"{u}r den Stempel in einer
%% Gr\"{o}{\ss}e von 6 cm x 3 cm skaliert
\newcommand\Stamper{%
\resizebox{8cm}{3cm}{%
\begin{tikzpicture}
%%%
%%
%% TIKZ: Setzen der linken unteren und rechten oberen Ecke
%% des Rechtecks
\coordinate (dm1) at (0,0);
\coordinate (dm2) at (2.6,1.4);
%%
%%%
%% TIKZ: Schleife f\"{u}r drei Winkel
%%
\foreach \r in {-0.9,0,0.9}{%
%%
%% TIKZ: Rahmmen des Stempels: Rechteck, Farbe=stampink,
%% Transparenz=0.4,Linienst\"{a}rke des Rahmens=1pt und einen
%% Knoten namens (bx4)  definieren
%%
\node[rectangle,draw,stampink,opacity=.4,line width=1.2pt,
rotate=\r, rounded corners=1pt][fit=(dm1)(dm2)](bx4){};
%%
%% TIKZ: Stempeltext: Farbe=stampink, gedreht um den Winkel \r
%% mit Transparenz=0.4 in Knoten (bx4) gesetzt
%%
\node[stampink,rotate=\r,opacity=.4] at 
(bx4){\myStampArrangement};
}
\end{tikzpicture}
}
}

%% SCRLTTR2 & XPATCH: Erstellen einer neuen Variablen f\"{u}r den Brief
%% zur Positionierung des Stempels rechts von \closing
\newkomavar{rightbesidesignature}
\newlength{\normalparskip}
\xapptocmd{\closing}{%
\setlength{\normalparskip}{\parskip}%
\noindent\parbox[b][0pt]{\linewidth}{\raggedleft
\setlength{\parskip}{\normalparskip}%
\usekomavar{rightbesidesignature}\ifhmode\unskip\strut\fi
\vspace{-1.8\baselineskip}%
\vspace{\parskip}%
\vspace{\lineskip}%
}%
}{}{}

%% SCRLTTR2: Einf\"{u}gen des Stempels mit der jeweiligen willk\"{u}rlichen
%% Gesamtdrehung \rot
%%
\setkomavar{rightbesidesignature}{\rotatebox[origin=c]{\rot}{\Stamper}}
%

% Thanks to Peter Flynn, Markus Kohm and Juergen Gilg



--
To email me replace 'nospam' with 'el'

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


Re: Setting a permanent default class that is not "Article (Standard Class)

2021-09-20 Thread Dr Eberhard Lisse

Try it out :-)-O

Can't damage anything :-)-O

el


On 18/09/2021 18:23, Trevor Jenkins wrote:

Thanks.

Is that what that wording means‽


[...]


--
To email me replace 'nospam' with 'el'

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


  1   2   3   4   5   6   7   8   >