greek characters

2024-10-06 Thread Paolo M
The following LyX setup
document->settings-> language->encoding type'traditional
(auto-selected)'

yields the expected pdf view, showing greek character \pi
(by the way, where do the line appearing on top come from? )

while setting
document->settings-> language->encoding type'Unicode (utf8)'
exporting to pdf yields:

LaTeX Error: Unicode character π (U+03C0)

Description:
\textgreek{π}

You may provide a definition with

\DeclareUnicodeCharacter




MWE included
thank you
p.


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


Re: greek characters

2024-10-06 Thread Paul Rubin




On 10/6/24 07:13, Maria Gouskova wrote:

Hi Paolo,

The line on top in the PDF appears because you have 'fancy' selected 
under Page Layout; normally you'd specify running headers with that 
layout that would appear above the line. Set it back to "default" if 
you don't want the line.


I couldn't reproduce your problem. The π shows up correctly in the PDF 
for me regardless of the encoding I choose.


What are you trying to do? If you're using Greek letters in a math 
context, you do not need to change the encoding. Just enter math mode 
(see Help>Math) and type \pi, \alpha, \tau, etc. along with all the 
other math stuff you need. LyX out-of-the-box default settings will 
make it show up correctly.


Maria

On Sun, Oct 6, 2024 at 5:45 AM Paolo M 
 wrote:


The following LyX setup
document->settings-> language->encoding type    'traditional
(auto-selected)'

yields the expected pdf view, showing greek character \pi
(by the way, where do the line appearing on top come from? )

while setting
document->settings-> language->encoding type    'Unicode (utf8)'
exporting to pdf yields:

LaTeX Error: Unicode character π (U+03C0)

Description:
\textgreek{π}

You may provide a definition with

\DeclareUnicodeCharacter




MWE included
thank you
p.
-- 
lyx-users mailing list

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


Works for me as well. I wonder if this has anything to do with the TeX 
installation. I'm using TeXLive (2023.20240207-1).


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


Re: greek characters

2024-10-06 Thread Maria Gouskova
Hi Paolo,

The line on top in the PDF appears because you have 'fancy' selected under
Page Layout; normally you'd specify running headers with that layout that
would appear above the line. Set it back to "default" if you don't want the
line.

I couldn't reproduce your problem. The π shows up correctly in the PDF for
me regardless of the encoding I choose.

What are you trying to do? If you're using Greek letters in a math context,
you do not need to change the encoding. Just enter math mode (see
Help>Math) and type \pi, \alpha, \tau, etc. along with all the other math
stuff you need. LyX out-of-the-box default settings will make it show up
correctly.

Maria

On Sun, Oct 6, 2024 at 5:45 AM Paolo M 
wrote:

> The following LyX setup
> document->settings-> language->encoding type'traditional
> (auto-selected)'
>
> yields the expected pdf view, showing greek character \pi
> (by the way, where do the line appearing on top come from? )
>
> while setting
> document->settings-> language->encoding type'Unicode (utf8)'
> exporting to pdf yields:
> 
> LaTeX Error: Unicode character π (U+03C0)
>
> Description:
> \textgreek{π}
>
> You may provide a definition with
>
> \DeclareUnicodeCharacter
>
> 
>
>
> MWE included
> thank you
> p.
> --
> 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


2.4.2.1 exits on Mac Sequoia 15.0.1 Intel but not Silicon

2024-10-06 Thread Eberhard W Lisse
Hi,

I upgraded my intel mac laptop to 15.0.1 (quitting LyX before restarting
the machine) and when I open LyX or a LyX document now it opens and
closes immediately.

When I do that on the command line it shows the following

   qt.qpa.fonts: Populating font family aliases took 399 ms. Replace
uses of missing font family "Serif" with one that exists to avoid this cost.

The fonts warning I have on the Silicon machine too and for a while now.

   Server.cpp (1016): LyX is already running in another instance
   and 'use single instance' is active.


However, LyX is NOT running (pax aux|grep -i lyx) shows nothing.

If I do this on the Silicon with LyX running I get the same error and if
it is not, I don't and LyX starts as intended.

Any idea where I can look? And how?

Can I turn 'single instance' off somewhere/somehow?

greetings, el

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


Re: LyX 2.4.2 Released

2024-10-06 Thread Jean-Marc Lasgouttes

Le 06/10/2024 à 22:17, mkriele--- via lyx-users a écrit :

Dear developers

I just wanted to drop you a line to tell you how much I appreciate this release.  We have 
been treated to many great releases of Lyx, and  2.4 was really impressive. But for me 
personally, this release made all the difference.  A few years ago I bought a diminutive  
"surface go" in order to work with lyx while travelling  light. It did work, 
but it was so slow that sometimes I would type whole words, which would only appear on 
screen after I had finished typing them.   It would be worse when I also deleted a 
character in between as due to the  lag something else could be deleted.  I lived with it 
because I love LyX and I could not think of any alternative hardware which would have 
been equally small but powerful enough. 2.4.2 changed this experience completely. Now 
hitting a key on this little thing has instantaneous effect on the screen. even though I 
am using.a machine which would have been considered slow more than 10 years ago. To me 
2.4.2 is a change like day and night.


