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


Re: Why don't I get an answer?

2021-09-14 Thread Dr Eberhard Lisse

Wolfgang,

(Linux) Libertine/Biolinum/Libertine Mono are supported by LyX (as
normal fonts, ie unclick "Use non-TeX fonts...")

Document -> Settings... -> Fonts

unsurprisingly, and the pulldown will show you whether they are
installed. If not

 tlmgr install libertine

will sort you out.

If one wants to use the non-TeX fonts, one must install them of course
as well, but since I try to avoid that I don't know what to install to
rectify the error. I personally don't like to put fonts into the
preamble unless I must.


Andreas.

in addition to the comments made elsewhere (try harder to solve it
yourself, create meaningful MWE (often this not only pinpoints the
cause, but allows a solution) and do not be adviceresistant :-)-O), it
is probably going to be helpful if the same topic remains in the same
thread, and has a reasonable Subject line (which I mentioned already in
March).

I find that this community (of volunteers) has been very, very helpful
to all questions I ever had.

el

On 14/09/2021 08:42, Wolfgang Engelmann wrote:



Am 13.09.21 um 20:29 schrieb Andreas Plihal:

Dear LYX community,
I've sent you some inquiries in the past two weeks, but haven't
received a response.

I beg you to answer my question(s) in a solution-oriented manner - as
most time in the past.  For example, I gratefully remember Jürgen's
(Spitzmüller) quick and uncomplicated interventions!

However, if my last problems I have raised are unsolvable, please let
me know.  Then at least I know my way around.  But staying in the
dark is very "uncomfortable" ...  Or if I'm getting on your nerves
with my inquiries, please tell me who I could turn to instead.

Thanks very much!  


Greetings Andreas


Andreas,

I tried your lyx example 2 and got these errors:
Linux libertine not found
missing \begin{document}

for the first error you might try to insert these:
\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}
which was recommended to me by Herbert Voss

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: How to modify text alignment

2021-09-08 Thread Dr Eberhard Lisse

RTFM :-)-O

el

On 07/09/2021 18:37, jezZiFeR wrote:

Am 7. Sep. 2021, 15:55 +0200 schrieb Axel Dessecker :

Am Dienstag, 7. September 2021, 15:28:41 CEST schrieb jezZiFeR:

Hello,

in Komascript report, block text is specified as the default for the 
text
alignment. How can I change this for the whole document? (LyX 2.3.6.2 on
OSX 10.14.6). If I try it just by edit/paragraph settings only the 
current
paragraph is adjusted


Thank you
Jess


Jess,

https://wiki.lyx.org/FAQ/TextAppearance

Axel



Dear Axel,

thanks for your quick answer, this was helpful!

All best
Jess




--
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: …dashed line…

2021-09-08 Thread Dr Eberhard Lisse

Just a minor nit, the dashrule package is required, which may need to be
installed manually :-)-O

But as always RTFM helps :-)-O

el

On 04/09/2021 21:18, Daniel wrote:

On 2021-09-04 15:29, jezZiFeR wrote:

Daniel,

thank you!  I will look into this later, because ERTs always takes
time for me.  I hope it will work then.

All best
Jess


Jess,

Attached is a simple example.  I guess you have to play around with
the parameters in order to get your desired result.

Best
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: biblatex style option Springer Publisher

2021-07-31 Thread Dr Eberhard Lisse

Wolfgang,

this is a LaTeX issue, niot a LyX issue.


el

On 2021-07-31 08:56 , Wolfgang Engelmann wrote:

Herbert Voss pointed to this site
  https://hvoss.org/biblatex-spbasic.zip
where the two style files

biblatex-spbasic.bbx
biblatex-spbasic.cbx

are found which can be used for Springer publications.
Herbert Voss said, that they can be stored in
/usr/local/texlive/2021/texmf-local/tex/latex/biblatex-spbasic
or
/usr/local/texlive/texmf-local/tex/latex/biblatex-spbasic

He also uploaded the package to CTAN, where it should be available.

Add the files to Lyx > Document > settings > Bibliography
Not sure, whether a texhash and reconfigure is needed afterward.

#
Here my question:
If I export the lyx document as tar.gz (for sharing it with others or archiving 
it) the style files ARE NOT included. I did this before under bibtex with the 
spbasic of Springer and this was saved in the archive.
Could somebody check whether the biblatex-spbasic files are indeed NOT saved in 
the arch file and could this perhaps be changed, since it is essential for 
running the lyx document.
#

Wolfgang





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


Re: Jabref 5.3.1

2021-07-23 Thread Dr Eberhard Lisse

Get a Mac :-)-O

el

On 22/07/2021 21:31, Paul A. Rubin wrote:

On 7/22/21 2:25 PM, Wolfgang Engelmann wrote:

Am 22.07.21 um 20:12 schrieb Wolfgang Engelmann:

Am 22.07.21 um 17:32 schrieb Paul A. Rubin:

On 7/22/21 9:31 AM, Wolfgang Engelmann wrote:

[...]


--
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: Sort order in the index

2021-07-15 Thread Dr Eberhard Lisse

In Preferences (see the attachment) 2.3.6.2 on the Mac

el

On 15/07/2021 15:11, Andreas Plihal wrote:
[...]

To Eberhard Lisse,
how can i even add a custom one?
Greetings
Andreas

[...]

--
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: Sort order in the index

2021-07-15 Thread Dr Eberhard Lisse

Herbert,


I am being offered makeindex, texindy and xindy.

All,

I know I can add a custom one but does anyone know whether one of the
above two (latter) also allow German sorting?  Imust however confess
that I write next to nothing in German.

greetings, el

On 14/07/2021 17:02, Herbert Voss wrote:

Andreas Plihal schrieb:



I'm writing a KOMA book.



Please: How can I force the DUDEN sort order in the index?  So that
the umlauts ,  and  are sorted as if they were
normal vowels A, O and U.


Use the index program xindex and _not_ makeindex.
Werkzeuge->Einstellungen->Ausgabe->LaTeX

See attched images for the configuration inside LyX.

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: Libertinus and AnonymousPro fonts

2021-07-14 Thread Dr Eberhard Lisse

Wolfgang,

It is being developed, I think not even in beta.  The latest (for the
Mac) is LyX 2.3.6.2 (2021-01-07)

LyX can export into lower versions but it's better to have the same
version with all collborators.


If you have homebrew it'll update itself by itself :-)-O. Otherwise,
read this newsgroup and look for the announcement. Perhaps even wait a
week or two after the announcement in case of a short term update being
required.

Once it's out just install it on top of 2.3.6(*).  It is not a good idea
to have two different versions as 2.3.6 can't read 2.4 files only the
other way round.

el

On 2021-07-14 15:50 , Wolfgang Engelmann wrote:




Lyx2.4 knows libertinus BTW.

That's good.  From where does one get it?  It is not in
https://www.lyx.org/Download

Since I work with colleagues on a book, I would like to have it in
addition to 2.3.6 Could someone point out how to do that?

Wolfgang


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


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Dr Eberhard Lisse

Herbert,

he can't see them in LyX.

