Re: Calibri Font

2024-04-30 Thread Dr Eberhard Lisse
Brian,

have you googled this?

   https://www.google.com/search?q=calibri+latex

gives 94 answers. You would put the commands into the Preamble.


Now, however, comes the obvious question: Why? :-)-O

Calibri, besides being proprietary (and not on CTAN for easy
installation into LaTeX), is a Sans-Serif font.

For a documents Serifs are usually recommended for readability, whereas
Sans Serifs are more for presentations. Obviously this is
debatable :-)-O

There is a huge number of publicly available fonts on CTAN. You can look
at the font catalogue

   https://tug.org/FontCatalogue/

or experiment with a test document containing blindtext (lorem ispum)
and use

   Document -> Settings... -> Fonts

The pulldown will offer a number of fonts and if you untick

   Use non-TeX fonts (via XeTeX/LuaTeX)

it'll offer a (limited) number of fonts and even show if they are
already installed. (You can install via the TeX Live manager).

If you tick it there is a much larger offering, which I assume are the
ones available on the OS (in my case Mac).

I myself am a NoTo fan,by the way, with Source Code Pro for Typewriter.

greetings, el

On 2024/04/29 22:13, Brian Kneller via lyx-users wrote:
> Hello,
> 
> I am a newbie to Lyx and I am using the Manchester PhD template on
> the LyX website. Before LyX all my figures and text used Calibri
> font, it would be great if I could use this in my LyX rendering. I
> have been on the web and found several options however the solutions
> are dependant on several modules being present - what is required for
> Lyx please?
> 
> Thanks in advance ( if I am addressing the wrong groups [please let
> me know)
> 
> Brian Kneller


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


Calibri Font

2024-04-29 Thread Brian Kneller via lyx-users
Hello,

I am a newbie to Lyx and I am using the Manchester PhD template on the LyX 
website. Before LyX all my figures and text used Calibri font, it would be 
great if I could use this in my LyX rendering. I have been on the web and found 
several options however the solutions are dependant on several modules being 
present - what is required for Lyx please?

Thanks in advance ( if I am addressing the wrong groups [please let me know)

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


Endnote numbers marked with an asterisk

2024-04-29 Thread Andreas Plihal via lyx-users
Hi,

 

This works very well, thank you very much!!

 

But with eating comes appetite (): What do I have to do to add a small space or comma between multiple footnote numbers, between multiple endnote numbers, or footnote and endnote numbers? The reason for this is that the reader does not accidentally misunderstand a situation in which footnote 3 is immediately followed by endnote 1* as 31*.

 

Andreas

 
 

Gesendet: Montag, 29. April 2024 um 13:27 Uhr
Von: "Herbert Voss" 
An: "Andreas Plihal" , lyx-users@lists.lyx.org
Betreff: Re: Endnote numbers marked with an asterisk



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


Endnote numbers marked with an asterisk

2024-04-28 Thread Andreas Plihal via lyx-users
Hi,

 

Thank you very much for theadvice - it works very well! 

 

Now I have two more questions:


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


Andreas
 

Gesendet: Sonntag, 28. April 2024 um 13:52 Uhr
Von: lyx-users-requ...@lists.lyx.org
An: lyx-users@lists.lyx.org
Betreff: lyx-users Digest, Vol 234, Issue 6

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: Endnote numbers marked with an asterisk (Herbert Voss)
2. Re: LyX and MacOS upgrade to M3? (Gordon Watson)
3. LyX with luatex and non-TeX fonts: Preview of math blown up
(Tobias Hilbricht)


--

Message: 1
Date: Sat, 27 Apr 2024 13:08:27 +0200
From: Herbert Voss 
To: lyx-users@lists.lyx.org
Subject: Re: Endnote numbers marked with an asterisk
Message-ID: <08b56350-25e0-403f-9fea-b613e8f93...@fu-berlin.de>
Content-Type: text/plain; charset=UTF-8; format=flowed



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



--

Message: 2
Date: Sun, 28 Apr 2024 20:19:58 +1000
From: Gordon Watson 
To: Eberhard W Lisse , lyx-users

Subject: Re: LyX and MacOS upgrade to M3?
Message-ID: <0362e2fb-8aef-4d44-b455-e6c5beb40...@me.com>
Content-Type: text/plain; charset=us-ascii

Thanks all for the responses. As a temporary fix, I am clearing my Mac and keeping if for LyX and one special Mac-only app. Email and browsers etc are going to a Windows machine. This way, I can get my head back above water and see how the LyX M3 saga has developed. [el, reads like you have a nice vendor!]
Lyx101

> On 26 Apr 2024, at 4:36 am, Eberhard W Lisse  wrote:
>
> Just get the box, install your user from backup, then reinstall MacTex
> and LyX 2.3.7(.2) and you are done.
>
> LyX is a Universal Build and works out of the box.
>
> I got me a Mini with an M2 and maximum RAM. No drama whatsoever, other
> than that it Kernel Panics 5-6 times per day and so I am awaiting the
> next software upgrade (ie 14.4.2 or 14.5) and if that doesn't cure
> it'll go back to the vendor.
>
> el
>
>
> On 2024-04-24 22:56, eprb--- via lyx-users wrote:
>> I am happily using LyX Version 2.3.6.2 (7 January 2021) with MacOS
>> High Sierra, version 10.13.6.
>>
>> I need to upgrade my Mac, and I want to ensure continuity with LyX.
>>
>> Please: What is the best LyX and new MacOS combination for me?
>>
>> PS: I am looking at an iMac with MacOS M3.
>>
>> Thanks; LyX101
>
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users



--

Message: 3
Date: Sun, 28 Apr 2024 13:52:34 +0200
From: Tobias Hilbricht 
To: lyx-users 
Subject: LyX with luatex and non-TeX fonts: Preview of math blown up
Message-ID:
<77d72e532e7ce01143e17a8e2ad7009a55297701.ca...@linopus.de>
Content-Type: text/plain; charset="utf-8"

Dear developers,

here, when using LyX with non-TeX fonts and output set to luatex,
preview of math (inline and display mode) is blown up (takes
unnecessary white space). When using XeTeX, preview works as expected,
that is, takes up the same space as in the compiled document.

I attached a screenshot. The output pdf is not affected.

To reproduce: Set up a LyX document with math and preview on and set
output preference to luatex (document > settings > output). Save the
document and open it again. In LyX, preview is blown up.

This is independent of the non-TeX fonts used, I get it reproducibly
with Fira Math, Cambria Math, Libertinus Math and TeX Gyre Pagella
Math. When I set output to XeTeX, save and open again, LyX preview
takes up expected space.

LyX 2.4.0~RC4

lualatex --version
This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)
Development id: 7611

xelatex --version
XeTeX 3.141592653-2.6-0.96 (TeX Live 2024)

Tobias



-- next part --
A non-text attachment was scrubbed...
Name: 

Re: LyX and MacOS upgrade to M3?

2024-04-28 Thread Chris Menzel
On Sun, Apr 28, 2024 at 5:29 AM Gordon Watson via lyx-users <
lyx-users@lists.lyx.org> wrote:

> Thanks all for the responses. As a temporary fix, I am clearing my Mac and
> keeping if for LyX and one special Mac-only app. Email and browsers etc are
> going to a Windows machine. This way, I can get my head back above water
> and see how the LyX M3 saga has developed.
>

I don't understand what "LyX M3 saga" you are referring to here. No one is
reporting any problems running LyX on M3 hardware. You should
experience absolutely no issues running 2.3.7 or the latest 2.4.0 RC on any
recent Mac, let alone a new M3 iMac. Nor do I understand what it is you are
"fixing", as you said you were "happily using LyX 2.3.6.2" under High
Sierra on your current Mac. You only said you needed to upgrade your Mac.
So just get your new Mac, install LyX and get to work. :-)

Chris Menzel

> > On 2024-04-24 22:56, eprb--- via lyx-users wrote:
> >> I am happily using LyX Version 2.3.6.2 (7 January 2021) with MacOS
> >> High Sierra, version 10.13.6.
> >>
> >> I need to upgrade my Mac, and I want to ensure continuity with LyX.
> >>
> >> Please: What is the best LyX and new MacOS combination for me?
> >>
> >> PS: I am looking at an iMac with MacOS M3.
> >>
> >> Thanks; LyX101
>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX and MacOS upgrade to M3?

2024-04-28 Thread Dr Eberhard Lisse
I think this (Windows) is serious underkill :-)-O as this works out of
the box. I use Sonoma 14.4.1 and LyX 2.4.0 RC4 (but 2.3.7.2 workd
without any issues on my Sonoma 14.4.1 M2 MacBook Air)

Safari and Mail.app work very well, even though I use GoogleChrome and
BetterBird (improvement on Thunderbird) myself.


Turns out, that it was the external USB-C Hard Disk used for Time
Machine which caused the panic attacks :-)-O. Disconnected it and
voilà.

So went and bought a new drive and it also gives no problems.


greetings, el

On 2024/04/28 12:19, Gordon Watson via lyx-users wrote:
> Thanks all for the responses. As a temporary fix, I am clearing my
> Mac and keeping if for LyX and one special Mac-only app. Email and
> browsers etc are going to a Windows machine. This way, I can get my
> head back above water and see how the LyX M3 saga has developed. [el,
> reads like you have a nice vendor!] Lyx101
> 
>> On 26 Apr 2024, at 4:36 am, Eberhard W Lisse 
>> wrote:
[...]
>> I got me a Mini with an M2 and maximum RAM. No drama whatsoever,
>> other than that it Kernel Panics 5-6 times per day and so I am
>> awaiting the next software upgrade (ie 14.4.2 or 14.5) and if that
>> doesn't cure it'll go back to the vendor.
>> 
>> el
[...]

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


Re: LyX and MacOS upgrade to M3?

2024-04-28 Thread Gordon Watson via lyx-users
Thanks all for the responses. As a temporary fix, I am clearing my Mac and 
keeping if for LyX and one special Mac-only app. Email and browsers etc are 
going to a Windows machine. This way, I can get my head back above water and 
see how the LyX M3 saga has developed. [el, reads like you have a nice vendor!]
 Lyx101

> On 26 Apr 2024, at 4:36 am, Eberhard W Lisse  wrote:
> 
> Just get the box, install your user from backup, then reinstall MacTex
> and LyX 2.3.7(.2) and you are done.
> 
> LyX is a Universal Build and works out of the box.
> 
> I got me a Mini with an M2 and maximum RAM. No drama whatsoever, other
> than that it Kernel Panics 5-6 times per day and so I am awaiting the
> next software upgrade (ie 14.4.2 or 14.5) and if that doesn't cure
> it'll go back to the vendor.
> 
> el
> 
> 
> On 2024-04-24 22:56, eprb--- via lyx-users wrote:
>> I am happily using LyX Version 2.3.6.2 (7 January 2021) with MacOS
>> High Sierra, version 10.13.6.
>> 
>> I need to upgrade my Mac, and I want to ensure continuity with LyX.
>> 
>> Please: What is the best LyX and new MacOS combination for me?
>> 
>> PS: I am looking at an iMac with MacOS M3.
>> 
>> Thanks; LyX101
> 
> 
> -- 
> 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: 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


Endnote numbers marked with an asterisk

2024-04-27 Thread Andreas Plihal via lyx-users
Hi dear LyX community,

 

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?

 

Andreas

 

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


Re: Subpixel antialiasing?

2024-04-25 Thread Lorenzo Bertini
Il giorno gio 25 apr 2024 alle ore 23:09 Steve Litt
 ha scritto:
>
> And why? LyX isn't WYSIWYG, so as long as the work area is readable,
> why worry about its typography?
>
> SteveT
>
> Steve Litt
>

Because I have to stare at it for much more than any other text I read
on the computer.

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


Re: Subpixel antialiasing?

2024-04-25 Thread Jean-Marc Lasgouttes
It is a matter of readability on some screens.

JMarc 

Le 25 avril 2024 23:09:14 GMT+02:00, Steve Litt  a 
écrit :
>And why? LyX isn't WYSIWYG, so as long as the work area is readable,
>why worry about its typography?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Subpixel antialiasing?

2024-04-25 Thread Steve Litt
Lorenzo Bertini said on Thu, 25 Apr 2024 20:07:24 +0200

