Re: Cannot print greek characters.

2024-09-22 Thread Herbert Voss





Am 22.09.24 um 21:16 schrieb Scott Kostyshak:

On Sun, Sep 22, 2024 at 05:10:03PM GMT, Paolo M wrote:

Here included a mwe.

Here included a mwe.
Cannot print greek characters.
LyX returns:  "LaTeX Error: This NFSS system isn't set up properly."

Compiles fine here. Not sure what NSS is.


New Font Selection Schmeme:
https://www.latex-project.org/help/documentation/fntguide.pdf


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


Re: Cross-reference to figure

2024-09-21 Thread Herbert Voss




Am 21.09.24 um 10:30 schrieb Jürgen Spitzmüller:

Am Samstag, dem 21.09.2024 um 08:54 +0200 schrieb Herbert Voss:

Yes, \thanks is a footnote and that is fragile. However, using
\thanks
inside
a caption is wrong LaTeX code, because it also moved into the
listoftables|figures
and you'll get it _two_ times in the output.
A \thanks should (without \protect) only be used together with the
optional
argument which gets the caption titel without thanks.

\caption[foo]{foo\thanks{bar}}

   Then all is fine: for LaTeX and for LyX ... :-)

The problem is not about \thanks in a caption, but about a label in
\thanks, as in


ok, but that is completely different to the caption case.

Herbert



\documentclass{article}
\usepackage[T1]{fontenc}

\begin{document}

\title{title\thanks{\label{fn:bla-blah}bla blah}}
\maketitle

see footnote \ref{fn:bla-blah}
\end{document}



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


Re: Cross-reference to figure

2024-09-20 Thread Herbert Voss

Am 21.09.24 um 08:24 schrieb Jürgen Spitzmüller:

Am Samstag, dem 21.09.2024 um 08:13 +0200 schrieb Jürgen Spitzmüller:

Am Samstag, dem 21.09.2024 um 07:55 +0200 schrieb Herbert Voss:

but a label is not fragile and it is also common that it is inside
the caption. It shouldn't preceeded by \protect. Then all is fine:
inside and outside

I understand, but that's a different issue (and I need to investigate
why we introduced the protection).

The background is
https://www.lyx.org/trac/ticket/9404

I am a bit irritated now as to whether we need to protect labels in
\thanks notes only (where we get an error otherwise) or in more cases.



Yes, \thanks is a footnote and that is fragile. However, using \thanks 
inside
a caption is wrong LaTeX code, because it also moved into the 
listoftables|figures

and you'll get it _two_ times in the output.
A \thanks should (without \protect) only be used together with the optional
argument which gets the caption titel without thanks.

\caption[foo]{foo\thanks{bar}}

 Then all is fine: for LaTeX and for LyX ... :-)

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


Re: Cross-reference to figure

2024-09-20 Thread Herbert Voss

Am 21.09.24 um 07:42 schrieb Jürgen Spitzmüller:

Am Freitag, dem 20.09.2024 um 20:19 +0200 schrieb Herbert Voss:

Put the label after the caption, means  _outside_ of it.  Then you
need to delete the auxiliary files or save, close and reopen the LyX
file.

In LyX 2.4, you do not need to do this manually. Go to Document >
Settings > Output (Dokument > Einstellungen > Ausgabe) and select "Put
fragile content out of moving arguments"
("Zerbrechlichen Inhalt aus beweglichen Argumenten verschieben"), and
LyX will take care for you.


but a label is not fragile and it is also common that it is inside the 
caption.

It shouldn't preceeded by \protect. Then all is fine: inside and outside

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


Re: Cross-reference to figure

2024-09-20 Thread Herbert Voss




Am 20.09.24 um 11:50 schrieb Andreas Plihal via lyx-users:

Dear community,
In a KOMA book, I include numerous graphics that I want to refer to 
with cross-references. As soon as I have established an index of 
figures, the numbers in the cross-references are no longer correct. 
They correspond to the outline number of the respective text section. 
The generated page number is also that of the index of figures, not 
that of the graphic.


Looks like a bug in LyX. It puts a \protect before a \label if it is 
inside a \caption.
This leads to a "multiply defined label"  problemwith the wrong figure 
number.

Put the label after the caption, means  _outside_ of it.  Then you need
to delete the auxiliary files or save, close and reopen the LyX file.

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


Re: Text within Equation

2024-08-02 Thread Herbert Voss



Am 02.08.24 um 13:30 schrieb Alexander Dunlap:

On Fri, Aug 2, 2024, at 1:47 AM, A-Imam Al-Sammak wrote:

Dear all
I need to type something like the following formula in LyX where I 
have a mixture between normal text and math


image.png

I know we can use normal ALL math symbols in an equation and also we 
can use ALL text fraction, but I don't know how to use a mixture of 
them as illustrated in the example above. Any help on this issue?


You can use the \text or \mathrm macros around the parts you want to 
be text. \text will copy the text style of the outside environment, 
while \mathrm will force the text to be Roman style.


\mathrm takes the glyphs from the math font, whereas \text or \textrm 
takes it from the text font.

If text and math font are different you may see it in the output.

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


Re: Book Tufte / BibLaTeX?

2024-07-17 Thread Herbert Voss



Am 17.07.24 um 04:25 schrieb Richard Kimberly Heck:

On 7/16/24 12:30 PM, Mathias Girel wrote:

Dear fellow users
First of all, congratulations and many thanks to the community for 
Lyx 2.4!!
My question is the following: I'm using the Book Tufte class for a 
report, and it works great for all the figures and floating 
environments. My only problem is that I'd like to use BibLaTeX, as 
some of my references would be better rendered with one of the 
verbose styles, and bibtex seems to be "built in" the class, when I 
select it in LyX.

Is there a known workaround for this?


The tufte classes load BibTeX themselves. There are workarounds:

https://texhax.tug.narkive.com/VftK5QL2/tufte-book-style-and-biblatex

But it's not trivial.



I have a modified version of tufte.cls for biber/biblatex and using
lualatex with open type fonts. I also modified the citations in the example
file, which were wrong!


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


Re: Colorbox destroys Index

2024-07-04 Thread Herbert Voss




Am 04.07.24 um 16:16 schrieb Andreas Plihal via lyx-users:
I am writing a KOMA book with an index. However, I have noticed that 
the index disappears exactly when only one of my numerous color boxes 
contains even a single keyword. I have made two MWEs: one without a 
color box and one with a color box. The PDF of the first one has an 
index, the second one does not.

Do you have any idea how I could avoid this error?


An index is in _both_ pdf documents

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


Re: Headline is massively indented

2024-06-02 Thread Herbert Voss



Am 02.06.24 um 19:05 schrieb Andreas Plihal via lyx-users:

Here we go ...
https://www.lyx.org/AdditionalSoftware


There is nothing about "WIndows needs MiKTeX", which would be
obviously wrong ...

Herbert




*Gesendet:* Sonntag, 02. Juni 2024 um 18:11 Uhr
*Von:* "Richard Kimberly Heck" 
*An:* "Andreas Plihal" , "Christopher Menzel" 


*Cc:* "LyX Users" 
*Betreff:* Re: Aw: Re: Headline is massively indented
On 6/2/24 09:45, Andreas Plihal via lyx-users wrote:

The LYX website states quite clearly that MikTex is recommended
for Windows:
"To produce a print version of your documents, you must have LaTeX
installed.
We recommend TeXLive (or the older distribution teTeX) for
Unix-like systems such as Linux, _*MikTeX for Windows*_ and MacTeX
for Mac OS."

Where is that?

Riki




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


Re: Headline is massively indented

2024-06-02 Thread Herbert Voss



Am 02.06.24 um 11:48 schrieb Andreas Plihal:


a floating environment WITHIN a list doesn't work. I tried that at 
first. If it had worked, I wouldn't have had to resort to multi-column 
text.




Andreas,

agin: your are using a wrapfigure environment, which has nothing to do with
a floating environment!  You have a pagebreak inside the wrapfigure
environment, which does not work. Move that part to another position
or insert  a pagebreak by hand _before_  that envoronment.

Herbert





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


Re: Export chapter to .txt file

2024-05-30 Thread Herbert Voss




Am 30.05.24 um 22:58 schrieb Rich Shepard:

Can I export only a chapter in a longer document as a text file by
highligting it?


Should be a simple copy & paste. You can also convert the created
pdf to text in a command line:

pdftotext .pdf

and then delete all except the inetresting chapter.

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


Re: Text become invisible

2024-05-30 Thread Herbert Voss




Am 30.05.24 um 10:12 schrieb Andreas Plihal via lyx-users:
I know the file amsart.sty is mentioned in an error message. But I 
don't actually have this file!


you should remove that line. It is in the pramble of the included dcument.

Hebrert


Originally the entire file (measured by the PDF content) was 250 pages 
long. I gradually reduced it until I finally had the file that I have 
now. It is not stable. If I change anything in it, the error 
disappears. For example, if I delete the only footnote (which really 
has nothing to do with the text colors) right at the beginning, it is 
enough for the error to disappear.

Andreas


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


Re: Page break completely destroyed

2024-05-13 Thread Herbert Voss



Am 08.05.24 um 18:19 schrieb Andreas Plihal:


thank you very much for your very specific advice: *multicols in a 
figure environment.*

But unlike your guess, I use *pdfs in a multicol environments*.
Is this allowed?


I can not run your document. Missing images and so on ...
I didn't say that it is not allowed. I said "it makes no sense". Use
parboxes side by side.

Herbert




I'll show you a place in my lyx document where I use this.
There are many such constellations in my document.
To check this, I'll send you the associated lyx files.
What do you think about that?
Andreas
*Gesendet:* Dienstag, 07. Mai 2024 um 11:15 Uhr
*Von:* lyx-users-requ...@lists.lyx.org
*An:* lyx-users@lists.lyx.org
*Betreff:* lyx-users Digest, Vol 236, Issue 1
Send lyx-users mailing list submissions to
lyx-users@lists.lyx.org

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

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

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


Today's Topics:

1. Re: Questions about an Idea for a feature in LyX
(Richard Kimberly Heck)
2. Page break completely destroyed (Andreas Plihal)
3. Re: Page break completely destroyed (Rich Shepard)
4. how to add this shortcut? (matan guedj)
5. Re: how to add this shortcut? (Richard Kimberly Heck)
6. centering all ert environments in document (matan guedj)
7. Re: centering all ert environments in document
(Richard Kimberly Heck)
8. Re: how to add this shortcut? (Andrew Parsloe)
9. Stop command during compilation (Andreas Plihal)
10. Re: Stop command during compilation (Scott Kostyshak)
11. Re: Stop command during compilation (Richard Kimberly Heck)
12. Re: Stop command during compilation (Rich Shepard)
13. Re: Stop command during compilation (Richard Kimberly Heck)
14. Re: Stop command during compilation (Rich Shepard)
15. Re: Stop command during compilation (Richard Kimberly Heck)
16. Re: Stop command during compilation (Richard Kimberly Heck)
17. Re: Stop command during compilation (Rich Shepard)
18. Re: Stop command during compilation (Scott Kostyshak)
19. crash inserting branch (Paolo M)
20. Re: crash inserting branch (Paolo M)
21. Page break completely destroyed (Andreas Plihal)
22. Re: crash inserting branch (Scott Kostyshak)
23. Re: Page break completely destroyed (Herbert Voss)
24. Page break completely destroyed (Andreas Plihal)


--

Message: 1
Date: Thu, 2 May 2024 20:31:23 -0400
From: Richard Kimberly Heck 
To: matan guedj , lyx-users@lists.lyx.org
Subject: Re: Questions about an Idea for a feature in LyX
Message-ID: <0a6b3d44-0fba-265a-0b35-1b2acf539...@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 5/2/24 18:28, matan guedj wrote:
> Hello,
> I don't really know how the mail listing works, new to the concept.
> I've had a few questions revolving around an idea recently trying to
> teach myself pgfplots.
> I'm fairly new to LyX and LaTeX in general (started using both in
> January) and I'm also no programmer but I wanted to add a new feature
> to LyX of a plotting tool.
> What I'm thinking of is on the math bar or some other bar, add a plot
> icon that will open a window with all the parameters for the mostly
> used plots (2D/3D, Cartesian/polar/spherical..., scatter/bars/pie...,
> parametric curves or surfaces, implicit functions, vector fields, and
> more).
> I'm still learning pgfplots but it follows a fairly simple and well
> defined formula for most of the plots so it most likely can be 
automated.