And that is so because LyX does not know about Libertinus and/or
AnonymousPro as far as I know. If LyX knew about them and could not
find them it would say "not installed".

That's why this needs to go into the preamble.


However, I agree, it would be cool, if there was a a way to make LyX
"know" about fonts in a general way to appear in the Pulldown.

el

On 14/07/2021 11:31, Herbert Voss wrote:

Wolfgang Engelmann schrieb:

Still struggling with Libertinus and AnonymousPro fonts

I updated my texlive today (14July2021), did texhash also as
superuser, reconfigured lyx and looked for the Libertinus and
AnonymousPro fonts in my Lyx Document > Settings > Fonts but can't
find it.  The PDF output format is set to PDF(LuaTex).

The libertinus fonts are found in my
./texlive/2021/texmf-dist/fonts/tfm/public/libertinus-type1/LibertinusSerif-
...  etc


Wolfgang,

look into your Debian font configuration.  There should be a file
09-texlive.conf in the directory /etc/fonts/conf.d/

[...]

--
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> Libertinus font and AnonymousPro

2021-07-10 Thread Dr Eberhard Lisse

I you would need to compare a lyx run with the latexmk run ie do all
the bibliography and index generation as well as running lualatex
several times.

A single lualatex run is of course  faster than the complete run.

Interestingly when I export my handbook to LuaLaTeX format and run
latexmk on it its a little slower than running it via lyx directly.

el

 2021-07-10 08:25 , Wolfgang Engelmann wrote:
[...]

I noticed, that exporting the LyX document to lualatex and running
this file via luatex on a terminal is quite fast, faster as doing it
by export luatex in lyx.  Haven't timed it, though.
Wolfgang


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


Re: SOLVED> Libertinus font and AnonymousPro

2021-07-09 Thread Dr Eberhard Lisse

If speed were really seriously the issue, pdflatex is faster.  And one
could generate a specialize format which has all the packages used
already preloaded.

But that's deep nerd stuff.  Or if generation of large number of
documents quickly (such as bank statements) were required..

I have gotten used to the slower speed of LuaLaTeX and use nothing
else.

And so the handbook takes 136 seconds, which is a bit boring but
I got used to it.

A prescription takes 1 second with pdflatex and 3 seconds with
lualatex. That makes no difference (in my workflow).

el

On 2021-07-09 19:20 , Steve Litt wrote:
[...]

Herbert, given the preceding two paragraphs, is there any reason to
use anything BUT lualatex?

Thanks,

SteveT

[...]

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


Re: Fwd: Libertinus font and AnonymousPro > almost done

2021-07-08 Thread Dr Eberhard Lisse

You can easily add the (local) one provided (BIBFILE.bib), by clicking
on the inserted Bib(La)TeX Bibliograpgy and then Add -> Browse

s/crazy/quirky/ :-)-O

el

On 08/07/2021 11:33, Herbert Voss wrote:
[...]

Wolfgang,

you have to use the LyX-way and not the TeX commands for
\addbibresource, which must be, by the way, in the preamble.  It is a
bit crazy that LyX doesn't allow to define the database via
Document->Preferences->Bibliography

You have to use instead Insert->Lists/TOC->biblatex Bibliography The
cursor must be in the document at the place where the bib ahould
appear.

Choose the bibliography from the list which collects all existing
databases available in TL2021. In the attached screenshots I choosed
biblatex-examples.bib and a citation [aksin].

best
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: Fwd: Libertinus font and AnonymousPro > almost done

2021-07-08 Thread Dr Eberhard Lisse

Why so complicated?

no ERT required.

el

On 08/07/2021 10:47, Wolfgang Engelmann wrote:
[...]

Herbert


thanks, Herbert.

I add in the appendix a short file
AnonymousPro.23-WE-HV-bib.lyx
and a bib file BIBFILE.bib
with one entry

Could somebody check it?
I tried it with export as lualatex and running lualatex on a terminal without 
success >

(./AnonymousPro.23-WE-HV-bib.bbl)
LaTeX Warning: Citation 'Daan1984' on page 1 undefined on input line 20.
! LaTeX Error: Can be used only in preamble.

Does it mean, I can't use a bib file for the references, but have to include it 
in the preamble?

Wolfgang


sorry, the \ before printbibliography was missing
but still the error I reported before
Wolfgang




--
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 article
\begin_preamble
\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language ngerman
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "default"
\font_default_family default
\use_non_tex_fonts true
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\output_sync_macro "\synctex=1"
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine biblatex
\cite_engine_type authoryear
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style german
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset CommandInset citation
LatexCommand citep
key "Daan1984"
literal "false"

\end_inset


\end_layout

\begin_layout Standard
Test-serif
\end_layout

\begin_layout Standard

\family sans
Test-sans
\end_layout

\begin_layout Standard

\family typewriter
Test-mono
\end_layout

\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
btprint "btPrintCited"
bibfiles "BIBFILE"
options "plaindinen"

\end_inset


\end_layout

\end_body
\end_document


AnonymousPro.23-WE-HV-bib.pdf
Description: Adobe PDF document
% Encoding: UTF-8

@Article{Daan1984,
  author= {Daan, S. and Beersma, D. G. and Borbely, A. A.},
  journal   = {Am J Physiol},
  title = {Timing of human sleep: recovery process gated by a circadian 
pacemaker},
  year  = {1984},
  pages = {161--183},
  volume= {246},
  groups= {Imported MODELLE-WITTE-BUCH.bib},
  owner = {we},
  timestamp = {2015.12.12},
}

@Comment{jabref-meta: databaseType:bibtex;}
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Dr Eberhard Lisse

what does

tlmgr list |grep anonymouspro

say?

If it says

anonymouspro: Use AnonymousPro fonts with LaTeX

you need to install it. If it says (has an 'i' for 'installed')

i anonymouspro: Use AnonymousPro fonts with LaTeX

we need to look further, but your enclosed file works in LyX 2.3.4.2 on
Mac BasicTex with

 i anonymouspro: Use AnonymousPro fonts with LaTeX
 i libertinus: Wrapper to use the correct libertinus package according 
to the used TeX engine
 i libertinus-fonts: The Libertinus font family
 i libertinus-otf: Support for Libertinus OpenType
 i libertinus-type1: Support for using Libertinus fonts with 
LaTeX/pdfLaTeX
 i libertinust1math: A Type 1 font and LaTeX support for Libertinus Math


el

On 07/07/2021 11:25, Wolfgang Engelmann wrote:
[...]

Herbert, thanks

[...]

but get this:

  Requested font "AnonymousPro" at 10.94997pt
  -> font not found, using "nullfont"

! Package fontspec Error: The font "AnonymousPro" cannot be found.

In the appended lyx file (originally provided by Kornel) it tells me
under Document>Fonts that the Libertinus fonts are not installed.

Could somebody try this file and see whether it works?  I am using
Debian 11 and Texlive 2021.

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: Libertinus font and AnonymousPro

2021-07-06 Thread Dr Eberhard Lisse

I have