Dear Marcus,

Thanks a lot for your feedback. It is this kind of comments that makes 
our work worth it.


I am very happy that this performance work was useful to at least one 
person. I was worried that it came too late and that nobody would have 
the machines that make the changes useful: on my correct but 5+ years 
old machines, the changes make no difference.


Now, if you can tell me what is still slow, we might be able to improve 
the situation a bit more!


Have fun with LyX,
JMarc

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


Re: Cannot print greek characters.

2024-10-06 Thread William Seager

On 2024-09-22 15:57, Paolo M wrote:

Should i add some special package?


Maybe some or all of:

extra/texlive-fontsextra 2024.2-2 (texlive) [installed]
extra/texlive-langgreek 2024.2-2 (texlive-lang) [installed]
extra/texlive-latexextra 2024.2-2 (texlive) [installed]
extra/texlive-mathscience 2024.2-2 (texlive) [installed]



--
William Seager
Professor Emeritus
Department of Philosophy
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Cannot print greek characters.

2024-10-06 Thread Paolo M
Yes, you were right.
Installing   texlive-collection-langgreek solved the issue!
Several more packages have been brought in  (texlive-begingreek
texlive-betababel
texlive-collection-langgreek texlive-gfsbaskerville
texlive-gfsbaskerville-fonts

 texlive-gfsporson texlive-gfsporson-fonts texlive-greekdates
texlive-greek-inputenc
texlive-greektex texlive-greektonoi
 texlive-ibycus-babel texlive-ibygrk texlive-ibygrk-fonts
texlive-kerkis texlive-kerkis-fonts
texlive-levy texlive-mkgrkindex
 texlive-mkgrkindex-bin texlive-talos texlive-talos-fonts
texlive-teubner texlive-xgreek
texlive-yannisgr
so i do not know which ones were really missing
thank you

Il giorno dom 6 ott 2024 alle ore 13:26 William Seager <
bill.sea...@utoronto.ca> ha scritto:

> On 2024-09-22 15:57, Paolo M wrote:
> > Should i add some special package?
>
> Maybe some or all of:
>
> extra/texlive-fontsextra 2024.2-2 (texlive) [installed]
> extra/texlive-langgreek 2024.2-2 (texlive-lang) [installed]
> extra/texlive-latexextra 2024.2-2 (texlive) [installed]
> extra/texlive-mathscience 2024.2-2 (texlive) [installed]
>
>
>
> --
> William Seager
> Professor Emeritus
> Department of Philosophy
> University of Toronto Scarborough
> www.utsc.utoronto.ca/~seager
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
--- Paolo M. Pumilia - 347 231 54 96.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: 2.4.2.1 exits on Mac Sequoia 15.0.1 Intel but not Silicon

2024-10-06 Thread Stephan Witt via lyx-users
Am 06.10.2024 um 20:09 schrieb Eberhard W Lisse :
> 
> Hi,
> 
> I upgraded my intel mac laptop to 15.0.1 (quitting LyX before restarting
> the machine) and when I open LyX or a LyX document now it opens and
> closes immediately.
> 
> When I do that on the command line it shows the following
> 
>   qt.qpa.fonts: Populating font family aliases took 399 ms. Replace
> uses of missing font family "Serif" with one that exists to avoid this cost.
> 
> The fonts warning I have on the Silicon machine too and for a while now.
> 
>   Server.cpp (1016): LyX is already running in another instance
>   and 'use single instance' is active.
> 
> 
> However, LyX is NOT running (pax aux|grep -i lyx) shows nothing.
> 
> If I do this on the Silicon with LyX running I get the same error and if
> it is not, I don't and LyX starts as intended.
> 
> Any idea where I can look? And how?

Probably the LyX pipes (the names are per default .lyxpipe.in and .lyxpipe.out 
in folder ~/Library/Application\ Support/LyX-2.4) are present.
They shouldn’t if LyX is not running. Additionally some process has the pipes 
open and is waiting for input on it.

> Can I turn 'single instance' off somewhere/somehow?

You cannot turn it off on Mac.

BR, Stephan

> 
> greetings, el
> 
> -- 
> 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: 2.4.2.1 exits on Mac Sequoia 15.0.1 Intel but not Silicon

2024-10-06 Thread Eberhard W Lisse
Thank you.

That was it.

Maybe one could improve the error message a little?

el

On 06/10/2024 21:16, Stephan Witt via lyx-users wrote:
> Am 06.10.2024 um 20:09 schrieb Eberhard W Lisse :
[...]
> Probably the LyX pipes (the names are per default .lyxpipe.in and
> .lyxpipe.out in folder ~/Library/Application\ Support/LyX-2.4) are
> present. They shouldn’t if LyX is not running. Additionally some
> process has the pipes open and is waiting for input on it.
[...]

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


Re: LyX 2.4.2 Released

2024-10-06 Thread mkriele--- via lyx-users
Dear developers

I just wanted to drop you a line to tell you how much I appreciate this 
release.  We have been treated to many great releases of Lyx, and  2.4 was 
really impressive. But for me personally, this release made all the difference. 
 A few years ago I bought a diminutive  "surface go" in order to work with lyx 
while travelling  light. It did work, but it was so slow that sometimes I would 
type whole words, which would only appear on screen after I had finished typing 
them.   It would be worse when I also deleted a character in between as due to 
the  lag something else could be deleted.  I lived with it because I love LyX 
and I could not think of any alternative hardware which would have been equally 
small but powerful enough. 2.4.2 changed this experience completely. Now 
hitting a key on this little thing has instantaneous effect on the screen. even 
though I am using.a machine which would have been considered slow more than 10 
years ago. To me 2.4.2 is a change like day and night. 

Many, many thanks,  Marcus



> On 3 Oct 2024, at 23:04, Richard Kimberly Heck  wrote:
> 
> Public release of LyX version 2.4.2
> ===
> 
> We are proud to announce the release LyX 2.4.2, the second maintenance
> release in the 2.4.x series.
> 
> This is almost entirely a bug-fixing release, with no significant new
> features. However, some crashes have been fixed, and we have made some
> significant improvements to display speed, which will be especially
> noticeable on older or slower systems.
> 
> One important bug fixed in this release involves labels in captions
> and some other constructs. These were wrongly \protect'ed in earlier
> versions.
> 
> There has been a change (as of 2.4.0) in how the option to use vertical
> space between paragraphs is handled. Previously, LyX simply modified
> \parskip and \parindent, but this caused various problems (see bug
> #4796). Now, we use the parskip package. As a result, however, and
> to ensure there are no changes to old documents, when LyX files from
> 2.3.x and earlier are converted to the new format, if they were set to
> use vertical space between paragraphs, the lyx2lyx conversion routine
> adds
>   % Added by lyx2lyx
>   \setlength{\parskip}{\smallskipamount}
>   \setlength{\parindent}{0pt}
> to the preamble and, within LyX itself, resets the text layout to use
> indentation (so we do not issue the new code for vertical spacing). The
> net effect is that PDFs generated with LaTeX (etc) look right, but in
> LyX itself indentation is used.
> 
> This will happen with any document created with 2.3.x or older. It can
> also happen with documents created from templates created with 2.3.x
> or older, and even with new documents, if you had previously set them to
> use, by default, vertical space. Templates are just LyX files saved in
> the templates/ folder, and the 'defaults' are simply saved in a
> template file, defaults.lyx. Hence, if you want the new behavior, or
> just want the LyX document to look `right', then you will need to make
> two changes to the document or template: Remove what lyx2lyx added, and
> then set Paragraph Separation to Vertical Space.
> 
> You can download LyX 2.4.2 from https://www.lyx.org/Download.
> 
> If you have trouble using LyX or have a question, consult the
> documentation that comes with LyX (under Help) and the LyX wiki, which
> you will find at https://wiki.lyx.org/. You can also send email to
> the LyX users' list (lyx-users at lists.lyx.org). Bugs can be reported
> on our bug tracker (https://www.lyx.org/trac/) or by writing the
> developers' list (lyx-devel at lists.lyx.org).
> 
> The LyX team.
> https://www.lyx.org
> 
> 
> NOTE FOR PACKAGERS: Most of the packages indicate the version number as 
> 2.4.2.1. This is because we discovered and fixed a nasty bug after 2.4.2 had 
> already been packaged, and decided to delay the release. Although 2.4.2 
> packages had not been officially released, they had been made available for 
> testing. So, to avoid confusion between versions, we used a different number 
> for the currently released packages.
> 
> 
> 
> 
> What's new
> ==
> 
> ** Updates:
> ***
> 
> * DOCUMENT INPUT/OUTPUT
> 
> - There was undocumented change how hyperlink insets are exported to
>   xHTML format compared to LyX 2.3.x (type "File" is no more exported
>   as http(s) link). We added details to the RELEASE-NOTES file.
> 
> - Load graphics after geometry, so page size is set properly (bug
>   10970).
> 
> - Recognize .plt as a GnuPlot extension (bug 11148).
> 
> - Restore obvious "G" shortcut for Greyed Out notes.
> 
> 
> * MISCELLANEOUS
> 
> - Update format of lyxrc.dist templates
> 
> - Update templates to use native vertical space method.
> 
> 
> * USER INTERFACE
> 
> - Show font info in status line again.
> 
> - Make scrolling smoother when using selection.
> 
> - Show the temporary directory in About LyX dialog.
> 
> - Improve document output pane (bug 12