>Dear LyX users,
>does anyone know if subpixel antialiasing can be enabled for LyX's
>workarea? Is yes, how?

And why? LyX isn't WYSIWYG, so as long as the work area is readable,
why worry about its typography?

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX and MacOS upgrade to M3?

2024-04-25 Thread Eberhard W Lisse
Just get the box, install your user from backup, then reinstall MacTex
and LyX 2.3.7(.2) and you are done.

LyX is a Universal Build and works out of the box.

I got me a Mini with an M2 and maximum RAM. No drama whatsoever, other
than that it Kernel Panics 5-6 times per day and so I am awaiting the
next software upgrade (ie 14.4.2 or 14.5) and if that doesn't cure
it'll go back to the vendor.

el


On 2024-04-24 22:56, eprb--- via lyx-users wrote:
> I am happily using LyX Version 2.3.6.2 (7 January 2021) with MacOS
> High Sierra, version 10.13.6.
>
> I need to upgrade my Mac, and I want to ensure continuity with LyX.
>
> Please: What is the best LyX and new MacOS combination for me?
>
> PS: I am looking at an iMac with MacOS M3.
>
> Thanks; LyX101


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


Re: Subpixel antialiasing?

2024-04-25 Thread Jean-Marc Lasgouttes

Le 25/04/2024 à 20:07, Lorenzo Bertini a écrit :

Dear LyX users,
does anyone know if subpixel antialiasing can be enabled for LyX's
workarea? Is yes, how?


What is your platform ? If it is Wayland on Linux it is not possible yet 
because the painting occurs on an intermediary pixmap and this kill 
subpixel aliasing.


I have a patch that can allow to avoid that, at the price of painting 
the whole screen at each update. I am not sure at this point whether the 
performance cost is acceptable.


JMarc

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


Subpixel antialiasing?

2024-04-25 Thread Lorenzo Bertini
Dear LyX users,
does anyone know if subpixel antialiasing can be enabled for LyX's
workarea? Is yes, how?

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


Re: LyX and MacOS upgrade to M3?

2024-04-25 Thread Christopher Menzel
On Apr 24, 2024, at 4:10 PM, eprb--- via lyx-users  
wrote:
> I am happily using LyX Version 2.3.6.2 (7 January 2021) with MacOS High 
> Sierra, version 10.13.6.
> 
> I need to upgrade my Mac, and I want to ensure continuity with LyX.
> 
> Please: What is the best LyX and new MacOS combination for me?
> 
> PS: I am looking at an iMac with MacOS M3.

Just get your nice new Mac (running Sonoma presumably), install the latest 
release version of LyX (2.3.7) and upgrade when 2.4 is released, which should 
be quite soon. Both should install and run flawlessly on most any Mac running 
most any reasonably recent version of MacOS.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: grammar check

2024-04-25 Thread Saša Janiška
On Wed, 24 Apr 2024 10:16:37 +
Bernt Lie via lyx-users  wrote:

> Not a perfect solution...

> I copied text from LyX into Microsoft Edge co-pilot following

[...]

> -- I then copied the corrected text from MS Edge back into LyX.

OK, that's similar to using LanguageTool/Andtidote or some other
grammar checker via web...

It would be nice to have something more integrated with LyX!


Sincerely,
Saša

-- 
A person is considered still further advanced when he regards honest
well-wishers, affectionate benefactors, the neutral, mediators, the
envious, friends and enemies, the pious and the sinners all with an
equal mind.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: grammar check

2024-04-24 Thread Saša Janiška
On Wed, 24 Apr 2024 18:56:43 -0400
Steve Litt  wrote:

> Does LyX have a Markdown export? Is it any better than LyX' HTML
> export?

I'm told about this: https://wiki.lyx.org/Tips/ConvertMarkdown


Sincerely,
Saša

-- 
The working senses are superior to dull matter; mind is higher
than the senses; intelligence is still higher than the mind;
and he [the soul] is even higher than the intelligence.


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


Re: grammar check

2024-04-24 Thread Steve Litt
Saša Janiška said on Wed, 24 Apr 2024 11:24:03 +0200

>Hello,
>
>I've decided to do my note-taking (Zettelkasten) by just using pen &
>paper and when I want to produce some context I'll just use LyX -
>exporting to markdown when I want something for the web 

Does LyX have a Markdown export? Is it any better than LyX' HTML export?

Thanks,

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


LyX and MacOS upgrade to M3?

2024-04-24 Thread eprb--- via lyx-users
I am happily using LyX Version 2.3.6.2 (7 January 2021) with MacOS High Sierra, 
version 10.13.6.

I need to upgrade my Mac, and I want to ensure continuity with LyX.

Please: What is the best LyX and new MacOS combination for me?

PS: I am looking at an iMac with MacOS M3.

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


Re: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-24 Thread Pavel Sanda
On Wed, Apr 24, 2024 at 04:07:51PM +0200, Tobias Hilbricht wrote:
> > Apart from that, I could upload your scripts into wiki upload section
> > if you want to just link them.
> 
> Yes, that would be good, that makes it easier to install and use.

Ok, it is now at: https://wiki.lyx.org/uploads/Examples/gnuplot.xtemplate/
you can link to the file from wiki via 
uploads:/Examples/gnuplot.xtemplate/file...

> > And we could also mention in in our
> > manuals if you send me the pach :) Up to you.
> 
> What do you mean here?

We have some mention of .gp files in user guide of lyx 2.5:
https://www.lyx.org/trac/export/f3c5ff9cb72c5231f1e1e81452e67d6f12dadecb/lyxgit/lib/doc/UserGuide.lyx

You can edit the footnote about gnuplot (with lyx 2.4 if you have it) to 
mention the
template in wiki page and its advantage - then send the update of the UG to me, 
I'll commit it.

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


Re: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-24 Thread Tobias Hilbricht
Am Dienstag, dem 23.04.2024 um 11:01 +0200 schrieb Pavel Sanda:
> On Mon, Apr 22, 2024 at 08:10:15PM +0200, Tobias Hilbricht wrote:
> > 
> > With gnuplots as external material (gnuplot.xtemplate) something
> > similar to the inkscape.xtemplate and the xfig.xtemplate happens:
> > Labels and numbers appear in the document font, which looks way
> > better
> > and is less confusing than having different fonts in the plot. And
> > LaTeX math input is rendered.

> Ok, I see. I think it would be good to put this explanation in the
> wiki.

I have put the explanation into the wiki.

> Apart from that, I could upload your scripts into wiki upload section
> if you want to just link them.

Yes, that would be good, that makes it easier to install and use.

> And we could also mention in in our
> manuals if you send me the pach :) Up to you.

What do you mean here?

> I could even see something like that landing as part of lyx 2.5,
> if there is demand (or/and some active dev who would review/use
> this stuff).

Yes, it would be good if it gets tested on other systems (It works here
nicely on Ubuntu 22.04.4 with LyX 2.4.0~RC4 and gnuplot 5.4 patchlevel
2).

Tobias

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


RE: grammar check

2024-04-24 Thread Bernt Lie via lyx-users
(The procedure worked, even though I see that I misspelled "grammar"...)

-Original Message-
From: lyx-users  On Behalf Of Bernt Lie via 
lyx-users
Sent: Wednesday, April 24, 2024 12:17 PM
To: Saša Janiška ; lyx-users@lists.lyx.org
Subject: RE: grammar check

Not a perfect solution...

I copied text from LyX into Microsoft Edge co-pilot following 
(https://www.microsoft.com/en-us/bing/do-more-with-ai/how-to-check-your-grammar-using-bing-chat?form=MA13KP).

I used command: "Can you check this text for spelling errors and grammer 
errors?", and passed in the text to check *after* a line break (Ctrl+Enter, I 
think), and then clicked on the start button.

The results seems to be quite good, although it "fixed" a handful of errors 
that were not really errors, but rather words that co-pilot didn't know (some 
technical words from dna analysis). 
--
I then copied the corrected text from MS Edge back into LyX.

The "downside" of this procedure is that some structure was lost in the copying 
back-and-forth process (a slash "/", some bullet symbols in lists, etc.). 

-B

-Original Message-
From: lyx-users  On Behalf Of Saša Janiška
Sent: Wednesday, April 24, 2024 11:24 AM
To: lyx-users@lists.lyx.org
Subject: grammar check

Hello,

I've decided to do my note-taking (Zettelkasten) by just using pen & paper and 
when I want to produce some context I'll just use LyX - exporting to markdown 
when I want something for the web (using Tiki
CMS) or LyX/LaTeX for writing articles (pdfs), slide-presentations, books…

However, being non-native speaker/writer I do find useful to use some grammar 
checkers.