i libertinus: Wrapper to use the correct libertinus package according to the 
used TeX engine
i libertinus-fonts: The Libertinus font family
i libertinus-otf: Support for Libertinus OpenType
i libertinus-type1: Support for using Libertinus fonts with LaTeX/pdfLaTeX
i libertinust1math: A Type 1 font and LaTeX support for Libertinus Math

On 2021-07-06 18:17 , Wolfgang Engelmann wrote:

Am 06.07.21 um 18:04 schrieb Dr Eberhard Lisse:

Install the fronts concerned.

el

[...]

Hi el:
  they are installed:
  tlmgr install: package already present: libertinus
same with anonymouspro
Wolfgang

I guess I have to follow Steve's way:

     Find directory containing texlive-fontconfig.conf
     From that directory, copy the file to 
/etc/fonts/conf.avail/09-texlive-fonts.conf
     Make the necessary symlink
     Make your system aware of the preceding two steps
     Reconfigure LyX
     Restart LyX and test

But I do not understand, why. Will try this way tomorrow.

still confused > Wolfgang



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


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Dr Eberhard Lisse

Install the fronts concerned.

el

On 2021-07-06 16:37 , Wolfgang Engelmann wrote:



Am 06.07.21 um 16:31 schrieb Kornel Benko:

Am Tue, 6 Jul 2021 16:15:22 +0200
schrieb Wolfgang Engelmann :


What is wrong with lyx-way to use requested fonts?
Attached works here. (Used with lyx2.4)

Kornel



Kornel, would you mind to grade down your lyx file from 2.4 to 2.3.x? I
use 2.3.6 and it can't convert it. Debian has unfortunately not yet
version 2.4 and I can't find the lyx2lyx tool for conversion
Wolfgang


OK, exported to 2.3.x.

Kornel



This is, what I get in running your file:

! Package fontspec Error: The font "Libertinus Serif" cannot be found.

! Package fontspec Error: The font "Libertinus Sans" cannot be found.

! Package fontspec Error: The font "Anonymous Pro" cannot be found.

May be I have to install Version 2.4?

Wolfgang



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


Re: Paste text with italics

2021-07-05 Thread Dr Eberhard Lisse

Install the Writer-to-Latex module/package or whatever it is called.
That exports the whole file to LaTeX keeping more than just Italic.

Then you tex2lyx it and copy/paste from the document resulting.


When exporting switch to "Ultra Clean" and experiment with the other
option.

el


On 2021-07-04 22:19 , Scott Kostyshak wrote:

On Sun, Jul 04, 2021 at 06:59:27PM +0200, Ricardo Berlasso wrote:

El dom, 4 jul 2021 a las 17:15, <_johnny7_...@web.de> escribió:


Hello,

is there a way to paste text (from a source such as LibreOffice)
into LyX and keeping the words in italics emphasized?  If not, could
such an option be implemented?

As Scott pointed out, right now it's not possible on a direct way,
but you can use LibreOffice's own tools to "tag" text in italic and
then use the "paste as LaTeX" option on LyX. It goes like this:

- On Writer, make a copy of the document (don't work on the original!)
- Open the search and replace tool (Ctrl-H)
- On the Search box, write the following, complete with parenthesis:
(.*)
- With the cursor still on the search box, enable "Regular
Expressions" and, under Format, select Italics (you'll see the word
Italic bellow the search box)
- On the Replace box, write \emph{$1}
- Replace

You'll see that all the italic text will be surrounded with the
\emph{·} tag.  Now, you can copy the text to the clipboard and go to
LyX → Edit → Paste Special → Paste as LaTeX.

Of course, for short texts it's not worth doing all that, but for longer
texts, it works pretty well.


Cool idea, Ricardo!  This way is better than exporting/importing HTML
in the sense that you will only get the \emph part formatted.
Exporting and importing the HTML might give a bunch of different
formatting that is not desired.

Scott




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


Re: Command to put string in both the LyX authoring environment and the finished PDF?

2021-06-21 Thread Dr Eberhard Lisse



On 2021-06-21 01:44 , Paul A. Rubin wrote:

On 6/20/21 5:39 PM, Steve Litt wrote:

Hi all,

I have a local layout, based on Book-extsizes, for my new book. I have
no idea what the book's title will be yet, and I sure nuff don't want
to have to search all instances of that title and replace them every
time I get a better idea for the title.

[...]


This is not an answer to your question, but possibly something
simpler.  If you load the 'titling' package in the document preamble,
you can put anything you want in the document's title environment and
then just use \thetitle (or maybe \thetitle{}) in ERT any place you
want to repeat the title.  If you get the hots for a new title later,
you just have to change it in the title environment.  This doesn't
deal directly with the funky formatting of the title, but it does
eliminate the search-and-replace aspect.

Paul



This is not an answer to your question, but I use stuff like $$SURNAME$$
in a number of my LyX templates and then something like

$Surname = 'Doe';
s/\$\$SURNAME\$\$/$Surname/g';

in my Perl script to fill in the variables :-)-O

el

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


Re: Converting markdown to PDF

2021-06-17 Thread Dr Eberhard Lisse

I had a need of making Beamer presentations out of mind maps.

Found another mind mapper which could import from the first one
and could export MarkDown.

Frome there using a shell script which messes with the Markdown by way
of perl substitutions and does some other stuff and using a self written
template for pandoc) I can generate TeX which more or less translates
flawlessly into LyX.

greetings, el

On 17/06/2021 03:24, Steve Litt wrote:
[...]

What might be more interesting is a Markdown *import*. LyX, equipped
with a Markdown layout file, could easily print Markdown to pdf, or use
it as part of a larger LyX work.

[...]

--
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: Converting markdown to PDF

2021-06-17 Thread Dr Eberhard Lisse

I was going to write

 What we need in the first instance is to to be able to generate
 flowing formats (ePub and similar).

 pandoc seems to be able to do that from DocBook, so tying this to a
 LyX "Converter" should be possible, but otherwise a Makefile will
 work for most.

If that works I will even pare down our handbook (850 pages, 25 child
documents) which uses a lot of stuff (Makefile of 500 lines) so it
compile to ePub and we can distribute it internally as such.

That said, Steve is not wrong, but this (at least changing LyX's native
format to XML) seems to be a major undertaking.

greetings, el

On 17/06/2021 10:24, Jean-Marc Lasgouttes wrote:

Le 17/06/2021 à 03:24, Steve Litt a écrit :

What we need, and we've needed for over a decade is a real, style for
style, syntactically complete HTML export, or lacking that, finally
finish the job, started a decade ago, of making LyX' native language
format valid and well formed XML. Do that and I'll make a LyX to
(x)HTML converter that drops no styles nor adds styles for silly
stuff like not indenting the first paragraph in a sequence of
same-styled paragraphs, and is suitable for a high quality ePub and
other flowing text eBooks.


DocBook5 is coming. Does this fit your needs?

JMarc


--
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: Converting markdown to PDF

2021-06-17 Thread Dr Eberhard Lisse

We figured it out off line.

We downloaded the file with wget and that got us pure MarkDown, which
was very amendable to pandoc conversion.

I wrote a 15 line template file, or rather pruned the standard one to
the minimum required to work, ie using Komascript and Listings (plus
Landscape) and that did the trick very well.

