greek characters

Paul Rubin parubin73 at gmail.com
Sun Oct 6 15:58:26 UTC 2024




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 
> <paolo.m.pumilia.gnarini at gmail.com> 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20241006/2bcd96d4/attachment.html>


More information about the lyx-users mailing list