To support LanguageTool I've subscribed to Premium version, but found out that 
despite being open-source etc. it has its limitations (see e.g. 
https://github.com/valentjn/ltex-ls/issues/215).

Otoh, I've a licence for proprietary Antidote
(https://www.druide.com/en) which can check text provided as e.g.
markdown, LaTeX...

Now I wonder if you have any suggestion how to review lyx-gc to either support 
newer versions of LanguageTool or to use Antidote's ability to grammar-check 
LaTeX markup considering that lyx-gc was using chktex to do the task.

Any other suggestion how to add grammar-check feature to LyX?


Sincerely,
Saša

--
As the embodied soul continuously passes, in this body, from boyhood to youth 
to old age, the soul similarly passes into another body at death. A sober 
person is not bewildered by such a change.


-- 
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
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


RE: grammar check

2024-04-24 Thread Bernt Lie via lyx-users
Not a perfect solution...

I copied text from LyX into Microsoft Edge co-pilot following 
(https://www.microsoft.com/en-us/bing/do-more-with-ai/how-to-check-your-grammar-using-bing-chat?form=MA13KP).

I used command: "Can you check this text for spelling errors and grammer 
errors?", and passed in the text to check *after* a line break (Ctrl+Enter, I 
think), and then clicked on the start button.

The results seems to be quite good, although it "fixed" a handful of errors 
that were not really errors, but rather words that co-pilot didn't know (some 
technical words from dna analysis). 
--
I then copied the corrected text from MS Edge back into LyX.

The "downside" of this procedure is that some structure was lost in the copying 
back-and-forth process (a slash "/", some bullet symbols in lists, etc.). 

-B

-Original Message-
From: lyx-users  On Behalf Of Saša Janiška
Sent: Wednesday, April 24, 2024 11:24 AM
To: lyx-users@lists.lyx.org
Subject: grammar check

Hello,

I've decided to do my note-taking (Zettelkasten) by just using pen & paper and 
when I want to produce some context I'll just use LyX - exporting to markdown 
when I want something for the web (using Tiki
CMS) or LyX/LaTeX for writing articles (pdfs), slide-presentations, books…

However, being non-native speaker/writer I do find useful to use some grammar 
checkers.

To support LanguageTool I've subscribed to Premium version, but found out that 
despite being open-source etc. it has its limitations (see e.g. 
https://github.com/valentjn/ltex-ls/issues/215).

Otoh, I've a licence for proprietary Antidote
(https://www.druide.com/en) which can check text provided as e.g.
markdown, LaTeX...

Now I wonder if you have any suggestion how to review lyx-gc to either support 
newer versions of LanguageTool or to use Antidote's ability to grammar-check 
LaTeX markup considering that lyx-gc was using chktex to do the task.

Any other suggestion how to add grammar-check feature to LyX?


Sincerely,
Saša

--
As the embodied soul continuously passes, in this body, from boyhood to youth 
to old age, the soul similarly passes into another body at death. A sober 
person is not bewildered by such a change.


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


grammar check

2024-04-24 Thread Saša Janiška
Hello,

I've decided to do my note-taking (Zettelkasten) by just using pen &
paper and when I want to produce some context I'll just use LyX -
exporting to markdown when I want something for the web (using Tiki
CMS) or LyX/LaTeX for writing articles (pdfs), slide-presentations,
books…

However, being non-native speaker/writer I do find useful to use some
grammar checkers.

To support LanguageTool I've subscribed to Premium version,
but found out that despite being open-source etc. it has its
limitations (see e.g. https://github.com/valentjn/ltex-ls/issues/215).

Otoh, I've a licence for proprietary Antidote
(https://www.druide.com/en) which can check text provided as e.g.
markdown, LaTeX...

Now I wonder if you have any suggestion how to review lyx-gc to either
support newer versions of LanguageTool or to use Antidote's ability to
grammar-check LaTeX markup considering that lyx-gc was using chktex to
do the task.

Any other suggestion how to add grammar-check feature to LyX?


Sincerely,
Saša

-- 
As the embodied soul continuously passes, in this body,
from boyhood to youth to old age, the soul similarly passes
into another body at death. A sober person is not bewildered
by such a change.


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


Re: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-23 Thread Pavel Sanda
On Mon, Apr 22, 2024 at 08:10:15PM +0200, Tobias Hilbricht wrote:
> thank you for asking. When just using .gp filename directly as graphics
> inset the fonts in the plot are not the same as document fonts. E. g.
> in default settings you have CM fonts in the document and Helvetica in
> the gnuplot. Furthermore, direct graphic insets do not render LaTeX
> math in a gnuplot.
> With gnuplots as external material (gnuplot.xtemplate) something
> similar to the inkscape.xtemplate and the xfig.xtemplate happens:
> Labels and numbers appear in the document font, which looks way better
> and is less confusing than having different fonts in the plot. And
> LaTeX math input is rendered.
> I have attached a PDF showing the difference and a sample another-
> gnuplot-example.gp which contains LaTeX math.

Ok, I see. I think it would be good to put this explanation in the
wiki.

Apart from that, I could upload your scripts into wiki upload section
if you want to just link them. And we could also mention in in our
manuals if you send me the pach :) Up to you.

I could even see something like that landing as part of lyx 2.5,
if there is demand (or/and some active dev who would review/use
this stuff).

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


Re: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-21 Thread Pavel Sanda
On Sun, Apr 21, 2024 at 03:03:15PM +0200, Tobias Hilbricht wrote:
> I copied gnuplot.xtemplate and the converter scripts in Python along
> with instructions for setup and configuration on? in? the LyX wiki:
> 
> https://wiki.lyx.org/Tools/GnuplotInLyX

What is the advantage here compared to just using .gp filename directly
in graphics inset?

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


Aw: Re: Index is not displayed

2024-04-21 Thread Andreas Plihal via lyx-users
Hi Riki,

 

many thanks for your response. I have a few questions about your suggestions that I would like to quote:

 

 

    I have sometimes had trouble with the index not displaying the first time I export a file. If I change something trivial (add a space at the end of a paragraph, say) and re-export, then it appears.

 

I have already made many, many changes to my 250-page book, which is far from finished. There will probably have been spaces at the end of some paragraphs. Unfortunately that had no effect.

 

   One way to try to debug this would be to export the file to LaTeX and run everything manually. 

 

Unfortunately I don't understand this: How do I export the file to LaTeX and how do I do everything manually?

 

   Or just launch LyX from a terminal, and watch the output when you export. 

 


How do I start LyX from a terminal? And how do I observe the output when exporting?


Andreas


 

Gesendet: Samstag, 13. April 2024 um 19:30 Uhr
Von: "Richard Kimberly Heck" 
An: "Andreas Plihal" , lyx-users@lists.lyx.org
Betreff: Re: Index is not displayed



On 4/13/24 12:31, Andreas Plihal via lyx-users wrote:



Dear Herbert, 

 

I think you are responding to an email from me that is already out of date. 

 

Meanwhile I sent another file WME_Index.lyx, which uses the text processor texindy. Jürgen recommended it to me. Unfortunately that didn't work either.

 

I can't find the xindex processor you mentioned in my selection list. Instead I find xindy. Did you perhaps mean that? It doesn't work with xindy either.

 

Even if, as you suggested, I use makeindex as the processor and enter the option "-s german.ist" (Jürgen commented that he cannot find german.ist on his computer), the index is not displayed.



I have sometimes had trouble with the index not displaying the first time I export a file. If I change something trivial (add a space at the end of a paragraph, say) and re-export, then it appears.

One way to try to debug this would be to export the file to LaTeX and run everything manually. Or just launch LyX from a terminal, and watch the output when you export. Either should give you more information.

Riki

 





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


Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-21 Thread Tobias Hilbricht
I copied gnuplot.xtemplate and the converter scripts in Python along
with instructions for setup and configuration on? in? the LyX wiki:

https://wiki.lyx.org/Tools/GnuplotInLyX

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


Help Please

2024-04-20 Thread Brian Kneller via lyx-users
Hi thanks for the responses they have been most useful. I have a few questions 
below:

 I have decided to use the Manchester Uni thesis format as its very near the 
London Uni version.  I think I am running into unnecessary difficulties because 
I am using my existing directory structure and Lyx  has a preferred in 
/Library/Application Support/Lyx-2.3.  I have not found a preferred structure 
is there one?
 I am stripping out the bits I don’t want from the Thesis Template such as  
figures , headings , labels etc all have an index of some form where should 
these be stored &  how do I ensure these are reset or can I copy the template 
into the template subdirectory , which is currently empty and then start a new 
doc from this.
 I have loaded revtex4-1 into the shared area subdir but cannot see it from the 
Doc/settings in the lyx main menu should it be there?
 I like the use of Letterine for the first char of a section, how is this 
\lettrine{I}{n}and the following invoked :--   Figure~\ref{shuffle_diagram}; 
\label{Shuffle} and where is the definitions of these –I have not found (yet) 
where this is described an indication where I could look would be helpful. I 
suspect they are under the Lyx-Code environment in the dropdown top lefthand 
side of menu – but there is no list below it.

 Sorry for these simple questions but I need to complete this soon

 

Many Thanks

 

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


Re: Help with gnuplot xtemplate needed

2024-04-20 Thread Tobias Hilbricht
I got it myself after a lot of trying and comparing:

In my file gnuplot.xtemplate I wrote "InputFormat gp", because
"InputFormat" and FileFilter extension are the same in the case of Xfig
(fig) and Inkscape (svg), but not with gnuplot: "InputFormat gnuplot"
and FileFilter .gp works!

For anyone interested I attached my working gnuplot.xtemplate. 

Sorry for making noise!

Tobias


Am Samstag, dem 20.04.2024 um 08:44 +0200 schrieb Tobias Hilbricht:
> Dear LyX-user,
> 
> I would like to have a gnuplot xtemplate. To that end I wrote a shell
> script gnuplot2pdftex.sh like this:
> 
> #!/bin/bash
> GnuplotFile=$1
> BaseName=`basename $GnuplotFile .gp`
> GnuplotName=$BaseName.ptx
> LyxName=$BaseName.pdf_tex
> gnuplot -e "set term cairolatex pdf ; set output '${GnuplotName}' "
> $GnuplotFile
> mv $GnuplotName $LyxName
> 
> This script works on the command line, and I can input the resulting
> file gnuplot.pdf_tex in LyX, and if I put it in a preview box I get a
> preview, and the document compiles.
> 
> I have similar scripts for pstex, png and eps in
> ~/.lyx/scripts and define converters like this:
> 
> \converter "gnuplot" "pdftex2" "$$s/scripts/gnuplot2pdftex.sh $$i
> $$o"
> "needauth"
> 
> and have a file gnuplot.xtemplate written after the model of
> inkscape.xtemplate in ~/.lyx/xtemplate
#
# Gnuplot External Template
#
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.
#
# author Tobias Hilbricht
#
# based on external templates by:
#
# author Asger Alstrup Nielsen
# author Angus Leeming
# author Johnathan Burchill
#
# Full author contact details are available in file CREDITS.


PreambleDef WarnNotFound
%% Print a warning encased in an fbox.
\def\lyxstripprefix#1>{}
\newcommand{\warnNotFound}[1]{%
\def\lyxtempfilename{#1}%
\fbox{Could not find

\ttfamily\expandafter\lyxstripprefix\meaning\lyxtempfilename!}%
\typeout{Could not find \lyxtempfilename!}%
}
PreambleDefEnd


PreambleDef InputOrWarn
%% Input the file if it exists, using \input, else print a warning
\newcommand{\inputOrWarn}[1]{%
\IfFileExists{#1}{\input{#1}}{\warnNotFound{#1}}}
PreambleDefEnd


Template Gnuplot
GuiName "Gnuplot"
HelpText
A Gnuplot figure.
Note that using this template automatically uses the 
document text in the image (like with the Xfig template).
HelpTextEnd
InputFormat gnuplot
FileFilter "*.{gp}"
AutomaticProduction true
Transform Rotate
Transform Resize
Preview InstantPreview
Format PDFLaTeX
TransformCommand Rotate RotationLatexCommand
TransformCommand Resize ResizeLatexCommand
Product 
"$$RotateFront$$ResizeFront\\input{$$AbsOrRelPathMaster$$Basename.pdf_tex}$$ResizeBack$$RotateBack"
UpdateFormat pdftex2
UpdateResult "$$AbsPath$$Basename.pdf_tex"
Requirement "xcolor"
Requirement "graphicx"
Requirement "mathtools"
# Preamble WarnNotFound
# Preamble InputOrWarn
ReferencedFile pdflatex "$$AbsOrRelPathMaster$$Basename.pdf_tex"
ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"
FormatEnd
Format LaTeX
TransformCommand Rotate RotationLatexCommand
TransformCommand Resize ResizeLatexCommand
Product 
"$$RotateFront$$ResizeFront\\input{$$AbsOrRelPathMaster$$Basename.ps_tex}$$ResizeBack$$RotateBack"
UpdateFormat pstex2
UpdateResult "$$AbsPath$$Basename.ps_tex"
Requirement "xcolor"
Requirement "graphicx"
Requirement "mathtools"
# Preamble WarnNotFound
# Preamble InputOrWarn
ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.ps_tex"
ReferencedFile latex "$$AbsPath$$Basename.eps"
ReferencedFile dvi   "$$AbsPath$$Basename.eps"
FormatEnd
Format Ascii
Product "[InkscapeGraphics: $$FName]"
FormatEnd
Format DocBook
Product ""
UpdateFormat eps
UpdateResult "$$AbsPath$$Basename.eps"
ReferencedFile docbook "$$AbsPath$$Basename.eps"
ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
FormatEnd
Format XHTML
Product ""
UpdateFormat svg
UpdateResult "$$AbsPath$$Basename.svg"
ReferencedFile xhtml "$$AbsPath$$Basename.svg"
FormatEnd
TemplateEnd

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


Help with gnuplot xtemplate needed

2024-04-20 Thread Tobias Hilbricht
Dear LyX-user,

I would like to have a gnuplot xtemplate. To that end I wrote a shell
script gnuplot2pdftex.sh like this:

#!/bin/bash
GnuplotFile=$1
BaseName=`basename $GnuplotFile .gp`
GnuplotName=$BaseName.ptx
LyxName=$BaseName.pdf_tex
gnuplot -e "set term cairolatex pdf ; set output '${GnuplotName}' "
$GnuplotFile
mv $GnuplotName $LyxName

This script works on the command line, and I can input the resulting
file gnuplot.pdf_tex in LyX, and if I put it in a preview box I get a
preview, and the document compiles.

However, if I have similar scripts for pstex, png and eps in
~/.lyx/scripts and define converters like this:

\converter "gnuplot" "pdftex2" "$$s/scripts/gnuplot2pdftex.sh $$i $$o"
"needauth"

and have a file gnuplot.xtemplate written after the model of
inkscape.xtemplate in ~/.lyx/xtemplate, then preview fails and there is
no image in the compiled document.

Despite a defined converter for pdftex and pstex I get error messages
with lyx -dbg graphics related to convert:

Execution of "convert" failed.
Systemcall.cpp (306): Systemcall: 'python3 -tt "/usr/local/share/lyx-
2.4.0~RC4/scripts/convertDefault.py" gp
"/tmp/lyx_tmpdir.hmNUbfzyTaRY/lyx_tmpbuf0/2_home_tobias_gnuplot-
beispiel.gp" ps_tex
"/tmp/lyx_tmpdir.hmNUbfzyTaRY/lyx_tmpbuf0/2_home_tobias_gnuplot-
beispiel.ps_tex"' finished with exit code 1
Error: Die Datei kann nicht konvertiert werden

Keine Information vorhanden, um Dateien im gp-Format nach pstex2 zu
konvertieren.
Definieren Sie einen Konverter in den Einstellungen.
convert-im6.q16: no decode delegate for this image format `GP' @
error/constitute.c/ReadImage/587.
convert-im6.q16: no images defined
`ps_tex:/tmp/lyx_tmpdir.hmNUbfzyTaRY/lyx_tmpbuf0/2_home_tobias_gnuplot-
beispiel.ps_tex' @ error/convert.c/ConvertImageCommand/3229.
/usr/local/share/lyx-2.4.0~RC4/scripts/convertDefault.py ERROR
Execution of "convert" failed.

What is wrong or what is missing? Thanks for helpful hints in advance!

Tobias


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


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Eberhard W Lisse
I would use LibreOffice and the latest Writer2LaTeX in the "UltraClean"
configuration. Then text2lyx the file and see what happens.

el


On 2024-04-17 22:57, Brian Kneller via lyx-users wrote:
> Hi, 
> 
> I hope I am in the correct space. — I have prepared a thesis for a
> PhD (75K words)and approx 80 figures, the text in Mac-word and the
> figures are in Adobe Illustrator so I have some flexibility in
> Format. Also there are many references. I hold all my references and
> comments on them in Bookends. I regret not looking at lyx/latex and
> using them much earlier so I am looking for an easy way to migrate
> this info into Lyx and I am also looking for a Thesis  template. I
> have dowloaded and installed Lyx on my Macbook Pro (Mavericks) and
> been thro the intro etc. I am trying to minimise the effort in
> migration to Lyx so any comments and advice is most welcome.
> 
> Thanks in anticipation
> 
> Regds
> 
> Brian Kneller 
> 


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


Re: Not able to spellcheck in RC4 under Linux

2024-04-18 Thread Christopher Menzel
> Le 18/04/2024 à 16:59, Christopher Menzel a écrit :
>>> Maybe you need enchant (default on debian), it uses different spell 
>>> checkers.
>>> 
>> Thank you for the suggestion. I finally got the bright idea of looking 
>> through the configure script for relevant flags and found 
>> “--with-included-hunspell”. Apparently, by default the script looks for an 
>> installed version of hunspell instead of using the version that’s included 
>> in the distribution and, for some reason, it wasn’t able to find my 
>> installed version of hunspell. But configuring with the above flag did the 
>> trick. My document is now nicely littered with wavy red underlines (as 
>> desired!). :-)
> 
> Hi,
> 
> To compile with support for the installed hunspell, you need to install the 
> libhunspell-dev package.

Hm, I don’t have libhunspell-dev installed but I definitely have spellchecking 
support and Hunspell now shows up as the spellchecker in Preferences.

-chris


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


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Anders Ekberg via lyx-users

> 18 apr. 2024 kl. 17:20 skrev Jean-Marc Lasgouttes :
> 
> Le 18/04/2024 à 16:59, Richard Kimberly Heck a écrit :
>>> On 4/17/24 16:57, Brian Kneller via lyx-users wrote:
>>> Hi,
>>> 
>>> I hope I am in the correct space. — I have prepared a thesis for a PhD  
>>> (75K words)and approx 80 figures, the text in Mac-word and the figures are 
>>> in Adobe Illustrator so I have some flexibility in Format. Also there are 
>>> many references. I hold all my references and comments on them in Bookends. 
>>> I regret not looking at lyx/latex and using them much earlier so I am 
>>> looking for an easy way to migrate this info into Lyx and I am also looking 
>>> for a Thesis  template. I have dowloaded and installed Lyx on my Macbook 
>>> Pro (Mavericks) and been thro the intro etc. I am trying to minimise the 
>>> effort in migration to Lyx so any comments and advice is most welcome.
>> It should not be difficult to convert the main bulk of the text. You can 
>> export LaTeX from LibreOffice or use Pandoc to convert Word to LaTeX, then 
>> import the LaTeX document into LyX.
> 
> I will add that this is true if your Word document uses styles for things 
> like sections. Also, I am not sure what is going to happen if you have math 
> equations.
> 
> JMarc

Math equations at least work fine the other way around I.e. LyX to Word if you 
follow the approach on the lyx wiki
/Anders
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Stephen Buonopane


> On Apr 17, 2024, at 4:57 PM, Brian Kneller via lyx-users 
>  wrote:
> 
> Hi, 
> 
> I hope I am in the correct space. — I have prepared a thesis for a PhD  (75K 
> words)and approx 80 figures, the text in Mac-word and the figures are in 
> Adobe Illustrator so I have some flexibility in Format. Also there are many 
> references. I hold all my references and comments on them in Bookends. I 
> regret not looking at lyx/latex and using them much earlier so I am looking 
> for an easy way to migrate this info into Lyx and I am also looking for a 
> Thesis  template. I have dowloaded and installed Lyx on my Macbook Pro 
> (Mavericks) and been thro the intro etc. I am trying to minimise the effort 
> in migration to Lyx so any comments and advice is most welcome.
> 

Here is a page with thesis templates for LyX
https://wiki.lyx.org/Examples/Thesis

If your university has a latex template, you can usually adapt that to LyX with 
some combination of using the Document->Settings->Preamble and the LyX layout 
file. 

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


Re: Not able to spellcheck in RC4 under Linux

2024-04-18 Thread Jean-Marc Lasgouttes

Le 18/04/2024 à 16:59, Christopher Menzel a écrit :
Maybe you need enchant (default on debian), it uses different spell 
checkers.


Thank you for the suggestion. I finally got the bright idea of looking 
through the configure script for relevant flags and found 
“--with-included-hunspell”. Apparently, by default the script looks for 
an installed version of hunspell instead of using the version that’s 
included in the distribution and, for some reason, it wasn’t able to 
find my installed version of hunspell. But configuring with the above 
flag did the trick. My document is now nicely littered with wavy red 
underlines (as desired!). :-)


Hi,

To compile with support for the installed hunspell, you need to install 
the libhunspell-dev package.


JMarc


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


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Jean-Marc Lasgouttes

Le 18/04/2024 à 16:59, Richard Kimberly Heck a écrit :

On 4/17/24 16:57, Brian Kneller via lyx-users wrote:

Hi,

I hope I am in the correct space. — I have prepared a thesis for a PhD 
 (75K words)and approx 80 figures, the text in Mac-word and the 
figures are in Adobe Illustrator so I have some flexibility in Format. 
Also there are many references. I hold all my references and comments 
on them in Bookends. I regret not looking at lyx/latex and using them 
much earlier so I am looking for an easy way to migrate this info into 
Lyx and I am also looking for a Thesis  template. I have dowloaded and 
installed Lyx on my Macbook Pro (Mavericks) and been thro the intro 
etc. I am trying to minimise the effort in migration to Lyx so 
any comments and advice is most welcome.


It should not be difficult to convert the main bulk of the text. You can 
export LaTeX from LibreOffice or use Pandoc to convert Word to LaTeX, 
then import the LaTeX document into LyX.


I will add that this is true if your Word document uses styles for 
things like sections. Also, I am not sure what is going to happen if you 
have math equations.


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


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Scott Kostyshak
On Wed, Apr 17, 2024 at 09:57:42PM GMT, Brian Kneller via lyx-users wrote:
> Hi, 
> 
> I hope I am in the correct space. — I have prepared a thesis for a PhD  (75K 
> words)and approx 80 figures, the text in Mac-word and the figures are in 
> Adobe Illustrator so I have some flexibility in Format. Also there are many 
> references. I hold all my references and comments on them in Bookends. I 
> regret not looking at lyx/latex and using them much earlier so I am looking 
> for an easy way to migrate this info into Lyx and I am also looking for a 
> Thesis  template. I have dowloaded and installed Lyx on my Macbook Pro 
> (Mavericks) and been thro the intro etc. I am trying to minimise the effort 
> in migration to Lyx so any comments and advice is most welcome.
> 
> Thanks in anticipation
> 
> Regds
> 
> Brian Kneller 

You could also consider a paid solution:

  https://wiki.lyx.org/Tools/LyXConverter

I have no idea what it supports. You might want to contact the author.

Best,
Scott


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


Re: Not able to spellcheck in RC4 under Linux

2024-04-18 Thread Christopher Menzel
> Maybe you need enchant (default on debian), it uses different spell checkers.
> 
Thank you for the suggestion. I finally got the bright idea of looking through 
the configure script for relevant flags and found “--with-included-hunspell”. 
Apparently, by default the script looks for an installed version of hunspell 
instead of using the version that’s included in the distribution and, for some 
reason, it wasn’t able to find my installed version of hunspell. But 
configuring with the above flag did the trick. My document is now nicely 
littered with wavy red underlines (as desired!). :-)

-chris
> Am 17.04.24 um 5:41 PM schrieb Christopher Menzel:
>> I have compiled LyX 2.4-RC4 under Kali Linux and it works great but I am
>>  unable to spellcheck. Tools → Spellchecker is greyed out and LyX sees 
>> no spellchecker engine under Preferences → Spellchecker. Hunspell and 
>> the English dictionary are of course installed. I found an old thread 
>> saying that Hunspell support had to be explicitly included at configure 
>> time, but I believe Hunspell is now built in. At any rate, the old 
>> “—use-hunspell” option is not recognized. Spellchecking via Hunspell 
>> works fine in the MacOS version of RC4.

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


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Richard Kimberly Heck

On 4/17/24 16:57, Brian Kneller via lyx-users wrote:

Hi,

I hope I am in the correct space. — I have prepared a thesis for a PhD 
 (75K words)and approx 80 figures, the text in Mac-word and the 
figures are in Adobe Illustrator so I have some flexibility in Format. 
Also there are many references. I hold all my references and comments 
on them in Bookends. I regret not looking at lyx/latex and using them 
much earlier so I am looking for an easy way to migrate this info into 
Lyx and I am also looking for a Thesis  template. I have dowloaded and 
installed Lyx on my Macbook Pro (Mavericks) and been thro the intro 
etc. I am trying to minimise the effort in migration to Lyx so 
any comments and advice is most welcome.


It should not be difficult to convert the main bulk of the text. You can 
export LaTeX from LibreOffice or use Pandoc to convert Word to LaTeX, 
then import the LaTeX document into LyX.


Graphics will be a somewhat different matter. They'll need to be in a 
format LaTeX can handle, and I'm not sure how well the automated 
conversion will handle that.


Citations will also need attention. I would guess that Bookends can 
export the BibTeX format, but the ciations themselves may or may not 
translate smoothly and need manual correction. It may help to open the 
LyX file in a simple text editor and use search and replace to fix 
citation keys.


Whether there's a good thesis template depends upon your specific needs.

Riki

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


Convert Mac Word and Thesis to LyX

2024-04-17 Thread Brian Kneller via lyx-users
Hi, 

I hope I am in the correct space. — I have prepared a thesis for a PhD  (75K 
words)and approx 80 figures, the text in Mac-word and the figures are in Adobe 
Illustrator so I have some flexibility in Format. Also there are many 
references. I hold all my references and comments on them in Bookends. I regret 
not looking at lyx/latex and using them much earlier so I am looking for an 
easy way to migrate this info into Lyx and I am also looking for a Thesis  
template. I have dowloaded and installed Lyx on my Macbook Pro (Mavericks) and 
been thro the intro etc. I am trying to minimise the effort in migration to Lyx 
so any comments and advice is most welcome.

Thanks in anticipation

Regds

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


LyX v2.4.0 RC4 -> Table styles??

2024-04-17 Thread Bernt Lie via lyx-users
I've read large portions of the documentation, and am eager to try the Table 
style facility of LyX v2.4.0. I'm on Windows 11, and play with RC4.



When I do Insert/Table…, this is what I get.

[cid:image001.png@01DA9106.80E67870]



In the Style menu, “Default” is the only possible option. If I click on the 
[cid:image002.png@01DA9106.80E67870]  icon, the only possibility is to choose 
the table size.



If I insert the table and right-click on it, everything related to other styles 
than the default is grayed out:

[cid:image003.png@01DA9106.B1A0AEE0]



  *   I’m confused. What is it that I do that is incorrect?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


RE: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

2024-04-17 Thread Bernt Lie via lyx-users
I'm not using gnuplot at all. But I assume you mean that as long as I have 
produced the input (e.g., Unicode files, plots, etc.), there should be no 
problem. 

-Original Message-
From: José Matos  
Sent: Wednesday, April 17, 2024 6:52 PM
To: Bernt Lie ; lyx-de...@lists.lyx.org; lyx-users 

Subject: Re: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

On Wed, 2024-04-17 at 13:17 +, Bernt Lie wrote:
> Question 1:
>  * Dangerous, because LyX is more likely to *crash*, or
>  * Dangerous, because it opens up my computer to hacking??

The script that you call can run any code using the gnuplot "system"
call. That is the same as having access to a shell...

If the gnuplot files that you use are your own, or from one that you trust, 
then there is no risk... or actually the same risk that you had if you run the 
script outside of LyX.
--
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

2024-04-17 Thread José Matos
On Wed, 2024-04-17 at 13:17 +, Bernt Lie wrote:
> Question 1:
>  * Dangerous, because LyX is more likely to *crash*, or
>  * Dangerous, because it opens up my computer to hacking??

The script that you call can run any code using the gnuplot "system"
call. That is the same as having access to a shell...

If the gnuplot files that you use are your own, or from one that you
trust, then there is no risk... or actually the same risk that you had
if you run the script outside of LyX.
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Not able to spellcheck in RC4 under Linux

2024-04-17 Thread Eckhard Höffner
Maybe you need enchant (default on debian), it uses different spell 
checkers.


Am 17.04.24 um 5:41 PM schrieb Christopher Menzel:

I have compiled LyX 2.4-RC4 under Kali Linux and it works great but I am
  unable to spellcheck. Tools → Spellchecker is greyed out and LyX sees
no spellchecker engine under Preferences → Spellchecker. Hunspell and
the English dictionary are of course installed. I found an old thread
saying that Hunspell support had to be explicitly included at configure
time, but I believe Hunspell is now built in. At any rate, the old
“—use-hunspell” option is not recognized. Spellchecking via Hunspell
works fine in the MacOS version of RC4.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Not able to spellcheck in RC4 under Linux

2024-04-17 Thread Christopher Menzel
Gentle LyX folk:

I have compiled LyX 2.4-RC4 under Kali Linux and it works great but I am unable 
to spellcheck. Tools → Spellchecker is greyed out and LyX sees no spellchecker 
engine under Preferences → Spellchecker. Hunspell and the English dictionary 
are of course installed. I found an old thread saying that Hunspell support had 
to be explicitly included at configure time, but I believe Hunspell is now 
built in. At any rate, the old “—use-hunspell” option is not recognized. 
Spellchecking via Hunspell works fine in the MacOS version of RC4.

Help/explanations much appreciated! Apologies if I’ve missed a relevant 
discussion.

Chris Menzel

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


LyX v2.4 RC4 - keyboard shortcut

2024-04-17 Thread Bernt Lie via lyx-users
I just discovered the “character” shortcuts Alt + C…, e.g., Alt + C R for 
mathroman in math.



  *   I’m a touch typist, so I prefer to use keyboard shortcuts over menus
  *   I’m not a pianist, so I don’t have extremely independent movement of 
fingers
  *   Because the “Alt” key is on the lefthand side of the keyboard and the “C” 
 key also is on the lefthand side, this makes it very awkward to hold down the 
Alt key and at the same time hold down the C key.
  *   This difficulty is increased by that the Alt key should be hit with the 
*middle finger* (which must be bent in an awkward way to hit the Alt key). The 
problem is much less pronounced with the Ctrl key, which is hit with the pinkie.



Probably not a popular suggestion, but it would be much simpler to use Alt with 
a key on the righthand side of the keyboard, e.g., replacing Alt+C with Alt+K.






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


RE: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

2024-04-17 Thread Bernt Lie via lyx-users
OK… I just found I had put the “-shell-escape” string in the wrong cell…

I have now changed the preferences, and inserted this string in both of the 
XeTeX and LuaTeX converters from LaTeX to PDF.

Now, I get the (expected) warning that using the “-shell-escape” string is 
*dangerous*.

Question 1:

  *   Dangerous, because LyX is more likely to *crash*, or
  *   Dangerous, because it opens up my computer to hacking??

Experience – here is some listing in LyX:
[cid:image003.png@01DA90D8.A23B6C70]
This expression is taken from a Jupyter Notebook running in VSCode (language: 
Julia), where the symbols are created by “\frakm + TAB \dot + TAB = m\dot + TAB 
v”
…and here is what it looks like when I use XeTeX/LuaTeX:

[cid:image004.png@01DA90D8.F0F27C50]

Questions 2:

  *   Could I expect a better response if I install a font that supports 
Unicode, and specifies this font in the fonts scheme of Listings?
  *   If I install such a font with Unicode support (e.g., JuliaMono), would 
that rule out using XeTeX so that I should use LuaTeX?

Question 3:

  *   If I should use LuaTeX, how can I change LyX so that issuing command 
Ctrl+r produces the PDF using LuaTeX?

-B

From: Bernt Lie 
Sent: Tuesday, April 16, 2024 7:22 PM
To: Bernt Lie ; lyx-de...@lists.lyx.org; lyx-users 

Subject: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)


OK -- this is the status on my on-going experimentation on Windows 11... (I 
hope I'm almost there):



1. I experiment with KOMA script Book

2. I have:

* Upgraded all packages in MikTeX

* Installed Pygments ("pip install Pygments" in Windows Prompt)

* Figured out where the "pygmetize" script is located on my computer,

  and added location to PATH.

* In the LyX document, Documents/Settings/Fonts, checked "use non-TeX fonts

* In the Documents/Settings/Listings, changed "Syntax Highlighting Package" 
to "minted"

  [This didn't work until I set the PATH to "pygmetize"]

* In Tools/Preferences/File Handling/Converters, added "-shell-escape" at 
the end

  of the Converter line:

[cid:image001.png@01DA90D8.479231F0]

  [This line is slightly different from the Embedded document, 
since that assumed pdflatex as converter).



3. STATUS:

[cid:image002.png@01DA90D8.479231F0]



QUESTION 1: What is wrong? I *did* envoke the “-shell-escape” flag, didn’t I?



QUESTION 2: By default, Ctrl+R is keyboard shortcut for generating PDF via 
pdflatex. After I chose “use non-TeX fonts”, Ctrl+R implies generating PDF via 
XeTeX. How can I change the set-up so that Ctrl+R implies using luatex?


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


LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

2024-04-16 Thread Bernt Lie via lyx-users
OK -- this is the status on my on-going experimentation on Windows 11... (I 
hope I'm almost there):



1. I experiment with KOMA script Book

2. I have:

* Upgraded all packages in MikTeX

* Installed Pygments ("pip install Pygments" in Windows Prompt)

* Figured out where the "pygmetize" script is located on my computer,

  and added location to PATH.

* In the LyX document, Documents/Settings/Fonts, checked "use non-TeX fonts

* In the Documents/Settings/Listings, changed "Syntax Highlighting Package" 
to "minted"

  [This didn't work until I set the PATH to "pygmetize"]

* In Tools/Preferences/File Handling/Converters, added "-shell-escape" at 
the end

  of the Converter line:

[cid:image001.png@01DA9032.84834190]

  [This line is slightly different from the Embedded document, 
since that assumed pdflatex as converter).



3. STATUS:

[cid:image002.png@01DA9032.E4467C00]



QUESTION 1: What is wrong? I *did* envoke the “-shell-escape” flag, didn’t I?



QUESTION 2: By default, Ctrl+R is keyboard shortcut for generating PDF via 
pdflatex. After I chose “use non-TeX fonts”, Ctrl+R implies generating PDF via 
XeTeX. How can I change the set-up so that Ctrl+R implies using luatex?


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


RE: color names make trouble

2024-04-15 Thread Kees Zeelenberg
On Sun, Apr 14, 2024 at 8:33 AM Andreas Plihal via lyx-users < 
 lyx-users@lists.lyx.org> wrote:

 

I have largely isolated the error (I am attaching the associated file). Now I'm 
faced with the fact that the error is apparently caused by the color names 
(RubineRed, Gray etc.) that I've been using without any problems for over a 
year! What is suddenly going on in the LYX/LATEX world?

 

Andreas

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

 

Andreas,

 

I'm not sure what's happening from your side, but if I disable the fonts you 
have and change "Gray" to "gray", then the line renders for me.

 

Thanks,

Joel 

 

In xcolor, Gray (with first letter in uppercase) is a color model, not a color. 
This can be changed by the option “svgnames” or by the option “dvipsnames”. 
Since here xolor is called by tikz, it is best to give this as an option to the 
documentclass. This worked for me, with pdflatex.

 

Kees

 

 

 

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


Re: color names make trouble

2024-04-14 Thread Joel Kulesza
On Sun, Apr 14, 2024 at 8:33 AM Andreas Plihal via lyx-users <
lyx-users@lists.lyx.org> wrote:

> Hi,
>
> I'm working on a KOMA script book. It contains over a hundred graphics. One
> graphic is particularly complex and I've been working on it for several
> weeks. I drew about 50 curves in it, all of which are made point by point
> according to a complicated scheme:
>
>\draw [color=Gray] (0,1) -- (1,2) -- (2,3) -- (3,4);
>
> This has always worked very well so far. But a few days ago I suddenly
> got an error message.
>
>Package tikz Error: Giving up on this path. Did you forget a semicolon?
>
> I have largely isolated the error (I am attaching the associated file). Now
> I'm faced with the fact that the error is apparently caused by the color
> names (RubineRed, Gray etc.) that I've been using without any problems for
> over a year! What is suddenly going on in the LYX/LATEX world?
>
> Andreas
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


Andreas,

I'm not sure what's happening from your side, but if I disable the fonts
you have and change "Gray" to "gray", then the line renders for me.

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


color names make trouble

2024-04-14 Thread Andreas Plihal via lyx-users
Hi,

 

I'm working on a KOMA script book. It contains over a hundred graphics. One graphic is particularly complex and I've been working on it for several weeks. I drew about 50 curves in it, all of which are made point by point according to a complicated scheme: 

 

   \draw [color=Gray] (0,1) -- (1,2) -- (2,3) -- (3,4); 

 

This has always worked very well so far. But a few days ago I suddenly got an error message. 

 

   Package tikz Error: Giving up on this path. Did you forget a semicolon?

 

I have largely isolated the error (I am attaching the associated file). Now I'm faced with the fact that the error is apparently caused by the color names (RubineRed, Gray etc.) that I've been using without any problems for over a year! What is suddenly going on in the LYX/LATEX world?

 

Andreas

Fehlersuche.lyx
Description: application/lyx
-- 
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 Richard Kimberly Heck

On 4/13/24 12:31, Andreas Plihal via lyx-users wrote:

Dear Herbert,
I think you are responding to an email from me that is already out of 
date.
Meanwhile I sent another file WME_Index.lyx, which uses the text 
processor texindy. Jürgen recommended it to me. Unfortunately that 
didn't work either.
I can't find the xindex processor you mentioned in my selection list. 
Instead I find xindy. Did you perhaps mean that? It doesn't work with 
xindy either.
Even if, as you suggested, I use makeindex as the processor and enter 
the option "-s german.ist" (Jürgen commented that he cannot find 
german.ist on his computer), the index is not displayed.


I have sometimes had trouble with the index not displaying the first 
time I export a file. If I change something trivial (add a space at the 
end of a paragraph, say) and re-export, then it appears.


One way to try to debug this would be to export the file to LaTeX and 
run everything manually. Or just launch LyX from a terminal, and watch 
the output when you export. Either should give you more information.


Riki

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


Index is not displayed

2024-04-13 Thread Andreas Plihal via lyx-users
Dear Herbert, 

 

I think you are responding to an email from me that is already out of date. 

 

Meanwhile I sent another file WME_Index.lyx, which uses the text processor texindy. Jürgen recommended it to me. Unfortunately that didn't work either.

 

I can't find the xindex processor you mentioned in my selection list. Instead I find xindy. Did you perhaps mean that? It doesn't work with xindy either.

 

Even if, as you suggested, I use makeindex as the processor and enter the option "-s german.ist" (Jürgen commented that he cannot find german.ist on his computer), the index is not displayed.

 

I am very grateful for your other suggestions! I will be happy to implement them in time. But they probably have nothing to do with the index, which is my primary concern. So I can do that at a later time, right?

 

Andreas

 
 

Gesendet: Samstag, 13. April 2024 um 11:14 Uhr
Von: lyx-users-requ...@lists.lyx.org
An: lyx-users@lists.lyx.org
Betreff: lyx-users Digest, Vol 232, Issue 14

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. Index is not displayed (Andreas Plihal)
2. Re: Index is not displayed (Herbert Voss)


--

Message: 1
Date: Sat, 13 Apr 2024 10:17:04 +0200
From: Andreas Plihal 
To: lyx-users@lists.lyx.org
Cc: lyx-users@lists.lyx.org
Subject: Index is not displayed
Message-ID:


Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: 
-- next part --
A non-text attachment was scrubbed...
Name: MWE_Index.lyx
Type: application/lyx
Size: 10258 bytes
Desc: not available
URL: 

--

Message: 2
Date: Sat, 13 Apr 2024 11:14:51 +0200
From: Herbert Voss 
To: lyx-users@lists.lyx.org
Subject: Re: Index is not displayed
Message-ID: <509d26ff-53a9-45c1-aad3-16ef6ffca...@fu-berlin.de>
Content-Type: text/plain; charset=UTF-8; format=flowed



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


--

Subject: Digest Footer

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


--

End of lyx-users Digest, Vol 232, Issue 14
**



-- 
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 + bits and pieces

2024-04-13 Thread Richard Kimberly Heck

On 4/13/24 03:00, Bernt Lie wrote:

So far,...
* I greatly appreciate that you have not changed the main parts of the user 
interface. I hate it when developers come out with a new version of a tool, and 
the user doesn't recognize where the menus are, etc.


I think it's fair to say that we do, too. It's our policy to change such 
things only when there is a clear reason to do so, and consensus among 
the developers, at least.



* These are the main things I have had time to notice in some 3 days, while 
converting a large portion of my key documents from v. 2.3.x to v. 2.4
--

As a person who combines text with loads of math and computer code...
* The Program Listing settings ---
--> Do I set them individually every time I insert a program listing?
--> Or are they document settings, so that if I change one setting (e.g., font 
setting), then this takes precedence for the entire document?


You can make global settings in Document> Settings> Listings.


Also, I'm using a couple of computer languages that are not supported by 
Program Listing...
* Modelica (for specifying mathematical models)
* Julia

Is there an ASCII file where it is possible to add specifications for more 
computer languages so that they show up in the Program Listing settings?


Unfortunately, that is hard-coded. It would make a lot of sense for it 
not to be, but be configurable, but that would take some doing (though I 
doubt it would be hard to do). But it would be a format change, so not 
doable until 2.5. But please do file an enhancement request if you wish.


Riki


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


Index is not displayed

2024-04-13 Thread 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.

 

So that we talk about the same thing :) 

 

Andreas

 

Gesendet: Montag, 08. April 2024 um 19:25 Uhr
Von: lyx-users-requ...@lists.lyx.org
An: lyx-users@lists.lyx.org
Betreff: lyx-users Digest, Vol 232, 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: Index is not displayed
(=?ISO-8859-1?Q?J=FCrgen_Spitzm=FCller?=)
2. Adding Languages to LyX on Mac (Ami Stein)
3. Re: Adding Languages to LyX on Mac (Kornel Benko)
4. Index is not displayed (Andreas Plihal)


--

Message: 1
Date: Tue, 02 Apr 2024 16:04:17 +0200
From: "=?ISO-8859-1?Q?J=FCrgen_Spitzm=FCller?=" 
To: lyx-users@lists.lyx.org
Subject: Re: Index is not displayed
Message-ID: 
Content-Type: text/plain; charset="UTF-8"

Am Dienstag, dem 02.04.2024 um 14:54 +0200 schrieb Andreas Plihal via
lyx-users:
> I'm working on a book (KOMA-Script). Three years ago, a similar LYX
> document worked without any problems.
> But now the index is no longer displayed to me.
> ?
> Based on advice from the community (J?rgen) at the time, I chose
> texindy as the index generator.

But in the file, you have makeindex, not texindy.

> So far I have entered the following options in the settings:
> -L german-duden -C utf8 --module "C:\Program Files\MiKTeX
> 2.9\xindy\modules\base\numalpha"

I see this in your settings:

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


of these, german.ist does not exist at least on my system, and "-o
MWE_Index.idx" looks superfluous.

Removing these two arguments, i.e. reducing it all to
-t MWE_Index.ilg

gives me the index in output.

HTH,
--
J?rgen


--

Message: 2
Date: Thu, 4 Apr 2024 09:06:34 +0300
From: Ami Stein 
To: lyx-users@lists.lyx.org
Subject: Adding Languages to LyX on Mac
Message-ID:

Content-Type: text/plain; charset="utf-8"

Hi all,

I recently downloaded LyX for documents in math classes in University. I
work with a mac, and the program is terrific so far in English.

How do I download/add another language to LyX (on a Mac) in order to create
documents in a different language other than English?

Thanks,

Ami
-- next part --
An HTML attachment was scrubbed...
URL: 

--

Message: 3
Date: Thu, 4 Apr 2024 13:58:13 +0200
From: Kornel Benko 
To: lyx-users@lists.lyx.org
Subject: Re: Adding Languages to LyX on Mac
Message-ID: <20240404135813.033bc571@admin1-desktop>
Content-Type: text/plain; charset="us-ascii"

Am Thu, 4 Apr 2024 09:06:34 +0300
schrieb Ami Stein :

> Hi all,
>
> I recently downloaded LyX for documents in math classes in University. I
> work with a mac, and the program is terrific so far in English.
>
> How do I download/add another language to LyX (on a Mac) in order to create
> documents in a different language other than English?
>
> Thanks,
>
> Ami

You can change the document language. See the panell
Document->Settings...->Language
and select from the drop-down languages.

Kornel
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: 

--

Message: 4
Date: Mon, 8 Apr 2024 19:20:13 +0200
From: Andreas Plihal 
To: lyx-users@lists.lyx.org
Subject: Index is not displayed
Message-ID:


Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: 

--

Subject: Digest Footer

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


--

End of lyx-users Digest, Vol 232, Issue 1
*




MWE_Index.lyx
Description: application/lyx
-- 
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 + bits and pieces

2024-04-13 Thread Bernt Lie via lyx-users
A difference - perhaps -- between a missing Abstract label and the Chapter 
label in *LyX* is that sections headings are quite big compared to the standard 
text, so it is easy to see the difference. While the abstract text font is only 
marginally smaller than the standard text font, so it is more difficult to see 
what it is.

*If* one sets "abstract=on" to enforce "Abstract" to be printed in the PDF 
file, it would perhaps be natural if this text also shows up in LyX.
--
Anyways, this is not a major problem -- I can always switch to the standard 
article style.
--
Thanks a lot for your great job with creating v. 2.4. I really appreciate all 
the work you have put into it, and look forward to start reading the manuals. 
Although I've used LyX for some 10 years or so, I think it will be useful to 
re-read the documentation to better familiarize myself with what is new.

So far,...
* I greatly appreciate that you have not changed the main parts of the user 
interface. I hate it when developers come out with a new version of a tool, and 
the user doesn't recognize where the menus are, etc.

* I have already used the improved system for finding missing citations and 
broken references.

* The search system looks improved.

* These are the main things I have had time to notice in some 3 days, while 
converting a large portion of my key documents from v. 2.3.x to v. 2.4
--

As a person who combines text with loads of math and computer code...
* The Program Listing settings ---
--> Do I set them individually every time I insert a program listing?
--> Or are they document settings, so that if I change one setting (e.g., font 
setting), then this takes precedence for the entire document?
--> The above question is related to how to keep consistency in listings...

Also, I'm using a couple of computer languages that are not supported by 
Program Listing...
* Modelica (for specifying mathematical models)
* Julia

Is there an ASCII file where it is possible to add specifications for more 
computer languages so that they show up in the Program Listing settings?



-Original Message-
From: lyx-users  On Behalf Of Richard Kimberly 
Heck
Sent: Friday, April 12, 2024 10:02 PM
To: Herbert Voss ; lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

On 4/12/24 12:42, Herbert Voss wrote:
> 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.

For some reason, scrclass.inc explicitly removes the heading:

Input stdstruct.inc

Style Abstract
     LabelType No_Label
End

If we're agreed that's wrong, it's easy enough to fix.

Riki


--
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 Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 16:02 -0400 schrieb Richard Kimberly
Heck:
> For some reason, scrclass.inc explicitly removes the heading:

The reason is to indicate on the output. That's intentional. For the
same reason, we remove the chapter labels in KOMA layouts.

-- 
Jürgen
-- 
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 Richard Kimberly Heck

On 4/12/24 12:42, Herbert Voss wrote:

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.


For some reason, scrclass.inc explicitly removes the heading:

Input stdstruct.inc

Style Abstract
    LabelType No_Label
End

If we're agreed that's wrong, it's easy enough to fix.

Riki


--
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 Rich Shepard

On Fri, 12 Apr 2024, José Matos wrote:


So the question is if the label should be there for consistency. I am
inclined to say yes but I have no strong feelings about this. :-)


On 2.3.7.1 The word "Abstract" appears on the LyX screen when the document
is scrreport (KOMA-Script Report) and on the PDF (pdflatex) but only in the
body text font and left-aligned. It used to be in a section font and
centered.

HTH,

Rich
--
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 Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 12:27 + schrieb Bernt Lie:
> As far as I know, KOMA is independent of LyX. So I don't understand
> why inserting the label "Abstract" in the LyX *editor* can be seen as
> overriding KOMA's default settings. 

Well, it indicates what people can expect in the output (at least by
default)

> At least not if the user inserts the command "abstract=on" in the
> settings.

That's not possible.

-- 
Jürgen
-- 
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 Bernt Lie via lyx-users
As far as I know, KOMA is independent of LyX. So I don't understand why 
inserting the label "Abstract" in the LyX *editor* can be seen as overriding 
KOMA's default settings. 

At least not if the user inserts the command "abstract=on" in the settings.


-Original Message-
From: lyx-users  On Behalf Of Jürgen 
Spitzmüller
Sent: Friday, April 12, 2024 1:52 PM
To: lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

Am Freitag, dem 12.04.2024 um 11:41 + schrieb Bernt Lie via lyx-
users:
> 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.

No, we don't want to override KOMA's default settings, which are well 
rationalized in the manual.

--
Jürgen
--
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 Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 11:41 + schrieb Bernt Lie via lyx-
users:
> 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.

No, we don't want to override KOMA's default settings, which are well
rationalized in the manual.

-- 
Jürgen
-- 
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 Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 09: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??

No, it has been the case for KOMA since a long time (always?)

> Is this a bug?

No. See KOMA script manual, sec. 3.8 and the abstract={on,off} KOMA
script option.

-- 
Jürgen
-- 
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 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.

-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 José Matos
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


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 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Bernt Lie via lyx-users
OK -- in 2.3.7, I did not use KOMA script article, but standard LaTeX article. 
And there the label shows up in my installation. 

The "problem" to me is that it is not just that the "label" is missing in the 
LyX editor, but the word "Abstract" does not show up in the pdf file either. 

-Original Message-
From: José Matos  
Sent: Friday, April 12, 2024 11:55 AM
To: Bernt Lie ; lyx-de...@lists.lyx.org; lyx-users 

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

On Fri, 2024-04-12 at 09:41 +, Bernt Lie via lyx-users wrote:
> 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?

I tested in 2.3.x and it does not show there as well.
So at least the change is not specific to lyx 2.4.

If you change to the standard class then the label is there both for
2.3 and 2.4.

So the question is if the label should be there for consistency.
I am inclined to say yes but I have no strong feelings about this. :-)

--
José Abílio
-- 
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 Bernt Lie via lyx-users
Thanks.



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

[cid:image001.png@01DA8CD0.A6429AC0]



-Original Message-
From: lyx-users  On Behalf Of Herbert Voss
Sent: Friday, April 12, 2024 11:50 AM
To: lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing







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
-- 
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 José Matos
On Fri, 2024-04-12 at 09:41 +, Bernt Lie via lyx-users wrote:
> 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?

I tested in 2.3.x and it does not show there as well.
So at least the change is not specific to lyx 2.4.

If you change to the standard class then the label is there both for
2.3 and 2.4.

So the question is if the label should be there for consistency.
I am inclined to say yes but I have no strong feelings about this. :-)

-- 
José Abílio
-- 
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


LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread 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?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Lyx error

2024-04-12 Thread Eckhard Höffner

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

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 error

2024-04-12 Thread 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
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


trac accounts

2024-04-11 Thread Pavel Sanda
Hi all,

we tried to open our trac for registration again and got thousands of new
accounts during last weeks. Tonight those accounts started creating bug 
reports which were essentially ads.

I banned the registration (again) and made big cleanup. trac interface
is unfortunately such that large part had to be done manually and thus
error-prone. I probably removed few real accounts. If you can't login, 
it's probably my mistake and let me know to re-create it.

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


Re: Lyx error

2024-04-11 Thread Steve Litt
Paolo M said on Thu, 11 Apr 2024 09:21:34 +0200

>Your lyx file raises the same error.
>The option 'Use non-TeX fonts' cannot be selected, although the
>required fontspec package is installed.
>As i try to view the pdf rendering i get:
>
>"The external program
>
>xelatex
 ^^^

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


SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Lyx error

2024-04-11 Thread Paolo M
Erratum: my lyx is on opensuse tumbleweed, not leap 15.



Paolo M Pumilia, t. +39 347 231 54 96

Il gio 11 apr 2024, 09:21 Paolo M  ha
scritto:

> Your lyx file raises the same error.
> The option 'Use non-TeX fonts' cannot be selected, although the required
> fontspec package is installed.
> As i try to view the pdf rendering i get:
>
> "The external program
>
> xelatex
>
> finished with an error. It is recommended you fix the cause of the
> external program's error (check the logs). "
>
>
> What is xelatex?
> I suspect my texlive installation cannot accept spaces in file names and
> directories any more.
>
> thank you
> p.
>
>
> Il giorno gio 11 apr 2024 alle ore 00:41 Steve Litt <
> sl...@troubleshooters.com> ha scritto:
>
>> Paolo M said on Wed, 10 Apr 2024 22:22:31 +0200
>>
>> >On opensuse 15, i have just installed the noto font, but probably lyx
>> >has also been upgrated to 2.4.0-RC4.  Now lyx doe not work eny more.
>> >Opening a file, see the enclosed one as an example, i get the error
>> >below p.
>>
>> Just so we're all on the same page, you know your attachment contains
>> no string "noto", right?
>>
>> Not only that, but on my computer using LyX 2.3.6.1 on an up-to-date
>> Void Linux, your document works perfectly. But you knew that already.
>>
>> In order to use Noto fonts, I took your document in LyX and did the
>> following:
>>
>> 1) On Document>Settings>Fonts I checked "Use non-TeX fonts.
>>
>> 2) Document>Settings>Fonts>Roman I chose Noto Serif [GOOG]
>>
>> 3) Document>Settings>Fonts>Sans Serif I chose Noto Sans [GOOG]
>>
>> 4) Document>Settings>Fonts>Typewriter I chose Noto Sans Mono [GOOG]
>>
>> 5) Document>View [PDF (LuaTeX)] to compile and view the result.
>>
>> I've attached my doc with Noto fonts.
>>
>> Maybe you'll get lucky and my file will compile. Try it.
>>
>> HTH,
>>
>> SteveT
>>
>> Steve Litt
>>
>> Autumn 2023 featured book: Rapid Learning for the 21st Century
>> http://www.troubleshooters.com/rl21
>> --
>> 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 error