10 Minutes of work.

greetings, el

On 16/06/2021 22:47, Paul A. Rubin wrote:

On 6/16/21 4:12 PM, Dr Eberhard Lisse wrote:


Using R is a little overkill in my view, but if it works it works
:-)-O


It's a bit indirect, but for users of the RStudio IDE, you just open
RStudio, open the .md file and click the "Knit to PDF" toolbar button
and you're done (unless you don't like the way the PDF turned out).
In my case, it would save having to look up the command syntax.

Paul




--
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: Converting markdown to PDF

2021-06-16 Thread Dr Eberhard Lisse

Pandoc does Markdown to LaTeX (to PDF) just fine.

I use something like

pandoc --wrap=none -f markdown-auto_identifiers \
-t latex --template=/Users/el/pantemplates/mytemplate.tex \
filename.markdown > filename.tex

where I took one of the LaTeX templates and modified it to my liking.

-t pdf

should also work, but I haven't tried this, so I don't know what
converter it takes.

Using R is a little overkill in my view, but if it works it works :-)-O

greetings, el


On 2021-06-16 19:56 , Paul Smith wrote:

On Wed, Jun 16, 2021 at 5:27 PM Rich Shepard  wrote:


I've an .md file that I want to convert to .pdf.  Using pandoc I get
a .pdf that's all in html.  Can lyx help me convert the .md to a
clean text (with code) .pdf?


You can use R for that, Rich.  Just open your .md file in R and
preview it in PDF. I have just tested this approach and it works.

Paul


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


Re: SSL certificate error

2021-06-09 Thread Dr Eberhard Lisse

Richard,

I do mine with a crontab entry (and on the Mac one can do it with
launchd) so one doesn't have to remember, even though letsencrypt will
email.

greetings, el

On 09/06/2021 00:23, Richard Kimberly Heck wrote:

On 6/8/21 10:17 AM, Dr Eberhard Lisse wrote:

That is a Letsencrypt certificate and as such should be or have been
auto-renewed :-)-O


I've just updated it. I've been so busy it slipped my mind.

Riki

[...]

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


Re: Quotation format

2021-06-01 Thread Dr Eberhard Lisse

Besides that I think this is a LaTeX question rather than a LyX one, I
also don't understand what 'add a border' means.

On 31/05/2021 20:36, Néstor wrote:

Hello, I want to format quotations in my LyX document, I wonder how.

How is it possible to change the fon0t and add a border just in
quotations?

Thanks!!



--
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: Other words for see and seealso in the index

2021-05-17 Thread Dr Eberhard Lisse

This is not a MWE.

Construct a file by removing items from text and preamble until you have
NOTHING left but the demonstration of the issue.  Often this will make
it easy for you to find and fix the issue yourself.

el

On 16/05/2021 11:59, Andreas Plihal wrote:

Hi,
I'm still working on the KOMA-Script book.
There are references to key words in the index (commands "SEE" and "SEEALSO").
How can I change the words "see" and "see also"?
I tried makeindex - but it was unsuccessful. (Look at my preamble ...)
I have enclosed the LYX document and the compiled PDF document.
Greetings
Andreas



--
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: capacity exeeded

2021-04-27 Thread Dr Eberhard Lisse

That is a not that uncommon LaTeX issue.

Upgrade to the latest LyX and TeX, update the latter to current and run
everything again.

Then I would suggest you make a Minimal Working Example (MWE), ie remove
EVERYTHING which does not produce contribute to the error (including in
the preamble, settings and the like).

That often already allows one to find and correct the issue.

If not export it to TeX and und PDFLaTeX or LUALaTeX on it and see where
in the MWE that error is triggered.  Reduce that even further until you
have a bare bones TeX file which reproduces the issue.

Or post the MWE (LyX file) and the image here so one can have a look if
it it sows same behavior on different systems.

el

On 27/04/2021 14:40, Andreas Plihal wrote:

Hi,

In order not to let my book get too big in KOMA-Script, I created
special graphics as separate PDF files.  This method works just fine.
Only with one graphic do I get the error message:

Tex capacity exeeded, sorry [main memory size=300].

If you really absolutely need more capacity, you can ask a wizard to
enlarge me.

What should I do.  Googling didn't help me very much.

Greetings

Andreas




--
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: Index doesn't contain cross references - lyx-users Digest, Vol 77, Issue 4

2021-03-18 Thread Dr Eberhard Lisse

if ($newspost =~ /miktex/i) {
die "don't use MikTeX";
}


On 18/03/2021 14:17, Jürgen Spitzmüller wrote:

Am Donnerstag, dem 18.03.2021 um 12:58 +0100 schrieb Andreas Plihal:

Now I have found a file that is out of date. I've updated it, and now
the cross-references are also displayed in the index. Thank you!


I am glad we sorted that out!

Jürgen





--
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: Custom footer and header

2021-03-15 Thread Dr Eberhard Lisse

Use KOMA Book

and google for 'scrguien'

el

On 13/03/2021 15:45, Néstor wrote:

Hello!

I have searched for any info about this before asking you, but it's
all a bit confusing.

I just need to put the page number in the footer, and the current
chapter title on the header. My document is a Standard Book.

Thank you!




--
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: blurish pdf figure

2021-03-15 Thread Dr Eberhard Lisse

Wolfgang,

how is this produced?

el

On 12/03/2021 12:01, Wolfgang Engelmann wrote:

If I insert the graphic (appended) in a lyx document, it looks blurish, 
although the original and in the pdf output it is clear. Looks like it is 
rendered to a pixel figure.
What is wrong?
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: Increase base font size

2021-03-10 Thread Dr Eberhard Lisse

Try in

 Document -> Settings... -> Custom: 14pt

el

On 09/03/2021 19:03, Paul A. Rubin wrote:

On 3/9/21 11:26 AM, Rich Shepard wrote:

Using lyx-2.3.6.1 and KOMA-Script Article class. I'm preparing speaker's
notes for a forthcoming video presentation and I want the body text larger
than 12pt. In Settings->Fonts the choice is limited to 12pt.

What's the LaTeX for changing paperfontsize 12 to paperfontsize 14? Is it
\renamecommand{paperfontsize}{14}?

TIA,

Rich

Not directly an answer, but in the prerelease (beta?  alpha?)  version
of LyX 2.4, with KOMA-Script Article selected, the font size list goes
up to a whopping 20pt size.  (I believe that going any higher may
require permits from your local building authority.)

Paul



--
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 dual

2021-03-03 Thread Dr Eberhard Lisse
On the Mac you can use slidepilot.

el

On 03/03/2021 13:16, Patrick Dupre wrote:
> Hello,
> 
> I am preparing a short presentation for a colleague.  I would like to
> have the regular slides on the standard screen, and on an auxiliary
> screen, the notes/text that he could use.  Or at least to have the
> "notes" attached to the slide, but not visible during the
> presentation.
> 
> Is it possible?
> 
> Thanks
[...]



-- 
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: version control with RCS with LyX 2.3.3 on a mac with nextcloud-folders

2021-03-02 Thread Dr Eberhard Lisse
Did you copy the ,v file?

