Re: some symbols in Lyx 2.2.0 throw error
On 08/16/2016 09:23 PM, Guenter Milde wrote: On 2016-08-15, Michael Berger wrote: On 08/14/2016 11:34 PM, Richard Heck wrote: On 08/14/2016 08:24 AM, Michael Berger wrote: it is as you said, but not only applies to symbols in ERT but in other cases in ordinary text as well. There are several cases of symbol-characters in LyX: 1. ERT (LyX shows the symbol name in red) in a LaTeX box in text 2. ERT (LyX shows the symbol name in red) in mathed 3. Unicode character in text 4. Unicode character in mathed 5. math-symbol in mathed (LyX changes the input text into a symbol or supports inserting via menu). * With 1) and 2), you are on your own - see in the symbol list which package is required and add it to the user-preamble. * Variants 3 to 5 should auto-load a package if required. If not, file a bug report (or mail to the list) which symbols fail and whether in text or math mode. You can also try to copy the "unicodesymbols" file from the LyX dir to the LyX user dir (~/.lyx/ on Unix) and add definitions for missing characters. (post your patches...). What I must conclude now is that there is no consistent rule in using symbols from Scott Pakin's 'The Comprehensive LaTeX Symbol List' (Nov. 2015). And this is not at all surprising when looking at the huge amount of 14032 symbols listed there, just good to know! In addition, not all of the packages listed there work together and some nameclashes exist... Günter Thanks Günter, for your very informative comment (I wasn't really aware of all these) but then a bit too much of a challenge to me as a user. Most of my documents are of type linguistics and meanwhile I get pretty well along with #1 and #2 - being aware that there are clashes and not every symbol from the list works (in cases not even if they are from the same group). Knowing now what is fact I can live with it. My engineering documents are loaded with heaps of formulas but so far I have not been facing problems here inserting symbols. Then I tried around with #5 and find the variety of available symbols simply to be inserted via menu is enormous. I will attend to that "unicodesymbols" file you mentioned - sounds interesting! But adding definitions for missing characters is something I've never done before :-\ Cheers, Michael
Re: some symbols in Lyx 2.2.0 throw error
On 2016-08-15, Michael Berger wrote: > On 08/14/2016 11:34 PM, Richard Heck wrote: >> On 08/14/2016 08:24 AM, Michael Berger wrote: > it is as you said, but not only applies to symbols in ERT but in other > cases in ordinary text as well. There are several cases of symbol-characters in LyX: 1. ERT (LyX shows the symbol name in red) in a LaTeX box in text 2. ERT (LyX shows the symbol name in red) in mathed 3. Unicode character in text 4. Unicode character in mathed 5. math-symbol in mathed (LyX changes the input text into a symbol or supports inserting via menu). * With 1) and 2), you are on your own - see in the symbol list which package is required and add it to the user-preamble. * Variants 3 to 5 should auto-load a package if required. If not, file a bug report (or mail to the list) which symbols fail and whether in text or math mode. You can also try to copy the "unicodesymbols" file from the LyX dir to the LyX user dir (~/.lyx/ on Unix) and add definitions for missing characters. (post your patches...). > What I must conclude now is that there is no consistent rule in using > symbols from Scott Pakin's 'The Comprehensive LaTeX Symbol List' (Nov. > 2015). > And this is not at all surprising when looking at the huge amount of > 14032 symbols listed there, just good to know! In addition, not all of the packages listed there work together and some nameclashes exist... Günter
Re: some symbols in Lyx 2.2.0 throw error
On 08/14/2016 11:34 PM, Richard Heck wrote: On 08/14/2016 08:24 AM, Michael Berger wrote: Dear Lyx friends, in Lyx 2.1 I could use e.g. '\HandRight' in an ERT box to produce this symbol☞ but in Lyx 2.2.0 I get an errorwhile other symbolse.g. '\textcopyright' just work as before. How can one identify which symbols from the comprehensive list of latex symbols do / do not work in Lyx 2.2.0 ? If this is in ERT, then the issue is with LaTeX. You may need to load some package manually that was, for some reason, being loaded automatically in 2.1.x. Richard Richard, it is as you said, but not only applies to symbols in ERT but in other cases in ordinary text as well. I had to add to the preamble: \usepackage{bbding} \usepackage{phaistos} \usepackage{hieroglf} to satisfy my needs. What I must conclude now is that there is no consistent rule in using symbols from Scott Pakin's 'The Comprehensive LaTeX Symbol List' (Nov. 2015). And this is not at all surprising when looking at the huge amount of 14032 symbols listed there, just good to know! Thanks to all who invest their time to make working with Lyx easier! Michael
Re: some symbols in Lyx 2.2.0 throw error
On 08/14/2016 08:24 AM, Michael Berger wrote: > > Dear Lyx friends, > > in Lyx 2.1 I could use e.g. '\HandRight' in an ERT box to produce this > symbol ☞ > > but in Lyx 2.2.0 I get an errorwhile other symbolse.g. > '\textcopyright' just work as before. > > How can one identify which symbols from the comprehensive list of > latex symbols do / do not work in Lyx 2.2.0 ? If this is in ERT, then the issue is with LaTeX. You may need to load some package manually that was, for some reason, being loaded automatically in 2.1.x. Richard