2024-04-11 Thread Paolo M
Your lyx file raises the same error.
The option 'Use non-TeX fonts' cannot be selected, although the required
fontspec package is installed.
As i try to view the pdf rendering i get:

"The external program

xelatex

finished with an error. It is recommended you fix the cause of the external
program's error (check the logs). "


What is xelatex?
I suspect my texlive installation cannot accept spaces in file names and
directories any more.

thank you
p.


Il giorno gio 11 apr 2024 alle ore 00:41 Steve Litt <
sl...@troubleshooters.com> ha scritto:

> Paolo M said on Wed, 10 Apr 2024 22:22:31 +0200
>
> >On opensuse 15, i have just installed the noto font, but probably lyx
> >has also been upgrated to 2.4.0-RC4.  Now lyx doe not work eny more.
> >Opening a file, see the enclosed one as an example, i get the error
> >below p.
>
> Just so we're all on the same page, you know your attachment contains
> no string "noto", right?
>
> Not only that, but on my computer using LyX 2.3.6.1 on an up-to-date
> Void Linux, your document works perfectly. But you knew that already.
>
> In order to use Noto fonts, I took your document in LyX and did the
> following:
>
> 1) On Document>Settings>Fonts I checked "Use non-TeX fonts.
>
> 2) Document>Settings>Fonts>Roman I chose Noto Serif [GOOG]
>
> 3) Document>Settings>Fonts>Sans Serif I chose Noto Sans [GOOG]
>
> 4) Document>Settings>Fonts>Typewriter I chose Noto Sans Mono [GOOG]
>
> 5) Document>View [PDF (LuaTeX)] to compile and view the result.
>
> I've attached my doc with Noto fonts.
>
> Maybe you'll get lucky and my file will compile. Try it.
>
> HTH,
>
> SteveT
>
> Steve Litt
>
> Autumn 2023 featured book: Rapid Learning for the 21st Century
> http://www.troubleshooters.com/rl21
> --
> 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: Insert cross-reference shortcut