el

On 02/03/2021 13:49, Robert Neumann wrote:
> Hello,
> I am using Lyx 2.3.3 on a Mac with OS 10.13 and a Nextcloud-folder
> I installed RCS, and as long as I use it, the version controll works fine. As 
> soon as I acces the file from another Computer it does not work properly 
> anymore. I get this message:
> 
> Bei der Ausführung des Befehls /while executing
> 'co -p1.1 "Rundbrief_3_2021.lyx" > 
> "/var/folders/fk/c_b11rp52kzddr83ky_w8d7mgn/T/lyx_tmpdir.jTeYDZU10377/lyxvcrev_1.1_.V10377"'
>  ist ein Fehler aufgetreten.  / there was an error
> 
> and when I try to check in the changes:
> 
> Bei der Ausführung des Befehls / while executing
> 'ci -q -u -m"(keine Protokollmeldung)“ „test.lyx"' ist ein Fehler 
> aufgetreten. / there was an error
> 
> So this seems to my, that the version control accesses some tmp-file which – 
> of course – is not available on the other computer. I am not sure, if it 
> might be a good idea, to change the tmp-path to the nextcloud. Especially 
> since the local paths are different. 
> Thanks!
> 


-- 
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: de_beamer-conference-ornate-20min.lyx

2021-02-26 Thread Dr Eberhard Lisse
Yes, you do :-)-O

Or rather the document does.

el


On 25/02/2021 18:56, Wolfgang Engelmann wrote:
> 
> 
> Am 25.02.21 um 17:31 schrieb Dr Eberhard W Lisse:
>> Reinstall babel?
>>
> I do not use bable in the document
> Wolfgang
> 
>> On my Mac Catalina it compiles without issue.
>>
>> el
>>
>> On 2021-02-24 12:22 , Wolfgang Engelmann wrote:
>>> If I fetch
>>> de_beamer-conference-ornate-20min.lyx
>>> from
>>> New from Templates
>>> and export it as pdf
>>> I get
>>> Package babel error
>>> option ngerman unknown
>>>
>>> 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: Need a little help with version control

2021-02-12 Thread Dr Eberhard Lisse
Jerry,

unless you collaborate SVN is overkill :-)-O

I have a large project under RCS and make control. Works very well.

el

On 12/02/2021 10:06, list_em...@icloud.com wrote:
> TFM isn’t helpful.  It does not tell how to get started.  Plus, TFM
> assumes more knowledge of version control systems than most LyX users
> have.  I don’t want to install rcs as long as svn is supposed to work.
> 
> Jerry

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


Re: Need a little help with version control

2021-02-10 Thread Dr Eberhard Lisse
The 'ci not found' means it wants the RCS system to which ci belongs and
this is not installed, which can be rectified easily by homebrew.

For the rest, RTFM (Help --> Additional Features)

el


On 09/02/2021 14:01, list_em...@icloud.com wrote:
> I’m trying to learn version control (SVN) with LyX on macOS. I have a
> little past experience with SVn in another context and I’m in Chapter
> 2 of the book at svnbook.red-bean.com as a refresher.  I am the only
> person who will access the repository which is on my own computer.
> 
> I have set up new repository and imported three files, a LyX document
> and two graphics files.  (I am using a nice GUI app on the Mac).  I
> can check out the LyX document, edit it, and commit.  But what I can’t
> figure out is what is the LyX File -> Version Control -> Register item
> for?  I think it wants to add the current LyX file, which is assumed
> to be not under version control, to the repository.  But _what_
> repository?  I made a second LyX file named Registering.lyx and typed
> “Registering a document” into the dialog box.  Then I get this
> message:
> 
>  Some problem occurred while running the command:
> 'ci -q -u -i -t-"Registering a document" "Registering.lyx"'.
> 
> I think I am somehow am missing “Step 0” in setting things up.
> 
> Thanks as always for any hints.
> 
> Jerry
> 

-- 
To email me replace 'nospam' with '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: Frontispiz with LYX

2021-01-28 Thread Dr Eberhard Lisse
Yes, it is :-)-O

el

On 28/01/2021 13:16, Jürgen Spitzmüller wrote:
> Am Donnerstag, dem 28.01.2021 um 13:11 +0200 schrieb Dr Eberhard Lisse:
>> I like to have as little ERT as possible and so perhaps would try out
>>
>>  \AtBeginDocument{\frontispiece{My Frontispiece}}
>>
>> in the preamble :-)-O
> 
> \AtBeginDocument is not needed here, all title information can be set
> in preamble.
> 
> However, in this case the Local Layout solution is a better bet.
> 
> Jürgen
> 
> 


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



signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Frontispiz with LYX

2021-01-28 Thread Dr Eberhard Lisse
I like to have as little ERT as possible and so perhaps would try out

\AtBeginDocument{\frontispiece{My Frontispiece}}

in the preamble :-)-O

el


On 27/01/2021 08:19, Jürgen Spitzmüller wrote:
> Am Dienstag, dem 26.01.2021 um 19:15 +0100 schrieb Andreas Plihal:
>> I work with KOMA-Script in LYX. By the time I was creating a book, I
>> already got the front cover. The only thing missing is a
>> frontispiece. How can I do this?
> 
> KOMA's \frontispiece command is not yet natively supported by LyX. Bt
> you can insert it manually by using TeX mode:
> 
> \frontispiece{My Frontispiece}
> 
> Do this in a standard paragraph at the very beginning of your document
> (before the title).
> 
> HTH,
> Jürgen
> 
> 


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



signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 2.4.0 Alpha 1

2021-01-19 Thread Dr Eberhard Lisse
RiKi, and the team,

Thank you for your efforts.


I am starting to become quite intrigued by docbook 5 support, but am too
chicken to put LyX 2.4 into production just yet :-)-O

Would that now allow me to pandoc DOCBOOK (output) to EPUB?

Salivating...

greetings, el





On 13/01/2021 18:51, Richard Kimberly Heck wrote:
> We are pleased to announce the release of the first alpha for LyX 2.4.0.
[...]> https://wiki.lyx.org/LyX/NewInLyX24
[...]

-- 
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: mac os big-sur

2021-01-19 Thread Dr Eberhard Lisse
Edoardo

while you are at it, grab version 2.3.6.2.

And if you haven't done so yet, get MacTeX 2020.

I am a compulsive upgrader and have encountered no issues whatsoever
during OS, MacTeX or LyX upgrades.

greetings, el

On 18/01/2021 14:21, Edoardo Del Pezzo wrote:
> Hi.  I am a lyx user since 10 years.  It is an excellent word
> processor and a very useful interface with Latex.  I am upgrading the
> Mac OS of my Intel-based Mac from Catalina to Big Sur.  Does lyx works
> with the new Big Sur on a Intel platform or should I wait ?
> Thank you so much,
> 
>  
> 
> 
> Edoardo Del Pezzo
> 


-- 
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-announce] LyX 2.3.6.2 Update for OSX Only

2021-01-14 Thread Dr Eberhard Lisse
Hi,

I saw this email without content. I have dutifully upgraded, but 
wonder what changed :-)-O

