Re: Missing character

2022-09-01 Thread Dr Eberhard Lisse

Auntie Gugel tells me via

https://unicodeplus.com/U+0098

that this (SoS) is the Tilde '~' but it probably does not matter.


I would first remove the reference

\ref{alg:Skript-zur PRC-Erzeugung}

If that does the trick, you may want to remove the space from the
Reference and corresponding Label.


If not remove everything from the (copy of the) document but the
offending line.

If that causes the error, remove that line from the original.

If that does the trick, retype the line carefully (without label and
refefrence.

If that works, put the label in.

If that works put the reference in.

If that gives you the error use my above shortcut and rename the
reference and (corresponding) label.


greetings, el


On 2022-09-01 18:04 , Wolfgang Engelmann wrote:
[...]

 >>this is line 2612 >> \label{scilab script-1}To avoid changing the
 >>parameters for each
pulse time and the following simulations sequentially, one can use a
Scilab script, which carries this out (see the algorithm
\ref{alg:Skript-zur PRC-Erzeugung}).

As to your Google proposal:
The Internet tells me, e.g.: 'START OF STRING' (U+0098)
and:
Character U+0098 (152) is an invisible control code that is almost
never used.  The trick is that "ISO-8859-1" has a different meaning to
Java and web browsers.  For Java it really is the ISO-8859-1 standard,
which maps exactly to the first 256 code points of Unicode.  That
includes a range of little-used C1 control characters at 128-159.

What I tried was to put the surrounding of the error (was a figure +
legend) in a lyx note, run it again and check the tex file again.  The
0098 complain is now at another place, which had not been given before
as an error.

Paul recommended to run a bisection search, but its the same problem
as described above.

I was hoping to localize the 0099 character by using the editor
'best', which allows to search for decimal codes, but that did not
show it at all.  Perhaps somebody knows a better editor to check for
those characters.

FAZIT:
I gave up, since it is a warning only and it takes me too much time
(and time of those trying to help me)
Thanks anyway!

Wolfgang



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


Re: Missing character

2022-09-01 Thread Wolfgang Engelmann



Am 01.09.22 um 16:03 schrieb Dr Eberhard Lisse:

C.O.M.P.I.I.L.E the TeX file with lualatex and note where it stops (on
or near the error line ).

Also what does googling for the error message show you?

Or just for "U+0098"?


el


On 31/08/2022 17:01, Wolfgang Engelmann wrote:



Am 31.08.22 um 15:20 schrieb Dr Eberhard Lisse:

compile the file with lualatex and not the line the error is reported
on.

el

[...]

Thanks, El,

neither checking the lyx file nor the luatex exported file with bless
and decimal character found the 0098

Wolfgang


El,
I do get Log-outputs of the luatex run such as that one (between  
and :


[77<./export_CircardianRyth-Mensch-Sig_Puls-65p0-5p0-___a0b8ea4063538c2239436b1d
41794c6fb968832f6bd.pdf>] 
[78<./export_VanPol_Puls-SB-PRC_sb_V4_Dia_pdf_072_

__c7e7c78a8954a038bd2ba6f8256318f8302a367cea5.pdf>] [79
Missing character: There is no ˜ (U+0098) in font 
[LibertinusSerif-Italic.otf]:

mode=node;script=latn;language=dflt;+tlig;+tnum;+lnum;!
.
 ...not:N \tex_shipout:D \box_use:N \l_shipout_box

\__shipout_drop_firstpage_...
l.2612

and going to the line (see >> below) where the U+0098 character should be

A smaller nonlinearity (with a VP oscillator $\epsilon=0.2$) the
maximal amplitude is reached earlier after the pulse. The transient
time is also smaller (see Fig. \ref{fig:Phasenverschiebung nach Puls-1}).}
\end{figure}

>>this is line 2612 >> \label{scilab script-1}To avoid changing the 
parameters for each

pulse time and the following simulations sequentially, one can use
a Scilab script, which carries this out (see the algorithm 
\ref{alg:Skript-zur PRC-Erzeugung}).


As to your Google proposal:
The Internet tells me, e.g.:
'START OF STRING' (U+0098)
and:
Character U+0098 (152) is an invisible control code that is almost never 
used. The trick is that "ISO-8859-1" has a different meaning to Java and 
web browsers. For Java it really is the ISO-8859-1 standard, which maps 
exactly to the first 256 code points of Unicode. That includes a range 
of little-used C1 control characters at 128-159.


What I tried was to put the surrounding of the error (was a figure + 
legend) in a lyx note, run it again and check the tex file again. The 
0098 complain is now at another place, which had not been given before 
as an error.


Paul recommended to run a bisection search, but its the same problem as 
described above.


I was hoping to localize the 0099 character by using the editor 'best', 
which allows to search for decimal codes, but that did not show it at 
all. Perhaps somebody knows a better editor to check for those characters.


FAZIT:
I gave up, since it is a warning only and it takes me too much time (and 
time of those trying to help me)

Thanks anyway!

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


Re: Missing character

2022-09-01 Thread Dr Eberhard Lisse
C.O.M.P.I.I.L.E the TeX file with lualatex and note where it stops (on
or near the error line ).

Also what does googling for the error message show you?

Or just for "U+0098"?


el


On 31/08/2022 17:01, Wolfgang Engelmann wrote:
> 
> 
> Am 31.08.22 um 15:20 schrieb Dr Eberhard Lisse:
>> compile the file with lualatex and not the line the error is reported
>> on.
>>
>> el
[...]
> Thanks, El,
> 
> neither checking the lyx file nor the luatex exported file with bless
> and decimal character found the 0098
> 
> Wolfgang


-- 
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: Missing character

2022-08-31 Thread Wolfgang Engelmann



Am 31.08.22 um 15:20 schrieb Dr Eberhard Lisse:

compile the file with lualatex and not the line the error is reported on.

el

On 25/08/2022 17:17, Paul A. Rubin wrote:

On 8/25/22 05:02, Wolfgang Engelmann wrote:

I got this warning
Missing character: There is no ˜ (U+0098) in font
[LibertinusSerif-Italic.otf]:

and tried to localize it by exporting the lyx file (Debian, lyx-2.4.dev)

Version 2.4.0dev (noch nicht veröffentlicht)
Erstellt aus Git-Revision 53ed3dc0
Qt-Version (Laufzeit): 5.15.2 (Plattform: xcb)
Qt-Version (bei Erstellung): 5.15.2
Python-Aufruf: python3 -tt

to latex (LuaTeX), opened it with the text editor bless, used there
'search for ' 0098 as decimal.
However, 'The pattern you requested was not found'

Any idea what to do?

Wolfgang

It might display as a single character (possibly ~) in your text editor.
One possibility is a bisection search. Make a copy of the LyX file,
delete half and try to compile. If you get the error, it's in the half
you kept; if not, it's in the half you deleted. Iterate until you have
narrowed the target down to the point where you can spot the offending
character.

Paul




Thanks, El,

neither checking the lyx file nor the luatex exported file with bless 
and decimal character found the 0098


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


Re: Missing character

2022-08-31 Thread Dr Eberhard Lisse
compile the file with lualatex and not the line the error is reported on.

el

On 25/08/2022 17:17, Paul A. Rubin wrote:
> On 8/25/22 05:02, Wolfgang Engelmann wrote:
>> I got this warning
>> Missing character: There is no ˜ (U+0098) in font
>> [LibertinusSerif-Italic.otf]:
>>
>> and tried to localize it by exporting the lyx file (Debian, lyx-2.4.dev)
>>
>> Version 2.4.0dev (noch nicht veröffentlicht)
>> Erstellt aus Git-Revision 53ed3dc0
>> Qt-Version (Laufzeit): 5.15.2 (Plattform: xcb)
>> Qt-Version (bei Erstellung): 5.15.2
>> Python-Aufruf: python3 -tt
>>
>> to latex (LuaTeX), opened it with the text editor bless, used there
>> 'search for ' 0098 as decimal.
>> However, 'The pattern you requested was not found'
>>
>> Any idea what to do?
>>
>> Wolfgang
> It might display as a single character (possibly ~) in your text editor.
> One possibility is a bisection search. Make a copy of the LyX file,
> delete half and try to compile. If you get the error, it's in the half
> you kept; if not, it's in the half you deleted. Iterate until you have
> narrowed the target down to the point where you can spot the offending
> character.
> 
> Paul
> 

-- 
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: Missing character

2022-08-25 Thread Paul A. Rubin

On 8/25/22 05:02, Wolfgang Engelmann wrote:

I got this warning
Missing character: There is no ˜ (U+0098) in font 
[LibertinusSerif-Italic.otf]:


and tried to localize it by exporting the lyx file (Debian, lyx-2.4.dev)

Version 2.4.0dev (noch nicht veröffentlicht)
Erstellt aus Git-Revision 53ed3dc0
Qt-Version (Laufzeit): 5.15.2 (Plattform: xcb)
Qt-Version (bei Erstellung): 5.15.2
Python-Aufruf: python3 -tt

to latex (LuaTeX), opened it with the text editor bless, used there 
'search for ' 0098 as decimal.

However, 'The pattern you requested was not found'

Any idea what to do?

Wolfgang
It might display as a single character (possibly ~) in your text editor. 
One possibility is a bisection search. Make a copy of the LyX file, 
delete half and try to compile. If you get the error, it's in the half 
you kept; if not, it's in the half you deleted. Iterate until you have 
narrowed the target down to the point where you can spot the offending 
character.


Paul

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


Missing character

2022-08-25 Thread Wolfgang Engelmann

I got this warning
Missing character: There is no ˜ (U+0098) in font 
[LibertinusSerif-Italic.otf]:


and tried to localize it by exporting the lyx file (Debian, lyx-2.4.dev)

Version 2.4.0dev (noch nicht veröffentlicht)
Erstellt aus Git-Revision 53ed3dc0
Qt-Version (Laufzeit): 5.15.2 (Plattform: xcb)
Qt-Version (bei Erstellung): 5.15.2
Python-Aufruf: python3 -tt

to latex (LuaTeX), opened it with the text editor bless, used there 
'search for ' 0098 as decimal.

However, 'The pattern you requested was not found'

Any idea what to do?

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


Re: Missing glyphs! Missing character: There is no , (U+2028) in font [XXX]:mode=node;s

2017-03-20 Thread Guenter Milde
On 2017-03-20, Bernt Lie wrote:
> On 2017-03-20, Bernt Lie wrote:
>> Sent: søndag 19. mars 2017 16.28

>> I have a problem with LuaTeX / XeTeX


>> Not completely related, but I get a "Missing glyphs!" (two times) with 
>> LyX 2.2.2 on Windows 10. The source of this missing glyphs are two 
>> occurrences of BibTeX references containing the character {\AA} (I 
>> assume this is the source – the error message showed up after I 
>> included these references…).

> The latex macro \AA is translated to 

> 212B  ANGSTROM SIGN
>   * non SI length unit (=0.1 nm) named after A. J. Ångström, Swedish 
> physicist

> The Unicode standard says:

>   * preferred representation is 00C5

> 00C5  LATIN CAPITAL LETTER A WITH RING ABOVE

> Both character look the same but some fonts only contain 00C5.

> You can solve this by changing \AA to \r{A} in the bibtex file or by
> selecting a font with 212B.

> Günter
> --

> Hm. The LaTeX macro \AA *should* be translated to the Scandinavian
> letter Å, at least according to some LaTeX manuals I have read through
> the years. 

* 8-bit TeX does not distinguish Å and Å.

* With xunicode sty, it is LATIN CAPITAL LETTER A WITH RING ABOVE for both:

  \DeclareUTFcharacter[\UTFencname]{x00C5}{\AA}
  \DeclareUTFcomposite[\UTFencname]{x00C5}{\r}{A}

* With tuenc.def \r{A} is Å, too:

  \DeclareTextComposite{\r} \UnicodeEncodingName{A}{"00C5}

  but \AA is not defined.

> As in Ångström (Swedish name) or Årdal (Norwegian name).
Jag vet.

> Danes tend to use Aa instead of Å, but the Danish alphabet includes Å.

Aa is the transkription in case there are no accents (like ue for ü).

> I tried the suggestion of replacing \AA with \r{A}. Result?
> * The typesetting in the bibliography is correct and the same as for
>   when I used \AA

Fine.

> * I still get the same missing glyphs message

Strange. What engine and font do you use?

> * Now, I cannot search for Å in JabRef -- if I use \AA, I can search
>   for Å in JabRef.

This is a JabRef shortcoming. Maybe you can use a literal Å?

Günter



RE: Missing glyphs! Missing character: There is no , (U+2028) in font [XXX]:mode=node;s

2017-03-20 Thread Bernt Lie
-Original Message-
From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of 
Guenter Milde
Sent: mandag 20. mars 2017 10.16
To: lyx-users@lists.lyx.org
Subject: Re: Missing glyphs! Missing character: There is no , (U+2028) in font 
[XXX]:mode=node;s

On 2017-03-20, Bernt Lie wrote:

> [-- Type: text/plain, Encoding: base64 --]

> -Original Message-
> From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On 
> Behalf Of jezZiFeR
> Sent: søndag 19. mars 2017 16.28
> To: lyx-users@lists.lyx.org
> Subject: Missing glyphs! Missing character: There is no , (U+2028) in 
> font [XXX]:mode=node;s



> I have a problem with LuaTeX / XeTeX

> No matter which font I chhose, I always get the message »Missing

> character: There is no (U+2028) in font [whichever]:mode=node;s«.

This character is the line separator. The error message can be safely ignored.

The same holds for 0x200c  ZERO WIDTH NON-JOINER (a missing character has the 
same effect (preventing ligatures and kerning)

and maybe some other nonprintable characters. I suggest an exception list for 
the missing-characters-warning-to-error feature.



> I choose to show the output nonetheless several times, because the 
> error-message keeps showing. With some fonts the italics are not 
> displayed, in some cases the resulting PDF seems to be correct at 
> first sight. The fonts seem to be correctly installed.

This is unrelated.

...


> Not completely related, but I get a "Missing glyphs!" (two times) with 
> LyX 2.2.2 on Windows 10. The source of this missing glyphs are two 
> occurrences of BibTeX references containing the character {\AA} (I 
> assume this is the source – the error message showed up after I 
> included these references…).

The latex macro \AA is translated to 

212BANGSTROM SIGN
* non SI length unit (=0.1 nm) named after A. J. Ångström, Swedish 
physicist

The Unicode standard says:

* preferred representation is 00C5

00C5LATIN CAPITAL LETTER A WITH RING ABOVE

Both character look the same but some fonts only contain 00C5.

You can solve this by changing \AA to \r{A} in the bibtex file or by selecting 
a font with 212B.

Günter
--
Hm. The LaTeX macro \AA *should* be translated to the Scandinavian letter Å, at 
least according to some LaTeX manuals I have read through the years. As in 
Ångström (Swedish name) or Årdal (Norwegian name). Danes tend to use Aa instead 
of Å, but the Danish alphabet includes Å.

I tried the suggestion of replacing \AA with \r{A}. Result?
* The typesetting in the bibliography is correct and the same as for when I 
used \AA
* I still get the same missing glyphs message
* Now, I cannot search for Å in JabRef -- if I use \AA, I can search for Å in 
JabRef.

-B





Re: Missing glyphs! Missing character: There is no , (U+2028) in font [XXX]:mode=node;s

2017-03-20 Thread Guenter Milde
On 2017-03-20, Bernt Lie wrote:

> [-- Type: text/plain, Encoding: base64 --]

> -Original Message-
> From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of 
> jezZiFeR
> Sent: søndag 19. mars 2017 16.28
> To: lyx-users@lists.lyx.org
> Subject: Missing glyphs! Missing character: There is no , (U+2028) in font 
> [XXX]:mode=node;s



> I have a problem with LuaTeX / XeTeX

> No matter which font I chhose, I always get the message »Missing

> character: There is no (U+2028) in font [whichever]:mode=node;s«.

This character is the line separator. The error message can be safely ignored.

The same holds for 0x200c  ZERO WIDTH NON-JOINER (a missing character has
the same effect (preventing ligatures and kerning)

and maybe some other nonprintable characters. I suggest an exception list
for the missing-characters-warning-to-error feature.



> I choose to show the output nonetheless several times, because the
> error-message keeps showing. With some fonts the italics are not
> displayed, in some cases the resulting PDF seems to be correct at first
> sight. The fonts seem to be correctly installed.

This is unrelated.

...


> Not completely related, but I get a "Missing glyphs!" (two times) with
> LyX 2.2.2 on Windows 10. The source of this missing glyphs are two
> occurrences of BibTeX references containing the character {\AA} (I
> assume this is the source – the error message showed up after I
> included these references…).

The latex macro \AA is translated to 

212BANGSTROM SIGN
* non SI length unit (=0.1 nm) named after A. J. Ångström, Swedish 
physicist

The Unicode standard says:

* preferred representation is 00C5

00C5LATIN CAPITAL LETTER A WITH RING ABOVE

Both character look the same but some fonts only contain 00C5.

You can solve this by changing \AA to \r{A} in the bibtex file or by
selecting a font with 212B.

Günter





RE: Missing glyphs! Missing character: There is no , (U+2028) in font [XXX]:mode=node;s

2017-03-20 Thread Bernt Lie
-Original Message-
From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of 
jezZiFeR
Sent: søndag 19. mars 2017 16.28
To: lyx-users@lists.lyx.org
Subject: Missing glyphs! Missing character: There is no , (U+2028) in font 
[XXX]:mode=node;s



Hello,



I have a problem with LuaTeX / XeTeX



LyX 2.2.2

OS Sierra 10.12

LuaTeX, freshly updated



No matter which font I chhose, I always get the message »Missing

character: There is no (U+2028) in font [whichever]:mode=node;s«. I choose to 
show the output nonetheless several times, because the error-message keeps 
showing. With some fonts the italics are not displayed, in some cases the 
resulting PDF seems to be correct at first sight. The fonts seem to be 
correctly installed.



The same happens with XeTeX also.



Does anybody know what might be wrong here? I have seen a very close, but not a 
similar question in the archive:

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196621.html

That’s why I ask here. Hope, somebody could help.



Thanks

Jess

--

Not completely related, but I get a "Missing glyphs!" (two times) with LyX 
2.2.2 on Windows 10. The source of this missing glyphs are two occurrences of 
BibTeX references containing the character {\AA} (I assume this is the source – 
the error message showed up after I included these references…).

 [cid:image001.png@01D2A157.2A66E9E0]

In JabRef:

[cid:image002.png@01D2A157.62DA8340]



JabRef details:

[cid:image003.png@01D2A157.62DA8340]



The result still looks ok in the reference list, though:

[cid:image004.png@01D2A157.B6D16A90]



I’m not quite sure of how to fix this, i.e., avoid the error message/warning in 
LyX 2.2.2.



Thanks,

Bernt


Re: Missing glyphs! Missing character: There is no , (U+2028) in font [XXX]:mode=node;s

2017-03-19 Thread jezZiFeR

Dear Jürgen,

yes, thanks – that was it! I think I pasted from a MMD-file, this is why 
this happened…


Thanks for the quick solution, all best
Jess


Jürgen Spitzmüller <mailto:sp...@lyx.org>
19. März 2017 um 16:49
Am Sonntag, den 19.03.2017, 16:28 +0100 schrieb jezZiFeR:

Hello,

I have a problem with LuaTeX / XeTeX

LyX 2.2.2
OS Sierra 10.12
LuaTeX, freshly updated

No matter which font I chhose, I always get the message »Missing 
character: There is no (U+2028) in font [whichever]:mode=node;s«.


U+2028 is the LINE SEPARATOR character:
http://www.fileformat.info/info/unicode/char/2028/index.htm

I suppose it got into your LyX document via copy&  paste.

  I 
choose to show the output nonetheless several times, because the 
error-message keeps showing. With some fonts the italics are not 
displayed, in some cases the resulting PDF seems to be correct at
first 
sight. The fonts seem to be correctly installed.


The same happens with XeTeX also.

Does anybody know what might be wrong here? I have seen a very
close, 
but not a similar question in the archive:

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196621.html
That’s why I ask here. Hope, somebody could help.


I'd suggest you try to locate this character in the document and remove
it. You should be able to find it via simple search.

HTH
Jürgen


Thanks
Jess




Re: Missing glyphs! Missing character: There is no , (U+2028) in font [XXX]:mode=node;s

2017-03-19 Thread Jürgen Spitzmüller
Am Sonntag, den 19.03.2017, 16:28 +0100 schrieb jezZiFeR:
> Hello,
> 
> I have a problem with LuaTeX / XeTeX
> 
> LyX 2.2.2
> OS Sierra 10.12
> LuaTeX, freshly updated
> 
> No matter which font I chhose, I always get the message »Missing 
> character: There is no (U+2028) in font [whichever]:mode=node;s«.

U+2028 is the LINE SEPARATOR character:
http://www.fileformat.info/info/unicode/char/2028/index.htm

I suppose it got into your LyX document via copy & paste.

>  I 
> choose to show the output nonetheless several times, because the 
> error-message keeps showing. With some fonts the italics are not 
> displayed, in some cases the resulting PDF seems to be correct at
> first 
> sight. The fonts seem to be correctly installed.
> 
> The same happens with XeTeX also.
> 
> Does anybody know what might be wrong here? I have seen a very
> close, 
> but not a similar question in the archive:
> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196621.html
> That’s why I ask here. Hope, somebody could help.

I'd suggest you try to locate this character in the document and remove
it. You should be able to find it via simple search.

HTH
Jürgen

> 
> Thanks
> Jess

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


Missing glyphs! Missing character: There is no , (U+2028) in font [XXX]:mode=node;s

2017-03-19 Thread jezZiFeR

Hello,

I have a problem with LuaTeX / XeTeX

LyX 2.2.2
OS Sierra 10.12
LuaTeX, freshly updated

No matter which font I chhose, I always get the message »Missing 
character: There is no (U+2028) in font [whichever]:mode=node;s«. I 
choose to show the output nonetheless several times, because the 
error-message keeps showing. With some fonts the italics are not 
displayed, in some cases the resulting PDF seems to be correct at first 
sight. The fonts seem to be correctly installed.


The same happens with XeTeX also.

Does anybody know what might be wrong here? I have seen a very close, 
but not a similar question in the archive:

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196621.html
That’s why I ask here. Hope, somebody could help.

Thanks
Jess


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


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

2016-11-19 Thread Guenter Milde
On 2016-11-18, Scott Kostyshak wrote:

> I don't have much experience using XeTeX so I'm wondering if the
> following is expected:

> 1. Insert > Special Characters > Miscellaneous Symbols, and then choose
> \FiveStarOpen (the hollow star).

> If I compile, it works. But if I do:

> 2. Document > Settings > check Use non-TeX fonts

> and then compile (with XeTeX), I get a "Missing glyphs" error.

Yes, this is (and always was) the expected behaviour for "non-TeX" fonts.

XeTeX/LuaTeX uses Unicode as font encoding (unless told otherwise).  It
is up to the user to ensure the selected font contains all the required
characters. This is why it is a really helpfull addition that LyX now reports
missing characters - previously this happened without notice (and thousands
of ctest reported false positives).


> But if I maually load the necessary packages and I instead of ERT for
> \FiveStarOpen, it works fine. The problem appears to be that LyX is
> trying to use the FiveStarOpen symbol directly from the font, but it is
> not available.

Correct. 

With Unicode fonts you will get a matching glyph (or none). With the
macro as ERT, LaTeX selects a character from a package-provide TeX-font.

> 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.

Günter



missing character (Lyx on Mac)

2005-10-19 Thread Max

Hi everybody,

I've just installed Lyx and even though things went fairly smooth,  
I'm struggling with a bunch of minor issues.
(Using the latest Lyx version, Mac OS 10.4.2, Powerbook with a german  
keyboard. Gerben Wierda's TeX, ghostscript8, Freetype2, libiconf,  
libwmf, ImaheMagick, cm-super packages, ran the Lyx Installer script)


- Lyx won't recognize the ^ key at all (as in x^3 for x cubed).  It  
does recognizeshift ^   though, which correctly yields°on  
my german keyboard.


- Whenever I click View - DVI nothing happens. Am I not supposed to  
get some kind of window displaying the Latex source code???



I'm planning to word process my math assignments (bachelor of  
computer science), so any help is highly appreciated!



Thanks again,

Max




Re: missing character (Lyx on Mac)

2005-10-19 Thread Bennett Helm

On Oct 19, 2005, at 8:01 PM, [EMAIL PROTECTED] wrote:


Hi everybody,

I've just installed Lyx and even though things went fairly smooth,  
I'm struggling with a bunch of minor issues.
(Using the latest Lyx version, Mac OS 10.4.2, Powerbook with a  
german keyboard. Gerben Wierda's TeX, ghostscript8, Freetype2,  
libiconf, libwmf, ImaheMagick, cm-super packages, ran the Lyx  
Installer script)


- Lyx won't recognize the ^ key at all (as in x^3 for x cubed).  It  
does recognizeshift ^   though, which correctly yields° 
on my german keyboard.


I'm not sure how the German keyboard affects this, so I'll let  
someone else answer.


- Whenever I click View - DVI nothing happens. Am I not supposed  
to get some kind of window displaying the Latex source code???


Do you have a default .dvi viewer in the Finder? If not, LyX will  
tell your Mac to open it, but your Mac won't know what to do with it,  
and nothing will happen. I suspect that's your problem.


To solve it, you can do any one of 3 things here:

1. In the Finder, find a .dvi file on your Mac (perhaps generated  
from LyX with File  Export), and do File  Get Info In the  
window that pops up, make sure your have a .dvi viewer selected in  
the Open With drop-down list, and click on the Change all button  
to make it the default for your Mac.


2. In LyX, go to File  Preferences  File Formats, and select DVI in  
the list, changing the Viewer field to open -a xxx, where xxx is  
the name of your .dvi viewer. Click the Modify button and then the  
Save button. This will make LyX use this viewer no matter what the  
OS default is.


3. Generate .PDFs instead of .DVIs (even choosing dvipdfm, if you like).

Bennett

missing character (Lyx on Mac)

2005-10-19 Thread Max

Hi everybody,

I've just installed Lyx and even though things went fairly smooth,  
I'm struggling with a bunch of minor issues.
(Using the latest Lyx version, Mac OS 10.4.2, Powerbook with a german  
keyboard. Gerben Wierda's TeX, ghostscript8, Freetype2, libiconf,  
libwmf, ImaheMagick, cm-super packages, ran the Lyx Installer script)


- Lyx won't recognize the ^ key at all (as in x^3 for x cubed).  It  
does recognizeshift ^   though, which correctly yields°on  
my german keyboard.


- Whenever I click View - DVI nothing happens. Am I not supposed to  
get some kind of window displaying the Latex source code???



I'm planning to word process my math assignments (bachelor of  
computer science), so any help is highly appreciated!



Thanks again,

Max




Re: missing character (Lyx on Mac)

2005-10-19 Thread Bennett Helm

On Oct 19, 2005, at 8:01 PM, [EMAIL PROTECTED] wrote:


Hi everybody,

I've just installed Lyx and even though things went fairly smooth,  
I'm struggling with a bunch of minor issues.
(Using the latest Lyx version, Mac OS 10.4.2, Powerbook with a  
german keyboard. Gerben Wierda's TeX, ghostscript8, Freetype2,  
libiconf, libwmf, ImaheMagick, cm-super packages, ran the Lyx  
Installer script)


- Lyx won't recognize the ^ key at all (as in x^3 for x cubed).  It  
does recognizeshift ^   though, which correctly yields° 
on my german keyboard.


I'm not sure how the German keyboard affects this, so I'll let  
someone else answer.


- Whenever I click View - DVI nothing happens. Am I not supposed  
to get some kind of window displaying the Latex source code???


Do you have a default .dvi viewer in the Finder? If not, LyX will  
tell your Mac to open it, but your Mac won't know what to do with it,  
and nothing will happen. I suspect that's your problem.


To solve it, you can do any one of 3 things here:

1. In the Finder, find a .dvi file on your Mac (perhaps generated  
from LyX with File  Export), and do File  Get Info In the  
window that pops up, make sure your have a .dvi viewer selected in  
the Open With drop-down list, and click on the Change all button  
to make it the default for your Mac.


2. In LyX, go to File  Preferences  File Formats, and select DVI in  
the list, changing the Viewer field to open -a xxx, where xxx is  
the name of your .dvi viewer. Click the Modify button and then the  
Save button. This will make LyX use this viewer no matter what the  
OS default is.


3. Generate .PDFs instead of .DVIs (even choosing dvipdfm, if you like).

Bennett

missing character (Lyx on Mac)

2005-10-19 Thread Max

Hi everybody,

I've just installed Lyx and even though things went fairly smooth,  
I'm struggling with a bunch of minor issues.
(Using the latest Lyx version, Mac OS 10.4.2, Powerbook with a german  
keyboard. Gerben Wierda's TeX, ghostscript8, Freetype2, libiconf,  
libwmf, ImaheMagick, cm-super packages, ran the Lyx Installer script)


- Lyx won't recognize the ^ key at all (as in x^3 for x cubed).  It  
does recognizeshift ^   though, which correctly yields°on  
my german keyboard.


- Whenever I click View -> DVI nothing happens. Am I not supposed to  
get some kind of window displaying the Latex source code???



I'm planning to word process my math assignments (bachelor of  
computer science), so any help is highly appreciated!



Thanks again,

Max




Re: missing character (Lyx on Mac)

2005-10-19 Thread Bennett Helm

On Oct 19, 2005, at 8:01 PM, [EMAIL PROTECTED] wrote:


Hi everybody,

I've just installed Lyx and even though things went fairly smooth,  
I'm struggling with a bunch of minor issues.
(Using the latest Lyx version, Mac OS 10.4.2, Powerbook with a  
german keyboard. Gerben Wierda's TeX, ghostscript8, Freetype2,  
libiconf, libwmf, ImaheMagick, cm-super packages, ran the Lyx  
Installer script)


- Lyx won't recognize the ^ key at all (as in x^3 for x cubed).  It  
does recognizeshift ^   though, which correctly yields° 
on my german keyboard.


I'm not sure how the German keyboard affects this, so I'll let  
someone else answer.


- Whenever I click View -> DVI nothing happens. Am I not supposed  
to get some kind of window displaying the Latex source code???


Do you have a default .dvi viewer in the Finder? If not, LyX will  
tell your Mac to open it, but your Mac won't know what to do with it,  
and nothing will happen. I suspect that's your problem.


To solve it, you can do any one of 3 things here:

1. In the Finder, find a .dvi file on your Mac (perhaps generated  
from LyX with File > Export), and do File > Get Info In the  
window that pops up, make sure your have a .dvi viewer selected in  
the "Open With" drop-down list, and click on the "Change all" button  
to make it the default for your Mac.


2. In LyX, go to File > Preferences > File Formats, and select DVI in  
the list, changing the Viewer field to "open -a xxx", where "xxx" is  
the name of your .dvi viewer. Click the "Modify" button and then the  
"Save" button. This will make LyX use this viewer no matter what the  
OS default is.


3. Generate .PDFs instead of .DVIs (even choosing dvipdfm, if you like).

Bennett