2024-04-10 Thread Joel Kulesza
On Wed, Apr 10, 2024 at 10:16 AM Folsk Pratima 
wrote:

> You can make a shortcut for inserting a label, but I did not find a way
> to do it for inserting a cross-reference, so every time I have to use
> mouse to click on the toolbar.
>
> Any suggestions?
>
> LyX 2.3.7 (2023-01-01)
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


Folsk,

To find the command needed, use View -> Messages Pane, and then insert the
cross-reference label manually.  You should see `dialog-show-new-inset ref`
appear in the Messages pane.  This is the command that you need to add to
the shortcut's Function specification when you go to Preferences -> Editing
-> Shortcuts -> New.

Hope this helps,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Lyx error

2024-04-10 Thread Steve Litt
Paolo M said on Wed, 10 Apr 2024 22:22:31 +0200

>On opensuse 15, i have just installed the noto font, but probably lyx
>has also been upgrated to 2.4.0-RC4.  Now lyx doe not work eny more.
>Opening a file, see the enclosed one as an example, i get the error
>below p.

Just so we're all on the same page, you know your attachment contains
no string "noto", right?

Not only that, but on my computer using LyX 2.3.6.1 on an up-to-date
Void Linux, your document works perfectly. But you knew that already.

In order to use Noto fonts, I took your document in LyX and did the
following:

1) On Document>Settings>Fonts I checked "Use non-TeX fonts.

2) Document>Settings>Fonts>Roman I chose Noto Serif [GOOG]

3) Document>Settings>Fonts>Sans Serif I chose Noto Sans [GOOG]

4) Document>Settings>Fonts>Typewriter I chose Noto Sans Mono [GOOG]

5) Document>View [PDF (LuaTeX)] to compile and view the result.

I've attached my doc with Noto fonts.

Maybe you'll get lucky and my file will compile. Try it.

HTH,

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21


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


Lyx error

2024-04-10 Thread Paolo M
On opensuse 15, i have just installed the noto font, but probably lyx has
also been upgrated to 2.4.0-RC4.  Now lyx doe not work eny more.
Opening a file, see the enclosed one as an example, i get the error below
p.

 Moreover, the pdf rendering cannot be viewenc. my error message

The selected document class
Article (Standard Class)
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:
article.cls
See section 3.1.2.2 (Class Availability) of the
User's Guide for more information.



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


Insert cross-reference shortcut

2024-04-10 Thread Folsk Pratima
You can make a shortcut for inserting a label, but I did not find a way
to do it for inserting a cross-reference, so every time I have to use
mouse to click on the toolbar.

Any suggestions?

LyX 2.3.7 (2023-01-01)
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


