Re: LyX with NewTXMath unable to load metric data

2015-11-08 Thread Guillaume Munch

Le 06/11/2015 11:49, Neal Becker a écrit :

Guillaume Munch wrote:


If you previously needed additional packages containing math symbols,
try to remove those packages from the preamble. Stix should already have
all the symbols that you need. In particular I set amssymb and stmaryrd
to "do not load" in the document settings (but maybe that's also because
I \usepackage[scr=boondoxo,cal=pxtx]{mathalfa} in addition to stix, I
don't remember the details).


I tried removing all other packages, and trying lualatex on this tex file I
still get the same error.  My preamble is down to this:  (This is fedora 23)

%% LyX 2.1.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{beamer}
\usepackage{fontspec}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{graphicx}

\makeatletter

%% LyX specific LaTeX commands.
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% Textclass specific LaTeX commands.
  % this default might be overridden by plain title style
  \newcommand\makebeamertitle{\frame{\maketitle}}%
  % (ERT) argument for the TOC
  \AtBeginDocument{%
\let\origtableofcontents=\tableofcontents
\def\tableofcontents{\@ifnextchar[{\origtableofcontents}
{\gobbletableofcontents}}
\def\gobbletableofcontents#1{\origtableofcontents}
  }

%% User specified LaTeX commands.
\usepackage{stix}
%\usepackage{siunitx}
%\usetheme{CambridgeUS}
%\usecolortheme{dolphin}
%\usepackage{lmodern}

\makeatother

\usepackage{babel}
\begin{document}
...





You may want to try pdflatex instead of luatex, or if you need luatex 
then use the XITS and XITS Math otf fonts (for fontspec and unicode-math 
respectively) which are based on STIX (I even find that XITS has better 
hinting than the usual Times font.)



Guillaume



Re: LyX with NewTXMath unable to load metric data

2015-11-06 Thread Neal Becker
Guillaume Munch wrote:

> Le 05/11/2015 12:36, Neal Becker a écrit :
>> Guillaume Munch wrote:
>>
>>> Le 04/11/2015 22:46, Robert Susmilch a écrit :
 Dear List,

 I have been doing quite a few papers in LyX, and tried switching to
 LibreOffice for Zotero integration, however the math and figure
 placement drove me up the wall so badly, I came back to LyX/LaTeX,
 cheated, and entered my citations and references manually via cut and
 paste.

 I have looked at several fonts, and like Libertine, however I cannot
 get Libertine to work for the math font.

 At first libertine would not show up as installed in LyX, but a reboot
 may have fixed that. It now shows up under math font. However, even a
 basic document gives me an error while trying LuaTex:

 ! Font \=zxxrl7z at 10pt not loadable: metric data not found or bad.
 
 relax
 l.11 This is a fancy equation $\sum
_{i=1}^{\infty}b^{i}$.
 I wasn't able to read the size data for this font,
 so I will ignore the font specification.
 [Wizards can fix TFM files using TFtoPL/PLtoTF.]
 You might try inserting a different font spec;
 e.g., type `I\font='.


 This happens with Times New Roman and Garamond for the NewTX math font.
 Euler and Kurier both work (but are ugly IMHO.)

 PDFLatex gives a similar error, but complains that there is no font of
 size 8.8 pt loadable.

 XeXtex coplains about missing temp pdf.

 I have tried some suggestions of reinstalling texlive-collection-
 fontsrecommended. I have wiped my preamble out and removed all loaded
 modules in document settings.

 This is all on a Fedora 22 system, using LyX  2.1.4.

 What am I missing?

>>>
>>> You are trying to use NewTXMath with the libertine option if I
>>> understand correctly. I don't know what goes wrong. But, have you tried
>>> the stix fonts with pdflatex (\usepackage{stix} in the preamble) ? Stix
>>> is self-contained, so you have to remove other font packages first,
>>> including math symbols, to try. I know a couple other fonts for text and
>>> math that give good results.
>>
>> Out of curiosity I took a beamer presentation and tried adding
>> \usepackage{stix}.  I got a string of errors, starting with:
>>
>> No room for a new \mathgroup .
>>
>>
>>
> 
> If you previously needed additional packages containing math symbols,
> try to remove those packages from the preamble. Stix should already have
> all the symbols that you need. In particular I set amssymb and stmaryrd
> to "do not load" in the document settings (but maybe that's also because
> I \usepackage[scr=boondoxo,cal=pxtx]{mathalfa} in addition to stix, I
> don't remember the details).

I tried removing all other packages, and trying lualatex on this tex file I 
still get the same error.  My preamble is down to this:  (This is fedora 23)

%% LyX 2.1.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{beamer}
\usepackage{fontspec}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{graphicx}

\makeatletter

%% LyX specific LaTeX commands.
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% Textclass specific LaTeX commands.
 % this default might be overridden by plain title style
 \newcommand\makebeamertitle{\frame{\maketitle}}%
 % (ERT) argument for the TOC
 \AtBeginDocument{%
   \let\origtableofcontents=\tableofcontents
   \def\tableofcontents{\@ifnextchar[{\origtableofcontents}
{\gobbletableofcontents}}
   \def\gobbletableofcontents#1{\origtableofcontents}
 }

%% User specified LaTeX commands.
\usepackage{stix}
%\usepackage{siunitx}
%\usetheme{CambridgeUS}
%\usecolortheme{dolphin}
%\usepackage{lmodern}

\makeatother

\usepackage{babel}
\begin{document}
...



Re: LyX with NewTXMath unable to load metric data

2015-11-05 Thread Michael Berger

On 11/04/2015 11:46 PM, Robert Susmilch wrote:

Dear List,

I have been doing quite a few papers in LyX, and tried switching to
LibreOffice for Zotero integration, however the math and figure placement
drove me up the wall so badly, I came back to LyX/LaTeX, cheated, and entered
my citations and references manually via cut and paste.

I have looked at several fonts, and like Libertine, however I cannot get
Libertine to work for the math font.

At first libertine would not show up as installed in LyX, but a reboot may
have fixed that. It now shows up under math font. However, even a basic
document gives me an error while trying LuaTex:

! Font \=zxxrl7z at 10pt not loadable: metric data not found or bad.

relax
l.11 This is a fancy equation $\sum
  _{i=1}^{\infty}b^{i}$.
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font='.


This happens with Times New Roman and Garamond for the NewTX math font. Euler
and Kurier both work (but are ugly IMHO.)

PDFLatex gives a similar error, but complains that there is no font of size
8.8 pt loadable.

XeXtex coplains about missing temp pdf.

I have tried some suggestions of reinstalling texlive-collectiion-
fontsrecommended. I have wiped my preamble out and removed all loaded modules
in document settings.

This is all on a Fedora 22 system, using LyX  2.1.4.

What am I missing?


Hello Robert,
I opened your file 'Example.lyx' as it came and it compiled to PDf 
without any complaints.

I have lyx 2.1.2 / openSUSE 13.2 / KDE
I could furnish you my SETTINGS if you think that would help.

BTW: your example file also converts without any error message to any 
other document class available in my LyX (except in classes for letters).


Michael Berger


Re: LyX with NewTXMath unable to load metric data

2015-11-05 Thread Neal Becker
Guillaume Munch wrote:

> Le 04/11/2015 22:46, Robert Susmilch a écrit :
>> Dear List,
>>
>> I have been doing quite a few papers in LyX, and tried switching to
>> LibreOffice for Zotero integration, however the math and figure placement
>> drove me up the wall so badly, I came back to LyX/LaTeX, cheated, and
>> entered my citations and references manually via cut and paste.
>>
>> I have looked at several fonts, and like Libertine, however I cannot get
>> Libertine to work for the math font.
>>
>> At first libertine would not show up as installed in LyX, but a reboot
>> may have fixed that. It now shows up under math font. However, even a
>> basic document gives me an error while trying LuaTex:
>>
>> ! Font \=zxxrl7z at 10pt not loadable: metric data not found or bad.
>> 
>> relax
>> l.11 This is a fancy equation $\sum
>>   _{i=1}^{\infty}b^{i}$.
>> I wasn't able to read the size data for this font,
>> so I will ignore the font specification.
>> [Wizards can fix TFM files using TFtoPL/PLtoTF.]
>> You might try inserting a different font spec;
>> e.g., type `I\font='.
>>
>>
>> This happens with Times New Roman and Garamond for the NewTX math font.
>> Euler and Kurier both work (but are ugly IMHO.)
>>
>> PDFLatex gives a similar error, but complains that there is no font of
>> size 8.8 pt loadable.
>>
>> XeXtex coplains about missing temp pdf.
>>
>> I have tried some suggestions of reinstalling texlive-collection-
>> fontsrecommended. I have wiped my preamble out and removed all loaded
>> modules in document settings.
>>
>> This is all on a Fedora 22 system, using LyX  2.1.4.
>>
>> What am I missing?
>>
> 
> You are trying to use NewTXMath with the libertine option if I
> understand correctly. I don't know what goes wrong. But, have you tried
> the stix fonts with pdflatex (\usepackage{stix} in the preamble) ? Stix
> is self-contained, so you have to remove other font packages first,
> including math symbols, to try. I know a couple other fonts for text and
> math that give good results.

Out of curiosity I took a beamer presentation and tried adding 
\usepackage{stix}.  I got a string of errors, starting with:

No room for a new \mathgroup .




Re: LyX with NewTXMath unable to load metric data

2015-11-05 Thread Guillaume Munch

Le 05/11/2015 12:36, Neal Becker a écrit :

Guillaume Munch wrote:


Le 04/11/2015 22:46, Robert Susmilch a écrit :

Dear List,

I have been doing quite a few papers in LyX, and tried switching to
LibreOffice for Zotero integration, however the math and figure placement
drove me up the wall so badly, I came back to LyX/LaTeX, cheated, and
entered my citations and references manually via cut and paste.

I have looked at several fonts, and like Libertine, however I cannot get
Libertine to work for the math font.

At first libertine would not show up as installed in LyX, but a reboot
may have fixed that. It now shows up under math font. However, even a
basic document gives me an error while trying LuaTex:

! Font \=zxxrl7z at 10pt not loadable: metric data not found or bad.

relax
l.11 This is a fancy equation $\sum
   _{i=1}^{\infty}b^{i}$.
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font='.


This happens with Times New Roman and Garamond for the NewTX math font.
Euler and Kurier both work (but are ugly IMHO.)

PDFLatex gives a similar error, but complains that there is no font of
size 8.8 pt loadable.

XeXtex coplains about missing temp pdf.

I have tried some suggestions of reinstalling texlive-collection-
fontsrecommended. I have wiped my preamble out and removed all loaded
modules in document settings.

This is all on a Fedora 22 system, using LyX  2.1.4.

What am I missing?



You are trying to use NewTXMath with the libertine option if I
understand correctly. I don't know what goes wrong. But, have you tried
the stix fonts with pdflatex (\usepackage{stix} in the preamble) ? Stix
is self-contained, so you have to remove other font packages first,
including math symbols, to try. I know a couple other fonts for text and
math that give good results.


Out of curiosity I took a beamer presentation and tried adding
\usepackage{stix}.  I got a string of errors, starting with:

No room for a new \mathgroup .





If you previously needed additional packages containing math symbols, 
try to remove those packages from the preamble. Stix should already have 
all the symbols that you need. In particular I set amssymb and stmaryrd 
to "do not load" in the document settings (but maybe that's also because 
I \usepackage[scr=boondoxo,cal=pxtx]{mathalfa} in addition to stix, I 
don't remember the details).




Re: LyX with NewTXMath unable to load metric data

2015-11-05 Thread Robert Susmilch
I think that's a great idea. What advantage does "stix" give me? I see
on CTAN that it is math fonts, but do they "blend" with any other fonts,
such as heavier weight fonts, etc. Much as with Libertine the math
equations felt out of place since Libertine is a bit heavier weight,
hence my quest to get Libertine working as the math font.

Respectfully,

Robert Susmilch
===
The "gobbledygook" in this email is due to this email having been
"signed" with PGP for security. Please see http://bit.ly/1MsqFhJ for
more information.

On 11/05/2015 01:21 AM, Guenter Milde wrote:
> On 2015-11-04, Robert Susmilch wrote:
> 
> Just for the record:
> 
>> If I use package stix, it compiles but I cannot use any 
>> other fonts in document settings (kind of defeats the purpose.)
> 
> However, you can 
> 
> * look at the font package calls in an exported file or the View>Source
>   window (set the scope to "preamble" or "complete document"),
> 
> * copy them to the user preamble, after loading the stix package,
> 
> * set the GUI font selection to "default",
> 
> try compiling again.
> 
> Usually, the last loaded package determines the font settings. There might,
> however be clashes between some packages you have to solve yourself
> (remember, the "user preamble" is "use at your own risk").
> 
> Günter
> 


Re: LyX with NewTXMath unable to load metric data

2015-11-05 Thread Robert Susmilch
I will keep that in mind. However, my issue at the time was writing a
short paper in CSE style with no biblatex CSE style file. I had six
references and had already burned up a lot of time gathering the data
for the paper. I had learned Python, R and a little SageMath (all three
I was a novice in starting out) and didn't feel like diving into any
bibliography stuff for a style I will never use again. Not to say I
don't want to contribute but with a family and my wife and I back into
school I have limited time.

I had started writing it in LibreOffice because Zotero could insert with
CSE style citations and bibliography. However, placement of figures and
floats, as well as tables was horrible. The math editor was a joke. If
it is anything like I hear Word is for equations, I understand
completely. I finally ended up with the equations on a separate page
because inline equations were horrid. I also could not get the figures
to behave, as they anchored EVERYWHERE but a nice neat column. I
eventually the figures within table cells to tame them.

At some point of hair pulling and looking at my output, I cheated. I
simply copied the text over to LyX with the citations already embedded
as plain text, created hanging indents for the bibliography, and redid
the figures and tables as proper floats. I took the equations and placed
them inline into the text. I then fought with the actual paper content
and page length limitations instead of the damn formatting! (If anyone
is interested I have the before and after in dropbox.)


Respectfully,

Robert Susmilch
===
The "gobbledygook" in this email is due to this email having been
"signed" with PGP for security. Please see http://bit.ly/1MsqFhJ for
more information.

On 11/05/2015 12:34 AM, John Kane wrote:
> I would second Guillaume Munch's suggestion.  Lyz is a bit fussy but
> once working preforms well. *
> *
> 
> On 4 November 2015 at 18:15, Guillaume Munch  > wrote:
> 
> Le 04/11/2015 22:46, Robert Susmilch a écrit :
> 
> Dear List,
> 
> I have been doing quite a few papers in LyX, and tried switching to
> LibreOffice for Zotero integration, however the math and figure
> placement
> drove me up the wall so badly, I came back to LyX/LaTeX,
> cheated, and entered
> my citations and references manually via cut and paste.
> 
> I have looked at several fonts, and like Libertine, however I
> cannot get
> Libertine to work for the math font.
> 
> At first libertine would not show up as installed in LyX, but a
> reboot may
> have fixed that. It now shows up under math font. However, even
> a basic
> document gives me an error while trying LuaTex:
> 
> ! Font \=zxxrl7z at 10pt not loadable: metric data not found or bad.
> 
> relax
> l.11 This is a fancy equation $\sum
>   _{i=1}^{\infty}b^{i}$.
> I wasn't able to read the size data for this font,
> so I will ignore the font specification.
> [Wizards can fix TFM files using TFtoPL/PLtoTF.]
> You might try inserting a different font spec;
> e.g., type `I\font='.
> 
> 
> This happens with Times New Roman and Garamond for the NewTX
> math font. Euler
> and Kurier both work (but are ugly IMHO.)
> 
> PDFLatex gives a similar error, but complains that there is no
> font of size
> 8.8 pt loadable.
> 
> XeXtex coplains about missing temp pdf.
> 
> I have tried some suggestions of reinstalling texlive-collection-
> fontsrecommended. I have wiped my preamble out and removed all
> loaded modules
> in document settings.
> 
> This is all on a Fedora 22 system, using LyX  2.1.4.
> 
> What am I missing?
> 
> 
> You are trying to use NewTXMath with the libertine option if I
> understand correctly. I don't know what goes wrong. But, have you
> tried the stix fonts with pdflatex (\usepackage{stix} in the
> preamble) ? Stix is self-contained, so you have to remove other font
> packages first, including math symbols, to try. I know a couple
> other fonts for text and math that give good results.
> 
> For Zotero have you tried LyZ ? https://github.com/willsALMANJ/lyz
> 
> 
> 
> 
> 
> -- 
> John Kane
> Kingston ON Canada


LyX with NewTXMath unable to load metric data

2015-11-04 Thread Robert Susmilch
Dear List,

I have been doing quite a few papers in LyX, and tried switching to 
LibreOffice for Zotero integration, however the math and figure placement 
drove me up the wall so badly, I came back to LyX/LaTeX, cheated, and entered 
my citations and references manually via cut and paste.

I have looked at several fonts, and like Libertine, however I cannot get 
Libertine to work for the math font.

At first libertine would not show up as installed in LyX, but a reboot may 
have fixed that. It now shows up under math font. However, even a basic 
document gives me an error while trying LuaTex:

! Font \=zxxrl7z at 10pt not loadable: metric data not found or bad.
 
relax 
l.11 This is a fancy equation $\sum
 _{i=1}^{\infty}b^{i}$.
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font='.


This happens with Times New Roman and Garamond for the NewTX math font. Euler 
and Kurier both work (but are ugly IMHO.)

PDFLatex gives a similar error, but complains that there is no font of size 
8.8 pt loadable.

XeXtex coplains about missing temp pdf.

I have tried some suggestions of reinstalling texlive-collection-
fontsrecommended. I have wiped my preamble out and removed all loaded modules 
in document settings.

This is all on a Fedora 22 system, using LyX  2.1.4.

What am I missing?

-- 
Respectfully,

Robert Susmilch
===

This is LuaTeX, Version beta-0.79.1 (TeX Live 2014) (rev 4971)  (format=lualatex 2015.10.15)  4 NOV 2015 16:42
 restricted \write18 enabled.
**Example.tex
(./Example.tex
LaTeX2e <2011/06/27>
Babel <3.9k> and hyphenation patterns for 6 languages loaded.

(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/usr/share/texlive/texmf-dist/tex/latex/newtx/newtxmath.sty
Package: newtxmath 2014/04/07 v1.25
`newtxmath' v1.25, 2014/04/07 Math macros based on txfonts (msharpe) (/usr/shar
e/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2013/01/14 v2.14 AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks14
\ex@=\dimen103
)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen104
) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count87
LaTeX Info: Redefining \frac on input line 210.
\uproot@=\count88
\leftroot@=\count89
LaTeX Info: Redefining \overline on input line 306.
\classnum@=\count90
\DOTSCASE@=\count91
LaTeX Info: Redefining \ldots on input line 378.
LaTeX Info: Redefining \dots on input line 381.
LaTeX Info: Redefining \cdots on input line 466.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big@size=\dimen105
LaTeX Font Info:Redeclaring font encoding OML on input line 566.
LaTeX Font Info:Redeclaring font encoding OMS on input line 567.
\macc@depth=\count92
\c@MaxMatrixCols=\count93
\dotsspace@=\muskip10
\c@parentequation=\count94
\dspbrk@lvl=\count95
\tag@help=\toks15
\row@=\count96
\column@=\count97
\maxfields@=\count98
\andhelp@=\toks16
\eqnshift@=\dimen106
\alignsep@=\dimen107
\tagshift@=\dimen108
\tagwidth@=\dimen109
\totwidth@=\dimen110
\lineht@=\dimen111
\@envbody=\toks17
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay@stack=\toks18
LaTeX Info: Redefining \[ on input line 2665.
LaTeX Info: Redefining \] on input line 2666.
) (/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX detected.
) (/usr/share/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
Package: xkeyval 2012/10/14 v2.6b package option processing (HA)
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex
\XKV@toks=\toks19
\XKV@tempa@toks=\toks20
\XKV@depth=\count99
File: xkeyval.tex 2012/10/14 v2.6b key=value parser (HA)
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex))) (/usr/share/te
xlive/texmf-dist/tex/generic/kastrup/binhex.tex)
\tx@Isdigit=\count100
LaTeX Font Info:Redeclaring symbol font `operators' on input line 95.
LaTeX 

Re: LyX with NewTXMath unable to load metric data

2015-11-04 Thread Guillaume Munch

Le 04/11/2015 23:38, Robert Susmilch a écrit :

Dear Guillaume,

Yes, I am trying to use Libertine with the Math font option under Document-

Settings->Fonts. If I use package stix, it compiles but I cannot use any

other fonts in document settings (kind of defeats the purpose.)



Ok, I misunderstood that you were interested in Libertine specifically
and thought that you were trying various fonts. In any case your example
works well here so it might be an issue with your installation,
though I am not an expert of such issues.



Re: LyX with NewTXMath unable to load metric data

2015-11-04 Thread Guillaume Munch

Le 05/11/2015 00:30, Robert Susmilch a écrit :

Dear Guillaume,

So I take it that Libertine works as both the serif and math font?


Yes, it worked with both at the same time.



Reinstall everything such as texlive* and latex? Am I missing an obscure
package?



Let's hope that somebody else has a reply for you.



Re: LyX with NewTXMath unable to load metric data

2015-11-04 Thread Robert Susmilch
Dear Guillaume,

So I take it that Libertine works as both the serif and math font?

Reinstall everything such as texlive* and latex? Am I missing an obscure 
package?

-- 
Respectfully,

Robert Susmilch
===
The "gobbledygook" in this email is due to this email having been "signed" 
with PGP for security. Please see http://bit.ly/1MsqFhJ for more information.

On Thursday, November 05, 2015 12:22:45 AM Guillaume Munch wrote:
> Le 04/11/2015 23:38, Robert Susmilch a écrit :
> > Dear Guillaume,
> > 
> > Yes, I am trying to use Libertine with the Math font option under
> > Document-
> > 
> >> Settings->Fonts. If I use package stix, it compiles but I cannot use any
> > 
> > other fonts in document settings (kind of defeats the purpose.)
> 
> Ok, I misunderstood that you were interested in Libertine specifically
> and thought that you were trying various fonts. In any case your example
> works well here so it might be an issue with your installation,
> though I am not an expert of such issues.


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


Re: LyX with NewTXMath unable to load metric data

2015-11-04 Thread Guillaume Munch

Le 04/11/2015 22:46, Robert Susmilch a écrit :

Dear List,

I have been doing quite a few papers in LyX, and tried switching to
LibreOffice for Zotero integration, however the math and figure placement
drove me up the wall so badly, I came back to LyX/LaTeX, cheated, and entered
my citations and references manually via cut and paste.

I have looked at several fonts, and like Libertine, however I cannot get
Libertine to work for the math font.

At first libertine would not show up as installed in LyX, but a reboot may
have fixed that. It now shows up under math font. However, even a basic
document gives me an error while trying LuaTex:

! Font \=zxxrl7z at 10pt not loadable: metric data not found or bad.

relax
l.11 This is a fancy equation $\sum
  _{i=1}^{\infty}b^{i}$.
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font='.


This happens with Times New Roman and Garamond for the NewTX math font. Euler
and Kurier both work (but are ugly IMHO.)

PDFLatex gives a similar error, but complains that there is no font of size
8.8 pt loadable.

XeXtex coplains about missing temp pdf.

I have tried some suggestions of reinstalling texlive-collection-
fontsrecommended. I have wiped my preamble out and removed all loaded modules
in document settings.

This is all on a Fedora 22 system, using LyX  2.1.4.

What am I missing?



You are trying to use NewTXMath with the libertine option if I 
understand correctly. I don't know what goes wrong. But, have you tried 
the stix fonts with pdflatex (\usepackage{stix} in the preamble) ? Stix 
is self-contained, so you have to remove other font packages first, 
including math symbols, to try. I know a couple other fonts for text and 
math that give good results.


For Zotero have you tried LyZ ? https://github.com/willsALMANJ/lyz




Re: LyX with NewTXMath unable to load metric data

2015-11-04 Thread Robert Susmilch
Dear Guillaume,

Yes, I am trying to use Libertine with the Math font option under Document-
>Settings->Fonts. If I use package stix, it compiles but I cannot use any 
other fonts in document settings (kind of defeats the purpose.)

I have not tried LyZ, but the issue was not Zotero or Lyx itself, but the lack 
of a bibliography for CSE style. I monkeyed around with Lyx for a long time, 
but for a one off paper I couldn’t justify the time spent to learn the 
bibliography commands and such, for only six references.


-- 
Respectfully,

Robert Susmilch
===
The "gobbledygook" in this email is due to this email having been "signed" 
with PGP for security. Please see http://bit.ly/1MsqFhJ for more information.

On Wednesday, November 04, 2015 11:15:03 PM Guillaume Munch wrote:
> You are trying to use NewTXMath with the libertine option if I
> understand correctly. I don't know what goes wrong. But, have you tried
> the stix fonts with pdflatex (\usepackage{stix} in the preamble) ? Stix
> is self-contained, so you have to remove other font packages first,
> including math symbols, to try. I know a couple other fonts for text and
> math that give good results.
> 
> For Zotero have you tried LyZ ? https://github.com/willsALMANJ/lyz



Re: LyX with NewTXMath unable to load metric data

2015-11-04 Thread Robert Susmilch
Dear List and Guillaume,

I installed Fedora 23 in a virtual machine, and out of the box it displayed 
the same issue if I installed Lyx, Libertine, and Newtx packages. Once I 
installed texlive-collection-fontsextra (which is different than 
fontsrecommended) Libertine works as a math font.

Problem solved. I thank everyone for their consideration, and especially 
Guillaume for investigating.

-- 
Respectfully,

Robert Susmilch
===
The "gobbledygook" in this email is due to this email having been "signed" 
with PGP for security. Please see http://bit.ly/1MsqFhJ for more information.

On Thursday, November 05, 2015 12:39:13 AM Guillaume Munch wrote:
> Le 05/11/2015 00:30, Robert Susmilch a écrit :
> > Dear Guillaume,
> > 
> > So I take it that Libertine works as both the serif and math font?
> 
> Yes, it worked with both at the same time.
> 
> > Reinstall everything such as texlive* and latex? Am I missing an obscure
> > package?
> 
> Let's hope that somebody else has a reply for you.



Re: LyX with NewTXMath unable to load metric data

2015-11-04 Thread John Kane
I would second Guillaume Munch's suggestion.  Lyz is a bit fussy but once
working preforms well.

On 4 November 2015 at 18:15, Guillaume Munch  wrote:

> Le 04/11/2015 22:46, Robert Susmilch a écrit :
>
>> Dear List,
>>
>> I have been doing quite a few papers in LyX, and tried switching to
>> LibreOffice for Zotero integration, however the math and figure placement
>> drove me up the wall so badly, I came back to LyX/LaTeX, cheated, and
>> entered
>> my citations and references manually via cut and paste.
>>
>> I have looked at several fonts, and like Libertine, however I cannot get
>> Libertine to work for the math font.
>>
>> At first libertine would not show up as installed in LyX, but a reboot may
>> have fixed that. It now shows up under math font. However, even a basic
>> document gives me an error while trying LuaTex:
>>
>> ! Font \=zxxrl7z at 10pt not loadable: metric data not found or bad.
>> 
>> relax
>> l.11 This is a fancy equation $\sum
>>   _{i=1}^{\infty}b^{i}$.
>> I wasn't able to read the size data for this font,
>> so I will ignore the font specification.
>> [Wizards can fix TFM files using TFtoPL/PLtoTF.]
>> You might try inserting a different font spec;
>> e.g., type `I\font='.
>>
>>
>> This happens with Times New Roman and Garamond for the NewTX math font.
>> Euler
>> and Kurier both work (but are ugly IMHO.)
>>
>> PDFLatex gives a similar error, but complains that there is no font of
>> size
>> 8.8 pt loadable.
>>
>> XeXtex coplains about missing temp pdf.
>>
>> I have tried some suggestions of reinstalling texlive-collection-
>> fontsrecommended. I have wiped my preamble out and removed all loaded
>> modules
>> in document settings.
>>
>> This is all on a Fedora 22 system, using LyX  2.1.4.
>>
>> What am I missing?
>>
>>
> You are trying to use NewTXMath with the libertine option if I understand
> correctly. I don't know what goes wrong. But, have you tried the stix fonts
> with pdflatex (\usepackage{stix} in the preamble) ? Stix is self-contained,
> so you have to remove other font packages first, including math symbols, to
> try. I know a couple other fonts for text and math that give good results.
>
> For Zotero have you tried LyZ ? https://github.com/willsALMANJ/lyz
>
>
>


-- 
John Kane
Kingston ON Canada


Re: LyX with NewTXMath unable to load metric data

2015-11-04 Thread Guenter Milde
On 2015-11-04, Robert Susmilch wrote:

Just for the record:

> If I use package stix, it compiles but I cannot use any 
> other fonts in document settings (kind of defeats the purpose.)

However, you can 

* look at the font package calls in an exported file or the View>Source
  window (set the scope to "preamble" or "complete document"),

* copy them to the user preamble, after loading the stix package,

* set the GUI font selection to "default",

try compiling again.

Usually, the last loaded package determines the font settings. There might,
however be clashes between some packages you have to solve yourself
(remember, the "user preamble" is "use at your own risk").

Günter