Re: How to add Hebrew hyphenruls?

2022-03-21 Thread Herbert Voss via lyx-users



Am 21.03.22 um 16:53 schrieb tush via lyx-users:
I am writing a document in Hebrew. Choosing "Hebrew" as the document's 
language together with Language Package Automatic (and ticking "Use 
Non TeX font") adds the following to the preamble:


\usepackage{polyglossia}
\setdefaultlanguage{hebrew}
\setotherlanguage{english}
(which is correct)

Now I want to add some Hebrew hyphenation rules. For that one should 
add after the above three lines the rules as an hyphenrules 
environment, like the following:


\begin{hyphenrules}{hebrew}

\hyphenation{או-פ-ט-י-מ-ליות}

\end{hyphenrules}

These kind of rules should appear after loading polyglossia.



Try in the documents preamble:

\AtBeginDocument{%
  \begin{hyphenrules}{hebrew}

\hyphenation{או-פ-ט-י-מ-ליות}

  \end{hyphenrules}}


Herbert






How can I tell LyX about those hyphenrules? If I insert it to the 
document preamble via the document settings dialogue, then the rules 
are called *before*​ polyglossia and I get an error.


Any idea or suggestion for that?

The other thing I can do is to choose "None" in the Language package 
and just type manually all the commands (use polyglossia, declare 
languages, state the hyphen rules).


But that sort of misses the help LyX editor offers me - to type 
manually less commands.




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


Re: Solved and addendum >Re: biblatex-spbasic

2022-03-16 Thread Herbert Voss via lyx-users




Am 16.03.22 um 09:08 schrieb Wolfgang Engelmann via lyx-users:



Am 16.03.22 um 08:59 schrieb Herbert Voss via lyx-users:



Am 16.03.22 um 08:46 schrieb Wolfgang Engelmann via lyx-users:


I selected biblatex citation style Nature and kept biblatex-spbasic 
for the bibliography style. The citations are now in [number], but 
that's ok.

Thanks, Herbert, for the suggestion.

Wolfgang


Addendum:

This is of course nonsense:

"I selected biblatex citation style Nature and kept biblatex-spbasic 
for

> the bibliography style."

I can't keep biblatex-spbasic, since it is not numeric.
The bibliography style should also be Nature



It is possible to combine the styles:

citestyle=nature, bibstyle=sbbasic

Herbert


You mean biblatex-spbasic (selected from the Biblatex bibliography 
style menu)? But this does not give numbers in the Bibliography, i.e. 
you can't find your citations there.



yes, I meant it more generally. For your need it makes sense to have

citestyle=nature, bibstyle=numeric

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


Re: Solved and addendum >Re: biblatex-spbasic

2022-03-16 Thread Herbert Voss via lyx-users




Am 16.03.22 um 08:46 schrieb Wolfgang Engelmann via lyx-users:


I selected biblatex citation style Nature and kept biblatex-spbasic 
for the bibliography style. The citations are now in [number], but 
that's ok.

Thanks, Herbert, for the suggestion.

Wolfgang


Addendum:

This is of course nonsense:

"I selected biblatex citation style Nature and kept biblatex-spbasic for
> the bibliography style."

I can't keep biblatex-spbasic, since it is not numeric.
The bibliography style should also be Nature



It is possible to combine the styles:

citestyle=nature, bibstyle=sbbasic

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


Re: Continuation of lists across beamer frames

2022-03-15 Thread Herbert Voss via lyx-users



Am 15.03.22 um 21:48 schrieb Paul A. Rubin via lyx-users:

On 3/15/22 15:29, Herbert Voss via lyx-users wrote:



Am 15.03.22 um 19:36 schrieb Paul A. Rubin via lyx-users:

On 3/15/22 13:07, markhsalmon wrote:
Thank you Paul, I really appreciate your response but this is such 
a common issue - at least for me- every lecture pack I produce has 
this problem perhaps every 5 slides so its really driving me round 
the bend. I just leave the environment behind by default and 
manually add the next number  but it looks cheap and nasty. Why 
can’t there be an option to restart previous numbering? I seem to 
remember that option exists in scientific word so it must be 
possible to implement this as a very simple click choice? I have 
been pointed to the ERT route before but this is really a cry to 
the developers of Lyx. Thanks again Paul.

Cheers,
Mark

Decision making is about predicting counterfactuals


My bad. I forgot that one of the devs (Jürgen?) already created a 
workaround in the form of a module. I've attached a different MWE. 
You just have to add the "Beamer Resumable Enumerate" module and 
then choose "Enumerate-Resume" rather than "Enumerate" from the 
environment selection list.


using package enumitem, defining an own list

\newlist{myEnum}{enumerate}{3}
\setlist{myEnum}{resume}

putting it into a LyX layout and you can use the new list myEnum 
which always

has a continuing counter.

Herbert
Is enumitem compatible with Beamer? The Beamer layout forbids the 
enumitem module.


Ah, yes. I forgot ot. But is no problem to define it without enumitem!

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


Re: Continuation of lists across beamer frames

2022-03-15 Thread Herbert Voss via lyx-users



Am 15.03.22 um 19:36 schrieb Paul A. Rubin via lyx-users:

On 3/15/22 13:07, markhsalmon wrote:
Thank you Paul, I really appreciate your response but this is such a 
common issue - at least for me- every lecture pack I produce has this 
problem perhaps every 5 slides so its really driving me round the 
bend. I just leave the environment behind by default and manually add 
the next number  but it looks cheap and nasty. Why can’t there be an 
option to restart previous numbering? I seem to remember that option 
exists in scientific word so it must be possible to implement this as 
a very simple click choice? I have been pointed to the ERT route 
before but this is really a cry to the developers of Lyx. Thanks 
again Paul.

Cheers,
Mark

Decision making is about predicting counterfactuals


My bad. I forgot that one of the devs (Jürgen?) already created a 
workaround in the form of a module. I've attached a different MWE. You 
just have to add the "Beamer Resumable Enumerate" module and then 
choose "Enumerate-Resume" rather than "Enumerate" from the environment 
selection list.


using package enumitem, defining an own list

\newlist{myEnum}{enumerate}{3}
\setlist{myEnum}{resume}

putting it into a LyX layout and you can use the new list myEnum which 
always

has a continuing counter.

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


Re: biblatex-spbasic

2022-03-14 Thread Herbert Voss via lyx-users



Am 14.03.22 um 08:07 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:58 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:53 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 07:51 schrieb Herbert Voss via lyx-users:

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and 
bib as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

Herbert


What would be the next best numeric style to spbasic ?


there is no best, it is the default  style "numeric" with changing \cite
to footnotes.



You can try "style=nature"   instead of footnotes



sorry, read "instead of numeric"

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


Re: biblatex-spbasic

2022-03-14 Thread Herbert Voss via lyx-users



Am 14.03.22 um 07:58 schrieb Herbert Voss via lyx-users:



Am 14.03.22 um 07:53 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 07:51 schrieb Herbert Voss via lyx-users:

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and 
bib as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

Herbert


What would be the next best numeric style to spbasic ?


there is no best, it is the default  style "numeric" with changing \cite
to footnotes.



You can try "style=nature"   instead of footnotes
It is the style from the "nature" journal.

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


Re: biblatex-spbasic

2022-03-13 Thread Herbert Voss via lyx-users



Am 14.03.22 um 07:53 schrieb Wolfgang Engelmann via lyx-users:



Am 14.03.22 um 07:51 schrieb Herbert Voss via lyx-users:

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and bib 
as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

Herbert


What would be the next best numeric style to spbasic ?


there is no best, it is the default  style "numeric" with changing \cite
to footnotes.

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


Re: biblatex-spbasic

2022-03-13 Thread Herbert Voss via lyx-users

Am 14.03.22 um 07:47 schrieb Wolfgang Engelmann via lyx-users:




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and bib 
as usual.


Herbert


I meant ONLY the ^7, WITHOUT the footnote


then you also need a bibliography in numeric style. But spbasic has
a bib in author-year-style

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


Re: biblatex-spbasic

2022-03-13 Thread Herbert Voss via lyx-users



Am 14.03.22 um 07:37 schrieb Wolfgang Engelmann via lyx-users:



Am 13.03.22 um 07:41 schrieb Herbert Voss via lyx-users:



Am 12.03.22 um 17:53 schrieb Wolfgang Engelmann via lyx-users:
I would like to use biblatex-spbasic for the literature citations 
and the Bibliography.


I have selected the style in Document Settings>Bibliography.

However, I would like to have a superscript number instead of the 
names/years in the document. The output in the Bibliography should 
be as before.



Do you mean \footcite and /or \footfullcite  ??   If yes, see 
documentation.


Herbert




Is this possible already or do I have to wait until somebody is kind 
enough to create it?


The reason is, that I have a large amount of citations in the 
document and reading the text would be less fluent if the names/year 
is given instead of just a superscript.




Example:
was shown by Muller^7 and ...
The Bibliography shows the full reference Muller...



This _is_ \footcite{key} with a short reference as footnote and bib as 
usual.


Herbert

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


Re: biblatex-spbasic

2022-03-12 Thread Herbert Voss via lyx-users



Am 12.03.22 um 17:53 schrieb Wolfgang Engelmann via lyx-users:
I would like to use biblatex-spbasic for the literature citations and 
the Bibliography.


I have selected the style in Document Settings>Bibliography.

However, I would like to have a superscript number instead of the 
names/years in the document. The output in the Bibliography should be 
as before.



Do you mean \footcite and /or \footfullcite  ??   If yes, see documentation.

Herbert




Is this possible already or do I have to wait until somebody is kind 
enough to create it?


The reason is, that I have a large amount of citations in the document 
and reading the text would be less fluent if the names/year is given 
instead of just a superscript.


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


Re: Vertical spaces between references.

2022-02-21 Thread Herbert Voss via lyx-users



Am 21.02.22 um 13:04 schrieb ananda.samaddar via lyx-users:
Apologies for top-posting.  Kmail is a buggy POS and just will not 
work properly replying to mailing lists so I have to use the webclient.


Sorry if I'm being a bit stupid here but adding:

\bibitemsep
\setlength\bibitemsep{2mm}

to the preamble results in compilation errors for me the log output is 
below:



A misunderstanding. The first command was only from my
 description. However, you yeed the following in the preamble:

\AtBeginDocument{\setlength\bibitemsep{2mm}}

because LyX loads biblatex later and until then \bibitemsep
is unknown. Let ME know if you need an example file

Herbert

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


Re: Vertical spaces between references.

2022-02-21 Thread Herbert Voss via lyx-users

Am 21.02.22 um 11:51 schrieb Ananda Samaddar via lyx-users:

I can't seem to find a way to add vertical space in between my biblatex
generated bibliography.  I'm using the verbose-inote style for my bibliography
with biblatex using biber as a processor. I'm sure it's something silly that
I've missed somewhere so any help would be appreciated.


Write into the preamble:

\bibitemsep The vertical space between the individual entries in the 
bibliography.



Use \setlength\bibitemsep{2mm}  or \addtolength\bibitemsep{1mm}

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


Re: Index pagestyle

2022-02-20 Thread Herbert Voss via lyx-users




Am 20.02.22 um 18:45 schrieb _johnny7_ger--- via lyx-users:

I have almost finished my book and have now begun to add an index. It
works fine, so far, but the page layout of the index is not perfect. I
use fancyhdr and have added (thanks to the LyX Wiki)
\renewcommand{\ps@plain}{\pagestyle{fancy}}
in the preamble. Now the first page of the index looks like it should,
giving only the page number. 


That is the default for a chapter start, like \printindex: pagestyle
is here _always_ plain! The next page gets the current pagestyle fancy,
if you have it already set.


On the second page, however, the header
shows the index title in uppercase-letters as opposed to my definition
of the pagestyle fancy (small capitals). I tried to write
\markboth{}{}


Witg fancyhdr you can set individually header/footer at any
position in your text. No need for using \markboth

Herbert




before printing the index to suppress the header but that only has an
effect on the first page of the index, not the following.

How can I control the page layout of the index? If possible I want to
avoid using a style file for makeindex.


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


Re: Program Listings

2022-01-13 Thread Herbert Voss via lyx-users
Joseph Hesse via lyx-users schrieb:
> On 1/12/22 15:00, Herbert Voss via lyx-users wrote:

>>
>> Use /Insert -> Program Listing/ option.
>>
>
> I tried what you suggested.  I right clicked on the inset and could not
> find an option where I could specify where my code listing are located.


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

Attached the screenshot of the output of the demo file.

Herbert

lst1.lyx
Description: Binary data
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Program Listings

2022-01-12 Thread Herbert Voss via lyx-users



Am 12.01.22 um 13:22 schrieb Joseph Hesse via lyx-users:
I am writing a programing book and want to have programs that have 
been prepared with a text editor included in the book.  This is what I 
have done so far.


Insert->File->Child Document

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

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

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

The label I have set above does not appear anywhere.

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


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


Use /Insert -> Program Listing/ option.

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


Re: biblatex error. Can't get correct pdf output

2022-01-08 Thread Herbert Voss via lyx-users

Am 08.01.22 um 12:01 schrieb Wolfgang Engelmann via lyx-users:

However:
A08-TEST.lyx
with SP-WITTE-2022.bib
does not show the references in the bibliography and the one in the 
text is bold, not blue


These are the errors/warnings:
Biber error: BibTeX subsystem: 
/tmp/biber_tmp_tYGf/d7dc170ec507816e85d64326c042e07e_5570.utf8, line 
2837, syntax error: found ",", expected one of: number, name (entry 
type, key, field, or macro name), end of entry ("}" or ")") or quoted 
string ({...} or "...")


and descripition of error:
[6143] Utils.pm:411> ERROR - BibTeX subsystem: 
/tmp/biber_tmp_tYGf/d7dc170ec507816e85d64326c042e07e_5570.utf8, line 
2837, syntax error: found ",", expected one of: number, name (entry 
type, key, field, or macro name), end of entry ("}" or ")") or quoted 
string ({...} or "...")


Wolfgang,
the error message says it all:  Line 2837 of the bib file is a problem 
or at least the line

where something is detected as wrong. And in that line biber found a comma
but expected a number or name to read ...

Line 2837 is:

@InBook{,
...


There is the key missing, for example

@InBook{Ding2019,
...

btw: do not attached the biblatex-spbasic, it is already part of
TeXLive and MiKTeX.

Herbert


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


Re: TOC in pdf colored red

2022-01-08 Thread Herbert Voss via lyx-users



On 08/01/2022 06:32, Joseph Hesse via lyx-users wrote:

Hi,
I am writing a book in lyx.  When I look at the pdf the TOC appears 
red.  How can I fix this so it is in black and white?  I want to keep 
my URL links as colored blue.


Go into  the preferences menue and insert the following options for hyperref

    colorlinks,
    citecolor=black,
    filecolor=black,
    linkcolor=black,
    urlcolor=blue,
    linktocpage,
    linktoc=all


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


Re: How to (re)run biber

2022-01-07 Thread Herbert Voss via lyx-users

Am 07.01.22 um 15:18 schrieb Wolfgang Engelmann via lyx-users:
a short lyx file (attached) with just one reference and some text is 
not correctly exported to lualatex pdf (thick reference instead of a 
blue reference, no bibliography shown).


I use lualatex and the biblatex-spbasic style file (attached).
In the latex log I am told to rerun biber:

Package biblatex Warning: Please (re)run Biber on the file:

Question: Why do I have to (re)run biber and how is it done?



Wolfgang,

your example cannot work! In the lyx file you have defined:

bibfiles "SP-WITTE-2022-AUX"

but your attached bibfile has the filename: "OneRef.bib"

Changing the filename with clicking on the "prinbibliography" button in
the opened  LyX file to the correct one and then running the document
everything is fine.

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


Re: lyx_tmpdirs in /tmp

2022-01-05 Thread Herbert Voss via lyx-users



Am 05.01.22 um 19:08 schrieb Wolfgang Engelmann via lyx-users:



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



On 05.01.22 16:59, Paul A. Rubin via lyx-users wrote:

On 1/5/22 8:29 AM, Wolfgang Engelmann via lyx-users wrote:

Can I delete the lyx_tmpdirs in the root /tmp?
I have the impression, that a rerun of lyx uses it, which I do not 
want.


I run the current development version and all temp files are
deleted by default when closing LyX.


> I have removed the /lyx_tmpbuf folder, but in running lyx again I get 
an error reading in temporal layout information and

could not open /lyx_tmpbuf ... .tex
Will wait until tomorrow and hope the temporal files are gone.



start LyX and controll the ownership of the temporary directory.
It should be  own by the user.

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


Re: How would LyX perform?

2021-12-31 Thread Herbert Voss via lyx-users



Am 31.12.21 um 01:41 schrieb Steve Litt via lyx-users:

Herbert Voss via lyx-users said on Thu, 30 Dec 2021 14:52:15 +0100


Am 30.12.21 um 14:46 schrieb Steve Litt via lyx-users:

Wolfgang Engelmann via lyx-users said on Mon, 27 Dec 2021 11:31:55
+0100

This has shocked me
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0115069

Would be interesting to see how LyX performs

Plain TeX would be much better than LaTeX, as a native format, if it
could handle fonts well. Does anyone know of a Plain TeX to LuaTeX or
XeTeX converter?

What do you want to convert?? Every Plain TeX document runs with
LuaTeX or XeTeX,
but, of course, not vice versa!

My thought is that I need to convert because I need to use the
tex-gyre-schola font, and as far as I know, Plain TeX won't accommodate
this font. So, as I understand it, my process would need to be:

1: Write in Plain TeX with whatever font is available

2: Convert Plain TeX to LuaTeX



You only have to load the font, tha's all ...

\input luaotfload.sty
\font\rm="[texgyreschola-regular.otf]:+lnum;+dlig"
\font\bf="TeXGyre Schola/B:+lnum;+dlig"
\font\it="TeXGyre Schola/I:+lnum;+dlig"
\font\bfit="TeXGyre Schola/BI:+lnum;+dlig" at 15pt

\rm
TeX Gyre Schola regular

\bf TeX Gyre Schola bold

\it TeX Gyre Schola italic

\bfit  TeX Gyre Schola bolditalic
\bye


Herbert






3: Use AWK to replace the font with tex-gyre-schola

4: Compile to PDF

The reason I need this is I could *easily* convert from (X)HTML5 to
Plain TeX. If I can go the rest of the way I can make a nice PDF from
XHTML5.

But I have neither the programming skills nor the LaTeX knowledge to
create LaTeX from XHTML5.

Thanks,

SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques


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


Re: How would LyX perform?

2021-12-30 Thread Herbert Voss via lyx-users

Am 30.12.21 um 14:46 schrieb Steve Litt via lyx-users:

Wolfgang Engelmann via lyx-users said on Mon, 27 Dec 2021 11:31:55 +0100


This has shocked me
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0115069

Would be interesting to see how LyX performs


Plain TeX would be much better than LaTeX, as a native format, if it
could handle fonts well. Does anyone know of a Plain TeX to LuaTeX or
XeTeX converter?


What do you want to convert?? Every Plain TeX document runs with LuaTeX 
or XeTeX,

but, of course, not vice versa!

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


Re: LyX-LaTeX to Web

2021-12-22 Thread Herbert Voss via lyx-users




Am 22.12.21 um 11:07 schrieb Baris Erkus via lyx-users:
I wonder if LyX or any other LaTeX based tool can be used to generate 
web site of a book as in the following example:


export your document to LaTeX and then run latex2html
https://ctan.org/pkg/latex2html?lang=de

Herbert




https://learnaboutstructures.com/Common-Load-Types-for-Beams-and-Frames

Any direction would be appreciated.



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


Re: biblatex warning

2021-12-22 Thread Herbert Voss via lyx-users



Am 22.12.21 um 10:50 schrieb Wolfgang Engelmann via lyx-users:

What does
Package biblatex Warning: Macro 'note+pages' already defined.
mean?


Instead of \renewbibmacro there is a \newbibmacro in spbasic.bbx
Will be fixed, but already doesn't hurt.



These are the surrounding messages:

Package biblatex Info: Delimiter 'nametitledelim' in context 'bib' 
already defined, overwriting.
Package biblatex Info: Delimiter 'nametitledelim' in context 'biblist' 
already defined, overwriting.
Package biblatex Info: Delimiter 'finalnamedelim' in context '' 
already defined, overwriting.


Only infos that spbasic.bbx redefines existing delimiters.


Herbert




Package biblatex Warning: Macro 'note+pages' already defined.
(biblatex)    Using \renewbibmacro.

)
Package biblatex Info: Trying to load citation style 
'biblatex-spbasic'...

Package biblatex Info: ... file 'biblatex-spbasic.cbx' found.

Wolfgang


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


Re: texlive and biblatex-spbasic

2021-12-20 Thread Herbert Voss via lyx-users



Am 20.12.21 um 19:20 schrieb Kornel Benko via lyx-users:

Am Mon, 20 Dec 2021 19:17:49 +0100
schrieb Wolfgang Engelmann via lyx-users :


Am 20.12.21 um 18:18 schrieb Herbert Voss via lyx-users:

Thanks, Herbert, for your help. One more question for chmod which did
not work:

   And if you do not run the tlmgr as root

then you do not need it for texhash. I prefer always user permissions for
texlive. The reason why I did after installtion of texlive:

sudo chmod -R voss:voss /usr/local/texlive
   

sudo chmod -R wolfgang:wolfgang /usr/local/texlive/
chmod: Ungültiger Modus: „wolfgang:wolfgang“
„chmod --help“ liefert weitere Informationen.

sudo chmod -R wolfgang /usr/local/texlive/
chmod: Ungültiger Modus: „wolfgang“

   who am i
wolfgang pts/22021-12-20 18:52 (:0)

who
wolfgang tty7 2021-12-20 10:16 (:0)
wolfgang pts/02021-12-20 10:16 (:0)
wolfgang pts/22021-12-20 18:52 (:0)
wolfgang pts/32021-12-20 10:16 (:0)

I do not know what would replace voss:voss in my case.

Wolfgang


You meant 'chown' probably.



Uh, yes!
Sorry Wolfgang and thanks Kornel

sudo chown -R voss:voss /usr/local/texlive



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


Re: texlive and biblatex-spbasic

2021-12-20 Thread Herbert Voss via lyx-users



Am 20.12.21 um 17:49 schrieb Wolfgang Engelmann via lyx-users:
I would like to better understand the tree(s) for texlive and what 
texhash and tlmgr do


The important points are found behind the  at the end of the mail.

Thanks a lot

Wolfgang

Your installed tlmgr will notice and ask you to update it before 
updating anything else. The command to do this is: tlmgr update --self 
After any updates of tlmgr, you can then run, for instance, tlmgr 
update --all, which will update (including additions and removals) all 
other packages in your installation that have been changed on the server.


sudo tlmgr update --self
[sudo] Passwort für wolfgang:
tlmgr: package repository 
https://ftp.tu-chemnitz.de/pub/tex/systems/texlive/tlnet (verified)

tlmgr: saving backups to /usr/local/texlive/2021/tlpkg/backups
tlmgr: no self-updates for tlmgr available

tlmgr update --all



Wolfgang,

you can run

tlmgr --self --all update

then you do not need two  comamnds



sudo texhash


that is already done my tlmgr.  And if you do not run the tlmgr as root
then you do not need it for texhash. I prefer always user permissions for
texlive. The reason why I did after installtion of texlive:

sudo chmod -R voss:voss /usr/local/texlive

then everything in this directors has user permission! And I never
need sudo to run texhash or tlmgr or 



wolfgang@Fuji:~$ find -iname 'texmf*'
./.texlive2020/texmf-var
./.texlive2016/texmf-var
./TEXMF-Sicherung
./TEXMF-Sicherung/texmf
./.texlive2019/texmf-var
./texmf
./.texlive2021/texmf-var

wolfgang@Fuji:/$ sudo find -iname 'texmf*'
./root/.texlive2020/texmf-var


this is always created if you install texlive as root and running
tlmgr also as root.

If you want to see which package is used, run

kpsewhich biblatex-spbasic.sty

then you'll get what TeX will find first and using. With

kpsewhich --all biblatex-spbasic.sty

you'll get all files in the TeX dirextory structure.


wolfgang@Fuji:/usr/local/texlive/texmf-local$ ls -l
insgesamt 52
-rw-r--r-- 1 wolfgang wolfgang 1943 15. Dez 15:02 biblatex-spbasic.bbx
-rw-r--r-- 1 wolfgang wolfgang 2601 15. Dez 15:02 biblatex-spbasic.cbx
-rw-rw-rw- 1 root staff    1578 10. Jul 20:01 
biblatex-spbasic-old.bbx
-rw-r--r-- 1 root staff 295 10. Jul 20:06 
biblatex-spbasic-old.cbx


 Questions:
How do I make sure the new version is used?


first the current directory is searched, then an existing texmf directory,
then the texmf-local directory, then the main texmf-dist/...


Should I remove the older biblatex-spbasic?


rename the old files to for example:

biblatex-spbasic.bbx.20211212


How do I tell lyx to use the new version?



It will be used automatically if you rename the old files.

Herbert


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


Re: Forest beyond basics

2021-12-20 Thread Herbert Voss via lyx-users



Am 19.12.21 um 22:24 schrieb Steve Litt via lyx-users:

Maria Gouskova via lyx-users said on Sun, 19 Dec 2021 12:20:15 -0500


Dear LyX users,
<
(Actually, I suspect this is a question for Jürgen S., but on the off
chance that someone else knows the answer...)

I need to produce a diagram with the structure shown here. It was
produced using the obsolete xyling package


LyX and LaTeX were never intended to make drawings or diagrams. Not
really.


That is not true! From the beginning of LaTeX there was the picture
environment with, of course, limited capability. But it was good enough
for simple diagrams/graphics.

Herbert







it in your LyX document just like you'd put any old .png or more to the
point .svg. LyX automatically recompiles your Inscape-produced .svg
into a PDF suitable for LyX/LaTeX upon finding that the .svg has
changed.

You know what it's supposed to look like, so you can draw it yourself.
For new work where you need a new "forest", whatever this "forest"
thing is, find a forest making software that can export to .svg,
and then you can either use that .svg, or modify it a little in
Inkscape.

SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques


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


Re: LuaTeX vs XeTeX

2021-12-18 Thread Herbert Voss via lyx-users



Am 17.12.21 um 20:20 schrieb Virgil Arrington:


*From: *Herbert Voss via lyx-users <mailto:lyx-users@lists.lyx.org>
*Sent: *Friday, December 17, 2021 6:06 AM
*To: *lyx-users@lists.lyx.org
*Subject: *Re: LuaTeX vs XeTeX

Am 16.12.21 um 22:12 schrieb Virgil Arrington via lyx-users:
> > Starting with the completely clean files, I added the Microtype
> > package to both and compiled them. As with my first test, I got
> > different results. XeTeX once again produced many more hyphenated
> > lines -- essentially the same as it produced without Microtype -- 
than

> > did LuaTeX. Neither produced any significant overfull lines at the
> > right margin.
> >
> > So, it seems as if Microtype behaves differently with XeTeX and 
LuaTeX

> > -- at least on my system.
> >

> Sure, microtype for xetex is not the same as microtype for luatex.

So, I’ve learned a lot in the last couple days. Let’s see if I have 
this right.


1. PDFLaTeX creates documents using fonts supplied in the TeX 
distribution.


2. XeTeX creates documents using fonts supplied by the Operating System.



also the ones from the TeX distribution if defined by the font's filename.
Then kpsewhich can find the font.


3. LuaTeX can create documents using fonts from either the TeX 
distribution OR the OS system.




luatex defines an own font database which also has the symbolic names of 
the fonts saved.

.../texmf-var/luatex-cache/generic/names/luaotfload-names.lua.gz


Herbert



If I am right about #3, then I more fully understand Herbert’s 
original assertion that, with LuaTeX, there’s no reason to resort to 
PDF(La)TeX (or XeTeX for that matter).


Virgil

--
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: LuaTeX vs XeTeX

2021-12-17 Thread Herbert Voss via lyx-users



Am 17.12.21 um 15:03 schrieb Neal Becker:

I thought all LaTeX have to pass strict tests and produce identical
results.  Any difference due to different fonts.  Is this correct?


no. It is correct only for TeX, the original one! run the example with
pdftex, xetex, and  luatex

\hsize 1cm
internationalizationmachinery is a long word

\bye

Herbert




On Fri, Dec 17, 2021 at 6:06 AM Herbert Voss via lyx-users
 wrote:

Am 16.12.21 um 22:12 schrieb Virgil Arrington via lyx-users:

Starting with the completely clean files, I added the Microtype
package to both and compiled them. As with my first test, I got
different results. XeTeX once again produced many more hyphenated
lines -- essentially the same as it produced without Microtype -- than
did LuaTeX. Neither produced any significant overfull lines at the
right margin.

So, it seems as if Microtype behaves differently with XeTeX and LuaTeX
-- at least on my system.


Sure, microtype for xetex is not the same as microtype for luatex.

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: LuaTeX vs XeTeX

2021-12-17 Thread Herbert Voss via lyx-users

Am 16.12.21 um 22:12 schrieb Virgil Arrington via lyx-users:
Starting with the completely clean files, I added the Microtype 
package to both and compiled them. As with my first test, I got 
different results. XeTeX once again produced many more hyphenated 
lines -- essentially the same as it produced without Microtype -- than 
did LuaTeX. Neither produced any significant overfull lines at the 
right margin.


So, it seems as if Microtype behaves differently with XeTeX and LuaTeX 
-- at least on my system.




Sure, microtype for xetex is not the same as microtype for luatex.

Herbert


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


Re: LuaTeX vs XeTeX

2021-12-16 Thread Herbert Voss via lyx-users



Am 16.12.21 um 21:02 schrieb Virgil Arrington via lyx-users:


On 12/16/2021 9:31 AM, Herbert Voss via lyx-users wrote:


LuaTeX ,and XeTeX too, are more or less frozen code, just like TeX.
Only bugs will be fixed. There are no good reasons _not_ to use
LuaTeX instead
of pdfTeX:

I just performed an interesting experiment comparing the results from 
compiling the same source file with XeTeX, PDFLaTeX and LuaTeX. I was 
surprised by the results I got. In the past, I had found that, when I 
used XeTeX, I got more "overfull hboxes" with lines flowing past the 
right margin than I did with PDFLaTeX. I also would get *many* more 
hyphenated words with XeTeX than with PDFLaTeX. I assumed I would get 
similar results with LuaTeX, but I was pleasantly surprised.


For my experiment, took a 45 page paper I wrote for a former employer. 
For the PDFLaTeX compiled version, I used the mathpazo Palatino font 
that came with MikTeX and compiled it with PDFLaTeX. For the XeTeX and 
LuaTeX versions, I used Windows' Palatino Linotype font. All other 
settings were the same, including the use of the Microtype package in 
all versions.




Other font, new kernings, new hyphenations.
mathpazo (Type 1) and Palatino (TrueType) are not the same font!

In a single random paragraph, the resulting file compiled with XeTeX 
gave me eight hyphenated line endings. The same paragraph in the 
document compiled with LuaTeX gave me three hyphenated line endings, 
and the same paragraph in the document compiled with PDFLaTeX only 
gave me one hyphenated line ending.


XeTeX also gave me many overfull lines, in fact so many as to make the 
resulting document all but unusable. PDFLaTeX gave me a few, but I 
could work with them. I was surprised to see that LuaTeX appeared to 
give me the fewest overfull lines. I saw very few lines that extended 
beyond the right margin, and those I did happen to find extended such 
a small amount as to be all but unnoticeable.


I was very surprised by how different the results were when using 
XeTeX vs. LuaTeX. I had just assumed that the two engines would 
produce very similar results, but that was not the case at all. In 
fact, having seen LuaTeX's document, I can't imagine why anyone would 
choose XeTeX over LuaTeX. I was also surprised to see how well 
LuaTeX's results compared with PDFLaTeX's document. While LuaTex still 
gave me more hyphenated line endings, it gave me fewer noticeable 
overfull lines at the right margin.




Do _not_ load any font and choose an empty preanble,
 then Computer Modern is used for pdflatex and Latin Modern
for lualatex/xelatex. And then you will see _no_ difference in
the created pdf.


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


Re: LuaTeX vs XeTeX

2021-12-16 Thread Herbert Voss via lyx-users

Am 16.12.21 um 14:45 schrieb Pavel Sanda via lyx-users:

On Mon, Nov 08, 2021 at 09:49:29AM +0100, Herbert Voss wrote:

Am 08.11.21 um 09:46 schrieb Saša Janiška:

On Mon, 8 Nov 2021 08:58:37 +0100
Herbert Voss  wrote:



LuaHBTeX   (HB for HarfBuzz) is the default engine for lualatex


Thank you since I was not aware of it despite it is being installed on
my Debian machine.

Otherwise, I was aware of LuaTeX since I was considering to use ConTeXt
instead of LyX/LaTeX...

I wrote everything with lualatex and use xelatex in only rare cases
and never use pdf(la)tex

Could anyone of the better informed review https://wiki.lyx.org/LyX/LuaTeX ?
Some of the claims (like LuaTeX is still in beta status) are unlikely to be 
truth
and they can shape LyX users base in a wrong direction...


That is wrong: LuaTeX ,and XeTeX too, are more or less frozen code, just 
like TeX.
Only bugs will be fixed. There are no good reasons _not_ to use LuaTeX 
instead

of pdfTeX:

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

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


Re: Bibliography not in ToC

2021-12-14 Thread Herbert Voss via lyx-users




Am 14.12.21 um 22:11 schrieb Rich Shepard via lyx-users:

On Tue, 14 Dec 2021, Herbert Voss via lyx-users wrote:


not in my doc



Regardless, in your version of the .lyx file cite-engine is biblatex 
while
in mine it's biblatex-natbib, but I changed the bibliography style 
from the

latter to the former and saved the change.

Do I need to reconfigure LyX to get the change to take effect?


Rich,

no, switching to biblatex (without natbib) and deleting the option
below was what I changed. Look into the status bar, what the biber runs
reports.

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


Re: Bibliography not in ToC

2021-12-14 Thread Herbert Voss via lyx-users



Am 14.12.21 um 21:30 schrieb Rich Shepard via lyx-users:

On Tue, 14 Dec 2021, Herbert Voss via lyx-users wrote:

then the biber run is missing. Try the following: you have a citation 
(the

last one) which is not in the bib file. Delete it and run the document
again. Does the TOC-entry appears?



I'm not following. There are four citations in the text, each in its own
chapter, and four entries in mwe.bib. The last citation is Shepard2016 
and

that's in the .bib file.


Rich,

not in my doc





What is the control window

The control window is under the text area. You have to enable it
with the menu view->...


Is that what I've known as the status bar?


Ah yes, you are right.

Attached your working example.

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


Re: Bibliography not in ToC

2021-12-14 Thread Herbert Voss via lyx-users



Am 14.12.21 um 21:17 schrieb Rich Shepard via lyx-users:

On Tue, 14 Dec 2021, Herbert Voss via lyx-users wrote:


You have a wrong option in the document->settings->bibliography:
Delete the mergedate=compact. However, using the natbib mode
is something from the last millenium ... you should simply use
the authoryear style of biblatex.



Thanks. I don't know where the mergedate=compact came from.
I changed the style from biblatex(natbib mode) to biblatex.

It still does not output the bibliography nor place that entry in the 
ToC.


Rich,

then the biber run is missing. Try the following: you have a citation
(the last one)  which is not in the bib file. Delete it and run the document
again. Does the TOC-entry appears?





If you open the controll window in LyX then you see the errors
of the biber run, too!


What is the control window?


The control window is under the text area. You have to enable it
with the menu view->...





Btw:
- your format was defined as pdf (pdftex), but it should be  pdf 
(luatex)


In Settings -> Formats I have the output format set to PDF (pdflatex). 
I've

no idea what luatex does)


- do not use the line
   \usepackage{luainputenc},  it is superflous


There is no such line in the preamble:



Ah, maybe that it  was the LyX internal preamble. I'll have look
at tomorrow.

Herbert


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


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

2021-12-14 Thread Herbert Voss via lyx-users




Am 14.12.21 um 21:11 schrieb Scott Kostyshak via lyx-users:

On Tue, Dec 14, 2021 at 03:05:41PM -0500, Steve Litt via lyx-users wrote:

Hi all,

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

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

Indeed it is confusing.

What are your thoughts on "minimal example" ?

Note that we have a Wiki page, although it doesn't address your question:



MWE does _not_ mean a working example in the sense of a correct output.
It means a minimal working one which shows the _problem_.


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


Re: Bibliography not in ToC

2021-12-14 Thread Herbert Voss via lyx-users



Am 14.12.21 um 20:51 schrieb Herbert Voss via lyx-users:



Am 14.12.21 um 19:58 schrieb Rich Shepard via lyx-users:

Running LyX-2.3.6.1 on Slackware64-14.2.

The bibliography settings at the end of the paper indicate the 
bibliography
should be added to the end of the Table of Contents. It's not. Do I 
need to

explicitly add that command to the preamble?

I don't recall having this issue before and find no reference to it 
in my

saved threads of the mail list.

A MWE is attached: .lyx, .pdf, and .bib. I look forward to learning what
I've done incorrectly (or neglected to do at all.)


You have a wrong option in the document->settings->bibliography:



the image was missing ...



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


Re: Bibliography not in ToC

2021-12-14 Thread Herbert Voss via lyx-users



Am 14.12.21 um 19:58 schrieb Rich Shepard via lyx-users:

Running LyX-2.3.6.1 on Slackware64-14.2.

The bibliography settings at the end of the paper indicate the 
bibliography
should be added to the end of the Table of Contents. It's not. Do I 
need to

explicitly add that command to the preamble?

I don't recall having this issue before and find no reference to it in my
saved threads of the mail list.

A MWE is attached: .lyx, .pdf, and .bib. I look forward to learning what
I've done incorrectly (or neglected to do at all.)


You have a wrong option in the document->settings->bibliography:





Delete the mergedate=compact. However, using the natbib mode
is something from the last millenium ... you should simply use
the authoryear style of biblatex.

If you open the controll window in LyX then you see the errors
of the biber run, too!

Btw:
- your format was defined as pdf (pdftex), but it should be  pdf (luatex)
- do not use the line
   \usepackage{luainputenc},  it is superflous
- do not use \usepackage[T1]{fontenc}, it is only for pdflatex and _not_ 
xelatex/lualatex



HErbert


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


Re: MWE showing one of my indexing problems

2021-12-10 Thread Herbert Voss via lyx-users



Am 10.12.21 um 20:06 schrieb Steve Litt via lyx-users:

Herbert Voss said on Fri, 10 Dec 2021 10:14:29 +0100


Steve Litt via lyx-users schrieb:

Attached please find mwe.lyx and mwe.pdf, which was created by
mwe.lyx. This document is standard book class, sized 6 inches high
by 4 inches wide to fit on reasonably sized mobile devices. The
symptom is that index item "Incremental/Differential Learning" spans
about 35 pages, but there's no index begin tag on the first of those
pages, or anywhere near it. You can read the rest of the symptom
description as chapter 1 of the actual document.

I could have refined it further, but after 3 days I'm so punch drunk
I was afraid I'd make the symptom vanish and have to start all over
again, so if some of you could take a look at it, I'd be very
grateful.

do not write an \index command into a sectioning command. Use it after
such a command. See image

Herbert

Confirmed! Thank you Herbert.

I moved the two index opening commands from the end of the sectioning
command to the start of the standard text that follows the sectioning
command, which eliminated the symptom.

My one remaining worry is that, with bad luck and just the wrong
vertical alignment, the section header might fall at the bottom of the
page *before* the page pointed to by the index entry. But so far, I
seem to be having the opposite problem (section header falling *after*
the page pointed to by the index entry, but only with my compile
script, not with eyeballs) so I have to do more research.



The "real" problem was your \nameref command more than 20
pages before.  It refers to the \chapter with the label _and_ the 
\index{...|(}

command. So you get the pagenumber of the \nameref as a start,
because executes the titel _with_ the \index command.

You can also use the optional argument for special chapter headings if
you have some \nameref pointing to it:

\chapter[For TOC and nameref]{For normal title and 
index\label{foo}\index{...|(}}


Then ech refence should point to the title and not the following text.


Herbert






Thanks for your help on this. It solved the worst of my two index
problems.

SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques


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


Re: MWE showing one of my indexing problems

2021-12-10 Thread Herbert Voss via lyx-users

Steve Litt via lyx-users schrieb:
> Attached please find mwe.lyx and mwe.pdf, which was created by mwe.lyx.
> This document is standard book class, sized 6 inches high by 4 inches
> wide to fit on reasonably sized mobile devices. The symptom is that
> index item "Incremental/Differential Learning" spans about 35 pages,
> but there's no index begin tag on the first of those pages, or anywhere
> near it. You can read the rest of the symptom description as chapter 1
> of the actual document.
>
> I could have refined it further, but after 3 days I'm so punch drunk
> I was afraid I'd make the symptom vanish and have to start all over
> again, so if some of you could take a look at it, I'd be very grateful.

do not write an \index command into a sectioning command. Use it after
such a command. See image

Herbert




> Thanks,
>
> SteveT
>
> Steve Litt
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist
> http://www.troubleshooters.com/techniques
> --
> 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: Glitch (bug?) in 2.3.6.1

2021-12-09 Thread Herbert Voss via lyx-users




Am 09.12.21 um 21:35 schrieb Paul A. Rubin via lyx-users:

On 12/9/21 3:27 PM, Rich Shepard via lyx-users wrote:

I've encountered unusual behavior when compiling the document using
pdflatex. When I've used an ERT within a float figure's caption lyx
highlights the string containing that ERT and pops up an error box which
tells me only that there's an error.

Closing that error box and repeating the command, ctrl-x/ctrl-h, 
presents

the message that the pdf files's been created in the status bar.

In one figure caption I had '\mu' in an ERT box, in the other caption 
it is

'\textdegree' in the box.

Since I don't subscribe to the dev's mail list I'm posting this here. It
might be a bug, or the error message box and highlighting might be 
only a

distracting glitch.

Rich
I can't reproduce this (with 2.3.6.1). Putting \textdegree in ERT in 
the float caption works fine. Putting \mu in ERT predictably does not, 
but putting it in a math environment works, as does putting $\mu$ in ERT.



\mu is onyl available in math: start inline mathmode and insert \mu
There is also a \textmu for text mode.

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


Re: Wrapping a long URL when in a URL environment

2021-12-09 Thread Herbert Voss via lyx-users




Am 09.12.21 um 18:31 schrieb Rich Shepard via lyx-users:
In a URL environment the line extends past the right text area margin. 
Can I

use the regular ERT \- within the URL string to split it, or is there an
environment-specific way to so this?



\usepackage{xurl}


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


Re: Graphic file formats

2021-12-09 Thread Herbert Voss via lyx-users



Am 08.12.21 um 18:09 schrieb Rich Shepard via lyx-users:

On Wed, 8 Dec 2021, Steve Litt wrote:


That's a lot of time. How many words is this book?



It's not the document's size, but the PDF image's size. I've attached 
a copy

of the 3.7M file so everyone can play with loading it in a document.


Here: https://hvoss.org/document2.pdf is a pdf with your image,
the first one as pdf the second one as png:

-rw-r--r--   1 voss  wheel   108688  9 Dez 14:49 all-discharge-plots-1.png
-rw-r--r--@  1 voss  wheel  3704503  9 Dez 14:45 all-discharge-plots.pdf

the ong has only 108kB and was converted with pdftocairo -png ...

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