LyX 2.4.0, Listing, and computer language?

2024-04-10 Thread Bernt Lie via lyx-users
How can I add another computer language to the Program Listing Settings?



  *   Is there a file where I can add reserved words, etc.?
  *   ...and then have it show up in the Program Listing Settings language 
choice?



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


RE: LyX 2.4.0 & Jupyter Notebooks

2024-04-10 Thread Bernt Lie via lyx-users
Experimenting with LyX 2.4 RC4... Specifically, I'm testing whether there is 
Unicode support.



  *   I have successfully pasted in a Unicode character from VSCode into a LyX 
2.4 RC4 document, so this seems to work:

[cid:image001.png@01DA8B60.FFE8A950]

Here, the first symbol is produced in VSCode using "\frakm + TAB", and then 
pasted into a LyX text line.  The second occurrence (slightly different in 
form) is produced as in-line math "\mathfrak{m}".



I can also decorate this symbol with a dot on top, "\frakm + TAB \dot + TAB" in 
VSCode. When I paste this symbol into LyX, the dot on top of "\frakm + TAB" is 
somewhat skewed to the right.



OK - so Unicode in LyX seems to work. It also works if I preview the document 
as a PDF file.

--

Next, I try to use Unicode in listings. That does not work at the moment... 
Here is what I do:

  *   Insert/Program Listing
  *   I paste the "\frakm + TAB" symbol from VSCode into this box.
  *   This gives a paste error message:

[cid:image003.png@01DA8B61.C58642D0]



  *   I then go to Document/Settings/Listings, and change Syntax Highlighting 
Package to *minted*, which provides a message:

[cid:image004.png@01DA8B62.5053B550]



I don't understand this message...

  *   I'm on Windows, and the documentation says that Pygments driver is 
installed by default (??). Anyways, reading this warning...
  *   Where am I supposed to place command "\AtBeginDocument{...}"?? Are we 
talking about putting this command in the Document/Settings/LaTeX Preamble 
window??? Or should I open the LyX document in an ASCII editor and add the 
line... somewhere?
  *   What is the "driver command", i.e., the string I'm supposed to insert 
instead of `driver`? Is it simply `pygmentize`??

  *   Anyways, for now I just neglect this command, and go to 
Tools/Preferences/File Handling/Converters, and scroll down to

[cid:image002.png@01DA8B63.945591F0]

Here I have changed Converter from `pdflatex $$i` to what is shown above.



When I go back to the document and insert a listing, and then paste the Unicode 
symbol into the listing, I get the same error message with paste error as shown 
at the top of this e-mail.



--

So - I'm stuck. The only possible reason for the problem now are:

  *   I need to find the correct place to insert the string 
"\AtBeginDocument..." string with the correct `driver` (whatever that is), and 
live with the warning of mint & `-shell-escape` causing a security risk. 
Perhaps this will solve the problem.
  *   Or: it is not possible to use Unicode characters in LyX 2.4 listings.



Any suggestions?



-B


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


RE: LyX 2.4.0 & Jupyter Notebooks

2024-04-10 Thread Bernt Lie via lyx-users
Ah. OK.

-Original Message-
From: lyx-users  On Behalf Of Pavel Sanda
Sent: Wednesday, April 10, 2024 2:51 PM
To: lyx-de...@lists.lyx.org; lyx-users 
Subject: Re: LyX 2.4.0 & Jupyter Notebooks

On Wed, Apr 10, 2024 at 12:11:08PM +, Bernt Lie wrote:
> > knitr integration...
> 
> Thanks.
> 
> I don't use R, so I guess knitr is not useful to me.

I did not mean that you will use R, but that you can check how knitr scripts 
establish two-way communication street and reuse it for jupyter instead of R

Pavel
--
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 & Jupyter Notebooks

2024-04-10 Thread Pavel Sanda
On Wed, Apr 10, 2024 at 12:11:08PM +, Bernt Lie wrote:
> > knitr integration...
> 
> Thanks.
> 
> I don't use R, so I guess knitr is not useful to me.

I did not mean that you will use R, but that you can check how knitr scripts
establish two-way communication street and reuse it for jupyter instead of R

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


RE: LyX 2.4.0 & Jupyter Notebooks

2024-04-10 Thread Bernt Lie via lyx-users
> knitr integration...

Thanks.

