Re: Forward search with Sumatra stopped working
On Wed, Aug 17, 2016 at 08:44:47PM +0200, racoon wrote: > Forward search with Sumatra stopped working. "stopped" with respect to what? Meaning did you change your LyX version? Are you using the master branch? Did you update anything else? Scott signature.asc Description: PGP signature
Forward search with Sumatra stopped working
Forward search with Sumatra stopped working. On Forward Search Sumatra complains about "Error loading: ". Does someone have similar problems? Daniel
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: pseudocode
On 14/08/2016 23:33, Richard Heck wrote: On 08/14/2016 07:43 AM, Kiuhnm wrote: Hello, I'd like to insert some pseudocode in my paper using my own style. For instance, I don't like "endwhile", "endif", and similar. Here's an example of what I'd like (use a monospaced font): for $I_1$: for $I_2$: $X_{I_1}\leftarrow I usually use the enumerate environment (with the enumitem module) for this but this time I got the error "nested too deep". And, frankly, enumerate is not very convenient for algorighms because one needs to change the spacing, hide the labels, etc... Basically, I just need a way to indent lines the way I like and be able to use math. Doesn't the listings environment allow this? Here's an easy solution: \begin_body \begin_layout Standard \begin_inset FormulaMacro \newcommand{\tab}{\-\ \-\ \-\ } {} \end_inset \end_layout \begin_layout Standard pokpokpokp \end_layout \begin_layout Standard \begin_inset Formula $\tab$ \end_inset ijijijij \end_layout \begin_layout Standard \begin_inset Formula $\tab\tab$ \end_inset sdfsdfsdf \end_layout \begin_layout Standard \begin_inset Formula $\tab\tab\tab$ \end_inset dfdfgdfdg \end_layout \end_body
Re: pseudocode
On 14/08/2016 23:33, Richard Heck wrote: On 08/14/2016 07:43 AM, Kiuhnm wrote: Hello, I'd like to insert some pseudocode in my paper using my own style. For instance, I don't like "endwhile", "endif", and similar. Here's an example of what I'd like (use a monospaced font): for $I_1$: for $I_2$: $X_{I_1}\leftarrow I usually use the enumerate environment (with the enumitem module) for this but this time I got the error "nested too deep". And, frankly, enumerate is not very convenient for algorighms because one needs to change the spacing, hide the labels, etc... Basically, I just need a way to indent lines the way I like and be able to use math. Doesn't the listings environment allow this? I can't use math in listings and I don't like the monospaced font. Kiuhnm