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: Failed to clone the git repo of lyx.

2024-01-13 Thread Hongyi Zhao
On Sun, Jan 14, 2024 at 9:21 AM Scott Kostyshak  wrote:
>
> On Sun, Jan 14, 2024 at 09:06:28AM +0800, Hongyi Zhao wrote:
> > Hi,
> >
> > I'm trying to clone the git repo of lyx, but always fail, as shown below:
> >
> > werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
> > Cloning into 'lyx'...
> > kex_exchange_identification: Connection closed by remote host
> > Connection closed by 127.0.0.1 port 1
> > fatal: Could not read from remote repository.
>
> I sometimes have problems as well to clone.
>
> One possibility would be to try the following:
>
>   https://github.com/cburschka/lyx
>
> Note however that (1) it is unofficial and I don't know the owner of
> that repository so you have to decide if you trust it; and (2) it is 10
> months out of date.

I want to clone the up-to-date git repo of lyx.

> Scott
> --
> 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: Failed to clone the git repo of lyx.

2024-01-13 Thread Scott Kostyshak
On Sun, Jan 14, 2024 at 09:06:28AM +0800, Hongyi Zhao wrote:
> Hi,
> 
> I'm trying to clone the git repo of lyx, but always fail, as shown below:
> 
> werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
> Cloning into 'lyx'...
> kex_exchange_identification: Connection closed by remote host
> Connection closed by 127.0.0.1 port 1
> fatal: Could not read from remote repository.

I sometimes have problems as well to clone.

One possibility would be to try the following:

  https://github.com/cburschka/lyx

Note however that (1) it is unofficial and I don't know the owner of
that repository so you have to decide if you trust it; and (2) it is 10
months out of date.

Scott


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


Failed to clone the git repo of lyx.

2024-01-13 Thread Hongyi Zhao
Hi,

I'm trying to clone the git repo of lyx, but always fail, as shown below:

werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
Cloning into 'lyx'...
kex_exchange_identification: Connection closed by remote host
Connection closed by 127.0.0.1 port 1
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
werner@X10DAi:~$ git clone git://git.lyx.org/lyx
Cloning into 'lyx'...
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
werner@X10DAi:~$ git clone https://git.lyx.org/lyx
Cloning into 'lyx'...
fatal: repository 'https://git.lyx.org/lyx/' not found
werner@X10DAi:~$ git clone https://git.lyx.org/lyx.git
Cloning into 'lyx'...
fatal: repository 'https://git.lyx.org/lyx.git/' not found

Any tips for fixing this?

Regards,
Zhao
-- 
Assoc. Prof. Hongsheng Zhao 
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


(author?)

2024-01-13 Thread Patrick Dupre via lyx-users
Hello,

Using Revtex 4.2, (Natbib (BibTex, but it seems that I cannot change it
I get

First, ignoring the collisions, and using a non-relativistic QED (following 
(author?) [2] who established the “non-
conventional” DAP to BAP formalism without recoil, and then with 
recoil(author?) [1, 3] for stationary EMF. Dealing
with gaseous species, they are submitted to transient EMFs, which required 
dealing with the temporal/frequential
shapes of the EMFs.
In Schrödinger

Why "(authors?)"?

Thanks

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
===

-- 
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
, 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
>> , 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 ,
> 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: Reattaching Panes in Wayland

2024-01-13 Thread Pavel Sanda
On Fri, Jan 12, 2024 at 08:23:20PM +0700, Andreas Hild wrote:
> It's very likely to be an issue with Wayland, possibly related to my distro.

Fortunately, some distributions are now moving from not only defaulting
to wayland, but ditching Xorg altogether :)

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