I don't use R, so I guess knitr is not useful to me. [In in the JU corner of 
Jupyter...] There is also Quarto which is developed in the R community, 
although it can also be used with other languages. Don't know how Quarto scales 
to large documents, though... My experience is that Jupyter Notebooks start to 
become slow with documents in the order of some 30 pages (i.e., with plenty of 
plots), while LyX is still quick with documents in the order of 1000 pages.

-B

-Original Message-
From: lyx-users  On Behalf Of Pavel Sanda
Sent: Wednesday, April 10, 2024 11:05 AM
To: lyx-de...@lists.lyx.org; lyx-users 
Subject: Re: LyX 2.4.0 & Jupyter Notebooks

On Tue, Apr 09, 2024 at 11:37:48AM -0400, Richard Kimberly Heck wrote:
> On 4/9/24 08:48, Bernt Lie wrote:
> >Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
> >released)?
> >
> >I'm particularly interested in the possibility to...
> >
> >* link the notebooks into LyX so that I always get the latest 
> >version/computations in the notebook, i.e., preferably not a static 
> >import
> >
> >* inclusion of mark-up text with headlines, math, etc.
> >
> >* inclusion of input and output cells, with figures, etc.
> >
> >* linked-in notebooks would be multipage. Perhaps it should be possible to 
> >embed the notebooks in some theorem-like environment.
> >
> >OK -- don't know if this is possible, but it would go a long way towards 
> >getting a literal programming environment.
> 
> The most plausible way to do this would be to use an external inset. 
> That's the way that Lilypond files (music) are included, for example. 
> Such insets are user definable. Basically, you tell LyX how to convert 
> the file to something LaTeX can process. This is discussed in section 
> 7.1 of the Embedded Objects manual. You can use the existing xtemplate 
> files as a starting point, too.

You might also want to check how knitr integrates into lyx (basically embedding 
R code into lyx).

Pavel
--
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 & Jupyter Notebooks

2024-04-10 Thread Pavel Sanda
On Tue, Apr 09, 2024 at 11:37:48AM -0400, Richard Kimberly Heck wrote:
> On 4/9/24 08:48, Bernt Lie wrote:
> >Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
> >released)?
> >
> >I'm particularly interested in the possibility to...
> >
> >* link the notebooks into LyX so that I always get the latest 
> >version/computations in the notebook, i.e., preferably not a static import
> >
> >* inclusion of mark-up text with headlines, math, etc.
> >
> >* inclusion of input and output cells, with figures, etc.
> >
> >* linked-in notebooks would be multipage. Perhaps it should be possible to 
> >embed the notebooks in some theorem-like environment.
> >
> >OK -- don't know if this is possible, but it would go a long way towards 
> >getting a literal programming environment.
> 
> The most plausible way to do this would be to use an external inset. That's
> the way that Lilypond files (music) are included, for example. Such insets
> are user definable. Basically, you tell LyX how to convert the file to
> something LaTeX can process. This is discussed in section 7.1 of the
> Embedded Objects manual. You can use the existing xtemplate files as a
> starting point, too.

You might also want to check how knitr integrates into lyx (basically embedding
R code into lyx).

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


size of graphics with inlineimg

2024-04-10 Thread camus . philippe

Hello 
I'm trying to use inline-images in a document with base64 encoded pictures : 
\inlineimg{picture.png}{base64 code} 

It works fine with TeXstudio, but with LyX i get a "cannot determine size of 
graphics, no bounding box" error. 
I suspect it comes from the place where LyX put the temp files picture.png, but 
I don't know how to control that. 


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


Re: LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Richard Kimberly Heck

On 4/9/24 15:59, Bernt Lie wrote:

OK -- so I could just as well start using RC4?


I have been using the master branch for regular work for well over a 
year. My recent book


    https://academic.oup.com/book/56184

was produced using it. I.e., the book was printed from a PDF I provided 
to OUP. So it's entirely usable.



I'm not super software savvy, so I have been hesitant not knowing:
* Can I install RC4 and still use LyX 2.7.1?
That may depend upon your OS, but someone else should be able to say. 
The one thing you have to do is keep the user directories separate.

* Do I have to uninstall RC4 and install the official release when it becomes 
available?

Again, that will depend upon your OS.

* With 2.7.1, I have used MikTeX. Should I still use MikTeX, or use something 
else? (Does MikTeX also come with LuaTeX, XeTeX, TeXLive, or whatever?)


The background TeX installation should not matter. They all have the 
same bits. (TeXLive, though, is an alternative to MikTeX.)


Riki


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


RE: LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Bernt Lie via lyx-users
OK -- so I could just as well start using RC4?

I'm not super software savvy, so I have been hesitant not knowing:
* Can I install RC4 and still use LyX 2.7.1?
* Do I have to uninstall RC4 and install the official release when it becomes 
available?
* With 2.7.1, I have used MikTeX. Should I still use MikTeX, or use something 
else? (Does MikTeX also come with LuaTeX, XeTeX, TeXLive, or whatever?)

If these three bullet points do not cause any problems, I may try to download 
and use RC4.
 

-Original Message-
From: Richard Kimberly Heck  
Sent: Tuesday, April 9, 2024 9:51 PM
To: Bernt Lie ; LyX Developers ; 
lyx-users 
Subject: Re: LyX 2.4.0 & Jupyter Notebooks

On 4/9/24 12:00, Bernt Lie wrote:
> Thanks. Will look at it when the new version is released.

I don't think there have been any major changes in that machinery. And there 
definitely won't be any before the final release. Changes from RC4 to the 
official release are going to be pretty minor (as one would hope).

Riki


> -Original Message-
> From: Richard Kimberly Heck 
> Sent: Tuesday, April 9, 2024 5:38 PM
> To: Bernt Lie ; LyX Developers 
> ; lyx-users 
> Subject: Re: LyX 2.4.0 & Jupyter Notebooks
>
> On 4/9/24 08:48, Bernt Lie wrote:
>> Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
>> released)?
>>
>> I'm particularly interested in the possibility to...
>>
>> * link the notebooks into LyX so that I always get the latest 
>> version/computations in the notebook, i.e., preferably not a static 
>> import
>>
>> * inclusion of mark-up text with headlines, math, etc.
>>
>> * inclusion of input and output cells, with figures, etc.
>>
>> * linked-in notebooks would be multipage. Perhaps it should be possible to 
>> embed the notebooks in some theorem-like environment.
>>
>> OK -- don't know if this is possible, but it would go a long way towards 
>> getting a literal programming environment.
> The most plausible way to do this would be to use an external inset.
> That's the way that Lilypond files (music) are included, for example.
> Such insets are user definable. Basically, you tell LyX how to convert 
> the file to something LaTeX can process. This is discussed in section
> 7.1 of the Embedded Objects manual. You can use the existing xtemplate files 
> as a starting point, too.
>
> Riki
>
>

--

Richard Kimberly (Riki) Heck
Professor of Philosophy
Brown University

Pronouns: they/them/their
Website:  http://rkheck.frege.org/

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


Re: LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Richard Kimberly Heck

On 4/9/24 12:00, Bernt Lie wrote:

Thanks. Will look at it when the new version is released.


I don't think there have been any major changes in that machinery. And 
there definitely won't be any before the final release. Changes from RC4 
to the official release are going to be pretty minor (as one would hope).


Riki



-Original Message-
From: Richard Kimberly Heck 
Sent: Tuesday, April 9, 2024 5:38 PM
To: Bernt Lie ; LyX Developers ; lyx-users 

Subject: Re: LyX 2.4.0 & Jupyter Notebooks

On 4/9/24 08:48, Bernt Lie wrote:

Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
released)?

I'm particularly interested in the possibility to...

* link the notebooks into LyX so that I always get the latest
version/computations in the notebook, i.e., preferably not a static
import

* inclusion of mark-up text with headlines, math, etc.

* inclusion of input and output cells, with figures, etc.

* linked-in notebooks would be multipage. Perhaps it should be possible to 
embed the notebooks in some theorem-like environment.

OK -- don't know if this is possible, but it would go a long way towards 
getting a literal programming environment.

The most plausible way to do this would be to use an external inset.
That's the way that Lilypond files (music) are included, for example.
Such insets are user definable. Basically, you tell LyX how to convert the file 
to something LaTeX can process. This is discussed in section
7.1 of the Embedded Objects manual. You can use the existing xtemplate files as 
a starting point, too.

Riki




--

Richard Kimberly (Riki) Heck
Professor of Philosophy
Brown University

Pronouns: they/them/their
Website:  http://rkheck.frege.org/

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


RE: LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Bernt Lie via lyx-users
Thanks. Will look at it when the new version is released.

-Original Message-
From: Richard Kimberly Heck  
Sent: Tuesday, April 9, 2024 5:38 PM
To: Bernt Lie ; LyX Developers ; 
lyx-users 
Subject: Re: LyX 2.4.0 & Jupyter Notebooks

On 4/9/24 08:48, Bernt Lie wrote:
> Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
> released)?
>
> I'm particularly interested in the possibility to...
>
> * link the notebooks into LyX so that I always get the latest 
> version/computations in the notebook, i.e., preferably not a static 
> import
>
> * inclusion of mark-up text with headlines, math, etc.
>
> * inclusion of input and output cells, with figures, etc.
>
> * linked-in notebooks would be multipage. Perhaps it should be possible to 
> embed the notebooks in some theorem-like environment.
>
> OK -- don't know if this is possible, but it would go a long way towards 
> getting a literal programming environment.

The most plausible way to do this would be to use an external inset. 
That's the way that Lilypond files (music) are included, for example. 
Such insets are user definable. Basically, you tell LyX how to convert the file 
to something LaTeX can process. This is discussed in section
7.1 of the Embedded Objects manual. You can use the existing xtemplate files as 
a starting point, too.

Riki


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


Re: LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Richard Kimberly Heck

On 4/9/24 08:48, Bernt Lie wrote:

Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
released)?

I'm particularly interested in the possibility to...

* link the notebooks into LyX so that I always get the latest 
version/computations in the notebook, i.e., preferably not a static import

* inclusion of mark-up text with headlines, math, etc.

* inclusion of input and output cells, with figures, etc.

* linked-in notebooks would be multipage. Perhaps it should be possible to 
embed the notebooks in some theorem-like environment.

OK -- don't know if this is possible, but it would go a long way towards 
getting a literal programming environment.


The most plausible way to do this would be to use an external inset. 
That's the way that Lilypond files (music) are included, for example. 
Such insets are user definable. Basically, you tell LyX how to convert 
the file to something LaTeX can process. This is discussed in section 
7.1 of the Embedded Objects manual. You can use the existing xtemplate 
files as a starting point, too.


Riki


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


LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Bernt Lie via lyx-users
Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
released)? 

I'm particularly interested in the possibility to...

* link the notebooks into LyX so that I always get the latest 
version/computations in the notebook, i.e., preferably not a static import

* inclusion of mark-up text with headlines, math, etc.

* inclusion of input and output cells, with figures, etc.

* linked-in notebooks would be multipage. Perhaps it should be possible to 
embed the notebooks in some theorem-like environment.

OK -- don't know if this is possible, but it would go a long way towards 
getting a literal programming environment. 

-B

-Original Message-
From: lyx-users  On Behalf Of Rich Shepard
Sent: Monday, April 1, 2024 11:58 PM
To: LyX Developers ; lyx-users 

Subject: Re: LyX 2.4.0 RC4

On Sun, 31 Mar 2024, Richard Kimberly Heck wrote:

> What we hope will be the final release candidate for 2.4.0 is now 
> available
> here:
> http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/
>
> Please report bugs to lyx-de...@lists.lyx.org.

Riki,

Just upgraded from 2.3.7.1 to 2.4.0~RC4 on Slackware64-15.0 on a ThinkPad T430; 
no bugs seen crawling around. The issues that bugged me in 2.3.6.2 and
2.3.7.1 (not finding biblatex.sty and biber, needing to use the File menu to 
export a pdflatex because c-x h wouldn't work) are gone.

I had a concern about Tools -> Preferences -> Look & Feel -> Display showed 
Default when I use emacs turned out that (at least on my system) emacs key 
chords are the default.

Congratulations and many thanks to all devs.

Best 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


  1   2   3   4   5   6   7   8   9   10   >