> And now it opens some questions:
>
> 1. Is there a way I can start work on it as a personal project (I
> specifically want it to be a personal thing, to see if I'm capable of
> this, and also it can't look bad on the resume), and when I believe
> it's done and an acceptable feature, present it to the developers and
> implement it for the next version?

Yes, this is an open source project, so anyone can work on it. Whether
something gets accepted into the codebase is a different question, but
this seems like something that could be useful to a lot of people. Doing
what you describe will take some real programming, though we'll all be
happy to point you in the right direction. That kind of discussion is
better on lyx-devel, though.

I should probably warn you that, with 2.4.0 about to be released, it
will be a while before the next major release. The sort of thing you
describe would mean storing new info in the LyX file, which changes the
format of the file. That can only be done at major releases, so this
would have to be for 2.5.0.

That said, LyX

Re: Page break completely destroyed

2024-05-06 Thread Herbert Voss




Am 06.05.24 um 16:20 schrieb Andreas Plihal via lyx-users:

I shrink the files again and put them in a 7z archive.


it looks like that you are using multicols in a figure environment, 
which is,

of course, not a good idea. However the pdf output doesn't allow to see
what really happens ...

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


Re: Endnote numbers marked with an asterisk

2024-04-29 Thread Herbert Voss




Am 28.04.24 um 21:39 schrieb Andreas Plihal:

Hi,
Thank you very much for theadvice - it works very well!
Now I have two more questions:

 1. How do I make sure that the star also appears in the list of endnotes?
 2. And how do I make sure that the star doesn't appear before the
number, but after the endnote number?





write into the preamble

\def\enmarkstyle{*}


use instead

\renewcommand\theendnote{\arabic{endnote}*}


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


Re: Endnote numbers marked with an asterisk

2024-04-27 Thread Herbert Voss




Am 27.04.24 um 11:53 schrieb Andreas Plihal via lyx-users:


I use both footnotes and endnotes in my KOMA Script book. If I don't 
intervene, both will be numbered the same way. Unfortunately, the 
reader cannot judge from its appearance alone whether it is a footnote 
or an endnote. I want to mark the footnotes as traditional numbers and 
the endnotes as starred numbers. I use the Enotez package for the 
endnotes. How can I achieve this?


write into the preamble

\def\enmarkstyle{*}

Then in the current text, the endnote gets a preceeding star, but only 
in the

text, not in the list of endnotes.

Herbert

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


Re: Index is not displayed

2024-04-13 Thread Herbert Voss




Am 13.04.24 um 10:17 schrieb Andreas Plihal via lyx-users:
Sorry - I included the wrong file. The file that I am now attaching 
also matches the text that I wrote in my first email. In this version 
the index does not work.


In your preamble you have
- \emergencystretch 1.5em

This is _not_ a good idea. Should only be used in _rare cases_ if TeX is not
able to justify a paragraph. Then you can use instead

\begin{sloppypar}
text...
\end{sloppypar}

With a global setting of emergencystretch you get Word-like documents ...

- \setlength{\parskip}{\medskipamount}

\setlength{\parindent}{0pt}

This is nonsense for KOMAScript documents. Use the optional class setting

parskip=half-



- You are using the font LinixLibertine which is for ages 
obsolet. Use

Libertinus Serif and Libertinus Sans instead.


- For your options of your makeindex you have:

-s german.ist -t MWE_Index.ilg -o MWE_Index.idx

That's wrong! You define -o MWE_Index.idx as output file, the reason
why you overwrite the input datafile, which is by default MWE_Index.idx.
Use only

-s german.ist

oder simply xindex as Indexprocessor with optional argument

-l de


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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Herbert Voss



Am 12.04.24 um 13:41 schrieb Bernt Lie via lyx-users:

Aha! It only adds "Abstract" to the PDF file when using KOMA-script, not in the 
LyX editor itself!

For the Standard Article style, "Abstract" is inserted into the LyX editor by 
default. I find that clarifying, and it would be nice if the same happened when using 
KOMA-script.



It is easy to add the abstract part into the LyX layout file of the 
scrartcl class

or creating an own layout file.

Herbert




-Original Message-
From: lyx-users  On Behalf Of José Matos
Sent: Friday, April 12, 2024 1:02 PM
To: lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

On Fri, 2024-04-12 at 09:57 +, Bernt Lie via lyx-users wrote:

Thanks.
  
I have tried with inserting the text “abstract=on” (with and withough

prepending/appending it with “), but this has no effect.

Note that the abstract=on option only changes the (pdf) output, it does not 
change how the document looks in lyx.

--
José Abílio
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Herbert Voss



Am 12.04.24 um 11:57 schrieb Bernt Lie:


Thanks.

I have tried with inserting the text “abstract=on” (with and withough 
prepending/appending it with “), but this has no effect.




no problem here ... Used File->new, then Document->Settings abd abstract=on.
I have nothing in the added into the preamble.

Herbert

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


Re: Lyx error

2024-04-12 Thread Herbert Voss



Am 12.04.24 um 11:32 schrieb Eckhard Höffner:

Tobias is right.xelatex useS  truetype or open type fonts.


XeLaTeX can also use old Type1 fonts.

Herbert




Am 12.04.24 um 10:10 AM schrieb Tobias Hilbricht:

Am Donnerstag, dem 11.04.2024 um 18:19 -0400 schrieb Steve Litt:

If you use non-TeX fonts, you must compile with luatex and lualatex
instead of xelatex. Check your LyX preferences for compiling.


Here I can compile the OPs LyX-file mb.lyx using non-TeX fonts with
xelatex (converter LaTeX -> XeTeX: xelatex $$i), so perhaps xelatex is
not installed?

Tobias

--
Eckhard Höffner
Volkartstr. 64
80636 München
089 210 31 888



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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Herbert Voss




Am 12.04.24 um 11:41 schrieb Bernt Lie via lyx-users:

When I use KOMA script and Article style, and insert an Abstract, the headline 
"Abstract" is not inserted. This is different from previous versions, I think??

Is this a bug?


Use documentclass option "abstract=on"

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


Re: Representing mu in bibliography source file

2024-03-06 Thread Herbert Voss


Rich Shepard schrieb:
> On Wed, 6 Mar 2024, Herbert Voss wrote:
>
>>> You can put "$\mu$g" in a BibTeX entry and it should display properly
>>> in
>>> the document.
>>
>> \textmu{}g for an upright µ
>
> Herbert,
>
> That's a better solution for upright text.

 see
https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-6-rules-and-style-conventions-printing-and-using
6.2.3

It should be an upright mu for a unit

Herbert



>
> Thank you,
>
> Rich
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>




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


Re: Representing mu in bibliography source file

2024-03-06 Thread Herbert Voss


Rich Shepard schrieb:
> On Wed, 6 Mar 2024, Herbert Voss wrote:
>
>>> You can put "$\mu$g" in a BibTeX entry and it should display properly
>>> in
>>> the document.
>>
>> \textmu{}g for an upright µ
>
> Herbert,
>
> That's a better solution for upright text.

 see
https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-6-rules-and-style-conventions-printing-and-using
6.2.3

It should be an upright mu for a unit

Herbert



>
> Thank you,
>
> Rich
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>




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


Re: Representing mu in bibliography source file

2024-03-06 Thread Herbert Voss



Am 06.03.24 um 17:47 schrieb Paul Rubin:



On 3/6/24 10:50, Rich Shepard wrote:
I use JabRef for my bibliography database; it's in ASCII text file 
format. Some
abstracts report concentrations in micrograms and have been entered 
as 'ug.'

How can I enter the mu symbol so it displays properly in LyX documents?

Looking in /usr/share/X11/en_US.UTF-8/Compose I see multikey solutions;
i.e.,
      : "µ"    mu # MICRO SIGN
      : "µ"    mu # MICRO SIGN
      : "µ"    mu # MICRO SIGN
but while these work in text files, they're not the same as \mu in 
LaTeX.


Help's appreciated.

Regards,

Rich
You can put "$\mu$g" in a BibTeX entry and it should display properly 
in the document.


\textmu{}g for an upright µ

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


Re: 14.4 font

2024-03-04 Thread Herbert Voss


Eberhard W Lisse schrieb:
> In LyX,
>
>   Document -> Settings -> Document Class -> Document Class
>
> select
>
>   KOMA-Script Article
>
> then in same screen, ie
>
>   Document -> Settings -> Document Class -> Custom
>
> put
>
>   15 pt

That is a hidden feature of KOMA-Script, the correct
Way is fontsize =…

Herbert


>
> klick
>
>   Ok
>
> and then generate (view) the PDF as ususal.
>
> greetings, el
>
> On 2024-03-04 05:24, Herbert Voss wrote:
> [...]
>> However, for KOMAScript you can simply use
>>
>> fontsize=14pt
>>
>> as class option.
> [...]
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>




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


Re: 14.4 font

2024-03-04 Thread Herbert Voss



Am 04.03.24 um 09:48 schrieb Axel Dessecker:

KOMA Script does not require specific fonts. For the base size, you may just
define 14pt as a class option.



14pt is not a valid option for standard classes (10pt, 11pt, 12pt)
You need package extsizes or you define the new fontsize by
yourself.

However, for KOMAScript you can simply use

fontsize=14pt

as class option.

Herbert




Axel

Am Sonntag, 3. März 2024, 19:15:35 CET schrieb John White:

Thanks Doc,

I suspect you prefer Koma Script fonts?  However on my system I do not see a
way to get to 14 font in Koma Script Article.

John

On Sunday, March 3, 2024 9:15:02 AM PST Eberhard W Lisse wrote:

I was in transit (to Puerto Rico) and would have suggested to use the
Koma Script Article.

el

On 2024-03-02 23:39, John White wrote:

Thanks much Scott!  Works perfectly.


John
On Saturday, March 2, 2024 6:18:23 PM PST Scott Kostyshak wrote:

[...]


Go to Document > Settings > Document Class and change it to

"Article>> (Standard Class with Extra Font Sizes)". Then when you click
on the


"Fonts" tab, you will see additional entries under "Base size".

[...[






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


Re: Latex vs. non-latex fonts

2024-01-14 Thread Herbert Voss



Am 14.01.24 um 17:05 schrieb Neal Becker:



On Sun, Jan 14, 2024 at 2:48 AM Herbert Voss 
 wrote:




Am 13.01.24 um 16:49 schrieb Neal Becker:
> I have tried kpfonts.  Surprisingly, it also has the same
problem with
> authormark misplaced!
>

Looks like a bug with the IEEE layout of LyX. Export the
test-document to
LaTeX (pdflatex) and run it and it will be okay.

    Herbert



Looks like if I export to pdflatex and run pdflatex it works!
But if I export to lualatex and run lualatex the asterisks are 
misplaced. Any idea of what is the cause?


It is a bug in IEEEtran which is _not_ configured to run with lualatex.
However, the export from LyX to lualatex is wrong if you have the
LyX-document configured for pdflatex.

For lualatex use this preamble in _LyX_

\usepackage{flushend}

\usepackage{kpfonts-otf}

\DeclareRobustCommand*\IEEEauthorrefmark[1]{\ensuremath{{}^{\ifcase#1\or 
*\or \dagger\or \ddagger\or%


\mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger

\or \ddagger\ddagger \else\expandafter\romannumeral#1\fi}}}

and also enable the button for "Use non TeX fonts (lualatex/xelatex)


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


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



Am 13.01.24 um 16:49 schrieb Neal Becker:
I have tried kpfonts.  Surprisingly, it also has the same problem with 
authormark misplaced!




Looks like a bug with the IEEE layout of LyX. Export the test-document to
LaTeX (pdflatex) and run it and it will be okay.

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


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



Am 13.01.24 um 16:02 schrieb Neal Becker:



Here is a mwe of the problem with Cambria (abstract is not bold).
I seem to have cambria-bold:
 luaotfload-tool -i --find="Cambria Bold"
luaotfload | resolve : Font "Cambria Bold" found!
luaotfload | resolve : Resolved file name 
"/usr/share/fonts/msttcore/cambriab.ttf"


voss>tmp:$ luafindfont cambria
  No.    Filename Symbolic 
name    Path
   1. Cambria.otf cambria 
/Users/voss/Library/Fonts/Cambria/
   2. Cambria.ttf cambria 
/Users/voss/Library/Fonts/Cambria/
   3.    Cambria_Bold.ttf cambria 
/Users/voss/Library/Fonts/Cambria/
   4. Cambria_Bold_Italic.ttf cambria 
/Users/voss/Library/Fonts/Cambria/
   5.  Cambria_Italic.ttf cambria 
/Users/voss/Library/Fonts/Cambria/
   6. CambriaMath.otf cambriamath 
/Users/voss/Library/Fonts/Cambria/



gives you all fonts which will be found by TeX

Herbert










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


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



Am 13.01.24 um 15:57 schrieb Neal Becker:

Here is a mwe of the New PX problem.


There is _no_ such  problem with current up-to-date TL2023.

Herbert






On Sat, Jan 13, 2024 at 9:33 AM Neal Becker  wrote:



On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel
 wrote:

On Jan 12, 2024, at 9:03 AM, Neal Becker 
wrote:

I'm writing another paper for IEEE conference.  I'm using
lualatex to
produce pdf.

In document/settings/fonts, I'm set to using all defaults. If
I don't
check 'use non-TeX fonts', the output looks good. If I do
check 'use
non-TeX fonts', the fonts look much thinner and to my eye not
very
pleasing.  Again I have not changed any font settings from
defaults.


And that’s why they don’t look good. You need to choose one
from the drop-down list. The problem with using non-TeX fonts
is that there might not be a corresponding math font. One that
does have a math font and that looks quite nice is Cambria. If
you are using MacOS or Windows you should have it on your
machine if you’ve installed Office 365 or a standalone of any
of the usual Microsoft applications. To get the corresponding
math font once you’ve selected Cambria from the drop-down, add
the following to the preamble:

\usepackage{unicode-math}
\setmathfont{Cambria Math}

If you’re using Linux, there are instructions to be found on
the interwebs for installing the Microsoft fonts Cambria,
Calibri, and Consolas. They are extracted from the old
PowerPoint Viewer, which Microsoft released for free and hence
(so I recall gathering from discussions in various forums) can
be extracted and used legally.


Is there a recommended alternative set of fonts?


For TeX fonts, I really like New PX
<https://tug.org/FontCatalogue/newpx/>, a descendent of
Palatino with a very nice math font. Add the following to your
preamble (and select “Default” from the drop-down font list):

\usepackage[T1]{fontenc}
\usepackage{newpxtext,newpxmath}

Vastly superior aesthetically to the long outdated (but still,
sadly, oft-used) Computer Modern default.

Chris Menzel

I just tried out the New PX alternative.  It looks good except for
one strange problem.  In the top of the paper is author name and
authormark.  Authormark (1 author) will be an asterisk.  With CM
the asterisk is in the normal position, but with New PX the
asterisk is about the middle of the text height, not in a
superscript position.  Since this is right at the top of the paper
and glaringly obvious I don't think I can use it.



--
/Those who don't understand recursion are doomed to repeat it/



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


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



Am 13.01.24 um 15:33 schrieb Neal Becker:



And that’s why they don’t look good. You need to choose one from
the drop-down list. The problem with using non-TeX fonts is that
there might not be a corresponding math font. One that does have a
math font and that looks quite nice is Cambria. If you are using
MacOS or Windows you should have it on your machine if you’ve
installed Office 365 or a standalone of any of the usual Microsoft
applications. To get the corresponding math font once you’ve
selected Cambria from the drop-down, add the following to the
preamble:



use a package which defines text _and_ mathfont, e.g. kpfonts-otf
See https://pkks.de/fontpackages.html


Herbert




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


Re: Old font style names found in doc

2024-01-03 Thread Herbert Voss



Am 03.01.24 um 16:24 schrieb Rich Shepard:

On Wed, 3 Jan 2024, Herbert Voss wrote:


this depends to the author of the bibliography style. Which one your
are using?



The biblatex bibliography style is authoryear.


Rich,

from your example I believe that you used bibtex with a bibtex style
(\bibliographystyle{...})  and not biblatex/biber ...

Look into the bibliography interface for the setting.

Herbert




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


Re: JabRef insertion to LyX fails with accented character

2024-01-03 Thread Herbert Voss



Am 03.01.24 um 16:51 schrieb Rich Shepard:

On Wed, 3 Jan 2024, Herbert Voss wrote:


every problem is listed in the logfiles ...

The .log file, line 725:
LaTeX Warning: Citation 'Ant=E3o2021' on page 5 undefined on input 
line

324.



Rich,
I suppose again the "mergedate=..." option problem in the setting
of biblatex.




.blg


The biodiversity.blg:

INFO - Writing 'biodiversity.bbl' with encoding 'latin9'


In general biber uses the encoding from the main document unless
you explicitely call

biber --bibencoding=latin9 



INFO - Output to biodiversity.bbl
WARN - I didn't find a database entry for 'Ant=E3o2021' (section 0)
INFO - WARNINGS: 1

Two things:
1. Where is biber finding the latin9 encoding?
2. The string E3 is a hex color, not ã.

Looks to me like these two are the source of the problems.


yes and no, because the bibliography is wrong, but should have some
entries. It is only a warning not an error.

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


Re: JabRef insertion to LyX fails with accented character

2024-01-03 Thread Herbert Voss



Am 03.01.24 um 15:41 schrieb Rich Shepard:

Now I've learned how to insert accented characters using my keyboard I
corrected the lead author's name in JabRef from Antao to Antão. This 
morning
when I tried compiling the document with that citation it failed to 
find the

non-accented record in the .bib.

I deleted the ??.?? citation and tried to push the accented one to the
document. It keeps failing; the citation is still ??.??. I'm really
surprised that this happens.


Rich,

every problem is listed in the logfiles ...

.log
.blg

Herbert





Is this a LyX or JabRef issue?

TIA,

Rich


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


Re: Old font style names found in doc

2024-01-03 Thread Herbert Voss




Am 03.01.24 um 15:16 schrieb Rich Shepard:

On Wed, 3 Jan 2024, Herbert Voss wrote:


I suppose, that it is part of the bibstyle file *.bst




Then shouldn't this have been corrected in the most recent TeXLive2023?
There's only one citation (so far) in the doc and I've not had this 
issue in

other docs I've recently revised.


Rich,
this depends to the author of the bibliography style. Which one your
are using?

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


Re: Old font style names found in doc

2024-01-02 Thread Herbert Voss




Am 03.01.24 um 00:18 schrieb Rich Shepard:

Revising a 5-year old document (KOMA-Script report class) pdflatex
compilation fails because deprecated font styles (\sc, \bf) are found in
bibliography entries (see attached.)

Looking at the jabrefbib.bib file I do not find any \sc or \bf 
strings. In
LyX settings I find nothing pertinent in Fonts or Preamble. Where are 
these
font settings controlled? I need to replace them with the "new" font 
style

names (which I thought was done automagically with TeXLive2023.)


I suppose, that it is part of the bibstyle file *.bst

Herbert

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


Re: String including \rightarrow works unless with other text

2024-01-02 Thread Herbert Voss



Am 02.01.24 um 18:15 schrieb Rich Shepard:
I'm puzzled. In a document I display a series using \rightarrow to 
separate
the components. When I compile the document it displays as in the 
attached
mwe2.lyx file. When the string is by itself (mwe.lyx) it displays 
properly.


I suspect it's a matter of spacing but I haven't figured out where.


$\rightarrow$  It must be in mathmode. However, insert it with
the LyX mathmode and you can insert the arrow as symbol.

Herbert

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


Re: Adding accented character in JabRef

2024-01-02 Thread Herbert Voss



Am 02.01.24 um 11:20 schrieb Kees Zeelenberg:

Herbert Voss wrote:

However, you should be able to insert directly ã

Isn't this only possible with either a keyboard that has the symbol directly or 
a keyboard with dead keys?


sure ... but also

Win: Alt+0227
macOS: Alt+n a
Linux: AltGr+a


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


Re: Adding accented character in JabRef

2024-01-01 Thread Herbert Voss



Am 01.01.24 um 23:52 schrieb Rich Shepard:
An authors' name is Antao with the second 'a' accented with a tilde. 
I'm not

finding the proper syntax to produce that in the BibTeX source.

I tried {~}a and \{~}a and some other variants without success.


\~a   or \~{a}

However, you should be able to insert directly ã


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


Re: Using LaTeX \rightarrow symbol

2023-12-29 Thread Herbert Voss



Am 29.12.23 um 19:59 schrieb Rich Shepard:

In this document I have the string,
data {\rightarrow} information {\rightarrow} insight

When pdflatex tries to compile the document I see these errors:
there's a mis-matched expl3.sty (the one installed is dated 2023-12-11.)

A MWE is attached.

Please teach me how to fix this type of error.


Run the tlmgr to update yot TL2023 and then try again.
If the roblem is still there, then delete

/home/(user)/.texlive2023/texmf-var/

Herbert


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


Re: Compiling error in updated document

2023-12-29 Thread Herbert Voss



Am 29.12.23 um 18:08 schrieb Rich Shepard:
I've updated a document written originally in 2010. When I try to 
compile it
using pdflatex an error that \chead has already been defined (and 
there's no

\chead in the new document.)

Looking at the error log (attached) I see that the 13 years between 
versions

has seen many changes in KOMA-Script that are beyond my knowledge to
resolve.

There's no immediate need for correcting this revised doc; after the new
year is when I'll make use of it.


You are loading:

(/usr/local/texlive/2023/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
Package: fancyhdr 2022/11/09 v4.1 Extensive control of page headers and 
footers


[...]

) 
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.st


[...]

! LaTeX Error: Command \chead already defined.
   Or name \end... illegal, see p.192 of the manual.

---

That makes no sense! Both define \chead ...
Use only fancyhdr _or_ scrlayer-scrpage, but not both. I prefer 
scrlayer-scrpage


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


Re: How to reduce code lineheight in LaTeX Beamer

2023-12-11 Thread Herbert Voss



Am 11.12.23 um 15:11 schrieb Herbert Voss:



Am 10.12.23 um 23:09 schrieb Steve Litt:

Hi all,

I'm using Beamer straight with LaTeX (no LyX). There's too much space
between lines of code, so it makes the code hard to read and also
pushes other content down too far. The following is a frame from my
presentation:

\begin{frame} [fragile]
    \frametitle{How to Design BNF}
    \begin{semiverbatim}


semiverbatim causes an error if used with [fragile], it works without it.


    wholefile ::= chunk | wholefile chunk
    chunk ::= paratext multinewline
    multinewline ::= NL NL | multinewline NL
    \end{semiverbatim}
\end{frame}

How can I reduce the space between lines of this code?


I cannot see it ... and a  working minimal example makes sense here ...


Sorry, herre is the  correct screenshot

Herbert

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


Re: How to reduce code lineheight in LaTeX Beamer

2023-12-11 Thread Herbert Voss



Am 10.12.23 um 23:09 schrieb Steve Litt:

Hi all,

I'm using Beamer straight with LaTeX (no LyX). There's too much space
between lines of code, so it makes the code hard to read and also
pushes other content down too far. The following is a frame from my
presentation:

\begin{frame} [fragile]
\frametitle{How to Design BNF}
\begin{semiverbatim}


semiverbatim causes an error if used with [fragile], it works without it.


wholefile ::= chunk | wholefile chunk
chunk ::= paratext multinewline
multinewline ::= NL NL | multinewline NL
\end{semiverbatim}
\end{frame}

How can I reduce the space between lines of this code?


I cannot see it ... and a  working minimal example makes sense here ...

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


Re: Bibliography not shown in compiled PDF

2023-12-06 Thread Herbert Voss




Am 05.12.23 um 23:25 schrieb Rich Shepard:

On Tue, 5 Dec 2023, Rich Shepard wrote:


I just updated texlive2023; it showed utf8 as the encoding during the
process. Then I created a new KOMA-Script Report class called test.lyx
(attached). When I exported this file using LaTeX (pdflatex) it had 
latin

rather than utf8 as the input encoding.


Sigh. Again fingers were quicker than the brain.

Attachment here.



This one looks good. If I inserted citations from your
example bib everything is fine

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


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Herbert Voss



Am 05.12.23 um 21:16 schrieb Rich Shepard:

On Tue, 5 Dec 2023, Herbert Voss wrote:


as I already  wrote:
- enable the "Use non TeX fonts"
- add \usepackage{avant}  in the document->setting->preamble
- add also  \usepackage[scaled]{beramono}
   or \usepackage{courier}   which is _not_ a nice monofont.





Rich

Okay. But I want to understand how the wrong package got into the 
preamble

when it was never there before now.


That is the user preamble! It _must_ be inserted by you.




And how is the font setting preventing the bibliography from not being
included in the report and its ToC?


It was a wrong font encoding° LyX inserts

\usepackage[T1]{fontenc}
\usepackage[latin9]{luainputenc}

which is completly nonsense if using lualatex. You'll get
unknown commands and no bibliography.

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


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Herbert Voss



Am 05.12.23 um 20:05 schrieb Rich Shepard:

On Tue, 5 Dec 2023, Rich Shepard wrote:


Attached is the font settings I've used for years,


Forgot to attach it.



Rich,
as I already  wrote:

- enable the "Use non TeX fonts"
- add \usepackage{avant}  in the document->setting->preamble
- add also  \usepackage[scaled]{beramono}
   or \usepackage{courier}   which is _not_ a nice monofont.



Taht's all

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


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Herbert Voss




Am 05.12.23 um 18:59 schrieb Rich Shepard:


I don't understand. Attached is the font settings I've used for years,
including all recent docs in KOMA-Script Book and Report classes with
bibliographies, TeXLive2023, and LyX-2.3.6.1.

When I invoke "no TeX fonts" I cannot set the body type using 
Palatino, my

default since 1997.


Rich,
that should be ok, but LyX used

\usepackage[latin9]{luainputenc}

which is for years deprecated. You can still use palatino with
\usepackage{mathpazo}
in the documents preamble and leave all entries in the fonts
settings for standard with enabled "no TeX fonts"

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


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Herbert Voss




Am 05.12.23 um 17:12 schrieb Rich Shepard:

On Tue, 5 Dec 2023, Rich Shepard wrote:


Stay tuned ...




Attached are mwe.lyx and mwebib.bib (both with 2 references.) The mwe.lyx
compiles without error but there's no bibliography.



Rich,
you have the font setting for pdflatex. You should enable the button
"no TeX fonts" on top of document->setting->fonts. Otherwise you'll
get the latin9 encoding with luainputenc, which is rubbish ...

For the fonts use a serif font, eg Libertinus Serif, SF Libertinus Sans
and monofont Anonmyous Pro with a 90% scaling

With this modifications it runs successfully for me.

Herbert


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


Re: Adding standard enviroment text in a list

2023-10-19 Thread Herbert Voss



Am 19.10.23 um 20:39 schrieb Rich Shepard:

On Thu, 19 Oct 2023, Herbert Voss wrote:


Load the module enumitem (docuemnt->settings->modules).
- Then start a enumerate paragraph and insert Text
- Choose default paragraph style which ends the enumeration.
   Insert your text which appears outside the enmeration.
- Choose again the enumerate paragraph style and click with _right_
  mouse button and insert for enumeration option s "resume"
  Insert now the text for the enumeration text.


Herbert,

Steps 1 and 2 work, but when I right-click on the next enumerated item
there's no option entry offered. I cannot grab a screen shot because 
moving

off the LyX window to take a shot closes the right-click dialog box.


Maybe a problem with LyX 2.3, because I habe 2.4. beta

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


Re: Adding standard enviroment text in a list

2023-10-19 Thread Herbert Voss




Am 19.10.23 um 20:29 schrieb Rich Shepard:

On Thu, 19 Oct 2023, Rich Shepard wrote:


Looks like a really kool solution. Would this work in LyX, too?


I added the new environment to the prefix (at the end), reconfigured LyX,
and restarted it. There's no Normanlize in the environment list.


Rich,
you do not need the special environment. Simply using the option
"resume" is enough. Then the counter doesn't restart. Try it as
I wrote in my mail.

Herbert

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


Re: Integral sign

2023-10-19 Thread Herbert Voss




Am 19.10.23 um 18:58 schrieb Folsk Pratima:

On Tue, 17 Oct 2023 09:29:41 +0200
Herbert Voss  wrote:


If you want this style also for the inline mode then write as first
math command \displaymath

Are you sure it's '\displaymath'? The thing does not work for me out of
the box. Maybe you meant '\displaystyle'?


Ah yes, youre right!

Herbert


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


Re: Adding standard enviroment text in a list

2023-10-19 Thread Herbert Voss



Am 19.10.23 um 19:30 schrieb Rich Shepard:

I have a long list of criteria (and sub-criteria) that I have in an
enumerate environment so all criteria align properly.

Each criterion needs a statement of compliance which would be in the
standard environment. When I tried to do this the enumerated list 
below was

renumbered starting with '1'.

I found a solution (adding a 'normalize' environment) using LaTeX 
external

to LyX:
<https://tex.stackexchange.com/questions/400112/enumerated-list-followed-by-normal-text>. 



Looks like a really kool solution. Would this work in LyX, too?


Load the module enumitem (docuemnt->settings->modules).
- Then start a enumerate paragraph and insert Text
- Choose default paragraph style which ends the enumeration.
   Insert your text which appears outside the enmeration.
- Choose again the enumerate paragraph style and click with _right_
  mouse button and insert for enumeration option s "resume"
  Insert now the text for the enumeration text.

Inside Lyx you still see
1. lklklkllk
dsgfjhsdgljhagsdlfg
1. ölkököllö
2. jkhkjhkjh


but the LaTeX output shows:

1. lklklkllk
dsgfjhsdgljhagsdlfg
2. ölkököllö
3. jkhkjhkjh


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


Re: Integral sign

2023-10-17 Thread Herbert Voss




Am 17.10.23 um 08:21 schrieb Arshad Ali:

The integral sign written in Lyx is not looking good
image.png


That are the default symbols for the _inline_ mode (math in the text line)




as compared to other Latex packages

image.png


and that are the symbols for the _displaymode_ (math as own paragraph),
which has nothing to do with packages.

If you want this style also for the inline mode then write as first math
command \displaymath

Herbert

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


Re: tex2LyX error

2023-09-29 Thread Herbert Voss



Am 29.09.23 um 19:31 schrieb Hal Kierstead via lyx-users:

This took me a while because of working with two apps.

Here are a Latex file


. The Lyx file is too short. Also it does not compile because of an 
extra brace related to the equation.



The \parbox and the \label are the problem. However, a \parbox inside the
eqaution is a bit curious. You should use \text from amsmath or at least
\textit:

 \begin{equation}\label{k5y}
   k=5 \text{ and there is some } y\in N(v_1)\cap N(v_4)
   \text{ with } N_{G-C}(y)=\{z\} \text{ and } d_{G-C}(z)\ge 3.
 \end{equation}

The \label will still be the problem for tex2lyx, because it merges the
equation number (1) with the label to (1k5y).  This looks like a bug
in tex2lyx.

Herbert



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


Re: updating TexLive2023: failed

2023-09-24 Thread Herbert Voss



Am 24.09.23 um 21:30 schrieb Rich Shepard:

On Sun, 24 Sep 2023, Herbert Voss wrote:


run it in a terminal:


Herbert,

That's what I did earlier this morning.


tlmgr --self --all update


All up to date; nothing done.


fmtutil-sys --all
Is the error still again there?


Yes, it is:

No pages of output.
Transcript written on dviluatex.log.
fmtutil [INFO]: log file copied to: 
/usr/local/texlive/2023/texmf-var/web2c/luatex/dviluatex.log
fmtutil [INFO]: 
/usr/local/texlive/2023/texmf-var/web2c/luatex/dviluatex.fmt installed.
fmtutil [ERROR]: running `tex -ini   -jobname=lollipop 
-progname=lollipop lollipop.ini 
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini   -jobname=amstex 
-progname=amstex -translate-file=cp227.tcx *amstex.ini return status: 1


Does this file exists?

/usr/local/texlive/2023/texmf-dist/web2c/cp227.tcx

and try

sudo pdftex -ini   -jobname=eplain -progname=eplain 
-translate-file=cp227.tcx *eplain.ini


should give more error messages



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


Re: updating TexLive2023: failed

2023-09-24 Thread Herbert Voss



Am 24.09.23 um 15:47 schrieb Rich Shepard:

Last July I set up a weekly cron job to update TexLive2023. It's worked
flawlessly until this morning when the attached mltex.log showed up in my
INBOX.

The mltex.log looks good, but what was not included in the log file 
but was

in the email message root sent me was the following:

fmtutil [INFO]: log file copied to: 
/usr/local/texlive/2023/texmf-var/web2c/pdftex/mltex.log
fmtutil [INFO]: 
/usr/local/texlive/2023/texmf-var/web2c/pdftex/mltex.fmt installed.
fmtutil [ERROR]: running `pdftex -ini   -jobname=amstex 
-progname=amstex -translate-file=cp227.tcx *amstex.ini return status: 1

fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `tex -ini   -jobname=lollipop 
-progname=lollipop lollipop.ini 
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini   -jobname=eplain 
-progname=eplain -translate-file=cp227.tcx *eplain.ini return status: 1

fmtutil [ERROR]: returning error due to option --strict
fmtutil [INFO]: disabled formats: 3
fmtutil [INFO]: successfully rebuilt formats: 49
fmtutil [INFO]: failed to build: 3 (pdftex/amstex tex/lollipop 
pdftex/eplain)

fmtutil [INFO]: total formats: 55
fmtutil [INFO]: exiting with status 3



run it in a terminal:


tlmgr --self --all update
fmtutil-sys --all


Is the error still again there?

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


Re: Need help finding error

2023-09-22 Thread Herbert Voss



Am 21.09.23 um 19:01 schrieb Rich Shepard:
I've not successfully built a MWE; each time I remove text either 
above or

below the highlighted error the document compiles successfully. The
unmodified doc doesn't.

Attached is an image of the highlighted line and following text along 
with
the error reporting box, and the complete error log file. I do not see 
the

error there.

I need help identifying the source of this error. FWIW, the doc built
successfully before I added more text below where the error is shown.


Instead of \S try to insert directly (not in ERT) the § symbol

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


Re: Need help finding error

2023-09-22 Thread Herbert Voss




Am 21.09.23 um 23:02 schrieb Rich Shepard:


On Thu, 21 Sep 2023, Rich Shepard wrote:


I need help identifying the source of this error. FWIW, the doc built
successfully before I added more text below where the error is shown.


I've learned that the error is in biber's processing of the bibliography.
The biber error log is in the attached image and I have no idea how to 
use

it to find why mwe.bcf is malformed.



Rich,
that is the deafult behaviour if you have a problem in a LaTeX run
and the created helper files for biber are corrupt. Simply ignore it,
and run the _document_ again. If it doesn't help then delete the
file mwe.bcf, which is a BiberConfigFile.

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


Re: Adding horizonal lines for user entry

2023-09-16 Thread Herbert Voss




Am 16.09.23 um 00:27 schrieb Rich Shepard:

On Fri, 15 Sep 2023, Herbert Voss wrote:

insert a box (minipage) of a width like 50% of the textwidth, which 
can be

set in the box menue. And then use \hrulefill


That worked perfectly. By trial-and-error I learned how to set the 
width and

height. Setting the height to 5mm provides room for hand written input. I
adjusted the textwidth % to make the lines even (but I now see the 
last one

is 1 or 2mm too long; I'll fix that.)


Rich,
without an example it is difficult to say, why the last line
is not justified.

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


Re: Unavailable: Chinese Article (CTeX)

2023-09-14 Thread Herbert Voss




Am 14.09.23 um 10:56 schrieb Xiaoguang Fan:


Hell, gay,

I use Lyx in syllabus writing. Here is the reminder, but I need help 
finding the package online. Many thanks for your help.


The selected document class

Chinese Article (CTeX)

requires external files that are not available.

The document class can still be used, but the

document cannot be compiled until the following

prerequisites are installed:

ctexart.cls

savesym.sty

xeCJK.sty



All files are part of a standard TeX distribution and can be installed
"on the fly" by MiKTeX or with the package manager of TeXLive


Herbert


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


Re: Subtitle not displayed on report title page

2023-09-11 Thread Herbert Voss




Am 11.09.23 um 19:05 schrieb Rich Shepard:

This is a new issue for me: no subtitle displayed.

I don't see anything in the settings and there's no error when compiling
with pdflatex.

Minimal Wrong Example (MWE) attached.



Rich,

your command \today is set with paragraph layout subtilte, so it
overwrites the first subtitle definition. Use paragraph layout date
for \today. Or as an alternative: use command-enter instead of only
enter after the first subtitle line. Then it will appear in _one_
\subtitle command.

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


Re: Strange hyphenation with English (UK)

2023-09-10 Thread Herbert Voss



Am 10.09.23 um 06:53 schrieb Daniel:

On 2023-09-09 23:02, Richard Kimberly Heck wrote:

On 9/9/23 14:41, Daniel wrote:

Hi!

I noticed that setting "English (UK)" as language under Document 
Settings, leads to some strange hyphenation. For example, 
"import-ant" and "theor-ethical". Is that a common issue with that 
language dictionary or do I have a faulty setup?


The latter, assuming you mean "theor-etical", looks acceptable to me, 
if not ideal. The former is apparently wrong, according to what I 
looked up online, though it actually sounds right to me. Or, perhaps 
better, morphologically, it feels right.


I find I do sometimes have to override LaTeX's own choices in final 
preparation of documents.


Riki


I see, I wasn't aware that hyphenation is a style choice in English. 
(In German there are fixed rules.)


No, there is no difference in handling the hyphenation rules.




How do I override LaTeX's choices? I tried

\hyphenation{im-por-tant the-o-re-ti-cal}

But that seemed not to have helped.



It looks like you are using polyglossia.

For document->settings->language  choose babel and then write into
the preamble

\AtBeginDocument{\hyphenation{im-por-tant the-o-re-ti-cal}}

Herbert

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


Re: References -- TeX capacity exceeded

2023-09-05 Thread Herbert Voss



Am 05.09.23 um 17:44 schrieb Eckhard Höffner:


Thanks.

It appears that you cannot use anymore \label within \sections, but 
also within \caption{} oft figures or tables.


While \section{heading \label{label} } causes an immediate error, 
\caption produces:  Argument of \caption@@@withoptargs has an extra }




As I already wrote, This bug was fixed ...
Update your LaTeX system.

Herbert






Am 05.09.23 um 15:55 schrieb Herbert Voss:



Am 05.09.23 um 14:18 schrieb Eckhard Höffner:


In my opinion, it's the references, because if I delete all 
references, the error doesn't appear. The log file is over 100 kb so 
I won't send it here. But there is no error message in there, except 
for the one about the TeX capacity.


\label #1->\@bsphack
  \begingroup \UseHookWithArguments 
{label}{1}{#1}\protect...

l.14 \subsection{Welfare\label{subsec:chapter1}}



Try it this way (LAbel outside the section command):

\subsection{Welfare} \label{subsec:chapter1}

There was a bug some time ago, which was fixed in the meantime.


Herbert

--
Eckhard Höffner
Volkarstr. 64
D-80636 München
Tel.: 089 210 31 888



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


Re: References -- TeX capacity exceeded

2023-09-05 Thread Herbert Voss



Am 05.09.23 um 14:18 schrieb Eckhard Höffner:


In my opinion, it's the references, because if I delete all 
references, the error doesn't appear. The log file is over 100 kb so I 
won't send it here. But there is no error message in there, except for 
the one about the TeX capacity.


\label #1->\@bsphack
  \begingroup \UseHookWithArguments 
{label}{1}{#1}\protect...

l.14 \subsection{Welfare\label{subsec:chapter1}}



Try it this way (LAbel outside the section command):

\subsection{Welfare} \label{subsec:chapter1}

There was a bug some time ago, which was fixed in the meantime.


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


Re: Garamond police does not support italics

2023-08-31 Thread Herbert Voss




Am 30.08.23 um 15:42 schrieb emile:

I want to use the Garamond police with LyX 2.3.7.
Normal and bold text work apparently fine, but when Italic text is 
used, there is no output Pdf document.



Give an example file!

Herbert



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


Re: How locate LyX errors

2023-08-14 Thread Herbert Voss



Am 14.08.23 um 16:07 schrieb Edwin Burmeister:


I am using LyX 2.3.7 on a Mac (silicon chip) running OS Ventura 13.5.


From LaTeX Errors window:


“Selecting an error ... the cursor will jump to the location in the 
document where the error occurred.”



This does not happen for me. How can I get it to work?


I then tried to locate my errors via line number. But putting


\usepackage[left,modulo]{lineno}

\linenumbers


in the LaTeX Preamble did not work.



No problem on my macOS. Export the document to LaTeX and run it.
Then you should see an error message.

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


Re: Compile with pstrick

2023-08-14 Thread Herbert Voss




Am 14.08.23 um 13:45 schrieb Patrick Dupre:

Is there a way to compile this document?



do not load luainputenc, it is outdated ...

I have no problem with running the document with lualatex

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


Re: Newcommand -- make symbol independent of font size

2023-07-30 Thread Herbert Voss




Am 30.07.23 um 11:15 schrieb Bernt Lie:

Thanks. OK -- then I have to switch to luatex... (I use MikTeX -- does that 
distribution contain luatex?)


sure


Anyways, I'll defer it to when LyX 2.4 is released. At that stage, I also need 
to make sure that I can have Unicode fonts in computer listing.


Package fancyvrb and environment Verbatim can handle all unicode
characters. However, that does not mean that the used typewriter font
also has all glyphs in the font.

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


Re: Newcommand -- make symbol independent of font size

2023-07-30 Thread Herbert Voss



Am 30.07.23 um 10:35 schrieb Bernt Lie via lyx-users:


I'm trying to define the "plimsoll" symbol (used to indicate 
thermodynamic standard condition). I found on the internet the 
following suggestion:


\newcommand\plimsoll{{\circ\kern-0.495em-}}

Seems like a good number ("0.495" -- I've also tried with "0.415") 
depends on the font size... Here is what it looks like in a Section 
heading (ok with “0.415”):




use lualatex and unicode-math. Write into the preamble

\usepackage{unicode-math}
\setmainfont{XITS-Regular.otf}
\setmathfont{XITSMath-Regular.otf}

\newcommand\plimsoll{\ensuremath{\scriptscriptstyle\circlehbar}}



then the following will work:


H${}^{\plimsoll}$ $G^{\plimsoll}$

\Huge
H${}^{\plimsoll}$ $G^{\plimsoll}$


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


Re: Adding exteranally-created index

2023-07-24 Thread Herbert Voss




Am 24.07.23 um 14:47 schrieb Rich Shepard:

On Mon, 24 Jul 2023, Herbert Voss wrote:


Rich you can use a tabular in the title but LyX doesn't take the
surrounding fontsize into account. Only a problem for the LyX view.






I did not use a table, but the multicol packae to create two columns.


Rich,
I meant a tabular for the chapter title eith a subtitle in smaller fontsize

HErbert




I'll remove that effort and go through each main and sub heading 
inserting

the index command for each one. For concepts that are not specific words,
I'll find a word on that page to mark, then change the text to the 
concept

rather than the word.

I suppose there are too few books created using LyX to justify 
development
time for incorporating an externally-created index as a professional 
indexer

would do. These professionals use any one of three proprietary indexing
tools that are very expensive but provide publishers with an index to 
add to

non-fiction books.

Thanks,

Rich


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


Re: Adding exteranally-created index

2023-07-23 Thread Herbert Voss



Am 22.07.23 um 17:18 schrieb Rich Shepard:

On Fri, 21 Jul 2023, Rich Shepard wrote:


I've created an index externally and it has abbreviations and terms not
necessarily in the text body but could be what a reader seeks to 
find. Is
there a way for me to add the index? Perhaps by manually adding a 
2-column

unnumbered chapter after the bibliography?


I made an unnumbered chapter (Index) after the bibliography and use two
small spaces (Ctrl-spacebar) to inset subheadings. But, continuation 
lines
are not inset and I would like your advice on how to make a 
cleaner-looking

index.


Rich you can use a tabular in the title but LyX doesn't take
the surrounding fontsize into account. Only a problem for
the LyX view.


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


Re: Have LyX load fontspec automatically with no-math option

2023-07-23 Thread Herbert Voss



Am 23.07.23 um 22:27 schrieb Michael Dean Pugh:

Hello!

Is there a way to get LyX to load fontspec with the no-math option 
from within LyX.  I know that it loads fontspec automatically when I 
check the Use non-TeX fonts box in Document Settings -> Fonts and that 
is what I want.  But I want to handle math entirely separately.  I 
have found a workaround by putting the commands in the preamble, but 
that causes other problems because load order is important.



use it as document class option: no-math

All options for the documentclass are also passed to _all_ loaded
packages.

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


Re: Double brackets

2023-07-22 Thread Herbert Voss



Am 22.07.23 um 17:24 schrieb Dan:
I am trying to write a Lie bracket [[a, b ]].  The commands \llbracket 
and \rrbracket work just fine in the LyX math formula, but doesn't 
render in LuaTex.  I could conceivably use a negative space and join 
the symbols | and [ (with some fussing) but I can't get LyX to 
recognize \! as a negative spacer.  (That's another question, really.  
I don't need that answered here if there is a simpler way to do this.)


The names for uniicode-math ate \lBrack and \rBrack.

Write into the preamble

\let\llbracket\lBrack


\let\rrbracket\rBrack


if you want to use the old names. However, LyX do not know the

new names and do not render it.


Herbert

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


Re: Graphics font problem

2023-07-20 Thread Herbert Voss



Am 20.07.23 um 23:44 schrieb Edwin Burmeister:



Figure 1: Relationship between utility-space and gains-space


Note from the above that I have figured out how to increase the font 
size for the caption, which entails first switching to math mode.



But I cannot figure out how to increase the font size for “Figure 1” 
(etc for Figure 2, ...) so that it matches the larger font size in the 
caption.





write into the documents preamble (Document->preferences->preamble)


\usepackage{caption}

\captionsetup{labelfont=huge,textfont=huge}



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


Re: UTF-8 and the Tufte Book document class

2023-07-19 Thread Herbert Voss




Am 19.07.23 um 10:42 schrieb Tobias Hilbricht:

Am Dienstag, dem 18.07.2023 um 19:53 -0400 schrieb Steve Litt:

R H van der Gaag said on Tue, 18 Jul 2023 14:50:47 +0200


Hi all,
I am writing a book using the Tufte Book document class, with the
Tufte font included through ``\usepackage{ETbb}`` in the preamble.
This works fine. But the encoding is T1,

Bad idea. https://graphcom.com/type-1-fonts-discontinued-in-2023


I wonder whether using Tufte Book class is a good idea. It does not
compile here with TeXLive 2023 due to a bug which is known for quite
some time, but there is no visible maintenance (last revision of the



The example files sample-book and sample-handout compile fine with TL23

Herbert




class 2015).  By contrast, revisions of the standard book class and
memoir.cls in TeXLive 2023 are end of 2022 and scrbook.cls is 2023.

Tobias


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


Re: KOMA-Script scrbook: chapter titles right-aligned, between lines, chapter number on top in words

2023-07-14 Thread Herbert Voss



Am 14.07.23 um 01:40 schrieb Rich Shepard:
I'm trying to change the KOMA-Script book chapter headings so the 
heading is
right-aligned, between two horizontal rules, and the chapter title is 
above

the top rule as in the memoir class demo chapter head (attached.)

I had found code on the KOMA-Script wiki to place chapter headings 
between

two lines and right-align it, but lost the code for the latter. A minimal
working example file is attached. The chapter headings are between two
rules, but still left-aligned. The last two lines of the preamble show 
what I

tried from StackExchange threads; neither works for me and I've not found
code that puts the header number in lower-case words centered above 
the top

rule.

Pointers to solutions needed.



Write into the documents preamble:

\usepackage{fmtcount}
\setkomafont{chapter}{\huge}

\renewcommand\chapterlinesformat[3]{%
    \ifx\relax#2\relax\else\makebox[\linewidth]{%
\numberstringnum{\thechapter}}\\\smallskip\fi\rule{\linewidth}{1pt}\par
    \ifx\relax#2\relax\smallskip\else\bigskip\fi
    \parbox{\linewidth}{\raggedchapter\raggedleft#3}%
    \par\medskip\rule{\linewidth}{1pt}%
}%

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


Re: Bibliographic citations citation style formatting

2023-07-13 Thread Herbert Voss



Rich Shepard schrieb:
> On Thu, 13 Jul 2023, Herbert Voss wrote:
>
>> LyX itself uses the et.al. only for more than _three_ authors, which
>> looks
>> like a bug to me. It should recognize for biblatex the setting of the
>> above option field.
>
> HHerbert,
>
> I agree. (And all options in the Citation Style section does the trick.)
>
> Seeing, in the LyX document itself, both et al. and all three author names
> troubled me. Yesterday I read part of TLC3/II chapter 15 on bibliographic
> styles and could not identify which of the many options I needed; hadn't
> made it to chapte 16 on citation styles.

Rich,
That is only a LyX problem;  the output (pdf) should be ok!

Herbert


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




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


Re: Bibliographic citations citation style formatting

2023-07-12 Thread Herbert Voss




Am 13.07.23 um 07:01 schrieb Herbert Voss:



and then insert into documents->preferences->bibliography the options

maxcitenames=1,maxbibnames=99,uniquename=false,uniquelist=false

However, inside LyX it doesn't look right for the citation, but the 
pdf is ok.



LyX itself uses the et.al. only for more than _three_ authors, which 
looks like
a bug to me. It should recognize for biblatex the setting of the above 
option field.


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


Re: Citations discrepancy

2023-07-12 Thread Herbert Voss




Am 12.07.23 um 15:29 schrieb Rich Shepard:

On Wed, 12 Jul 2023, Herbert Voss wrote:


Use instead
maxbibnames=99, maxcitenames=1



Okay. What do I read to learn more about bibliography options? Does 
one of
the LyX manuals have this information? Or, perhaps, The LaTeX 
Companion, 3rd

Edition?


Rich,
run in a terminal

texdoc biblatex

pages 49ff

And yes, the LC3 has also a large chapter about biblatex (II-472f, II-547f).

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


Re: Citations discrepancy

2023-07-12 Thread Herbert Voss



Rich Shepard schrieb:
> On Wed, 12 Jul 2023, Herbert Voss wrote:
>
>> insert into document->preferences->bib->option
>> maxnames=1
>>
>> then you'll always get et.al. for citations and the bibliography if
>> there
>> are more than one author.
>
> Herbert,
>
> Thank you. Is there an option that limits citations to one name but has
> all
> authors named in the bibliography?

Use instead

maxbibnames=99, maxcitenames=1

Herbert



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




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


Re: Citations discrepancy

2023-07-11 Thread Herbert Voss




Am 11.07.23 um 20:07 schrieb Rich Shepard:

I have multi-author publications cited in my book. Some have all authors'
names in the in-text citation while others have the first author's 
last name

followed by 'et al.' Before, the latter is the only one I've seen. When I
look at the settings for the all-name citations I don't see an option to
change that to 'et al.' How can I fix this?



Rich,
insert into document->preferences->bib->option
maxnames=1

then you'll always get et.al. for citations and the bibliography if there
are more than one author.

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


Re: Figure numbering and cross references

2023-06-29 Thread Herbert Voss



Am 30.06.23 um 05:09 schrieb Dan:
Both the LaTeX and pdf files are attached.  (Ignore the text: it needs 
a lot of work!)


This is a simple problem, I'm sure, but I just can't get it to render 
right.


I have an article I'm adding an image to as a float and I have 
attached a label to it.


The first problem is that it comes up as Figure 0.1.  I'll eventually 
be putting this into a section, so how can I put this as Figure 1.1?  
How can I get this to put the section number correctly?


Then I add a sentence (see the very end of the text) "(See Figure .)"  
I add in a cross-reference to the label "Figure 1."  Okay, but the 
figure number does not come in, and I wanted to enumerate this, in 
case I wanted to add another figure in front of this one.  How do I do 
the enumeration?


Don't use the modul for sectionwise image count:
Documents->Preferences->Modules

or define a section.

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


Re: How do I increase TL2023 TeX capacity?

2023-06-28 Thread Herbert Voss



Am 28.06.23 um 14:12 schrieb Rich Shepard:

On Wed, 28 Jun 2023, Herbert Voss wrote:


[11] [12]
chapter without number
[1]
! TeX capacity exceeded, sorry [input stack size=1].
\protect ->\noexpand \protect
  \noexpand
l.204 Data}



that looks like a recursion. In line 204 you are reading a file with
Data in its name. Right? Show that part of the source code.


Herbert,

I saw that in the log file and had no idea what it meant. The Preface 
is a
chapter without number, and I'm adding an Acknowledgement page before 
that

which will also be a chapter without number.

Here's the context for line 204 in the .tex file:

To appreciate why the statistical framework used for environmental
data is critical for decision-makers it is necessary to understand
the details of each one.

\section{\label{sec:Analyzing-Environmental-Data}Analyzing Environmental
Data}



Rich,
that looks ok.
You can try to increase the stack.for example

stack_size = 2  % simultaneous input sources


Put this into a file /usr/local/texlive/2023/texmf.cnf

Create it, if not present. The main system configuration file is in 
.../texmf-dist/web2c/

but should not be touched.

Then run

fmtutil-sys --all

(maybe as root)

Herbert





There are three statistical model frameworks applied to data sets.
They are not equivalent and each is most appropriate to answer questions
about different types of data. 

I want to learn more about incorporating LaTeX in my LyX documents. 
For this
book I want to modify the chapter headings and found code that does 
most of
that (chapter name left-aligned between two horizontal rules) and I 
want the
chapter number in words (all lower case) centered above that. This 
will wait

until I learn how to fix the capacity issue and prepare the index.

Regards,

Rich


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


Re: How do I increase TL2023 TeX capacity?

2023-06-27 Thread Herbert Voss



Am 28.06.23 um 01:04 schrieb Rich Shepard:
This is another new one for me: TeX capacity exceeded when I tried 
compiling

my book. The full error log is attached.



[11] [12]
chapter without number
[1]
! TeX capacity exceeded, sorry [input stack size=1].
\protect ->\noexpand \protect
  \noexpand
l.204 Data}


that looks like a recursion. In line 204 you are reading a file with
Data in its name. Right? Show that part of the source code.

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


Re: expl3.sty error

2023-06-27 Thread Herbert Voss



Am 27.06.23 um 16:46 schrieb Rich Shepard:

Good morning, all:

Compiling a document with pdflatex throws this error:
LaTeX Error: Mispatched LaTeX support files detected.
\ExplLoaderFileDate{expl3.sty}

Looking for expl3.sty I find:
/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty
/usr/local/texlive/2023/texmf-dist/tex/latex/l3kernel/expl3.sty
/usr/local/texlive/2023/texmf-dist/tex/platex/base/plexpl3.sty


Rich,
there must be files in another directory. What is the output of

kpsewhich -a expl3.sty

If there is only one file, then show the log file of your latex run.

Herbert




Checking the dates on each shows:
Dec 31  2020 
/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty
Jun 17 12:59 
/usr/local/texlive/2023/texmf-dist/tex/latex/l3kernel/expl3.sty
Sep 30  2020 
/usr/local/texlive/2023/texmf-dist/tex/platex/base/plexpl3.sty


Three different file names and three different installation dates. I 
don't

see the error so how do I fix it?

TIA,

Rich



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


Re: line numbering in pdf

2023-06-23 Thread Herbert Voss




Am 23.06.23 um 10:29 schrieb Wolfgang Engelmann:
I would like to export a pdf file from lyx in which the lines are 
numbered for each page. Under User guide B12 is a description, which 
I, however, do not understand enough.


I wouldn't mind, as an alternative, to do the line numbering in the 
pdf file directly (which pdf reader? Okular? I use Debian.).


The reason is, that I would like to send the document to a coauthor 
for question, for which I should tell him where to look at.


Write

\usepackage{lineno}
\linenumbers

into the documents preamble.

I didn't search for a switch inside the LyX menues ...
Maybe that there is one.

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


Re: pdflatex build error: Mismatched LaTeX support files detected

2023-06-19 Thread Herbert Voss



Am 19.06.23 um 22:16 schrieb Rich Shepard:

### 


fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
  /usr/share/texmf-var/web2c
for details.
### 






Rich,

that looks like a mismatch between TeXLive from TUG 
(/usr/local/texlive/)

and from your  linux distribution (/usr/share/tex...)

what is the output of
which -a fmtutil-sys





This is a summary of all `failed' messages and warnings:
`pdfetex -ini  -jobname=amstex -progname=amstex 
-translate-file=cp227.tcx *amstex.ini' failed
`pdfetex -ini  -jobname=bamstex -progname=bamstex 
-translate-file=cp227.tcx bamstex.ini' failed


What do I read to learn how to properly build amstex and bamstex?


Running fmtutil-sys is in general done by the update manager of TeXLive and
only in specific cases by the user.

Herbert







In this case you get local format or system format files.


Different errors when run by user and root.

Thanks,

Rich


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


Re: pdflatex build error: Mismatched LaTeX support files detected

2023-06-19 Thread Herbert Voss



Am 19.06.23 um 19:52 schrieb Rich Shepard:

The problem seems to be a biblatex/utf8 issue. The whole error log is
attached and the error starts at line 500.

Please teach me how to fix this and avoid future occurrences.



it is a problem with your different latex (expl3) files, they don't match
with its versions. Run an update

(sudo)  tlmgr --self --all update

and run the document again.

However, if you have _local_ versions of latex3 files, then it maybe more
diffucult to fix it.

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


Re: texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Herbert Voss

Wolfgang Engelmann schrieb:
>
>
> Am 19.06.23 um 15:29 schrieb Herbert Voss:
>>
>>
>> Am 19.06.23 um 15:11 schrieb Wolfgang Engelmann:
>>>> do you have a file texlive.sh in /etc/profile.d/. ?
>>>> If yes, what's its contents.
>>>
>>> export PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH
>>> export MANPATH=/usr/local/texlive/2022/texmf/doc/man:$MANPATH
>>> export INFOPATH=/usr/local/texlive/2022/texmf/doc/info:$INFOPATH
>>> unset TEXINPUTS
>>> unset TEXMFCONFIG
>>
>> as root change it to 2023
>>
>>
>>>
>>>>
>>>> If no, what is the output of
>>>>
>>>> which -a tex
>>>
>>> /usr/local/texlive/2022/bin/x86_64-linux/tex
>>> /usr/local/texlive/2022/bin/x86_64-linux/tex
>>> /usr/bin/tex
>>
>> it looks like an old instance from Debian's own texlive. Delete all
>> files
>> depending to tex in /usr/bin/, e.g. tex, latex, luatex, ...
>
> There A LOT of files in /usr/bin ..
> I have sudo rm the tex latex lua
> but what else should I remove?

With a correct path setting it shouldn‘t matter. Leave it as it is.


> So far after a restart
> which -a tex
> still gives 2022 >
> /usr/local/texlive/2022/bin/x86_64-linux/tex
>  >> /usr/local/texlive/2022/bin/x86_64-linux/tex

Search for 2022 in your .bashes, .profile, …
There must be entries with 2022. and of course,
control /etc/profile.d again

Herbert

>> After a restart try
>>
>> which -a latex
>>
>> Is it now 2023?
>>
>> Herbert
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>




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


Re: texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Herbert Voss




Am 19.06.23 um 15:11 schrieb Wolfgang Engelmann:

do you have a file texlive.sh in /etc/profile.d/. ?
If yes, what's its contents.


export PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH
export MANPATH=/usr/local/texlive/2022/texmf/doc/man:$MANPATH
export INFOPATH=/usr/local/texlive/2022/texmf/doc/info:$INFOPATH
unset TEXINPUTS
unset TEXMFCONFIG


as root change it to 2023






If no, what is the output of

which -a tex


/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/local/texlive/2022/bin/x86_64-linux/tex
/usr/bin/tex


it looks like an old instance from Debian's own texlive. Delete all files
depending to tex in /usr/bin/, e.g. tex, latex, luatex, ...

After a restart try

which -a latex

Is it now 2023?

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


Re: texlive 2023 > WHAT DO I HAVE TO DO TO GET 2023 WORKING??

2023-06-19 Thread Herbert Voss



Am 19.06.23 um 11:14 schrieb Wolfgang Engelmann:

I checked with synaptic in my Debian 5.10179-1 (2023-05-12)
> 2020_20210202-3

and with
latex -v
> Tex Live 2022

and in /usr/local
is  /texlive/2022 and /texlive/2023

I have done in my ./profile according to (1-) the (2-)



do you have a file texlive.sh in /etc/profile.d/. ?
If yes, what's its contents.

If no, what is the output of

which -a tex

Herbert

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


Re: Need KOMA-Script scrbook help

2023-06-16 Thread Herbert Voss



Am 16.06.23 um 21:20 schrieb Rich Shepard:

Environment: lyx-2.3.6.1, TL2023.

I've been using KOMA-Script report, article, and letter2 classes for 
years

and all work flawlessly.

After examining available LaTeX frameworks for a book I'm converting 
from a

monograph I've settled on the KOMA-Script book class; and I've read the
scrguideen.pdf Part I. But, it's not working as expected. If there's a 
more

appropriate source for KOMA-Script help please point me to it.

The minimal (non)working example .lyx and .tex files are attached.

Problem 1: \mainmatter is enclosed in \begin{quote} and \end{quote}. I 
don't

see why. \frontmatter isn't and \backmatter in the book itself aren't so
constrained.



Rich,

your first \addcontensline in ERT is superflous, The preface is in the 
TOC by default
as long as it is a numbered chapter.  Your mainmatter is inside  the 
paragraph layout for

quotation. Use standard and everything will be fine.



Problem 2: When I try to compile the mwe.lyx using pdflatex it fails 
with an
error involving 'data' which is not present. The book from which the 
mwe was

extracted has no problems producing a PDF using pdflatex.



I have no problem with your example. LyX 2.4.0 Beta2 which should be no
difference to 2.3.6.1

Herbert

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


Re: open old LyX format fails

2023-06-15 Thread Herbert Voss



Am 15.06.23 um 14:40 schrieb Scott Kostyshak:



with lyx2lyx my.lyx
I get a converted LyX file with LyxFormat 613. But reading this file with
LyX 2.4 it stops the input at

\begin_inset CommandInset ref
nolink "false"
LatexCommand ref
reference "abb1-1"
\end_inset

If you manually remove that chunk in a text editor, does LyX 2.4 then open it?



At the first try to open that file I get always the error message 
"incompatible command".
The second try (_without_ restarting lyx)   has the same problem with 
the _next_

 "CommandInset ref"  whereas the "CommandInset label" are ok.

Herbert

b.t.w:
iMac:texmf-local voss$ `which python` --version
Python 3.11.3
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: open old LyX format fails

2023-06-15 Thread Herbert Voss




Am 15.06.23 um 12:19 schrieb Herbert Voss:

Hello all,

I have an really old document and want to open it with
2.4.0 Beta2, but it fail with: "Incompatible Command"

My old format is 2.18

macOS Sonora and TL23

Any hints?


with lyx2lyx my.lyx
I get a converted LyX file with LyxFormat 613. But reading this file with
LyX 2.4 it stops the input at

\begin_inset CommandInset ref
nolink "false"
LatexCommand ref
reference "abb1-1"
\end_inset


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


Re: Two-column pages with memoir class

2023-06-14 Thread Herbert Voss




Am 14.06.23 um 21:03 schrieb Rich Shepard:
What might cause a document using the memoir book class to produce 
pdflatex

output with two columns per page? That might be appropriate for some
articles, but not for a book.


Rich, that is not the default. There must be something set in your preamble.

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


Re: Installing a new font in TexLive2023

2023-06-13 Thread Herbert Voss


Rich Shepard schrieb:
> On Tue, 13 Jun 2023, Dr Eberhard W Lisse wrote:
>
>> find it on CTAN install it with tlmgr
>
> el,
>
> I downloaded it from CTAN and unzipped it in
> /usr/local/texlive/2023/texmf-dist/fonts/vf/urw/


Do not download anything by hand, add texlive contrib

https://contrib.texlive.info/

And then run

tlmgr install classico

Maybe as sudo,if your TeX installation was done as root

Herbert



> Changing $PWD to /usr/local/texlive/2023/bin/x86_64-linux/ I run
>   ./tlmgr ../../texmf-dist/fonts/vf/urw/urw-classico
> with these results:
> /tlmgr install ../../texmf-dist/fonts/vf/urw/urw-classico
> tlmgr: package repository
> https://ctan.math.utah.edu/ctan/tex-archive/systems/texlive/tlnet
> (verified)
> tlmgr install: package ../../texmf-dist/fonts/vf/urw/urw-classico not
> present in repository.
> tlmgr: action install returned an error; continuing.
> tlmgr: An error has occurred. See above messages. Exiting.
>
> The package (both .zip and unzipped files) are local, not in Utah. I
> specified the location on the command line but it was ignored.
>
> How do I tell tlmgr that the font is local?
>
> Regards,
>
> Rich
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>



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


Re: I don't understand this

2023-06-12 Thread Herbert Voss



Am 13.06.23 um 01:30 schrieb Richard Kimberly Heck:

On 6/12/23 16:08, Herbert Voss wrote:



Am 12.06.23 um 21:49 schrieb Udicoudco:
On Mon, Jun 12, 2023 at 8:32 PM Herbert Voss 
 wrote:
No, because unicode-math loads amsmath by default which defines 
\mathbb
\mathbb isn't defined in amsmath, but in amsfonts, which should not 
be used

with unicode-math (and as a consequence, neither amssymb should be used
with unicode-math).



sure ...
If you _only_ load unicode-math the \mathbb is defined.


So, Herbert, let me ask: Is there anything we can really do here to 
help the user? Or is this just how things are? I've gotten used to it, 
but it is a bit annoying.


From TeX's view you can use any command for a special character.
If that character is part of LyX's  currently defined display font _and_
defined in the current TeX font are two other questions. And, from
my point of view, totally user specific ...

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


Re: I don't understand this

2023-06-12 Thread Herbert Voss



Am 12.06.23 um 21:49 schrieb Udicoudco:

On Mon, Jun 12, 2023 at 8:32 PM Herbert Voss  wrote:

No, because unicode-math loads amsmath by default which defines \mathbb

\mathbb isn't defined in amsmath, but in amsfonts, which should not be used
with unicode-math (and as a consequence, neither amssymb should be used
with unicode-math).



sure ...
If you _only_ load unicode-math the \mathbb is defined.

Herbert


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


Re: I don't understand this

2023-06-12 Thread Herbert Voss



Am 12.06.23 um 18:46 schrieb Richard Kimberly Heck:

On 6/12/23 07:59, Herbert Voss wrote:




With unicode-math, "$\mathbb{0}$" should be rendered as "𝟘" (U+1D7D8),



with unicode-math it should be $\Bbbzero$


Sounds like a bug, then.


No, because unicode-math loads amsmath by default which defines \mathbb
With \Bbbzero you can only be _really_ sure, that it will be taken from the
current math font.

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


Re: I don't understand this

2023-06-12 Thread Herbert Voss



Am 12.06.23 um 13:47 schrieb Scott Kostyshak:

On Mon, Jun 12, 2023 at 02:28:50PM +0300, Udicoudco wrote:

On Mon, Jun 12, 2023 at 11:04 AM Scott Kostyshak  wrote:

On 2023-06-10 21:49, Richard Kimberly Heck wrote:

It's because the 'blackboard' font is quite limited (to ASCII caps, I
think). If you type characters not present in that font, you get weird
results.


With modern math fonts (open type) the range of 'blackboard'
characters is wider,
and it includes small latin letters, and arabic numerals as well.


In this case, LyX creates the corresponding LaTeX code "$\mathbb{0}$", which is 
valid LaTeX. It is true that the output is counter-intuitive. I'm not convinced we should 
do anything here.

With unicode-math, "$\mathbb{0}$" should be rendered as "𝟘" (U+1D7D8),



with unicode-math it should be $\Bbbzero$

Herbert


but it seems that  LyX is not aware of that. Attached is an example.
Should I open
a ticket? I don't currently have access to my Linux machine, and can't
test it with master.

Interesting, that's good to know. I don't have Times New Roman on my system so 
I can't test.

Scott



--
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   9   10   >