greetings, el

On 09/01/2021 20:42, Richard Kimberly Heck wrote:

-- 
Tuhafeni N Lisse   Stichting FOL
Wim Duisenbergplantsoen 316221 SE Maastricht
best...@spflisseff.naThe Netherlands

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


Re: LyX 2.3.6 Released

2020-12-02 Thread Dr Eberhard Lisse


Thank you,

works on Mac Big Sur.

el

On 01/12/2020 01:25, Richard Kimberly Heck wrote:
> We are pleased to announce the release of LyX 2.3.6.  This is the
> sixth maintenance release in the 2.3.x series.  It is the result of
> on-going efforts to make our stable version more reliable and more
> stable.  Most of the changes are fairly minor, fixes of smallish bugs,
> but a couple crashes have been fixed, as well.
[...]

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


Re: Preset LaTeX parameters/arguments

2020-11-03 Thread Dr Eberhard Lisse
Daniel,

even more joy you will get by asking in a (La)TeX specific group.

el


On 28/10/2020 17:51, Daniel wrote:
> On 2020-10-28 13:01, Daniel wrote:
>> Hi,
>>
>> Is it possible to define a layout/paragraph style with a preset LaTeX 
>> parameter/argument?
>>
>> I tried `LatexParam` but that just outputs the text without interacting with 
>> the arguments inserted via Argument insets. For example, if I use
>>
>> LatexParam [label*=\alph*)]
>>
>> to a Numbered List, the result is
>>
>> \begin{enumerate}[label*=\alph*)]
>> \item
>> \end{enumerate}
>>
>> However, if I try to add another (optional) argument via the List Preamble 
>> inset, say `ref=\alph*` I get
>>
>> \begin{enumerate}[label*=\alph*)][ref=\alph*]
>> \item
>> \end{enumerate}
>>
>> which gives an error. Instead it seems what I would need is
>>
>> \begin{enumerate}[label*=\alph*), ref=\alph*]
>> \item
>> \end{enumerate}
>>
>> Is there a way to achieve this in LyX?
>>
>> Daniel
>>
> 
> All right, found it. Adding a `PresetArg` to the argument definition does the 
> trick.
> 
> Daniel
> 


-- 
If you want 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 acting differently between computers

2020-10-28 Thread Dr Eberhard Lisse
Get a Mac.

el

On 27/10/2020 23:01, David Chan wrote:
> Hi all,
> 
> I noticed that LyX was acting differently between computers and am trying to 
> figure out the source of this issue.
> 
> One computer cannot compile a file that uses biblatex with the apa 
> bibliography style, while the other two computers can. Also, the first 
> computer compiles lines slightly differently so that a paper compiles to 110 
> pages, while on the other two computers, the paper compiles to 109 pages.
> 
> The first computer initially had an older version of LyX, 2.3.0 (February 24, 
> 2018), but when I updated it to the newest version, LyX 2.3.5.2 (June 25, 
> 2020), the problem persists. I also found the version that matches the other 
> computers in the archive, LyX 2.3.1-1, and the problem persists with this as 
> well.
> 
> When I checked the preferences on LyX on each of the computers, the first one 
> differs by not having `pdflatex` as an option under Preferences > File 
> Handling > File Formats > Default Output Formats, whereas this option exists 
> on the other computers. I am unable to find the `pdflatex` option on the 
> first computer regardless of the version of LyX.
> 
> The next thing that I did was to reinstall MikTeX on the first computer. This 
> did not seem to resolve the problem, although it seems to have caused errors 
> in compilation ("undefined control sequence", "Missing number, treated as 
> zero", and "Missing glyphs!").
> 
> Can someone please help me troubleshoot this?
> 
> Thanks in advance,
> Dave
>  
> 


-- 
If you want 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: Changes to LaTeX

2020-10-16 Thread Dr Eberhard Lisse
Kornel,

I do 

tlmgr update --self --all

which will upgrade tlmgr itself if necessary and then proceed and for
the time being followed by

tlmgr restore --force eso-pic 56463
tlmgr restore --force latex 53958


--persistent-downloads is the default anyway :-)-O.

Steve,

one does not HAVE to do this so often, but I like to bleed the edge even
if it costs me :-)-O

greetings, el


On 15/10/2020 22:22, Kornel Benko wrote:
> Am Thu, 15 Oct 2020 15:07:38 -0400
> schrieb Steve Litt :
> 
>> On Wed, 14 Oct 2020 11:25:08 +0200
>> Dr Eberhard Lisse  wrote:
>>
>>> Hi,
>>>
>>> I have come across some really obscure errors when trying to compile
>>> my previously mentioned handbook after upgrading LaTeX with the
>>> tlmgr which I do at least weekly (on the Mac).
>>
>> I had no idea you were supposed to upgrade with tlmgr once a week.
>> I've been upgrading only when things went wrong.
>>
>> Could you please tell me the exact tlmgr command to use in this once
a
>> week upgrade so I can do it too?
>>
>> Thanks,
>>
>> SteveT
>>
>> Steve Litt 
>> Autumn 2020 featured book: Thriving in Tough Times
>> http://www.troubleshooters.com/thrive
> 
> Steve, I am upgrading daily, nothing problematic.
> 
>  $ tlmgr update --persistent-downloads --all
> 
> Sometimes there is a need to update first the tlmgr itself, so you are
> forced to first use
> 
>  $ tlmgr update --self
> 
> 
>   Kornel
> 
> 


-- 
If you want to email me, replace nospam with el




signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Changes to LaTeX

2020-10-14 Thread Dr Eberhard Lisse
Hi,

I have come across some really obscure errors when trying to compile my
previously mentioned handbook after upgrading LaTeX with the tlmgr which
I do at least weekly (on the Mac).

The underlying reason is that changes have been made to LaTeX' internal
and in my case the catoptions.sty is implicated (but google shows there
are others).


https://tex.stackexchange.com/questions/565937/catoptions-menukeys-packages-compilation-error/566042


The quick fix is to roll back

tlmgr restore latex 53958

which implies that tlmgr should have been configured to keep a number of
backups :-)-O.


On the laptop at home I had to Time Machine my whole

/usr/local/texlive/2020basic

because I didn't keep enough backups but you want to look for a backup
from 2020-10-08 or earlier.

On the others it worked out of the box.

Then you try and see if the failed document compiles.

Then run the usual

 tlmgr update --self --all

try whether it fails and if so, run the above restore after which you
try the compile again.

I am now going to monitor the updates a bit more closely, do them on the
laptop first and if necessary go back as above (step by step)

greetings, el

-- 
If you want 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: Fw: Re: Problems with LyX

2020-10-13 Thread Dr Eberhard Lisse
Ah,

that would be cause I have the font installed which you don't (or your
LyX doesn't know about :-)-O

el

On 12/10/2020 13:21, Baris Erkus wrote:
[...]

> 14:07:56.575: pdflatex "Farbrahmen.tex"LaTeXFonts.cpp (528):
> LaTeXFonts::getLaTeXFont: font 'mathpazo' not found!

[...]

