Re: LyX with luatex and non-TeX fonts: Preview of math blown up

2024-06-28 Thread Neal Becker
On Thu, Jun 27, 2024 at 11:25 PM Scott Kostyshak  wrote:

> On Sun, Apr 28, 2024 at 01:52:34PM GMT, Tobias Hilbricht wrote:
> > 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)
>
> Hi Tobias,
>
> Thanks for this report. I can't reproduce. Can you reproduce with the
> attached file? If not, could you please attach an example file?
>
> Scott
>

Are you talking about math preview?  This has been broken for me for some
time (before 2.4 and still there) and I just turned math preview off.  You
say "works with xelatex" and not with lualatex.  How are you switching
between the for math preview?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX with luatex and non-TeX fonts: Preview of math blown up

2024-06-27 Thread Scott Kostyshak
On Sun, Apr 28, 2024 at 01:52:34PM GMT, Tobias Hilbricht wrote:
> 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)

Hi Tobias,

Thanks for this report. I can't reproduce. Can you reproduce with the
attached file? If not, could you please attach an example file?

Scott


math-preview-with-luatex.lyx
Description: application/lyx


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


Re: Latex vs. non-latex fonts

2024-01-16 Thread Steve Litt
Neal Becker said on Fri, 12 Jan 2024 09:09:51 -0500

>I'm writing another paper for IEEE conference.  I'm using lualatex to
>produce pdf.
>
>In documen/settings/fonts, I'm set to using all defaults.  If I don't
>check 'use non-TeX fonts', the output looks good.  If I do check 'use
>non-TeX fonts', the fonts look much thinner and to my eye not very
>pleasing.  Again I have not changed any font settings from defaults.
>
>Any thoughts or suggestions?  Oh, this is lyx-2.4.0beta5.
>
>Thanks,
>Neal

Hi Neal,

I gave up on Computer Modern fonts years ago, because they're so thin
as to be difficult for a poorly sighted person to read quickly. Whether
"use non-tex fonts" is checked or not (it might be worse one way or
another, but it's not good either way). I now use exclusively (for
normal purposes):

* TeX Gyre Schola for normal serif fonts.

* TeX Gyre Heros for normal sans-serif fonts.

* TeX Gyre Cursor for monospaced fonts.

These fonts are readable, at a glance, on paper or on screen. They look
good, at least to me. All you do is install them from CTAN, check "use
non-tex fonts", and compile with LuaTeX and LuaLaTeX.

Once in a while I use Ubuntu Condensed when needing condensed fonts.

Note that if it's to be read exclusively on a screen (HTML or ePub), I
don't specify fonts, so that the user's preferences rule.

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


Re: Latex vs. non-latex fonts

2024-01-14 Thread Herbert Voss



Am 14.01.24 um 17:05 schrieb Neal Becker:



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




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

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

Herbert



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


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

For lualatex use this preamble in _LyX_

\usepackage{flushend}

\usepackage{kpfonts-otf}

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


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

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

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


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


Re: Latex vs. non-latex fonts

2024-01-14 Thread Neal Becker
On Sun, Jan 14, 2024 at 2:48 AM Herbert Voss 
wrote:

>
>
> Am 13.01.24 um 16:49 schrieb Neal Becker:
> > I have tried kpfonts.  Surprisingly, it also has the same problem with
> > authormark misplaced!
> >
>
> Looks like a bug with the IEEE layout of LyX. Export the test-document to
> LaTeX (pdflatex) and run it and it will be okay.
>
> Herbert
>


Looks like if I export to pdflatex and run pdflatex it works!
But if I export to lualatex and run lualatex the asterisks are misplaced.
Any idea of what is the cause?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



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




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

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


Re: Latex vs. non-latex fonts

2024-01-13 Thread Christopher Menzel
Try the Palatino font with \usepackage{mathpazo}. That’s an attractive, classic 
TeX font combo.

-chris

> On Jan 13, 2024, at 9:50 AM, Neal Becker  wrote:
> 
> 
> I have tried kpfonts.  Surprisingly, it also has the same problem with 
> authormark misplaced!
> 
> 
> 
> --
> 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: Latex vs. non-latex fonts

2024-01-13 Thread Neal Becker
I have tried kpfonts.  Surprisingly, it also has the same problem with
authormark misplaced!


mwe-kpfonts.lyx
Description: application/lyx


mwe-kpfonts.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Neal Becker
>
> I have
  No. Filename Symbolic namePath
   1.  cambria.ttc cambria   /usr/local/share/fonts/c/
   2.  cambria.ttc cambriamath   /usr/local/share/fonts/c/
   3. cambriab.ttf cambria  /usr/share/fonts/msttcore/
   4. cambriai.ttf cambria  /usr/share/fonts/msttcore/
   5. cambriaz.ttf cambria  /usr/share/fonts/msttcore/

Perhaps I am having some problem because I have cambria from 2 different
sources?  I grabbed the msttcore stuff, but that was missing cambriamath.
So then I found cambria.ttc which I manually installed, which has
cambriamath.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



Am 13.01.24 um 16:02 schrieb Neal Becker:



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


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



gives you all fonts which will be found by TeX

Herbert










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


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



Am 13.01.24 um 15:57 schrieb Neal Becker:

Here is a mwe of the New PX problem.


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

Herbert






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



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

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

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

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


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

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

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


Is there a recommended alternative set of fonts?


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

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

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

Chris Menzel

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



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



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


Re: Latex vs. non-latex fonts

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


mwe-cambria.pdf
Description: Adobe PDF document


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


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



Am 13.01.24 um 15:33 schrieb Neal Becker:



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



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


Herbert




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


Re: Latex vs. non-latex fonts

2024-01-13 Thread Neal Becker
Here is a mwe of the New PX problem.


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

>
>
> On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel 
> wrote:
>
>> On Jan 12, 2024, at 9:03 AM, Neal Becker  wrote:
>>
>> I'm writing another paper for IEEE conference.  I'm using lualatex to
>> produce pdf.
>>
>> In document/settings/fonts, I'm set to using all defaults. If I don't
>> check 'use non-TeX fonts', the output looks good. If I do check 'use
>> non-TeX fonts', the fonts look much thinner and to my eye not very
>> pleasing.  Again I have not changed any font settings from defaults.
>>
>>
>> And that’s why they don’t look good. You need to choose one from the
>> drop-down list. The problem with using non-TeX fonts is that there might
>> not be a corresponding math font. One that does have a math font and that
>> looks quite nice is Cambria. If you are using MacOS or Windows you should
>> have it on your machine if you’ve installed Office 365 or a standalone of
>> any of the usual Microsoft applications. To get the corresponding math font
>> once you’ve selected Cambria from the drop-down, add the following to the
>> preamble:
>>
>> \usepackage{unicode-math}
>> \setmathfont{Cambria Math}
>>
>> If you’re using Linux, there are instructions to be found on the
>> interwebs for installing the Microsoft fonts Cambria, Calibri, and
>> Consolas. They are extracted from the old PowerPoint Viewer, which
>> Microsoft released for free and hence (so I recall gathering from
>> discussions in various forums) can be extracted and used legally.
>>
>> Is there a recommended alternative set of fonts?
>>
>>
>> For TeX fonts, I really like New PX
>> <https://tug.org/FontCatalogue/newpx/>, a descendent of Palatino with a
>> very nice math font. Add the following to your preamble (and select
>> “Default” from the drop-down font list):
>>
>> \usepackage[T1]{fontenc}
>> \usepackage{newpxtext,newpxmath}
>>
>> Vastly superior aesthetically to the long outdated (but still, sadly,
>> oft-used) Computer Modern default.
>>
>> Chris Menzel
>>
>> I just tried out the New PX alternative.  It looks good except for one
> strange problem.  In the top of the paper is author name and authormark.
> Authormark (1 author) will be an asterisk.  With CM the asterisk is in the
> normal position, but with New PX the asterisk is about the middle of the
> text height, not in a superscript position.  Since this is right at the top
> of the paper and glaringly obvious I don't think I can use it.
>


-- 
*Those who don't understand recursion are doomed to repeat it*
%% LyX 2.4.0~RC1 created this file.  For more info, see https://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[american,conference]{IEEEtran}
\usepackage[T1]{fontenc}
\usepackage[utf8]{luainputenc}
\usepackage{geometry}
\geometry{verbose}

\makeatletter
%% User specified LaTeX commands.
%\pdfoptionpdfminorversion=7
%\usepackage{cite}
%\usepackage{hyperref}
%\usepackage{url}
\usepackage{flushend}
%\usepackage{unicode-math}
%\setmathfont{Cambria Math}
\usepackage[T1]{fontenc}
\usepackage{newpxtext,newpxmath}

\makeatother

\usepackage{babel}
\begin{document}
\title{A Very Interesting Title}
\author{\IEEEauthorblockN{Neal Becker\IEEEauthorrefmark{1}}\IEEEauthorblockA{Hughes Network Systems, Germantown MD\\
Email: \IEEEauthorrefmark{1}neal.bec...@hughes.com}}
\maketitle
\begin{abstract}
This abstract is very abstract
\end{abstract}


\section{Introduction}

Consider the topic introduced.
\end{document}


mwe.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Neal Becker
On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel 
wrote:

> On Jan 12, 2024, at 9:03 AM, Neal Becker  wrote:
>
> I'm writing another paper for IEEE conference.  I'm using lualatex to
> produce pdf.
>
> In document/settings/fonts, I'm set to using all defaults. If I don't
> check 'use non-TeX fonts', the output looks good. If I do check 'use
> non-TeX fonts', the fonts look much thinner and to my eye not very
> pleasing.  Again I have not changed any font settings from defaults.
>
>
> And that’s why they don’t look good. You need to choose one from the
> drop-down list. The problem with using non-TeX fonts is that there might
> not be a corresponding math font. One that does have a math font and that
> looks quite nice is Cambria. If you are using MacOS or Windows you should
> have it on your machine if you’ve installed Office 365 or a standalone of
> any of the usual Microsoft applications. To get the corresponding math font
> once you’ve selected Cambria from the drop-down, add the following to the
> preamble:
>
> \usepackage{unicode-math}
> \setmathfont{Cambria Math}
>
> If you’re using Linux, there are instructions to be found on the interwebs
> for installing the Microsoft fonts Cambria, Calibri, and Consolas. They are
> extracted from the old PowerPoint Viewer, which Microsoft released for free
> and hence (so I recall gathering from discussions in various forums) can be
> extracted and used legally.
>
> Is there a recommended alternative set of fonts?
>
>
> For TeX fonts, I really like New PX <https://tug.org/FontCatalogue/newpx/>,
> a descendent of Palatino with a very nice math font. Add the following to
> your preamble (and select “Default” from the drop-down font list):
>
> \usepackage[T1]{fontenc}
> \usepackage{newpxtext,newpxmath}
>
> Vastly superior aesthetically to the long outdated (but still, sadly,
> oft-used) Computer Modern default.
>
> Chris Menzel
>
> I just tried out the New PX alternative.  It looks good except for one
strange problem.  In the top of the paper is author name and authormark.
Authormark (1 author) will be an asterisk.  With CM the asterisk is in the
normal position, but with New PX the asterisk is about the middle of the
text height, not in a superscript position.  Since this is right at the top
of the paper and glaringly obvious I don't think I can use it.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread José Matos
On Fri, 2024-01-12 at 16:25 -0500, Neal Becker wrote:
> Thanks!  I am on linux (fedora). 

I am sorry for hijacking this thread.
If you are using copr:
https://copr.fedorainfracloud.org/coprs/jamatos/lyx-devel

the version available has switched now to qt6.

Tell me if you have issues.

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


Re: Latex vs. non-latex fonts

2024-01-12 Thread Neal Becker
On Fri, Jan 12, 2024 at 5:58 PM Christopher Menzel 
wrote:

> On Jan 12, 2024, at 3:25 PM, Neal Becker  wrote:
>
> On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel 
> wrote:
>
>> On Jan 12, 2024, at 9:03 AM, Neal Becker  wrote:
>>
>> I'm writing another paper for IEEE conference.  I'm using lualatex to
>> produce pdf.
>>
>> In document/settings/fonts, I'm set to using all defaults. If I don't
>> check 'use non-TeX fonts', the output looks good. If I do check 'use
>> non-TeX fonts', the fonts look much thinner and to my eye not very
>> pleasing.  Again I have not changed any font settings from defaults.
>>
>>
>> And that’s why they don’t look good. You need to choose one from the
>> drop-down list. The problem with using non-TeX fonts is that there might
>> not be a corresponding math font. One that does have a math font and that
>> looks quite nice is Cambria. If you are using MacOS or Windows you should
>> have it on your machine if you’ve installed Office 365 or a standalone of
>> any of the usual Microsoft applications. To get the corresponding math font
>> once you’ve selected Cambria from the drop-down, add the following to the
>> preamble:
>>
>> \usepackage{unicode-math}
>> \setmathfont{Cambria Math}
>>
>> If you’re using Linux, there are instructions to be found on the
>> interwebs for installing the Microsoft fonts Cambria, Calibri, and
>> Consolas. They are extracted from the old PowerPoint Viewer, which
>> Microsoft released for free and hence (so I recall gathering from
>> discussions in various forums) can be extracted and used legally.
>>
>> Thanks!  I am on linux (fedora).  I found instructions to install
> msfonts.  Now I have Cambria, but it seems not Cambria math?
>
> Package fontspec Error: The font "CambriaMath" cannot be found.
>
>
> Note there’s a space in the \setmathfont{Cambria Math} declaration, in
> case that’s relevant.
>
> Any hints?
> In /usr/share/fonts/mscorefonts I have
>   -r--r--r--. 1 root root 331916 Sep 26  2006 cambriab.ttf
>   -r--r--r--. 1 root root 336812 Aug  9  2006 cambriai.ttf
>   -r--r--r--. 1 root root 326024 Aug  9  2006 cambriaz.ttf
> (along with others not starting with 'cambrai’)
>
>
> Hm, here’s everything I’ve got on my Kali Linux installation:
>
> ╭─cmenzel@kali-linux-2022-2 ~
> ╰─$ locate cambria
> /usr/share/fonts/truetype/vista/cambria.ttf
> /usr/share/fonts/truetype/vista/cambriab.ttf
> /usr/share/fonts/truetype/vista/cambriai.ttf
> /usr/share/fonts/truetype/vista/cambriamath.ttf
> /usr/share/fonts/truetype/vista/cambriaz.ttf
> /usr/share/texmf/tex/context/fonts/mkiv/cambria-math.lfg
> /usr/share/texmf/tex/context/fonts/mkiv/cambria.lfg
> /usr/share/texmf/tex/context/fonts/mkiv/type-imp-cambria.mkiv
>
> In case you didn’t use the instructions I followed, give →THESE
> <https://kodejava.org/how-do-i-install-calibri-font-in-ubuntu/>← a try.
>
> -chris
>

Thanks, getting close.  Now compiles without error, but one thing strange.
The Abstract should be bold, but in Cambria it does not seem to be bold.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-12 Thread Christopher Menzel
On Jan 12, 2024, at 3:25 PM, Neal Becker  wrote:
> On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel  <mailto:chris.men...@gmail.com>> wrote:
>> On Jan 12, 2024, at 9:03 AM, Neal Becker > <mailto:ndbeck...@gmail.com>> wrote:
>>> I'm writing another paper for IEEE conference.  I'm using lualatex to 
>>> produce pdf.
>>> 
>>> In document/settings/fonts, I'm set to using all defaults. If I don't 
>>> check 'use non-TeX fonts', the output looks good. If I do check 'use 
>>> non-TeX fonts', the fonts look much thinner and to my eye not very 
>>> pleasing.  Again I have not changed any font settings from defaults.
>> 
>> And that’s why they don’t look good. You need to choose one from the 
>> drop-down list. The problem with using non-TeX fonts is that there might not 
>> be a corresponding math font. One that does have a math font and that looks 
>> quite nice is Cambria. If you are using MacOS or Windows you should have it 
>> on your machine if you’ve installed Office 365 or a standalone of any of the 
>> usual Microsoft applications. To get the corresponding math font once you’ve 
>> selected Cambria from the drop-down, add the following to the preamble:
>> 
>> \usepackage{unicode-math}
>> \setmathfont{Cambria Math}
>> 
>> If you’re using Linux, there are instructions to be found on the interwebs 
>> for installing the Microsoft fonts Cambria, Calibri, and Consolas. They are 
>> extracted from the old PowerPoint Viewer, which Microsoft released for free 
>> and hence (so I recall gathering from discussions in various forums) can be 
>> extracted and used legally.
>> 
> Thanks!  I am on linux (fedora).  I found instructions to install msfonts.  
> Now I have Cambria, but it seems not Cambria math?
>  
> Package fontspec Error: The font "CambriaMath" cannot be found.

Note there’s a space in the \setmathfont{Cambria Math} declaration, in case 
that’s relevant.

> Any hints?
> In /usr/share/fonts/mscorefonts I have
>   -r--r--r--. 1 root root 331916 Sep 26  2006 cambriab.ttf
>   -r--r--r--. 1 root root 336812 Aug  9  2006 cambriai.ttf
>   -r--r--r--. 1 root root 326024 Aug  9  2006 cambriaz.ttf
> (along with others not starting with 'cambrai’)

Hm, here’s everything I’ve got on my Kali Linux installation:

╭─cmenzel@kali-linux-2022-2 ~  
╰─$ locate cambria    
/usr/share/fonts/truetype/vista/cambria.ttf
/usr/share/fonts/truetype/vista/cambriab.ttf
/usr/share/fonts/truetype/vista/cambriai.ttf
/usr/share/fonts/truetype/vista/cambriamath.ttf
/usr/share/fonts/truetype/vista/cambriaz.ttf
/usr/share/texmf/tex/context/fonts/mkiv/cambria-math.lfg
/usr/share/texmf/tex/context/fonts/mkiv/cambria.lfg
/usr/share/texmf/tex/context/fonts/mkiv/type-imp-cambria.mkiv

In case you didn’t use the instructions I followed, give →THESE 
<https://kodejava.org/how-do-i-install-calibri-font-in-ubuntu/>← a try.

-chris



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


Re: Latex vs. non-latex fonts

2024-01-12 Thread Neal Becker
On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel 
wrote:

> On Jan 12, 2024, at 9:03 AM, Neal Becker  wrote:
>
> I'm writing another paper for IEEE conference.  I'm using lualatex to
> produce pdf.
>
> In document/settings/fonts, I'm set to using all defaults. If I don't
> check 'use non-TeX fonts', the output looks good. If I do check 'use
> non-TeX fonts', the fonts look much thinner and to my eye not very
> pleasing.  Again I have not changed any font settings from defaults.
>
>
> And that’s why they don’t look good. You need to choose one from the
> drop-down list. The problem with using non-TeX fonts is that there might
> not be a corresponding math font. One that does have a math font and that
> looks quite nice is Cambria. If you are using MacOS or Windows you should
> have it on your machine if you’ve installed Office 365 or a standalone of
> any of the usual Microsoft applications. To get the corresponding math font
> once you’ve selected Cambria from the drop-down, add the following to the
> preamble:
>
> \usepackage{unicode-math}
> \setmathfont{Cambria Math}
>
> If you’re using Linux, there are instructions to be found on the interwebs
> for installing the Microsoft fonts Cambria, Calibri, and Consolas. They are
> extracted from the old PowerPoint Viewer, which Microsoft released for free
> and hence (so I recall gathering from discussions in various forums) can be
> extracted and used legally.
>
> Thanks!  I am on linux (fedora).  I found instructions to install
msfonts.  Now I have Cambria, but it seems not Cambria math?

Package fontspec Error: The font "CambriaMath" cannot be found.

Any hints?
In /usr/share/fonts/mscorefonts I have
  -r--r--r--. 1 root root 331916 Sep 26  2006 cambriab.ttf
  -r--r--r--. 1 root root 336812 Aug  9  2006 cambriai.ttf
  -r--r--r--. 1 root root 326024 Aug  9  2006 cambriaz.ttf
(along with others not starting with 'cambrai')

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


Re: Latex vs. non-latex fonts

2024-01-12 Thread Christopher Menzel
On Jan 12, 2024, at 9:03 AM, Neal Becker  wrote:
> I'm writing another paper for IEEE conference.  I'm using lualatex to 
> produce pdf.
> 
> In document/settings/fonts, I'm set to using all defaults. If I don't 
> check 'use non-TeX fonts', the output looks good. If I do check 'use 
> non-TeX fonts', the fonts look much thinner and to my eye not very 
> pleasing.  Again I have not changed any font settings from defaults.

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

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

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

> Is there a recommended alternative set of fonts?

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

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

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

Chris Menzel

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


Re: Latex vs. non-latex fonts

2024-01-12 Thread Neal Becker
On Fri, Jan 12, 2024 at 9:33 AM Eckhard Höffner 
wrote:

> Look at the document properties of the different pdf files. There is a
> section about the embedded fonts in the pdf. If you are using the
> regular Computer Modern (or LM); these fonts apear indeed very thin.
>
>
> Am 12.01.24 um 15:09 schrieb Neal Becker:
> > I'm writing another paper for IEEE conference.  I'm using lualatex to
> > produce pdf.
> >
> > In documen/settings/fonts, I'm set to using all defaults. If I don't
> > check 'use non-TeX fonts', the output looks good. If I do check 'use
> > non-TeX fonts', the fonts look much thinner and to my eye not very
> > pleasing.  Again I have not changed any font settings from defaults.
> >
> > Any thoughts or suggestions?  Oh, this is lyx-2.4.0beta5.
> >
> > Thanks,
> > Neal
> >
> --
> Eckhard Höffner
> Volkarstr. 64
> D-80636 München
>

Is there a recommended alternative set of fonts?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-12 Thread Eckhard Höffner
Look at the document properties of the different pdf files. There is a 
section about the embedded fonts in the pdf. If you are using the 
regular Computer Modern (or LM); these fonts apear indeed very thin.



Am 12.01.24 um 15:09 schrieb Neal Becker:
I'm writing another paper for IEEE conference.  I'm using lualatex to 
produce pdf.


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


Any thoughts or suggestions?  Oh, this is lyx-2.4.0beta5.

Thanks,
Neal


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

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


Latex vs. non-latex fonts

2024-01-12 Thread Neal Becker
I'm writing another paper for IEEE conference.  I'm using lualatex to
produce pdf.

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

Any thoughts or suggestions?  Oh, this is lyx-2.4.0beta5.

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


Re: LyX, Non-TeX-Fonts and export with pandoc

2023-11-19 Thread Richard Kimberly Heck

On 11/19/23 06:30, Tobias Hilbricht wrote:

Riki,

I have added your instructions to the LyX-wiki "Export to OpenDocument
(.odt) and Open Office XML (.docx) file formats with Pandoc".


Thanks!

Riki



Am Samstag, dem 18.11.2023 um 23:08 -0500 schrieb Richard Kimberly
Heck:

Probably this should go into 2.4, but we'll see if anyone has
worries.

On 11/18/23 13:24, Tobias Hilbricht wrote:

Am Samstag, dem 18.11.2023 um 12:46 -0500 schrieb Richard Kimberly
Heck:

On 11/18/23 07:18, Tobias Hilbricht wrote:

But when I check that box and want to use Non-TeX-Fonts, the
export
option to docx or odt via pandoc disappears.

The reason for this is that, if you use non-TeX fonts, then the
immediate export is to a file that would be compiled with XeLaTeX
or
LuaTeX, and there is no converter defined to convert that format
to
ODT
or whatever.

Now that you write it it is quite clear, but it did not occur to me
when looking at Settings - Converter ...


The solution is to define one. This is easiest done I think in
the
configuration files themselves rather than in LyX. Find your user
directory and open the file lyxrc.defaults. In there, you will
find a
line like:

\converter latex  odt3    "pandoc -s -f latex -o $$o -t
odt
$$i"    ""

Copy it and open the file preferences. Paste twice but change it
to:

\converter xetex  odt3    "pandoc -s -f latex -o $$o -t
odt
$$i"    ""
\converter luatex  odt3    "pandoc -s -f latex -o $$o -t
odt
$$i"    ""

Save that file and open LyX. Should work, but not tested. The
same
kind
of thing will work for Word formats.

A quick test with a simple LyX-document produced docx- and odt-
output
without errors and with the expected formatting.

There may be some reason we do not include this by default:
Perhaps
pandoc is liable to choke on something we output in those modes.
Hopefully, someone else will know. But I'm guessing it's an
oversight.


I can understand that and will see how far I can get. Thank you for
your advice!
Tobias




--

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, Non-TeX-Fonts and export with pandoc

2023-11-19 Thread Tobias Hilbricht
Riki,

I have added your instructions to the LyX-wiki "Export to OpenDocument
(.odt) and Open Office XML (.docx) file formats with Pandoc".

Tobias 

Am Samstag, dem 18.11.2023 um 23:08 -0500 schrieb Richard Kimberly
Heck:
> 
> Probably this should go into 2.4, but we'll see if anyone has
> worries.
> 
> On 11/18/23 13:24, Tobias Hilbricht wrote:
> > Am Samstag, dem 18.11.2023 um 12:46 -0500 schrieb Richard Kimberly
> > Heck:
> > > On 11/18/23 07:18, Tobias Hilbricht wrote:
> > > > But when I check that box and want to use Non-TeX-Fonts, the
> > > > export
> > > > option to docx or odt via pandoc disappears.
> > > The reason for this is that, if you use non-TeX fonts, then the
> > > immediate export is to a file that would be compiled with XeLaTeX
> > > or
> > > LuaTeX, and there is no converter defined to convert that format
> > > to
> > > ODT
> > > or whatever.
> > Now that you write it it is quite clear, but it did not occur to me
> > when looking at Settings - Converter ...
> > 
> > > The solution is to define one. This is easiest done I think in
> > > the
> > > configuration files themselves rather than in LyX. Find your user
> > > directory and open the file lyxrc.defaults. In there, you will
> > > find a
> > > line like:
> > > 
> > > \converter latex  odt3    "pandoc -s -f latex -o $$o -t
> > > odt
> > > $$i"    ""
> > > 
> > > Copy it and open the file preferences. Paste twice but change it
> > > to:
> > > 
> > > \converter xetex  odt3    "pandoc -s -f latex -o $$o -t
> > > odt
> > > $$i"    ""
> > > \converter luatex  odt3    "pandoc -s -f latex -o $$o -t
> > > odt
> > > $$i"    ""
> > > 
> > > Save that file and open LyX. Should work, but not tested. The
> > > same
> > > kind
> > > of thing will work for Word formats.
> > A quick test with a simple LyX-document produced docx- and odt-
> > output
> > without errors and with the expected formatting.
> > > There may be some reason we do not include this by default:
> > > Perhaps
> > > pandoc is liable to choke on something we output in those modes.
> > > Hopefully, someone else will know. But I'm guessing it's an
> > > oversight.
> > > 
> > I can understand that and will see how far I can get. Thank you for
> > your advice!
> > Tobias
> 
> 

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


Re: LyX, Non-TeX-Fonts and export with pandoc

2023-11-18 Thread Richard Kimberly Heck


Probably this should go into 2.4, but we'll see if anyone has worries.

On 11/18/23 13:24, Tobias Hilbricht wrote:

Am Samstag, dem 18.11.2023 um 12:46 -0500 schrieb Richard Kimberly
Heck:

On 11/18/23 07:18, Tobias Hilbricht wrote:

But when I check that box and want to use Non-TeX-Fonts, the export
option to docx or odt via pandoc disappears.

The reason for this is that, if you use non-TeX fonts, then the
immediate export is to a file that would be compiled with XeLaTeX or
LuaTeX, and there is no converter defined to convert that format to
ODT
or whatever.

Now that you write it it is quite clear, but it did not occur to me
when looking at Settings - Converter ...


The solution is to define one. This is easiest done I think in the
configuration files themselves rather than in LyX. Find your user
directory and open the file lyxrc.defaults. In there, you will find a
line like:

\converter latex  odt3    "pandoc -s -f latex -o $$o -t odt
$$i"    ""

Copy it and open the file preferences. Paste twice but change it to:

\converter xetex  odt3    "pandoc -s -f latex -o $$o -t odt
$$i"    ""
\converter luatex  odt3    "pandoc -s -f latex -o $$o -t odt
$$i"    ""

Save that file and open LyX. Should work, but not tested. The same
kind
of thing will work for Word formats.

A quick test with a simple LyX-document produced docx- and odt-output
without errors and with the expected formatting.

There may be some reason we do not include this by default: Perhaps
pandoc is liable to choke on something we output in those modes.
Hopefully, someone else will know. But I'm guessing it's an
oversight.


I can understand that and will see how far I can get. Thank you for
your advice!
Tobias



--

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, Non-TeX-Fonts and export with pandoc

2023-11-18 Thread Tobias Hilbricht
Am Samstag, dem 18.11.2023 um 12:46 -0500 schrieb Richard Kimberly
Heck:
> On 11/18/23 07:18, Tobias Hilbricht wrote:
> > 
> > But when I check that box and want to use Non-TeX-Fonts, the export
> > option to docx or odt via pandoc disappears.
> 
> The reason for this is that, if you use non-TeX fonts, then the 
> immediate export is to a file that would be compiled with XeLaTeX or 
> LuaTeX, and there is no converter defined to convert that format to
> ODT 
> or whatever.

Now that you write it it is quite clear, but it did not occur to me
when looking at Settings - Converter ...

> 
> The solution is to define one. This is easiest done I think in the 
> configuration files themselves rather than in LyX. Find your user 
> directory and open the file lyxrc.defaults. In there, you will find a
> line like:
> 
> \converter latex  odt3    "pandoc -s -f latex -o $$o -t odt 
> $$i"    ""
> 
> Copy it and open the file preferences. Paste twice but change it to:
> 
> \converter xetex  odt3    "pandoc -s -f latex -o $$o -t odt 
> $$i"    ""
> \converter luatex  odt3    "pandoc -s -f latex -o $$o -t odt 
> $$i"    ""
> 
> Save that file and open LyX. Should work, but not tested. The same
> kind 
> of thing will work for Word formats.

A quick test with a simple LyX-document produced docx- and odt-output
without errors and with the expected formatting.
> 
> There may be some reason we do not include this by default: Perhaps 
> pandoc is liable to choke on something we output in those modes. 
> Hopefully, someone else will know. But I'm guessing it's an
> oversight.
> 
I can understand that and will see how far I can get. Thank you for
your advice!
Tobias
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX, Non-TeX-Fonts and export with pandoc

2023-11-18 Thread Richard Kimberly Heck

On 11/18/23 07:18, Tobias Hilbricht wrote:

Dear readers of this list,
I am referring to LyX 2.3.7 on Ubuntu 22.04 and pandoc 2.9.2.1:
I am able to export documents from LyX to docx or odt by means of
pandoc when I use TeX-Fonts (that is, the box "Do not use TeX-Fonts
(via XeteX or LuaTeX)" is *not* checked).

But when I check that box and want to use Non-TeX-Fonts, the export
option to docx or odt via pandoc disappears.


The reason for this is that, if you use non-TeX fonts, then the 
immediate export is to a file that would be compiled with XeLaTeX or 
LuaTeX, and there is no converter defined to convert that format to ODT 
or whatever.


The solution is to define one. This is easiest done I think in the 
configuration files themselves rather than in LyX. Find your user 
directory and open the file lyxrc.defaults. In there, you will find a 
line like:


\converter latex  odt3    "pandoc -s -f latex -o $$o -t odt 
$$i"    ""


Copy it and open the file preferences. Paste twice but change it to:

\converter xetex  odt3    "pandoc -s -f latex -o $$o -t odt 
$$i"    ""
\converter luatex  odt3    "pandoc -s -f latex -o $$o -t odt 
$$i"    ""


Save that file and open LyX. Should work, but not tested. The same kind 
of thing will work for Word formats.


There may be some reason we do not include this by default: Perhaps 
pandoc is liable to choke on something we output in those modes. 
Hopefully, someone else will know. But I'm guessing it's an oversight.


Riki



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


LyX, Non-TeX-Fonts and export with pandoc

2023-11-18 Thread Tobias Hilbricht
Dear readers of this list,
I am referring to LyX 2.3.7 on Ubuntu 22.04 and pandoc 2.9.2.1:
I am able to export documents from LyX to docx or odt by means of
pandoc when I use TeX-Fonts (that is, the box "Do not use TeX-Fonts
(via XeteX or LuaTeX)" is *not* checked).

But when I check that box and want to use Non-TeX-Fonts, the export
option to docx or odt via pandoc disappears.

However, on the command line I can export the following latex-file by
means of pandoc to docx, eg.

pandoc -s -f latex -o Test_Nicht-TeX-Font_pandoc.docx -t docx
Test_Nicht-TeX-Font_pandoc.tex

%% Test_Nicht-TeX-Font_pandoc.tex
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Liberation Serif}
\begin{document}
Dieses Dokument benutzt einen "Nicht-TeX-Font" im Sinne von
LyX.
\end{document}

Is it possible to export LyX-documents with non-TeX-fonts by means of
pandoc? If yes, what can I do to convince LyX?

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: Fonts for LyX

2023-04-02 Thread Scott Kostyshak
On Sun, Apr 02, 2023 at 10:37:33AM +0200, Eckhard Höffner wrote:
> Fontforge, in some special cases also inkscape. Inkscape has some
> advantaages. The first curves of the O, D, B, P, d, p or o have all been the
> same, sometimes scaled or flipped. The ampersand (et) uses a flipped 3, the
> ß is based on f+s.  The f is close to the old long s (which was used for
> example also in english printing at least until the 18th century).
> 
> But I'm actually looking for hints like: the superscripts are to bold, the
> accent grave is to far on the left side, I need bold italics small caps, the
> spacing of italic capitals (used in the headers of the standard article
> class)  must be corrected and so on.
> 
> 
> Am 01.04.23 um 20:46 schrieb Scott Kostyshak:
> > What tools do you use to develop the font?

Thanks for sharing those details!

Scott


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


Re: Fonts for LyX

2023-04-02 Thread Eckhard Höffner
Fontforge, in some special cases also inkscape. Inkscape has some 
advantaages. The first curves of the O, D, B, P, d, p or o have all been 
the same, sometimes scaled or flipped. The ampersand (et) uses a flipped 
3, the ß is based on f+s.  The f is close to the old long s (which was 
used for example also in english printing at least until the 18th century).


But I'm actually looking for hints like: the superscripts are to bold, 
the accent grave is to far on the left side, I need bold italics small 
caps, the spacing of italic capitals (used in the headers of the 
standard article class)  must be corrected and so on.



Am 01.04.23 um 20:46 schrieb Scott Kostyshak:

What tools do you use to develop the font?


--
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: Fonts for LyX

2023-04-02 Thread Herbert Voss




Am 02.04.23 um 01:40 schrieb Steve Litt:


[slitt@mydesk VES]$ ls -l
total 484
-rw-r--r-- 1 slitt slitt  90264 Mar 28 23:17 CMRV11-Italic.otf
-rw-r--r-- 1 slitt slitt 139244 Apr  1 13:36 CMRV11-Regular.otf
-rw-r--r-- 1 slitt slitt  82044 Apr  1 13:35 CMRV11-Semibold-Italic.otf
-rw-r--r-- 1 slitt slitt 174576 Apr  1 13:35 CMRV11-Semibold.otf
[slitt@mydesk VES]$

Some questions:

1. Where do I put these four files so they're visible to my (CTAN
installed) TeXLive system yet not intermingled with TeXLive provided
fonts?


Depends on how you are using the fonts: Only for TeX or systemwide?
For TeX save it into ../texlive/texmf-local/fonts/opentype/

for systemwide (includes TeX) into eg /usr/local/share/fonts/


2. How do I install them? I assume I run texhash, but what else?


xetex needs texhash, but luatex will create its own font database.

However, you can use the fonts only with xetex/xelatex and luatex/lualatex.
For pdftex/pdflatex you have to create some more files with fontinst. Kind
of complicated ...

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


Re: Fonts for LyX

2023-04-01 Thread Steve Litt
Eckhard Höffner said on Sat, 1 Apr 2023 15:56:58 +0200


>At the following link you can find the font and a long PDF document 
>created with LyX, which practically only uses the package realscripts 
>for the preamble.
>
>https://www.fatto.de/wiki/doku.php/playground:font

Thanks Eckhard,

OK, so I downloaded the four fonts:

[slitt@mydesk VES]$ ls -l
total 484
-rw-r--r-- 1 slitt slitt  90264 Mar 28 23:17 CMRV11-Italic.otf
-rw-r--r-- 1 slitt slitt 139244 Apr  1 13:36 CMRV11-Regular.otf
-rw-r--r-- 1 slitt slitt  82044 Apr  1 13:35 CMRV11-Semibold-Italic.otf
-rw-r--r-- 1 slitt slitt 174576 Apr  1 13:35 CMRV11-Semibold.otf
[slitt@mydesk VES]$

Some questions:

1. Where do I put these four files so they're visible to my (CTAN
installed) TeXLive system yet not intermingled with TeXLive provided
fonts?

2. How do I install them? I assume I run texhash, but what else?

Thanks,

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fonts for LyX

2023-04-01 Thread Eckhard Höffner
Thanks.  The old style numbers appear somewhat strange at first glance, 
i agree. I copied them from the original Didot fonts from about 1810.  I 
also stumbled over the numbers at the beginning, but only at the 
beginning. The four is quite big, for example.


There are also parallel (default) and mono spaced numbers.  You can 
switch the style by inserting a tex-box:


\addfontfeatures{Numbers={Lining, Monospaced}}

\addfontfeatures{Numbers={OldStyle}}

That's also the reason I use realscripts, because footnote numbers in 
"old style" look strange. But for usual text I'm quite happy with the 
old style numbers (e. g. page 16). They do not stand out at all, while 
normal numerals look like a block of capital letters. Anyway, the fonts 
are hardly made for long series of numbers. There are much better ones.


My plan was to have a legible font (print and pdf), but not a variant of 
Bembo, Garamond or Times, for example, because TexLive has really good 
fonts of that kind.



Am 01.04.23 um 20:46 schrieb Scott Kostyshak:

Thanks for sharing, Eckhard! I looked at the pdf there. Cool font!

What tools do you use to develop the font?

I took a look at the PDF. One thing I noticed is that for the page numbers, in 
41 and 42 they appear to be centered vertically but for 43 it seems more like 
top aligned. Not sure if that makes sense, but it seemed a little off to me.

Good work!

Scott


--
Eckhard Höffner
Volkarstr. 64
D-80636 München
Tel.: 089 210 31 888
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fonts for LyX

2023-04-01 Thread Scott Kostyshak
On Sat, Apr 01, 2023 at 03:56:58PM +0200, Eckhard Höffner wrote:
> Hello all,
> this is not really a central Lyx topic, but I hope I'll be forgiven.
> 
> I have started designing a font. As I have been working with Lyx for over 20
> years, and the font should primarily work well with LyX (XeTeX), be usable
> without problems. Other uses don't interest me so much.
> 
> At the following link you can find the font and a long PDF document created
> with LyX, which practically only uses the package realscripts for the
> preamble.
> 
> https://www.fatto.de/wiki/doku.php/playground:font
> 
> Therefore my question: Is anyone interested in supporting me, i.e. finding
> errors, making suggestions for improvement, etc.?

Thanks for sharing, Eckhard! I looked at the pdf there. Cool font!

What tools do you use to develop the font?

I took a look at the PDF. One thing I noticed is that for the page numbers, in 
41 and 42 they appear to be centered vertically but for 43 it seems more like 
top aligned. Not sure if that makes sense, but it seemed a little off to me.

Good work!

Scott


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


Fonts for LyX

2023-04-01 Thread Eckhard Höffner

Hello all,
this is not really a central Lyx topic, but I hope I'll be forgiven.

I have started designing a font. As I have been working with Lyx for 
over 20 years, and the font should primarily work well with LyX (XeTeX), 
be usable without problems. Other uses don't interest me so much.


At the following link you can find the font and a long PDF document 
created with LyX, which practically only uses the package realscripts 
for the preamble.


https://www.fatto.de/wiki/doku.php/playground:font

Therefore my question: Is anyone interested in supporting me, i.e. 
finding errors, making suggestions for improvement, etc.?


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


Re: EBGaramond listed as "Not installed" ("Don't use TeX fonts" is checked)

2023-03-14 Thread Kornel Benko
Am Tue, 14 Mar 2023 18:34:29 +0100
schrieb Kornel Benko :

> Am Tue, 14 Mar 2023 15:59:03 +
> schrieb Christian Obst :
> 
> > Yes, I did!
> > 
> > Am 14. März 2023 11:38:31 GMT-04:00 schrieb Richard Kimberly Heck
> > :  
> > >On 3/13/23 22:58, Christian Obst wrote:
> > >> Hello fellow LyX users,
> > >> 
> > >> I installed EBGaramond via TexLive's tlmgr. I also have old documents
> > >> (previous installs), which use that font, and they compile fine
> > >> (correct font, looks great).
> > >> 
> > >> However, in the Document settings, EBGaramond is shown as "Not
> > >> installed."
> > >
> > >Did you Tools > Reconfigure after installing the new font?
> > >
> > >Riki
> > >
> > >
> >   
> 
> Since EBGaramond is in texlive, you have to make it known to your system too.
> To verify try
>   $ fc-list | egrep -i garamond
> If no output, so your system does not know about garamond.
> 
> Making texlive fonts known (on uubuntu) do
>   # sudo ln -s ../conf.avail/09-texlive-fonts.conf
> /etc/fonts/conf.d/09-texlive-fonts.conf # sudo cp `kpsewhich -var-value
> TEXMFSYSVAR`/fonts/conf/texlive-fontconfig.conf \
> /etc/fonts/conf.avail/09-texlive-fonts.conf
> 
>   Kornel

You may also need to
# sudo fc-cache -fsv
to update the fonts-cache.

Kornel


pgpxa2kcYuuCb.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: EBGaramond listed as "Not installed" ("Don't use TeX fonts" is checked)

2023-03-14 Thread Kornel Benko
Am Tue, 14 Mar 2023 15:59:03 +
schrieb Christian Obst :

> Yes, I did!
> 
> Am 14. März 2023 11:38:31 GMT-04:00 schrieb Richard Kimberly Heck 
> :
> >On 3/13/23 22:58, Christian Obst wrote:  
> >> Hello fellow LyX users,
> >> 
> >> I installed EBGaramond via TexLive's tlmgr. I also have old documents
> >> (previous installs), which use that font, and they compile fine
> >> (correct font, looks great).
> >> 
> >> However, in the Document settings, EBGaramond is shown as "Not
> >> installed."  
> >
> >Did you Tools > Reconfigure after installing the new font?
> >
> >Riki
> >
> >  
> 

Since EBGaramond is in texlive, you have to make it known to your system too.
To verify try
$ fc-list | egrep -i garamond
If no output, so your system does not know about garamond.

Making texlive fonts known (on uubuntu) do
  # sudo ln -s ../conf.avail/09-texlive-fonts.conf 
/etc/fonts/conf.d/09-texlive-fonts.conf
  # sudo cp `kpsewhich -var-value 
TEXMFSYSVAR`/fonts/conf/texlive-fontconfig.conf \
  /etc/fonts/conf.avail/09-texlive-fonts.conf

Kornel


pgpMo8Owqk9GO.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: EBGaramond listed as "Not installed" ("Don't use TeX fonts" is checked)

2023-03-14 Thread Christian Obst
Yes, I did!

Am 14. März 2023 11:38:31 GMT-04:00 schrieb Richard Kimberly Heck 
:
>On 3/13/23 22:58, Christian Obst wrote:
>> Hello fellow LyX users,
>> 
>> I installed EBGaramond via TexLive's tlmgr. I also have old documents
>> (previous installs), which use that font, and they compile fine
>> (correct font, looks great).
>> 
>> However, in the Document settings, EBGaramond is shown as "Not
>> installed."
>
>Did you Tools > Reconfigure after installing the new font?
>
>Riki
>
>

-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: EBGaramond listed as "Not installed" ("Don't use TeX fonts" is checked)

2023-03-14 Thread Richard Kimberly Heck

On 3/13/23 22:58, Christian Obst wrote:

Hello fellow LyX users,

I installed EBGaramond via TexLive's tlmgr. I also have old documents
(previous installs), which use that font, and they compile fine
(correct font, looks great).

However, in the Document settings, EBGaramond is shown as "Not
installed."


Did you Tools > Reconfigure after installing the new font?

Riki


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


EBGaramond listed as "Not installed" ("Don't use TeX fonts" is checked)

2023-03-14 Thread Christian Obst
Hello fellow LyX users,

I installed EBGaramond via TexLive's tlmgr. I also have old documents
(previous installs), which use that font, and they compile fine
(correct font, looks great).

However, in the Document settings, EBGaramond is shown as "Not
installed." In new docs, I can't select it. luaotfload-tool confirms
EBGaramond is indeed installed. Lyx does show me tons of other Opentype
fonts, but not EBGaramond. Of course, I reconfigured Lyx and restarted
after installing the font.

If I uncheck "Don't use TeX fonts," it lists "URW Garamond," but also
as "Not installed."

Latex/LuaTex apparently is not the issue, as the document preamble
(generated by Lyx) contains "\setmainfont[Ligatures=TeX]{EB Garamond},"
and it compiles fine.

I used to be able previously to select EBGaramond, but that was a
different Linux distro, and I installed that font from the distro's
repos. Now, I installed it from CTAN servers, as my current distro does
not have it.

I'm using TexLive 2022. Admittedly, I'm clueless about the world of
fonts, and I may be confused by something.

How can I fix Lyx so it lets me select my preferred font?

(I'm also not a subscriber to lyx-users currently, if that information
is necessary.)

Best regards to all,
Christian
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


[Fwd: Re: Type1 fonts now obsolete]

2023-03-14 Thread Herbert Voss


Steve Litt schrieb:
> Hi all,
>
> You probably know this already, but in January 2023 Adobe software
> stopped supporting Type1 fonts. This means that any documents
> containing Type1 fonts cannot be accurately depicted on the latest Adobe
> software. This pretty much means Type1 fonts shouldn't be used.
>
> Now I'll need to audit all my books, some of which were written in the
> 20th century, to make sure they don't use Type1 fonts, and if they do,
> change to the closest possible Opentype or Truetype fonts.

Adobe applications will not recognize the presence of Type 1 fonts, even
if you have Type 1 fonts installed in your desktop operating system:

1. Type 1 fonts will not appear in the Fonts menu.

2. There would be no way to use previously installed Type 1 fonts.

3. Existing Type 1 fonts will appear as “Missing fonts” in the document.


If you are writing documents with LaTeX  and using Type1 fonts then there
will be no change!!


Herbert

>
> SteveT
>
> Steve Litt
> Autumn 2022 featured book: Thriving in Tough Times
> http://www.troubleshooters.com/bookstore/thrive.htm
> --
> 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


Type1 fonts now obsolete

2023-03-13 Thread Steve Litt
Hi all,

You probably know this already, but in January 2023 Adobe software
stopped supporting Type1 fonts. This means that any documents
containing Type1 fonts cannot be accurately depicted on the latest Adobe
software. This pretty much means Type1 fonts shouldn't be used.

Now I'll need to audit all my books, some of which were written in the
20th century, to make sure they don't use Type1 fonts, and if they do,
change to the closest possible Opentype or Truetype fonts.

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Missing fonts in list

2023-02-18 Thread Jürgen Spitzmüller
Am Samstag, dem 18.02.2023 um 09:38 -0500 schrieb Mark Rudolph:
> When I go to Document —> Settings —> Fonts, no fonts are listed in
> any of the three pull down lists (Roman, Sans Serif, Typewriter). 
> 
> I’m using the following version for the ARM chip on an M2 computer.
> 
> Version 2.4.0-beta2
> (December 11, 2022)
> 
> Qt Version (run-time): 6.4.1 on platform cocoa
> Qt Version (compile-time): 6.4.1
> OS Version (run-time): macOS 13.2
> Python detected: python3 -tt
> 
> Any help would be appreciated!

This is a bug in beta2 when built with Qt6. This is fixed in the
development version. See:
https://www.lyx.org/trac/ticket/12630

> 
> Thank you,
> 
> Mark R.
> 
> 

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


Missing fonts in list

2023-02-18 Thread Mark Rudolph
When I go to Document —> Settings —> Fonts, no fonts are listed in any of the 
three pull down lists (Roman, Sans Serif, Typewriter).

I’m using the following version for the ARM chip on an M2 computer.

Version 2.4.0-beta2
(December 11, 2022)

Qt Version (run-time): 6.4.1 on platform cocoa
Qt Version (compile-time): 6.4.1
OS Version (run-time): macOS 13.2
Python detected: python3 -tt

Any help would be appreciated!

Thank you,

Mark R.


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


Re: Replacing .tex file fonts

2022-08-20 Thread Paul A. Rubin

On 8/20/22 17:16, Rich Shepard wrote:

On Sat, 20 Aug 2022, Rich Shepard wrote:


Okay. I'll post results.


Paul,

What's displayed on screen is the first few lines (\put ...) between 
\begin

and \end document.

The preamble has the entire .tex file.

Sigh,

I've not worked before writing a plain .tex document. Long ago I had a 
book
on TeX, but that's been gone for a while. So, I've no idea how to 
translate

that flavor of .tex file to .pdftex or .pdflatex.

Rich
I don't think this is a plain tex versus pdftex/pdflatex issue. I took a 
closer look at the file. In the preamble, it defines a custom 
environment named "roastlog" which includes some goofy (to me) font 
specifications ("Museo Slab 300 Italic"??). The \put commands in the 
body of the LyX doc are between \begin and \end commands for that 
environment, not begin/end document.


I've attached a LyX file in which I switched the fonts to defaults and, 
in the preamble, commented out the load of the xunicode package (because 
I'm using pdflatex and not xetex), all the setromanfont commands (you 
can try uncommenting them and replacing Museo whatever with some fonts 
you do have) and the graphics includes (because I don't have the graphic 
files). Your guess is better than mine as to why weird fonts are being 
used, but in your shoes I would be tempted to compile and print it 
(using default fonts) and then abandon the .tex file and, starting from 
scratch, create a LyX file that produces the same general output with 
fonts you like (meaning more stuff in the document body and no macros in 
the preamble).


Lotsa luck!

Paul


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


Re: Replacing .tex file fonts

2022-08-20 Thread Rich Shepard

On Sat, 20 Aug 2022, Rich Shepard wrote:


I've not worked before writing a plain .tex document. Long ago I had a
book on TeX, but that's been gone for a while. So, I've no idea how to
translate that flavor of .tex file to .pdftex or .pdflatex.


Looking at my business book case I see that I have a book on Postscript with
all my LaTeX books. Since The TeXbook is spiral bound I realize that I never
had a copy, but one will be here Monday. :-)

I'll make that darn roast log work with Farenheit temperatures on letter
size paper and in a typeface and fonts that are installed here.

Thanks, Paul,

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


Re: Replacing .tex file fonts

2022-08-20 Thread Rich Shepard

On Sat, 20 Aug 2022, Rich Shepard wrote:


Okay. I'll post results.


Paul,

What's displayed on screen is the first few lines (\put ...) between \begin
and \end document.

The preamble has the entire .tex file.

Sigh,

I've not worked before writing a plain .tex document. Long ago I had a book
on TeX, but that's been gone for a while. So, I've no idea how to translate
that flavor of .tex file to .pdftex or .pdflatex.

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


Re: Replacing .tex file fonts

2022-08-20 Thread Rich Shepard

On Sat, 20 Aug 2022, Paul A. Rubin wrote:


I can't do much with your .tex file for a variety of reasons (including
the fact that the graphic files were not included, but mostly due to my
not using xetex, luatex or several of the more "exotic" packages
involved).


Paul,

I don't use those, either.


That said, you might try the following: (a) import the file into LyX using
File > Import LaTeX (plain) ...; (b) use Document > Settings... > Fonts to
adjust as needed (you might want to uncheck the "Use non-TeX fonts"
option); (c) remove or comment out the \DefaultFontFeatures command in the
preamble if it gives you trouble; (d) compile and see if you get something
you like. If you get something you don't like, try futzing with the font
selections. If you don't get anything, you're on your own. :-)


Okay. I'll post results.

Thanks,

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


Re: Replacing .tex file fonts

2022-08-20 Thread Paul A. Rubin

On 8/20/22 14:06, Rich Shepard wrote:
I have a .tex file designed for a4 paper and a font family I don't 
have (and
don't want) that I want to convert to letterpaper (done) and my lyx 
default

typeface. Or, another appropriate typeface found in a .lyx file.

Looking at one of my .lyx files I see:
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default

which doesn't help.

The entire roastlog.tex file is attached (and, of course, available 
for use

by any other home coffee roaster.)

Please suggest a type face to replace the Museo Slab 300.

Regards,

Rich


Rich,

I can't do much with your .tex file for a variety of reasons (including 
the fact that the graphic files were not included, but mostly due to my 
not using xetex, luatex or several of the more "exotic" packages 
involved). That said, you might try the following: (a) import the file 
into LyX using File > Import > LaTeX (plain) ...; (b) use Document > 
Settings... > Fonts to adjust as needed (you might want to uncheck the 
"Use non-TeX fonts" option); (c) remove or comment out the 
\DefaultFontFeatures command in the preamble if it gives you trouble; 
(d) compile and see if you get something you like. If you get something 
you don't like, try futzing with the font selections. If you don't get 
anything, you're on your own. :-)


Paul

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


Replacing .tex file fonts

2022-08-20 Thread Rich Shepard

I have a .tex file designed for a4 paper and a font family I don't have (and
don't want) that I want to convert to letterpaper (done) and my lyx default
typeface. Or, another appropriate typeface found in a .lyx file.

Looking at one of my .lyx files I see:
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default

which doesn't help.

The entire roastlog.tex file is attached (and, of course, available for use
by any other home coffee roaster.)

Please suggest a type face to replace the Museo Slab 300.

Regards,

Rich

roastlog.tex
Description: TeX document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: superscipt in large fonts

2022-01-21 Thread Daniel via lyx-users

On 2022-01-21 10:40, Daniel via lyx-users wrote:

On 20/01/2022 13:51, Csikos Bela via lyx-users wrote:

Hello:

This occurs in lyx 2.3.6.1.

When I add superscript to non-default sized fonts, for example to 
"larger" fonts, the
superscript text is not scaled correctly, its size is the same as the 
size of the larger font.


How can I add correctly scaled superscript text to non default font 
sizes?


Thanks,

bcsikos


Hello,

If I see it correctly, this will be fixed in the upcoming LyX version 
(2.4).


Best,
Daniel


Indeed, the current version produces

{\Huge{}x}\textsuperscript{{\Huge{}y}}{\Huge\par}

and the new version

{\Huge x\textsuperscript{y}}{\Huge\par}

(though the "{\Huge\par}" seems a bit superfluous to me in both versions).

Daniel


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


Re: superscipt in large fonts

2022-01-21 Thread Daniel via lyx-users

On 20/01/2022 13:51, Csikos Bela via lyx-users wrote:

Hello:

This occurs in lyx 2.3.6.1.

When I add superscript to non-default sized fonts, for example to "larger" 
fonts, the
superscript text is not scaled correctly, its size is the same as the size of 
the larger font.

How can I add correctly scaled superscript text to non default font sizes?

Thanks,

bcsikos


Hello,

If I see it correctly, this will be fixed in the upcoming LyX version (2.4).

Best,
Daniel


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


Re: superscipt in large fonts

2022-01-20 Thread Paul A. Rubin via lyx-users

On 1/20/22 7:51 AM, Csikos Bela via lyx-users wrote:

Hello:

This occurs in lyx 2.3.6.1.

When I add superscript to non-default sized fonts, for example to "larger" 
fonts, the
superscript text is not scaled correctly, its size is the same as the size of 
the larger font.

How can I add correctly scaled superscript text to non default font sizes?

Thanks,

bcsikos





Method 1: After adding the superscript, select it and change its size to 
default.


Method 2: Put a space after the large text, enter the superscript 
(should be normal size), then delete the space.


Paul

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


superscipt in large fonts

2022-01-20 Thread Csikos Bela via lyx-users
Hello:

This occurs in lyx 2.3.6.1.

When I add superscript to non-default sized fonts, for example to "larger" 
fonts, the 
superscript text is not scaled correctly, its size is the same as the size of 
the larger font.

How can I add correctly scaled superscript text to non default font sizes?

Thanks,

bcsikos





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


Re: beamer metropolis fonts

2021-12-01 Thread Dr Eberhard Lisse

I use

\usepackage[medium]{noto}

in the (middle of the) preamble :-)-O

el

On 2021-12-01 17:06 , Neal Becker wrote:

I've been using beamer with metropolis theme for some time now.  The
recommended font here is Fira.  I've used:

\setsansfont[
BoldFont={Fira Sans SemiBold},
ItalicFont={Fira Sans BookItalic},
BoldItalicFont={Fira Sans SemiBold Italic}
]{Fira Sans Book}

I found the semibold seems the most pleasing weight.  Then to try to
get a good matching math font, I've tried adding:

\usepackage{amsmath}
\usepackage[mathrm=sym]{unicode-math}
\setmathfont{Fira Math}
\setoperatorfont\mathsf

This is not terrible, but the math still looks more bold than the
text.

I wonder whether any of you use metropolis and what fonts you find
work well?  There is some previous discussion here in which I
participated:
https://tex.stackexchange.com/questions/403734/beamer-metropolis-theme-recommend-a-math-font-that-matches-with-fira

Thanks,
Neal



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


Re: beamer metropolis fonts

2021-12-01 Thread Virgil Arrington Jr.

On 12/1/2021 10:06 AM, Neal Becker wrote:

I've been using beamer with metropolis theme for some time now.  The
recommended font here is Fira.  I've used:

\setsansfont[
BoldFont={Fira Sans SemiBold},
ItalicFont={Fira Sans BookItalic},
BoldItalicFont={Fira Sans SemiBold Italic}
]{Fira Sans Book}

I found the semibold seems the most pleasing weight.
Then to try to get a good matching math font, I've tried adding:

\usepackage{amsmath}
\usepackage[mathrm=sym]{unicode-math}
\setmathfont{Fira Math}
\setoperatorfont\mathsf

This is not terrible, but the math still looks more bold than the text.

I wonder whether any of you use metropolis and what fonts you find work well?
There is some previous discussion here in which I participated:
https://tex.stackexchange.com/questions/403734/beamer-metropolis-theme-recommend-a-math-font-that-matches-with-fira

When I use metropolis, I pair it with Calibri, a Windows system font. My 
needs are very simple and I don't need a specific math font. I find that 
Calibri is pleasant when projected on a screen and it has a nice Italic 
for a sans-serif font. Because it is a Windows font, I compile my 
presentations with XeLaTeX.


Virgil



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


beamer metropolis fonts

2021-12-01 Thread Neal Becker
I've been using beamer with metropolis theme for some time now.  The
recommended font here is Fira.  I've used:

\setsansfont[
BoldFont={Fira Sans SemiBold},
ItalicFont={Fira Sans BookItalic},
BoldItalicFont={Fira Sans SemiBold Italic}
]{Fira Sans Book}

I found the semibold seems the most pleasing weight.
Then to try to get a good matching math font, I've tried adding:

\usepackage{amsmath}
\usepackage[mathrm=sym]{unicode-math}
\setmathfont{Fira Math}
\setoperatorfont\mathsf

This is not terrible, but the math still looks more bold than the text.

I wonder whether any of you use metropolis and what fonts you find work well?
There is some previous discussion here in which I participated:
https://tex.stackexchange.com/questions/403734/beamer-metropolis-theme-recommend-a-math-font-that-matches-with-fira

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


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Dr Eberhard Lisse

Wolfgang,

It is being developed, I think not even in beta.  The latest (for the
Mac) is LyX 2.3.6.2 (2021-01-07)

LyX can export into lower versions but it's better to have the same
version with all collborators.


If you have homebrew it'll update itself by itself :-)-O. Otherwise,
read this newsgroup and look for the announcement. Perhaps even wait a
week or two after the announcement in case of a short term update being
required.

Once it's out just install it on top of 2.3.6(*).  It is not a good idea
to have two different versions as 2.3.6 can't read 2.4 files only the
other way round.

el

On 2021-07-14 15:50 , Wolfgang Engelmann wrote:




Lyx2.4 knows libertinus BTW.

That's good.  From where does one get it?  It is not in
https://www.lyx.org/Download

Since I work with colleagues on a book, I would like to have it in
addition to 2.3.6 Could someone point out how to do that?

Wolfgang


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


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Kornel Benko
Am Wed, 14 Jul 2021 16:26:17 +0200
schrieb Wolfgang Engelmann :

> Am 14.07.21 um 16:20 schrieb Kornel Benko:
> > Am Wed, 14 Jul 2021 15:50:05 +0200
> > schrieb Wolfgang Engelmann :
> >   
> >>>
> >>> Lyx2.4 knows libertinus BTW.  
> >> That's good. From where does one get it? It is not in
> >> https://www.lyx.org/Download  
> > 
> >  From TL. Like Latin modern, libertine and co.  
> 
> I meant, from where do I get Lyx 2.4
> Wolfgang

You could compile in cmake-environment.

The compiled package has about 30MB.

Kornel


pgpKr94KRVh9p.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Herbert Voss




Am 14.07.21 um 16:20 schrieb Kornel Benko:

Am Wed, 14 Jul 2021 15:50:05 +0200
schrieb Wolfgang Engelmann :


Lyx2.4 knows libertinus BTW.

That's good. From where does one get it? It is not in
https://www.lyx.org/Download

 From TL. Like Latin modern, libertine and co.


Since I work with colleagues on a book, I would like to have it in
addition to 2.3.6
Could someone point out how to do that?

I could export from 2.4. The fonts will be set in the preamble for 2.3.x.
See attached.


it is a font setting for pdflatex, but _not_ for lualatex/xelatex ...

Hoever, a simple \usepackage{libertinus-otf} is enough.

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


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Wolfgang Engelmann




Am 14.07.21 um 16:20 schrieb Kornel Benko:

Am Wed, 14 Jul 2021 15:50:05 +0200
schrieb Wolfgang Engelmann :



Lyx2.4 knows libertinus BTW.

That's good. From where does one get it? It is not in
https://www.lyx.org/Download


 From TL. Like Latin modern, libertine and co.


I meant, from where do I get Lyx 2.4
Wolfgang



Since I work with colleagues on a book, I would like to have it in
addition to 2.3.6
Could someone point out how to do that?


I could export from 2.4. The fonts will be set in the preamble for 2.3.x.
See attached.


Wolfgang


Kornel



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


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Wolfgang Engelmann



Am 14.07.21 um 15:39 schrieb Herbert Voss:

Am 14.07.21 um 13:51 schrieb Wolfgang Engelmann:




look into your Debian font configuration. There should be a
file 09-texlive.conf in the directory  /etc/fonts/conf.d/

If not, create it as root with the following contents:




/usr/local/texlive/2021/texmf-dist/fonts/opentype
/usr/local/texlive/2021/texmf-dist/fonts/truetype



Then run


fc-cache -fv








in /etc/fonts/conf.d
10-hinting-slight-conf
  contains



Wolfgang, this file is _not_ important! You should look for a file
09-texlive.conf  in the directory /etc/fonts/conf.d/


there is none. It starts with 10-texlive.conf
I have to create one

The structure is probably a feature of Debian. Perhaps somebody using 
Debian 11 could check.




For a correct TeXLive (CTAN) installation it should be there. If not, then
create it with the above contents.


Question: should I use this in the file
09-hinting-slight.conf (which does not yet exist)
in
/usr/share/fontconfig/conf.avail/hinting-slight.conf


No! Only the /etc/fonts/conf.d/09-texlive.conf


but this is a link (displayed in italics)!

Wolfgang


Herbert

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


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Kornel Benko
Am Wed, 14 Jul 2021 15:50:05 +0200
schrieb Wolfgang Engelmann :

> > 
> > Lyx2.4 knows libertinus BTW.  
> That's good. From where does one get it? It is not in
> https://www.lyx.org/Download

From TL. Like Latin modern, libertine and co.

> Since I work with colleagues on a book, I would like to have it in 
> addition to 2.3.6
> Could someone point out how to do that?

I could export from 2.4. The fonts will be set in the preamble for 2.3.x.
See attached.

> Wolfgang

Kornel



lb.23.lyx
Description: application/lyx


pgpZ5gVgS2EfH.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Wolfgang Engelmann





Lyx2.4 knows libertinus BTW.

That's good. From where does one get it? It is not in
https://www.lyx.org/Download

Since I work with colleagues on a book, I would like to have it in 
addition to 2.3.6

Could someone point out how to do that?

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


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Herbert Voss

Am 14.07.21 um 13:51 schrieb Wolfgang Engelmann:




look into your Debian font configuration. There should be a
file 09-texlive.conf in the directory  /etc/fonts/conf.d/

If not, create it as root with the following contents:




/usr/local/texlive/2021/texmf-dist/fonts/opentype
/usr/local/texlive/2021/texmf-dist/fonts/truetype



Then run


fc-cache -fv








in /etc/fonts/conf.d
10-hinting-slight-conf
  contains



Wolfgang, this file is _not_ important! You should look for a file
09-texlive.conf  in the directory /etc/fonts/conf.d/

For a correct TeXLive (CTAN) installation it should be there. If not, then
create it with the above contents.


Question: should I use this in the file
09-hinting-slight.conf (which does not yet exist)
in
/usr/share/fontconfig/conf.avail/hinting-slight.conf


No! Only the /etc/fonts/conf.d/09-texlive.conf

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


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Kornel Benko
Am Wed, 14 Jul 2021 12:18:09 +0200
schrieb Dr Eberhard Lisse :

> Herbert,
> 
> he can't see them in LyX.
> 
> And that is so because LyX does not know about Libertinus and/or
> AnonymousPro as far as I know. If LyX knew about them and could not
> find them it would say "not installed".
> 
> That's why this needs to go into the preamble.

Lyx2.4 knows libertinus BTW.

> 
> However, I agree, it would be cool, if there was a a way to make LyX
> "know" about fonts in a general way to appear in the Pulldown.
> 
> el
> 
...

Kornel


pgpreYk876UlO.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Wolfgang Engelmann



Am 14.07.21 um 13:41 schrieb Wolfgang Engelmann:



Am 14.07.21 um 11:31 schrieb Herbert Voss:

Wolfgang Engelmann schrieb:

Still struggling with Libertinus and AnonymousPro fonts

I updated my texlive today (14July2021), did texhash also as superuser,
reconfigured lyx and looked for the Libertinus and AnonymousPro fonts in
my Lyx Document > Settings > Fonts but can't find it. The PDF output
format is set to PDF(LuaTex).

The libertinus fonts are found in my
./texlive/2021/texmf-dist/fonts/tfm/public/libertinus-type1/LibertinusSerif- 


... etc


Wolfgang,

look into your Debian font configuration. There should be a
file 09-texlive.conf in the directory  /etc/fonts/conf.d/

If not, create it as root with the following contents:




   /usr/local/texlive/2021/texmf-dist/fonts/opentype
   /usr/local/texlive/2021/texmf-dist/fonts/truetype



Then run


fc-cache -fv


The Libertinus should be found. You can test it with


voss@Lenovo:~$ fc-list | grep -i libertinus
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Bold.otf: 


Libertinus Sans:style=Bold
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Italic.otf: 


Libertinus Serif:style=Italic
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Regular.otf: 


Libertinus Serif:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerifDisplay-Regular.otf: 


Libertinus Serif Display:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Semibold.otf: 


Libertinus Serif,Libertinus Serif Semibold:style=Semibold,Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-SemiboldItalic.otf: 


Libertinus Serif,Libertinus Serif Semibold Italic:style=Semibold
Italic,Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerifInitials-Regular.otf: 


Libertinus Serif Initials:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusKeyboard-Regular.otf: 


Libertinus Keyboard:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusMath-Regular.otf: 


Libertinus Math:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Italic.otf: 


Libertinus Sans:style=Italic
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Regular.otf: 


Libertinus Sans:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusMono-Regular.otf: 


Libertinus Mono:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-BoldItalic.otf: 


Libertinus Serif:style=Bold Italic
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Bold.otf: 


Libertinus Serif:style=Bold


Now reconfigure LyX and restart.

Attaches a screenshot from within LyX.

Herbert



in /etc/fonts/conf.d
10-hinting-slight-conf
  contains
#



   http://www.w3.org/2005/11/its; version="1.0">
     selector="/fontconfig/*[not(self::description)]"/>

   

   Enable autohinter

   
     
     true
   

#

and it is a link to /usr/share/fontconfig/conf.avail/hinting-slight.conf
which contains:




   http://www.w3.org/2005/11/its; version="1.0">
     selector="/fontconfig/*[not(self::descri>

   

    Set hintslight to hintstyle

   
     
     hintslight
   


This is, what Herbert suggested to use:

#####



   /usr/local/texlive/2021/texmf-dist/fonts/opentype
   /usr/local/texlive/2021/texmf-dist/fonts/truetype

#

Question: should I use this in the file
09-hinting-slight.conf (which does not yet exist)
in
/usr/share/fontconfig/conf.avail/hinting-slight.conf

???

Wolfgang

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


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Wolfgang Engelmann




Am 14.07.21 um 12:18 schrieb Dr Eberhard Lisse:

Herbert,

he can't see them in LyX.

And that is so because LyX does not know about Libertinus and/or
AnonymousPro as far as I know. If LyX knew about them and could not
find them it would say "not installed".

That's why this needs to go into the preamble.


However, I agree, it would be cool, if there was a a way to make LyX
"know" about fonts in a general way to appear in the Pulldown.

el

Thanks, el,
this might be the solution for the time being. But I will wait until I 
get an answer to my question in my recent mail

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


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Dr Eberhard Lisse

Herbert,

he can't see them in LyX.

And that is so because LyX does not know about Libertinus and/or
AnonymousPro as far as I know. If LyX knew about them and could not
find them it would say "not installed".

That's why this needs to go into the preamble.


However, I agree, it would be cool, if there was a a way to make LyX
"know" about fonts in a general way to appear in the Pulldown.

el

On 14/07/2021 11:31, Herbert Voss wrote:

Wolfgang Engelmann schrieb:

Still struggling with Libertinus and AnonymousPro fonts

I updated my texlive today (14July2021), did texhash also as
superuser, reconfigured lyx and looked for the Libertinus and
AnonymousPro fonts in my Lyx Document > Settings > Fonts but can't
find it.  The PDF output format is set to PDF(LuaTex).

The libertinus fonts are found in my
./texlive/2021/texmf-dist/fonts/tfm/public/libertinus-type1/LibertinusSerif-
...  etc


Wolfgang,

look into your Debian font configuration.  There should be a file
09-texlive.conf in the directory /etc/fonts/conf.d/

[...]

--
To email me replace 'nospam' with 'el'

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


Re: Libertinus and AnonymousPro fonts

2021-07-14 Thread Herbert Voss
Wolfgang Engelmann schrieb:
> Still struggling with Libertinus and AnonymousPro fonts
>
> I updated my texlive today (14July2021), did texhash also as superuser,
> reconfigured lyx and looked for the Libertinus and AnonymousPro fonts in
> my Lyx Document > Settings > Fonts but can't find it. The PDF output
> format is set to PDF(LuaTex).
>
> The libertinus fonts are found in my
> ./texlive/2021/texmf-dist/fonts/tfm/public/libertinus-type1/LibertinusSerif-
> ... etc

Wolfgang,

look into your Debian font configuration. There should be a
file 09-texlive.conf in the directory  /etc/fonts/conf.d/

If not, create it as root with the following contents:




  /usr/local/texlive/2021/texmf-dist/fonts/opentype
  /usr/local/texlive/2021/texmf-dist/fonts/truetype



Then run


fc-cache -fv


The Libertinus should be found. You can test it with


voss@Lenovo:~$ fc-list | grep -i libertinus
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Bold.otf:
Libertinus Sans:style=Bold
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Italic.otf:
Libertinus Serif:style=Italic
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Regular.otf:
Libertinus Serif:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerifDisplay-Regular.otf:
Libertinus Serif Display:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Semibold.otf:
Libertinus Serif,Libertinus Serif Semibold:style=Semibold,Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-SemiboldItalic.otf:
Libertinus Serif,Libertinus Serif Semibold Italic:style=Semibold
Italic,Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerifInitials-Regular.otf:
Libertinus Serif Initials:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusKeyboard-Regular.otf:
Libertinus Keyboard:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusMath-Regular.otf:
Libertinus Math:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Italic.otf:
Libertinus Sans:style=Italic
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Regular.otf:
Libertinus Sans:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusMono-Regular.otf:
Libertinus Mono:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-BoldItalic.otf:
Libertinus Serif:style=Bold Italic
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Bold.otf:
Libertinus Serif:style=Bold


Now reconfigure LyX and restart.

Attaches a screenshot from within LyX.

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


Libertinus and AnonymousPro fonts

2021-07-14 Thread Wolfgang Engelmann

Still struggling with Libertinus and AnonymousPro fonts

I updated my texlive today (14July2021), did texhash also as superuser, 
reconfigured lyx and looked for the Libertinus and AnonymousPro fonts in 
my Lyx Document > Settings > Fonts but can't find it. The PDF output 
format is set to PDF(LuaTex).


The libertinus fonts are found in my
./texlive/2021/texmf-dist/fonts/tfm/public/libertinus-type1/LibertinusSerif- 
... etc


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


Re: Fonts in Lyx

2021-01-16 Thread Paul A. Rubin

On 1/16/21 11:57 AM, Néstor wrote:

Hello,

I would like to format a book, I like to use two fonts, one for normal
chapters, another one for some special chapters. The special font
should be looking like handwritten, script.

I have tried to install Kurier font which is the closest choice, but
no luck, it says "uninstalled", even if I have installed it by hand.

When I choose to use any font, I select one, it complaints.

Thank you.


Did you reconfigure LyX after installing Kurier?

I'm not sure what you mean by your last sentence. If LyX is issuing 
error messages when you choose a font, what specifically do the errors say?


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


Fonts in Lyx

2021-01-16 Thread Néstor
Hello,

I would like to format a book, I like to use two fonts, one for normal
chapters, another one for some special chapters. The special font
should be looking like handwritten, script.

I have tried to install Kurier font which is the closest choice, but
no luck, it says "uninstalled", even if I have installed it by hand.

When I choose to use any font, I select one, it complaints.

Thank you.

-- 
Néstor Amigo
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Pulldowns, panes and fonts

2020-09-17 Thread jcredberry
Solved! Thanks!
Julio Rojas
jcredbe...@gmail.com


On Wed, Sep 16, 2020 at 3:07 PM Yu Jin  wrote:

> Am Mi., 16. Sept. 2020 um 19:54 Uhr schrieb Yu Jin :
>
>> Am Mi., 16. Sept. 2020 um 17:23 Uhr schrieb Richard Kimberly Heck <
>> rikih...@lyx.org>:
>>
>>> On 9/16/20 9:49 AM, jcredbe...@gmail.com wrote:
>>> > Dear all,
>>> >
>>> > Lyx's pulldowns on Windows 10 are being rendered with a very small
>>> > jagged font: ... I have a UHD monitor, but did not really see this
>>> > problem until the latest release (2.3.5.2, isn't it)? This same small
>>> > font is also used for the file names and in the panes. Is there a way
>>> > to pump it up and solve the jaggedness.
>>>
>>> I am not sure about this on Windows, but on Linux there is a program
>>> that allows one to configure the fonts used by Qt, and several other
>>> things: qtconfig-qt4.
>>>
>>> CC'ing Eugene on this one.
>>>
>>
>> Never heard of qt config programs. However here it looks like Qt does not
>> react nice to the Windows setting "Let Windows try to fix apps so they're
>> not blurry", deactivating that solved it for me. You can find this settings
>> with
>> right click on desktop > in the "Scale and layout" section click on
>> Advanced scaling settings > deactivate the setting mentioned above.
>>
>
> Note that you can also change this setting for each program instead of
> globally in case you need it somewhere else.
> Righclick on lyx.exe > properties > compatiblity > change DPI settings >
> check "use this setting to fix scaling programs" > in the dropdown
> below select "I signed to Windows"
> [image: grafik.png]
>
> --
> Eugene
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Pulldowns, panes and fonts

2020-09-16 Thread Yu Jin
Am Mi., 16. Sept. 2020 um 19:54 Uhr schrieb Yu Jin :

> Am Mi., 16. Sept. 2020 um 17:23 Uhr schrieb Richard Kimberly Heck <
> rikih...@lyx.org>:
>
>> On 9/16/20 9:49 AM, jcredbe...@gmail.com wrote:
>> > Dear all,
>> >
>> > Lyx's pulldowns on Windows 10 are being rendered with a very small
>> > jagged font: ... I have a UHD monitor, but did not really see this
>> > problem until the latest release (2.3.5.2, isn't it)? This same small
>> > font is also used for the file names and in the panes. Is there a way
>> > to pump it up and solve the jaggedness.
>>
>> I am not sure about this on Windows, but on Linux there is a program
>> that allows one to configure the fonts used by Qt, and several other
>> things: qtconfig-qt4.
>>
>> CC'ing Eugene on this one.
>>
>
> Never heard of qt config programs. However here it looks like Qt does not
> react nice to the Windows setting "Let Windows try to fix apps so they're
> not blurry", deactivating that solved it for me. You can find this settings
> with
> right click on desktop > in the "Scale and layout" section click on
> Advanced scaling settings > deactivate the setting mentioned above.
>

Note that you can also change this setting for each program instead of
globally in case you need it somewhere else.
Righclick on lyx.exe > properties > compatiblity > change DPI settings >
check "use this setting to fix scaling programs" > in the dropdown
below select "I signed to Windows"
[image: grafik.png]

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


Re: Pulldowns, panes and fonts

2020-09-16 Thread Yu Jin
Am Mi., 16. Sept. 2020 um 17:23 Uhr schrieb Richard Kimberly Heck <
rikih...@lyx.org>:

> On 9/16/20 9:49 AM, jcredbe...@gmail.com wrote:
> > Dear all,
> >
> > Lyx's pulldowns on Windows 10 are being rendered with a very small
> > jagged font: ... I have a UHD monitor, but did not really see this
> > problem until the latest release (2.3.5.2, isn't it)? This same small
> > font is also used for the file names and in the panes. Is there a way
> > to pump it up and solve the jaggedness.
>
> I am not sure about this on Windows, but on Linux there is a program
> that allows one to configure the fonts used by Qt, and several other
> things: qtconfig-qt4.
>
> CC'ing Eugene on this one.
>

Never heard of qt config programs. However here it looks like Qt does not
react nice to the Windows setting "Let Windows try to fix apps so they're
not blurry", deactivating that solved it for me. You can find this settings
with
right click on desktop > in the "Scale and layout" section click on
Advanced scaling settings > deactivate the setting mentioned above.

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


Re: Pulldowns, panes and fonts

2020-09-16 Thread Richard Kimberly Heck
On 9/16/20 9:49 AM, jcredbe...@gmail.com wrote:
> Dear all,
>
> Lyx's pulldowns on Windows 10 are being rendered with a very small
> jagged font: ... I have a UHD monitor, but did not really see this
> problem until the latest release (2.3.5.2, isn't it)? This same small
> font is also used for the file names and in the panes. Is there a way
> to pump it up and solve the jaggedness.

I am not sure about this on Windows, but on Linux there is a program
that allows one to configure the fonts used by Qt, and several other
things: qtconfig-qt4.

CC'ing Eugene on this one.

Riki


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


Pulldowns, panes and fonts

2020-09-16 Thread jcredberry
Dear all,

Lyx's pulldowns on Windows 10 are being rendered with a very small jagged
font:

[image: image.png]
I have a UHD monitor, but did not really see this problem until the latest
release (2.3.5.2, isn't it)? This same small font is also used for the file
names and in the panes. Is there a way to pump it up and solve the
jaggedness.

Thanks in advance. Regards,

Julio Rojas
jcredbe...@gmail.com
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Section fonts-there must be an easier way

2019-11-26 Thread John White
Thank you Jürgen and Rich,

I just tried Jürgen's suggestion and it works perfectly.  This problem has 
bothered me for years.  Thank you so much.  I will try to set headings=small 
as my default and if that doesn't work in article class, I will stick with 
KOMA-Script.

John


ovember 26, 2019 7:37:03 AM PST Jürgen Spitzmüller wrote:
> Am Dienstag, den 26.11.2019, 07:14 -0800 schrieb John White:
> > Thanks but I don't know how to add a "document option" in KOMA-
> > Script.
> 
> Document > Settings > Document Class > Class Options > Custom.
> 
> Jürgen



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


Re: Section fonts-there must be an easier way

2019-11-26 Thread John White
Thanks but I don't know how to add a "document option" in KOMA-Script.

John

On Tuesday, November 26, 2019 5:46:59 AM PST Jürgen Spitzmüller wrote:
> Am Montag, den 25.11.2019, 18:04 -0800 schrieb John White:
> > I am doing a koma document with sections. The section font is too
> > large. So I go to each section manually, highlight it and change font
> > from larger to large. And if there are subsections, they are now same
> > size as sections, so I have to manually reduce font size of sub-
> > sections.
> > 
> > Isn't there an easier way to do this? Isn't there a way to globally
> > change section and sub-section font size?
> 
> With KOMA-Script, you can use the document option headings=small or
> headings=normal
> 
> HTH
> Jürgen



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


Re: Section fonts-there must be an easier way

2019-11-26 Thread Jürgen Spitzmüller
Am Dienstag, den 26.11.2019, 07:14 -0800 schrieb John White:
> Thanks but I don't know how to add a "document option" in KOMA-
> Script.

Document > Settings > Document Class > Class Options > Custom.

Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Section fonts-there must be an easier way

2019-11-26 Thread Jürgen Spitzmüller
Am Montag, den 25.11.2019, 18:04 -0800 schrieb John White:
> I am doing a koma document with sections. The section font is too
> large. So I go to each section manually, highlight it and change font
> from larger to large. And if there are subsections, they are now same
> size as sections, so I have to manually reduce font size of sub-
> sections.
>  
> Isn't there an easier way to do this? Isn't there a way to globally
> change section and sub-section font size?

With KOMA-Script, you can use the document option headings=small or
headings=normal

HTH
Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Section fonts-there must be an easier way

2019-11-26 Thread Rich Shepard

On Mon, 25 Nov 2019, John White wrote:


I am doing a koma document with sections. The section font is too large.
So I go to each section manually, highlight it and change font from larger
to large. And if there are subsections, they are now same size as
sections, so I have to manually reduce font size of sub-sections.


John,

Typographic convention defines the relative size of each text type. And it
can be changed.


Isn't there an easier way to do this? Isn't there a way to globally change
section and sub-section font size?


Look at Document -> Settings -> Fonts. You can change almost everything,
including the default family and size. The KOMA-script classes use sans
serif fonts for all headings so you can fiddle with all these to get what
you want. For sans serif and typewriter there are widgets to set the size
separate from that of the body text. Perhaps changing the default family and
size to specific values will allow you to change the size of the sans serif
headings, too. (The sizes are greyed out on my documents because I use the
default family, size, and encoding.)

Regards,

Rich

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


Re: Section fonts-there must be an easier way

2019-11-25 Thread John White
I am doing a koma document with sections.  The section font is too 
large. So I go to each section manually, highlight it and change font 
from larger to large.  And if there are subsections, they are now same 
size as sections, so I have to manually reduce font size of sub-sections.

Isn't there an easier way to do this? Isn't there a way to globally change 
section and sub-section font size?

Thanks for any input.

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


Re: Weight Options to the Noto Fonts

2019-04-05 Thread Kornel Benko
Am Freitag, 5. April 2019, 12:24:42 CEST schrieb Dr Eberhard Lisse:
> Hi,
> 
> I am conducting a serious love affair with the Noto fonts which we can
> now select in the LyX Settings -> Fonts dialog.
> 
> Sometimes I want to have the document a little ticker than regular which
> I would normally do in the Preamble with something like
> 
> \makeatletter
>   \if@landscape
>   \usepackage[medium]{noto}
>   \else
>   \usepackage{noto}
> \makeatother
> 
> 
> This works but defeats the purpose and my sporting ambition.
> 
> I tried
> 
>   \PassOptionsToPackage{thin}{noto}
> 
> which doesn't work, because this would have to come before the
> \begin{document}, anyway.
> 
> 
> Any ideas?  If it's in the manual a pointer would be appreciated.
> 
> And I unashamedly do not apologize for crossposting :-)-O
> 
> greetings, el
> 
> 

This is possible (and easy), but makes problems converting to actual settings.

Kornel


signature.asc
Description: This is a digitally signed message part.


Weight Options to the Noto Fonts

2019-04-05 Thread Dr Eberhard Lisse
Hi,

I am conducting a serious love affair with the Noto fonts which we can
now select in the LyX Settings -> Fonts dialog.

Sometimes I want to have the document a little ticker than regular which
I would normally do in the Preamble with something like

\makeatletter
\if@landscape
\usepackage[medium]{noto}
\else
\usepackage{noto}
\makeatother


This works but defeats the purpose and my sporting ambition.

I tried

\PassOptionsToPackage{thin}{noto}

which doesn't work, because this would have to come before the
\begin{document}, anyway.


Any ideas?  If it's in the manual a pointer would be appreciated.

And I unashamedly do not apologize for crossposting :-)-O

greetings, el



Re: Gothic style fonts in LyX/MikTeX

2018-08-26 Thread Cris Fuhrman
On Sun, Aug 26, 2018 at 12:35 PM Ricardo Berlasso 
wrote:

> If you are willing to use XeTeX instead of plain LaTeX, setting up a new
> font-family that uses ...
>

Thanks for the pointer - that option finds my Windows fonts, one of which
is Old English Text MT, and it shows nicely in the PDF. It's easy enough to
make sure that's installed on the system. Cheers!


Re: Gothic style fonts in LyX/MikTeX

2018-08-26 Thread Will Parsons
On Sunday, 26 Aug 2018 12:34 PM -0400, Ricardo Berlasso wrote:
> --d9d04105745930f6
> Content-Type: text/plain; charset="UTF-8"
> Content-Transfer-Encoding: quoted-printable
>
> El dom., 26 ago. 2018 a las 16:58, Cris Fuhrman ()
> escribi=C3=B3:
>
>> Hello,
>>
>> For a project, I wanted to use an old-English/Germanic style font. I foun=
> d
>> some in yfonts, but it's tricky to install/setup with MikTeX (not
>> automatic) because it requires a local tex install. There are instruction=
> s
>> at https://wiki.lyx.org/Tips/InstallType1Fonts and also on StackOverflow
>> for Type1 installs. Not impossible, but less easy to reproduce between my
>> PC at home and work.
>>
>> Is there a gothic-like font that will work well with LyX/MikTeX
>> automagically?
>>
>
> Will that font be used for the whole document or just for particular
> paragraphs? If you are willing to use XeTeX instead of plain LaTeX, setting
> up a new font-family that uses an Unicode Blackletter typeface such as
> UniFraktur(1) is really easy.
>
> (1) http://unifraktur.sourceforge.net/

I have nothing to address the original question, but I will point out
that a Fraktur typeface is *not* a suitable substitute for an "Old
English" typeface (e.g., the kind you see in old English Bibles).

-- 
Will



Re: Gothic style fonts in LyX/MikTeX

2018-08-26 Thread Ricardo Berlasso
El dom., 26 ago. 2018 a las 16:58, Cris Fuhrman ()
escribió:

> Hello,
>
> For a project, I wanted to use an old-English/Germanic style font. I found
> some in yfonts, but it's tricky to install/setup with MikTeX (not
> automatic) because it requires a local tex install. There are instructions
> at https://wiki.lyx.org/Tips/InstallType1Fonts and also on StackOverflow
> for Type1 installs. Not impossible, but less easy to reproduce between my
> PC at home and work.
>
> Is there a gothic-like font that will work well with LyX/MikTeX
> automagically?
>

Will that font be used for the whole document or just for particular
paragraphs? If you are willing to use XeTeX instead of plain LaTeX, setting
up a new font-family that uses an Unicode Blackletter typeface such as
UniFraktur(1) is really easy.

(1) http://unifraktur.sourceforge.net/

Regards,
Ricardo


Gothic style fonts in LyX/MikTeX

2018-08-26 Thread Cris Fuhrman
Hello,

For a project, I wanted to use an old-English/Germanic style font. I found
some in yfonts, but it's tricky to install/setup with MikTeX (not
automatic) because it requires a local tex install. There are instructions
at https://wiki.lyx.org/Tips/InstallType1Fonts and also on StackOverflow
for Type1 installs. Not impossible, but less easy to reproduce between my
PC at home and work.

Is there a gothic-like font that will work well with LyX/MikTeX
automagically?


How to populate ~/.texlive2018/texmf-var/fonts

2018-07-21 Thread Steve Litt
My new computer has $HOME/.texlive2018/texmf-var but not
$HOME/.texlive2018/texmf-var/fonts . What do I do to install and
populate $HOME/.texlive2018/texmf-var/fonts? I'm using TeXLive 2018 on
64 bit Void Linux.

Thanks,

SteveT


Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/key
Twitter: http://www.twitter.com/stevelitt



Shortcuts for fonts / OSX

2017-09-13 Thread jezZiFeR
Hello,

I could not find out, how the shortcuts in LyX 2.2.3 for the fonts on OSX 
10.12.5 are working. For example, the shortcut for »font-roman« is ^Z R. I am 
not sure, whether the first sign stands for the control-key, but nonetheless I 
have tried many possibilities, which all did not work, also for the »Z« and the 
»R«. Does this mean I should first enter shift+z and then shift+r? In this case 
it would not work.

Sorry if this is obvious…

Thanks
Jess


Re: lyx display screen math fonts

2017-07-26 Thread Eren Inci
I use Windows 10 (64 bit). I reinstalled the ttf fonts of lyx, which worked for 
me. I did not have this problem in my previous laptop with Windows 7.

Eren

> On 26 Tem 2017, at 21:12, Paul A. Rubin <parubi...@gmail.com> wrote:
> 
>> On 07/26/2017 12:11 PM, Eren Inci wrote:
>> 
>> When I type in some fonts lyx display screen shows different fonts. For 
>> example, the Greek letter "Pi" shows up as Q. Though, the font shows up 
>> correctly when I compile the file.
>> 
>> I would be grateful if you could help me.
>> 
>> Eren
> What operating system do you use? If it's a version of Linux, do you have the 
> fonts-lyx package installed?
> 
> Paul
> 
> 


Re: lyx display screen math fonts

2017-07-26 Thread Paul A. Rubin

On 07/26/2017 12:11 PM, Eren Inci wrote:


When I type in some fonts lyx display screen shows different fonts. 
For example, the Greek letter "Pi" shows up as Q. Though, the font 
shows up correctly when I compile the file.


I would be grateful if you could help me.

Eren
What operating system do you use? If it's a version of Linux, do you 
have the fonts-lyx package installed?


Paul




Re: lyx display screen math fonts

2017-07-26 Thread Scott Kostyshak
On Wed, Jul 26, 2017 at 07:11:19PM +0300, Eren Inci wrote:
> When I type in some fonts lyx display screen shows different fonts. For
> example, the Greek letter "Pi" shows up as Q. Though, the font shows up
> correctly when I compile the file.
> 
> I would be grateful if you could help me.

Can you please send an example .lyx file to the list with a simple "Pi"
that does not show up for you? What operating system do you use?

Scott


signature.asc
Description: PGP signature


lyx display screen math fonts

2017-07-26 Thread Eren Inci
When I type in some fonts lyx display screen shows different fonts. For
example, the Greek letter "Pi" shows up as Q. Though, the font shows up
correctly when I compile the file.

I would be grateful if you could help me.

Eren


Re: Stix fonts

2017-06-04 Thread Scott Kostyshak
On Sun, Jun 04, 2017 at 06:59:04PM +0100, F M Salter wrote:
> Hi,
> 
> With texlive 2017 containing the stix two fonts, will they be one of
> the font choices readily available in LyX 2.3?

I don't think so. See

http://www.lyx.org/trac/ticket/9014

Scott


Stix fonts

2017-06-04 Thread F M Salter
Hi,

With texlive 2017 containing the stix two fonts, will they be one of
the font choices readily available in LyX 2.3?

Regards

Frank Salter



Re: Using symbol with non-TeX fonts --> missing character

2016-11-19 Thread Scott Kostyshak
On Sat, Nov 19, 2016 at 08:17:04PM +, Guenter Milde wrote:
> On 2016-11-18, Scott Kostyshak wrote:
> 
> > Does this happen because LyX does not know whether a certain symbol is
> > available in whatever font happens to be selected? If that is the case,
> > why not be safe and use the LaTeX command which seems guaranteed to
> > work?
> 
> Because this very much depends on the fonts -- with Unicode fonts, it is
> really hard to tell which characters are present in advance. (Polyglossia
> tries to give advance warnings (actually errors) based on font metadata
> but gets it wrong quite often.
> 
> Using the LaTeX command "for safety" is a bad idea, as it prevents use of
> the characters with comprehensive fonts and results in non-matching
> glyphs.
> 

Thanks for the explanation, Günter. I now understand more and it doesn't
seem there's a way LyX can make this easier.

Scott


signature.asc
Description: PGP signature


  1   2   3   4   5   6   7   8   9   10   >