Re: Helper function/shortcut
On 26/11/2008 17:10, rgheck wrote: Frank Grimm wrote: On 25/11/2008 14:33, rgheck wrote: Frank Grimm wrote: I tried the following command sequence command-sequence font-ital; self-insert i.e.; font-ital where I replaced font-emph in your suggestion with font-ital since I don't want the i.e. the be emphasized, but just in italic shape. But when I use the shortcut for this command LyX tells me that the command is disabled. Are there any restrictions for the font-ital command that the font-emph command doesn't have? Apparently, yes. This seems like a bug. In fact, from what I can tell, font-ital never does anything in the current code. I'm using font-emph for now, as you suggested. But I'm not sure whether font-ital and font-emph have the same meaning. It doesn't matter to me since both font styles result in the text being set in the same italic font when using pdflatex output, but maybe for other output formats different fonts are used. font-emph produces emphasis, whatever the existing font. Exactly what it does is determined by LaTeX. So emphasizing something emphasized makes sense. font-ital just turns on italics. You can italicize what's already italicized. Right, my point just was that for abbreviations like "e.g." or "i.e.", an italic font would make more sense than to emphasize these abbreviations since they don't have to be emphasized imho. Anyway, maybe font-ital will be implemented (realized) in a future LyX release, font-emph works for now... Frank
Re: Helper function/shortcut
On 25/11/2008 14:33, rgheck wrote: Frank Grimm wrote: I tried the following command sequence command-sequence font-ital; self-insert i.e.; font-ital where I replaced font-emph in your suggestion with font-ital since I don't want the i.e. the be emphasized, but just in italic shape. But when I use the shortcut for this command LyX tells me that the command is disabled. Are there any restrictions for the font-ital command that the font-emph command doesn't have? Apparently, yes. This seems like a bug. In fact, from what I can tell, font-ital never does anything in the current code. I'm using font-emph for now, as you suggested. But I'm not sure whether font-ital and font-emph have the same meaning. It doesn't matter to me since both font styles result in the text being set in the same italic font when using pdflatex output, but maybe for other output formats different fonts are used. Thanks again, Frank
Re: Helper function/shortcut
Richard, thanks for your reply! On 24/11/2008 16:20, Richard Heck wrote: Frank Grimm wrote: Is there any way to add pre-formatted text to a LyX document? For example, when inserting "i.e." with the shortcut described above, I'd like to set "i.e." in an italic style and with a thin space between the two characters. Is this possible with LyX 1.6? Yes, it should be. You can do it inside your bind file for now. You'll need to use something like: command-sequence font-emph; self-insert i.e.; font-emph; space-insert normal Modify as required. I tried the following command sequence command-sequence font-ital; self-insert i.e.; font-ital where I replaced font-emph in your suggestion with font-ital since I don't want the i.e. the be emphasized, but just in italic shape. But when I use the shortcut for this command LyX tells me that the command is disabled. Are there any restrictions for the font-ital command that the font-emph command doesn't have? Thanks, Frank
Helper function/shortcut
Hi, I'm looking for a way to insert (pre-formatted) text into a LyX document using a keyboard shortcut. For example, I'd like to insert "i.e." when pressing a certain key combination. I tried to use the LyX function "self-insert" with the argument "i.e.", but with LyX 1.6 I only got the error message: "Can not insert shortcut to the list". Is there any way to add pre-formatted text to a LyX document? For example, when inserting "i.e." with the shortcut described above, I'd like to set "i.e." in an italic style and with a thin space between the two characters. Is this possible with LyX 1.6? Thanks, Frank
Re: Scroll below last text line in document window
On 09/11/2008 16:43, Frank Grimm wrote: > On 09/11/2008 16:03, Abdelrazak Younes wrote: >> On 09/11/2008 09:43, Frank Grimm wrote: >>> With Lyx 1.6 it's possible to set the width of the document (text) >>> window when working in full-screen mode. It is possible to do this >>> in 'normal' (not full-screen) mode? >> >> Not at this point but if there's enough interest, it could be done >> easily. Please put an enhancement request in bugzilla.lyx.org. > > OK, will submit a request. The bugzilla request ID is 5471 Bugzilla entry can be found at http://bugzilla.lyx.org/show_bug.cgi?id=5471 Cheers Frank
Re: Scroll below last text line in document window
On 09/11/2008 16:03, Abdelrazak Younes wrote: > On 09/11/2008 09:43, Frank Grimm wrote: >> With Lyx 1.6 it's possible to set the width of the document (text) >> window when working in full-screen mode. It is possible to do this in >> 'normal' (not full-screen) mode? > > Not at this point but if there's enough interest, it could be done easily. Please put an enhancement request in bugzilla.lyx.org. OK, will submit a request. >> I'm asking because when working on a Lyx document the bottom of the >> document is always on the bottom of the Lyx window (when the document's >> height exceeds the heigh of the Lyx window). I find this a bit annoying. >> Thus, I think it would be cool if one could scroll below the end of the >> document (probably until the last line hits the top of the document >> window). > > There's already an bugzilla entry about that... OK, thanks for the info. Could you please point me to that entry? > Not sure why you think this is related to the first item though. Right, both topics are only slightly related. But I thought that limiting the width and height of the document window would at least allow for raising the document's last line from the window's bottom ... Thank you Frank
Scroll below last text line in document window
Hello List! With Lyx 1.6 it's possible to set the width of the document (text) window when working in full-screen mode. It is possible to do this in 'normal' (not full-screen) mode? I'm asking because when working on a Lyx document the bottom of the document is always on the bottom of the Lyx window (when the document's height exceeds the heigh of the Lyx window). I find this a bit annoying. Thus, I think it would be cool if one could scroll below the end of the document (probably until the last line hits the top of the document window). Thanks, Frank
Re: Itemized list in table cell
On 06/11/2008 13:51, rgheck wrote: Frank Grimm wrote: Hi, I'm wondering if it's possible to put an itemized list into a table? The toolbar buttons for it are disabled when the cursor is inside a table cell. I'm using Lyx 1.6rc5 on Windows. You can do this, but I think you have to set the width of the cell explicitly Thanks, after setting the column width it worked fine :-) Frank
Itemized list in table cell
Hi, I'm wondering if it's possible to put an itemized list into a table? The toolbar buttons for it are disabled when the cursor is inside a table cell. I'm using Lyx 1.6rc5 on Windows. Thanks, Frank -- View this message in context: http://n2.nabble.com/Itemized-list-in-table-cell-tp1464601p1464601.html Sent from the LyX - Users mailing list archive at Nabble.com.