> I have compiled the tex file with LaTeX directly and no issues at all.
> So probably this is something related to LyX. Do you have similar
> messages?


-- 
If you want 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: Problems with LyX

2020-10-12 Thread Dr Eberhard Lisse
Why would one want to do this like that when this works?

 \documentclass{article}

 \begin{document}
 
 Testing footnotes.  I'm writing something here to
 test\footnote{First footnote} several features.  Testing the
 second\footnote{Second footnote} and third\footnote{Third footnote}.

 \end{document}

Let LyX do the work for you...

Never mind that \footnotemark seems to use a counter which you are not
handling so the below (referencing the last (highest) value would be
expected LaTeX behaviour

el


On 11/10/2020 21:50, Baris Erkus wrote:
> On 09-Oct-20 8:02 PM, Andreas Plihal wrote:
[...]
> Try this in LaTeX and you will see all the footnote numbers are 3.
> 
> \documentclass{article}
> 
> \begin{document}
>
> Testing footnotes.  I'm writing something here to test
> \footnotemark several features.  Testing the second \footnotemark
> and third \footnotemark.
> 
> \footnotetext{First footnote}
> \footnotetext{Second footnote}
> \footnotetext{Third footnote}
>
> \end{document}
[...]
-- 
If you want 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: Fw: Re: Problems with LyX

2020-10-12 Thread Dr Eberhard Lisse
It ist not a MWE, and compiles here on a Mac with LyX 2.3.5.2 without any error 
messages.

Never mind that I am not sure I understand what "After converting I get errors" 
means.

el

On 12/10/2020 11:19, Andreas Plihal wrote:
>  
>  
>  
> *Gesendet:* Samstag, 10. Oktober 2020 um 18:55 Uhr
> *Von:* "Andreas Plihal" 
> *An:* bariser...@hotmail.com
> *Betreff:* Re: Problems with LyX
> Dear Baris,
>  
> I send you a MWE called "Farbrahmen" (=color box): .lyx, .pdf, .log, .tex
>  
> After converting I get errors "undefined control sequence": .png
> 
> \ExplSyntaxOn
> 
> \ExplSyntaxOff
> 
>  
> 
> Greetings
> 
> Andreas
> 
> 


-- 
If you want 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: separate child-documents?

2020-09-25 Thread Dr Eberhard Lisse
Bernhard,

you are welcome. 

So you basically want to write a new PDF document, which is called
"Appendix" and gets the labels/references from another documents.

I think this can actually be done with some heavy LaTeXing


However, I do not believe that a German University Server would ever
want for a few (10-20 for 800 pages with images) MB of PDF space.  

EVER :-)-O.

I would just add the appendix to the LyX, compile it to PDF and upload
the PDF. And, while doing this sort out the main file into Child
documents by Chapter, so (future) updates become easier.

Messing with the PDF would be the silliest thing I have ever heard of in
a LyX/LaTeX context.

greetings, el


On 25/09/2020 09:50, M.B. Schiekel wrote:
> Am 25.09.20 um 08:08 schrieb Dr Eberhard Lisse:
>> ...
>> I am not really sure what your actual issue is.
>>
>> Do you want to generate a separate PDF for the appendix?  I have never
>> tried this but this could be what "Include only selected children" does.
>>
>> I use the Child Document featrue on the "include" side exclusively, and
>> after editing a Child Document, to compile (only) it (with the
>> "inheritance" of the Parent Document).
>>
>> This is obviously faster and while the references are wrong, it's good
>> enough for catching typos and the references come right on the main 
>> make run anyway.
>> ... 
> 
> 
> Hi Eberhard,
> 
> thank you for your comments. What is my actual issue?
> Some time ago I've uploaded a 800 p. LyX-generated PDF-file as an
> OpenAccess document to our uni-server. And now I'm writing
> an new separate appendix to this document and in this appendix I want
> references to many formula of my published big PDF-document.
> So I tried the Master-Child feature but in the separate compiled child
> the references are not available.
> If LyX doesn't support such an application I see only the possibility of
> creating the 50 p. appendix in the 800 p. master document and then
> cropping the 800 p. with a PDF-editor, because I cannot upload for each
> new appendix a new edition of the big PDF.
> But maybe there is a better way to handle this :-)
> bernhard
> 
> 


-- 
If you want to email me, replace nospam with el




signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-25 Thread Dr Eberhard Lisse
Bernhard,

I am not really sure what your actual issue is.

Do you want to generate a separate PDF for the appendix?  I have never
tried this but this could be what "Include only selected children" does.

I use the Child Document featrue on the "include" side exclusively, and
after editing a Child Document, to compile (only) it (with the
"inheritance" of the Parent Document).

This is obviously faster and while the references are wrong, it's good
enough for catching typos and the references come right on the main 
make run anyway.

And of course as I wrote previously, I am muddling the water by having a
joint "include.tex" with lots of conditionals.

There is always the "Help" feature.

As I said, I would take the opportunity to split a large document now 
while you are at it, will make things easier in the future...

greetings, el

On 2020-09-24 19:21 , M.B. Schiekel wrote:
[...]

> Hi Jürgen, Eberhard and Riki,
> 
> 1. first of all thank you for your kind help.
> 2. sometimes two troubles coincide:
> I didn't have seen my email in lyx-users@lists.lyx.org and also didn't
> received the answer of Jürgen.  Riki's answer I got as an pm, because
> he sended it also as CC to me.  So in the moment I'm in a pm
> discussion with Riki.
> 3.  from Jürgen I've learned that I have to do a "doubleclick" in
> Select "Include only selected children", Ok.
> 4.  but unfortunately it doesn't work for me :-( might be Riki will
> figure out, he has asked me for example files :-)
> 5.  "RTFM helps :-)-O": well, well, is there anywhere an exhaustive
> documentation?
> 
> thanks -
> bernhard
> 
> 


-- 
If you want to email me, replace nospam with el




signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-24 Thread Dr Eberhard Lisse
Bernhard,

as always, RTFM helps :-)-O

Jürgen has highlighted the required toggles. 

I use this for a "handbook" of some 20 files and 800 pages.  Each
includes a (common) "include.tex" with many toggles.

I like that I can compile the Child documents separately, quickly and 
in Portrait with 11pt and when it is done do the whole project via 
Makefile, as Landscape 16 pt.

In your situation I would take the opportunity of separating each 
chapter into a Child Document while you are at it. Just in case you 
need to work on this in the future again.

el


On 23/09/2020 08:25, Jürgen Spitzmüller wrote:
> Am Dienstag, den 22.09.2020, 21:39 +0200 schrieb M.B. Schiekel:
>> So I tried the Master-Child feature and compliled the Master and
>> Child separate.  But my hope, that in this separate compiled Child
>> the references to formula of the Master were available was
>> disappointed.
>> Any suggestion?
> 
> Go to the master's document setting, section "Child Documents".
> 
> Select "Include only selected children"
> 
> Select you child document in the widget below by double-click
> 
> Also select "Maintain counters and references"
> 
> This supposes that your master does not have other content than
> includes of children.
> 
> HTH
> Jürgen
> 
> 


-- 
If you want to email me, replace nospam with el




signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: ot again: gnuplot> how to get decimal hour exported

2020-06-22 Thread Dr Eberhard Lisse
And?

el

On 2020-06-19 14:37 , Rich Shepard wrote:
> On Fri, 19 Jun 2020, Dr Eberhard Lisse wrote:
> 
>> Start using R :-)-O
> 
> el,
> 
> I thought of suggesting this, but R would require the same two steps:
> calculate decimal minutes into a fourth vector in the dataframe, then plot
> what's needed.
> 
> Regards,
> 
> Rich


-- 
If you want 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: ot again: gnuplot> how to get decimal hour exported

2020-06-19 Thread Dr Eberhard Lisse
Start using R :-)-O


el

On 2020-06-19 09:53 , Wolfgang Engelmann wrote:
> I run this:
> 
> gnuplot> plot "file.txt" using 0:($1 + $2/60.)
> with data in file.txt like
> 
>   100 01
>   200 04
>   300 07
>   400 11
>   .. up to 256
> 
> the minutes (3rd column) are divided by 60 and added to the hour (2nd
> column).  They are plotted against time (1st column) and I get a
> correct graph.
> 
> How can I obtain the column of data with the hours and decimalized
> minutes, e.g. 00 30 > 00.50 ?  I need them for further analyses.
> 
> I could not find the command in the gnuplot (and pyxplot) manuals.
> Perhaps I missed the search word for it.
> 
> I would appreciate very much help
> 
> Wolfgang


-- 
If you want 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: ot: converting minutes in hour-decimals

2020-06-19 Thread Dr Eberhard Lisse
Divide by 60?

el

On 2020-06-17 19:02 , Wolfgang Engelmann wrote:
> off topic: How could I convert minutes in hour-decimals in a column such as
> 
> 00:01
> 00:04
> 00:07
> 00:11
> 00:12
> 00:13
> 00:13
> 00:18
> 00:19
> 00:21
> 00:23
> 00:32
> 00:32
>  and more
> 
> so that e.g. 00:30 becomes 00.50 h
> either by a unix terminal command or by gnuplot or pyxplot?
> 
> Wolfgang


-- 
If you want 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 presentation PDF resolution [RESOLVED]

2020-06-19 Thread Dr Eberhard Lisse
Thank you also very much for this RTFM!!!

After 10 years of being irritated that the Beamer presentations of mine
leave a black frame in full screen, I now finally found that
aspectratio=1610 removes it.

Tested it with Skim, Acrobat and Preview (and on Zoom) and looks great. 
Need to look at it with a beamer, but nowadays we do our CPD with Zoom 
so I don't have (need) ready access to a beamer anymore. 

On my iPad Mini 5 with sidecar the standard (43?) looks best so I will 
need to try different ratios on the beamer when we go back to F2F. 
Fortunately with Makefile or a for loop it's rather easy to produce a 
PDF in each supported aspect ration and then try every one on the 
beamer and use the one that looks best.

This is great stuff!

greetings, el


On 2020-06-17 23:31 , Rich Shepard wrote:
[...]
> The beamer output is now in 16:9 aspect ratio, and the softwar I use
> to display the PDF for the recorded video tutorials ('impressive') is
> scaled to open in a 860x540 dpi window, half the final resolution.  I
> use ffmpeg to scale it up and it all works fine.
[...]

-- 
If you want 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: FW: Problems using Bibtex with lyx.

2020-06-16 Thread Dr Eberhard Lisse
Mike,

Do away with Windows and get yourself a proper Mac.

el

On 16/06/2020 13:45, Mike Reeks wrote:
> Dear Eberhard
> Could u be a little more respectful in your criticism and
> observations.  I had been using lyx 2.2 version successfully in my
> review article.  So the bibtex and referencing worked perfectly as
> wells as the nomenclature listing.  Furthermore my version of lyx is
> tolerant of spaces in flienames etc.  It is only the recent version
> that doesn’t accept spaces.  I am aware of errors in formatting
> references in the bibtex file which stops the conversion.  Now for
> some unknown reason the conversion to pdf file works but doesn’t
> contain the reference list.  What has happened to my Miktex without my
> doing anything whatsoever?  It turns out that Miktex gets up dated
> without the user knowing and that’s what might happened.
> 
> Many thanks for your comments and observations.  It is much
> appreciated.  I will cary on with review article using my prest
> version of lyx .  There is not much to be done.  Then I will reinstall
> Miktex and download the most recent version of Lyx.  I will keep you
> informed of progress.
> 
> Best regards
> Michael Reeks
> Prof Michael Reeks FinstP FAPS 
> Professor Emerius of Fluid Mechanics
> University of Newcastle 
> Visiting Professor 
> Dept of Aeronautics
> Imperial College 
[...]
> On Tuesday, June 16, 2020, 11:01 am, Dr Eberhard Lisse  
> wrote:
> 
> You have a number of ligatures such as fl or ff being one character
> instead of two and therefor I don't believe that this came about by
> itself.  When I fix (all of) these it compiles without error.
> 
> This is CLEARLY shown in the error messages produced by LyX(LaTeX).
> 
> There are typing errors in the reference. Ruuning a spelling checker
> would have probably picked the cause of the issue up, by the way.
> 
> There are leading spaces within {}.
> 
> Generally it looks untidy, if only for hyphenated titles, not something
> I would send out when asking for help.
> 
> BTW, not everybody is impressed by spaces in file names.
> 
> And what is really irritating, not only is this not a MWE, but if you
> had bothered to construct one, by removing everything but the offending
> item (ie reference in the BIB file) you would have seen this yourself.
> 
> el
> 
> On 11/06/2020 13:36, Mike Reeks wrote:
> > *From: *Mike Reeks <mailto:mike.re...@yahoo.com 
> <mailto:mike.re...@yahoo.com>>
> > *Sent: *11 June 2020 10:45
> > *To: *lyx-users-subscr...@lists.lyx.org 
> <mailto:lyx-users-subscr...@lists.lyx.org>
> > *Subject: *Problems using Bibtex with lyx. Help!!
> >
> > 
> >
> > I have used bibtex generated bibliography with access to an
> > appropriates bibtex database of references in all my lyx files that
> > cite references.
> >
> > Upto now I have had no problems.  I usually generate a pdf file in the
> > lyx document conversion.  Now for some unknown reason when converting
> > a lyx file toa pdf file or any other file the reference list is
> > missing in the document conversion and the reference in the text are
> > not recognised and appear as [?].  I have no idea what has caused the
> > problem.  Why it was working before and not now since as far as I am
> > aware I have done nothing.  It happens on all my lyx files.  I attach
> > a simple example lyx file, the latex file and the pdf conversion file
> > and the bib reference file.  I would be very grateful if someone could
> > shed some light as to what is going on.  Its a really annoying.  I am
> > writing a review article using lyx which is about 6o pages long
> >
> > Best regards
> >
> > Mike Reeks
> [...]
> 
> -- 
> If you want to email me, replace nospam with el
> 
> 
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>
> http://lists.lyx.org/mailman/listinfo/lyx-users
> 
> 


-- 
If you want 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   >