Re: Custom box inset and custom bullets
Guenter Milde writes: > Or with the GUI in Document>Settings>... No, I wanted to do it on a per-list basis. Thanks Nick
Custom box inset and custom bullets
Dear list, I have looked at the mailing lists and wiki but can't find what I want. What I'd like to do is: (1) to create a module defining a new box inset type with an oval frame and framesep=12pt, space between lines=medskip, which I can then apply to bits of my documents. (2) Also I'd like to know how to change the bullet type for each individual line (itemize environment) - using renewcommand? Thanks for any pointers Nick
Re: Windows: Graphics preview doesn't work using Lyxlauncher.exe
Vincent van Ravesteijn - TNW wrote: Is this a known issue? http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74448.html Thanks. -- Nick Bell m...@nickbell.org
Windows: Graphics preview doesn't work using Lyxlauncher.exe
Apologies if this has been said before, but I have only ever been able to get graphics preview to work if I start LyX by running lyx.exe. If I use the default LyXlauncher.exe, I can't preview .eps, .pdf (although .png works). Is this a known issue? -- Nick Bell m...@nickbell.org
Thanks for the Alternative Installer!
Just a quick note to say thanks for the Alternative Installer for LyX 1.6.2. Having banged my head against a brick wall for a day trying to get EPS/PDF previews to work using the standard Windows installer, messing around with paths etc., the complete alternative installer Just Worked. Just as I was about to despair having switched back to Windows** on my work laptop, all is now well. Thanks! **I spent too much time in a virtual machine on Ubuntu... -- Nick Bell m...@nickbell.org
Re: Is Lyx suitable for me?
Panos Katergiathis wrote: b) Is it possible that, whenever i insert an image, have it automatically scaled to fit on the with of the "page"? LyX does this nicely - you can set image width to 100 % of column width. - Nick Bell m...@nickbell.org
Re: LyX 1.6.1 binaries for Ubuntu
Just a note to the newbies (like me): This works with a fresh Ubuntu 8.10 install, having installed texlive-full first using synaptic package manager. Nick Christopher Menzel wrote: On Dec 15, 2008, at 10:21 AM, Fritz Bein wrote: Am 15.12.2008, 08:06 Uhr, schrieb Jürgen Spitzmüller Public release of LyX version 1.6.1 === Thank to all developpers for the new version of Lyx! Does anybody have the 1.6.1 Version as Ubuntu binaries and can put it on the Web? Quick Google search turns up: http://www.getdeb.net/release.php?id=3591 That's for Intrepid, btw. -chris
Re: Feature request: Insert->TODO
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg68906.html Manoj Rajagopalan wrote: Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert->Note->Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a "TODO" string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj -- Nick Bell 4F2, 1 Royston Terrace Edinburgh EH3 5QU Home 0131 552 1682 Work 0131 537 2417 Mobile 0796 764 8984 [EMAIL PROTECTED]
Re: Can't get interrupted enumerated list to work
Stefano Franchi wrote: Ah, that almost worked! What I need, after the suggested fix, is to add \suspend{enumerate} at the end of the previous numbered item, and \resume{enumerate} at the end of the standard paragraph. What I had been missing was the need to increase the depth level of the stadrd paragraph included in the \supend \resume command pair. Thanks everyone for increasing my LyX/LaTex knowledge. Could you please make a wiki entry for this, if you get a minute? This is something I'd very much like to do. Nick
Re: lyx pipe and skim
Konrad Hofbauer wrote: Nick Bell wrote: I can't get it to work now either! It did not work for me either anymore - I thought. However, it WORKS for me (with or without the full path to lyxeditor, or with the LyX preference in Skim) when Shift-Option-Command-click in Skim (instead of Option-Click). Did I change my config here somewhere, or is the Help wrong in Skim? /Konrad Good heavens, so it does! Thanks to you! Nick
Re: lyx pipe and skim
Nils Becker wrote: Konrad, Nick, thanks for your proposals This only worked for me when I set the Lyx pipe location to: /Applications/LyX.app/Contents/Resources/lyxpipe Nick This doesn't seem to do it for me, unfortunately. I tried that a while ago, and what I used was in Skim: Preset: Custom Command: /Applications/LyX.app/Contents/MacOS/lyxeditor Arguments: "%file" %line But I don't use it anymore - got used to using the outliner instead. /Konrad I had tried that one. Nope. cheers, Nils I can't get it to work now either! Nick
Re: lyx pipe and skim
Nils Becker wrote: Hi, I was trying to use Skim and LyX 1.5.7 for inverse PDF searching. It did not work for me. MacOSX 10.5.5. I did the following: - install mactex 2008 put \usepackage{pdfsync} in the preamble set the pdf (pdflatex) viewer to open -a Skim.app restart lyx on viewing the PDF file, Skim gets called, fine. I set lyx as the editor for inverse search in Skim. Now, option-click or option-shift click is supposed to jump to the line in the lyx editor, but it doesn't. - I tried explicitly deleting .lyxpipe.in and .lyxpipe.out, which are in the default location ~/Library/Application Support/Lyx-1.5/ and then restarting lyx. I also tried to run lyx -dbg any: no message at all when clicking the PDF file in Skim. Any ideas what goes wrong? is this lyx or skim? cheers, Nils This only worked for me when I set the Lyx pipe location to: /Applications/LyX.app/Contents/Resources/lyxpipe Nick
Re: Print list of notes
Jürgen Spitzmüller wrote: Nick Bell wrote: I also took the \requirepackage{todonotes} out of the module-preamble, and put it in the document manually, so that I can disable todonotes from time to time with \usepackage[disabled]{todonotes}. putting "disabled" in Document->Class Options will also work. Jürgen Oops, I'm not able to disable notes with: http://img.skitch.com/20081120-jrspk56cdmufhqjtwe98rjjbjt.jpg Tried removing numbers and super options as well, that didn't work. Any ideas?
Re: Print list of notes
Jürgen Spitzmüller wrote: I also took the \requirepackage{todonotes} out of the module-preamble, and put it in the document manually, so that I can disable todonotes from time to time with \usepackage[disabled]{todonotes}. putting "disabled" in Document->Class Options will also work. I'd forgotten about that. How does LyX know which packages to disable? Nick
Re: Print list of notes
Jürgen Spitzmüller wrote: Nick Bell wrote: Thanks for that, but how do I print a list of comments? Nick With some trickery, you can redefine the LyX comments (not Notes, though) to be output as todonotes. Using the todonotes package [1], this gives output that might look like what you want. Attached is an example. Provided that you use LyX LyX 1.6, you can use the attached module (save it in your (layouts folder), which will, if it is loaded, automatically output all your comments as todonotes. The list of todonotes is produced by the ERT command \listoftodos. Shortcomings: - it gives an error if you have comments with multiple paragraphs and a \listoftodos (\todo notes are only for single paragraphs) - it inserts blanks in the text (this is done by the package) HTH, Jürgen [1] http://ctan.org/tex-archive/macros/latex/contrib/todonotes That's very helpful, thanks. I altered the .module thus: --todonotes.module #\DeclareLyXModule{Todo-notes} #DescriptionBegin #Displays the LyX notes in the output. A list of todo notes can be produced #by inserting \listoftodos in ERT. #DescriptionEnd # Author: Juergen Spitzmueller <[EMAIL PROTECTED]> Format 11 Preamble \newcommand{\smalltodo}[1]{\todo[color=yellow, caption={#1}, size=\footnotesize]{\begin{spacing}{1}#1\end{spacing}}} EndPreamble InsetLayout Note:Comment LabelString comment/todo LatexType command LatexName smalltodo MultiPar false End -- So that all todos are small, yellow and with single line spacing. I also took the \requirepackage{todonotes} out of the module-preamble, and put it in the document manually, so that I can disable todonotes from time to time with \usepackage[disabled]{todonotes}. Note that the todonotes package switches on hyperlinks in citations via hyperref, even when the todonotes package is disabled - but you can fix this in the Document Settings by enabling hyperref and making sure 'No frames around links' is ticked. I would like to get in touch with the author about (i) the hyperref issue and (ii) the additional line space after the end of text in the comment box. Does anyone know where I might find him? There's no address on http://midtiby.blogspot.com/2008/07/todonotes-version-2008-07-28.html. Many thanks - this is getting more fun! Nick
Re: Print list of notes
rgheck wrote: rgheck wrote: Nick Bell wrote: Charles de Miramon wrote: Nick Bell wrote: Is there anyway in which I can print a list of notes, preferably with page references? What kind of notes ? footnotes, endnotes, to-do notes Lyx Notes Note, there's no simple way. But if you switch them all to comments, then they get output as \begin{comment}...\end{comment}, and then you can arrange to print them as you like. Oh, and to do that, you can use this command: notes-mutate Note Comment in the minibuffer. rh Thanks for that, but how do I print a list of comments? Nick
Re: Idiot's guide to creating a new style - or inset?
Richard Heck wrote the following on 17/11/2008: The label can't be modified. You could try a charstyle. You could also try Decoration minimalistic. Charstyle works well, but I suppose I can't set the style of the displayed label to super/subscript can I? (That would probably be a bit WYSIWYG). I've got more or less what I want with $_{\text{XYZ}}$ command sequences bound to keys. Thanks, Nick
Re: Print list of notes
Charles de Miramon wrote: Nick Bell wrote: Is there anyway in which I can print a list of notes, preferably with page references? What kind of notes ? footnotes, endnotes, to-do notes Lyx Notes Thanks Nick
Re: TOC in fullscreen
Ivan Werning wrote: When entering full screen mode I sometimes get the table of contents panel on the right. It is sporadic. Anyone experience this? Yes, on my Mac. Haven't seen it on Windows. ~Nick
Print list of notes
Dear all, Is there anyway in which I can print a list of notes, preferably with page references? Many thanks ~Nick
Re: \bind-files (Mac, 1.6)
Nick Bell wrote: To try to put them back I put \bind-file "mac" Err that's the problem - it should be \bind_file "mac" not \bind-file "mac". ~Nick
\bind-files (Mac, 1.6)
Good morning LyXians, I've made some useful key bindings to help me insert super/subscript text: % Replace selected text with text subscript \bind "C-M-equal" "command-sequence cut;math-mode; math-subscript; math-insert \text{;paste;math-insert };char-right;char-right;char-right" % Enter text subscript mode \bind "C-equal" "command-sequence math-mode; math-subscript; math-insert \text{};char-right;char-right;char-right;char-left;down;char-left;" % Replace selected text with text superscript \bind "C-S-M-equal" "command-sequence cut;math-mode; math-superscript; math-insert \text{;paste;math-insert };char-right;char-right;char-right" % Enter text superscript mode \bind "C-S-equal" "command-sequence math-mode; math-superscript; math-insert \text{};char-right;char-right;char-right;char-left;up;char-left;" Which I save as nick.bind in ~/Library/Application Support/LyX-1.6/bind, and switch the bind file in the preferences dialog to the file, my new shortcuts work, but I lose the mac.bind bindings (as expected from documentation). To try to put them back I put \bind-file "mac" as the first line of nick.bind, save preferences and restart. Doesn't work; I try \bind-file "mac.bind", \bind-file mac, \bind-file mac.bind, and none of these work either. I then try copying my mac.bind file from /Applications/... to ~/Library/Application Support/LyX-1.6/bind, and I still can't get the \bind-file command to work. I got what I want by adding my customisations to the bottom of the copy of mac.bind placed in my userdir/bind. Is there a way of getting the proper \bind-file behaviour to work? ~Nick
Re: Idiot's guide to creating a new style - or inset?
rgheck wrote: > #\DeclareLyXModule{TextSuperSub} > #DescriptionBegin > #Adds an endnote inset, in addition to footnotes. You will need to add > #\theendnotes in ERT where you want the endnotes to appear. > #DescriptionEnd > > Format 11 > > InsetLayout Custom:Superscript > LyXTypecustom > LatexNametextsuperscript > LatexTypecommand > Decoration classic > Font > SizeSmall > EndFont > MultiPar false > LabelStringsuper > End That works brilliantly, thanks. Now how do I get the inset label to be equal to the parameter (e.g. XYZ in \textsuperscript{XYZ})? Or should I be using a user defined char style (??) ? ~Nick
Idiot's guide to creating a new style - or inset?
Dear LyXians, Despite doing my best looking through the wiki and email archives, I'm stumped, and I think I'd better ask for help. I'd like to use \textsuperscript{} and \textsubscript{} (available in the KOMA-script classes) to generate 'true' super- and sub-scripts. I can do this with ERT of course, but it looks ugly and interrupts the flow of reading. Is there a way in which I can add a new style (?char style ?inset) so that all I see of the \textsuperscript{XYZ} is the parameter, i.e. XYZ (perhaps in some particular font). I think I need to be creating a new InsetLayout, but I don't know exactly what to put in the file or where to save it for it to be accessible as a module. I know that documentation for this is coming soon but I'd like to learn as soon as possible. Many thanks ~Nick
Editor line spacing
Dear LyXians Is there a way of increasing the spacing between the lines in the *editor* (not the finished output)? Many thanks again Nick
Searching
Hi, Is there a way to search for text content, irrespective of markup? e.g. if I have H\textsubscript{2}O or H$_{\text{2}}$O in the text, searching for 'H2O' results in 'not found'. This is a bit difficult when writing docs with parameters like scond (S\textsubscript{cond}) and sacin (S\textsubscript{acin}). Many thanks Nick Bell
Re: Fwd: LyX 1.6: Hangs on large shift+up selection
Manveru wrote: Windows XP SP2, clean install of new LyX 1.6 (classic installer). I am working on divide&conquer with problem I have with imported document, and I want to select large fragment of my document by holding shift+up. After couple hundreds lines LyX enters infinite loop (consumes half of my dual core) just before chapter name. Only way to unlock the application is to kill it. Can anyone confirm such behaviour? Yes, also on Mac with 1.6.0 and with the UserGuide. 1) Open the user-guide 2) Select All -> copy 3) Go to end 4) Shift-PageUP-PageUP-PageUP-... -> Freeze Bugzilla entry: http://bugzilla.lyx.org/show_bug.cgi?id=5504 Same problem here with Mac OS X Leopard (10.5.5) and Lyx 1.6.0 (Nov 7 2008). With User Guide open, and having copied even a word to the clipboard, shift+Page Up a few times causes crash. Console shows: 12/11/2008 22:17:53 [0x0-0x306306].org.lyx.lyx[11974] latex failed to compile 0lyxpreview.tex 12/11/2008 22:17:54 [0x0-0x306306].org.lyx.lyx[11974] GPL Ghostscript 8.63: Unrecoverable error, exit code 1 12/11/2008 22:17:54 [0x0-0x306306].org.lyx.lyx[11974] dvipng warning: No GhostScript pngalpha output, cannot render raw PostScript 12/11/2008 22:17:54 [0x0-0x306306].org.lyx.lyx[11974] GPL Ghostscript 8.63: Unrecoverable error, exit code 1 Can't reproduce the error with Display Graphics switched off in User Preferences. -- Nick Bell
Re: SPAM Blocking: [EMAIL PROTECTED]
Seems to work now. (Sorry for the tests)
Re: SPAM Blocking: [EMAIL PROTECTED]
Keith Roberts wrote: Lets see...
Putting section names at top of page
Hi, Can someone point me to an easy-to-understand way of including the current \section{} name at the top of the page, *unless* the first item on the [typeset] page is already a \section{}? I'm sure lots of people want to do this, and have done it, but I can't work it out myself. Many thanks Nick
Putting section names at top of page 7A2-99B
Hi, Can someone point me to an easy-to-understand way of including the current \section{} name at the top of the page, *unless* the first item on the [typeset] page is already a \section{}? I'm sure lots of people want to do this, and have done it, but I can't work it out myself. Many thanks Nick
Putting section names at top of page
Hi, Can someone point me to an easy-to-understand way of including the current \section{} name at the top of the page, *unless* the first item on the [typeset] page is already a \section{}? I'm sure lots of people want to do this, and have done it, but I can't work it out myself. Many thanks Nick
Re: Re: Koma-Script Letter 2 - Align logo to top of page, add space between closing statement and signature
Rich Shepard wrote: > If you need more let me know. > > Rich > So, simply put, % Add 2cm gap before signature \makeatletter [EMAIL PROTECTED] ... in the preamble adds the 2cm gap I need. Great! I also increased the amount by which the fold marks are nudged in from the page edge using: [EMAIL PROTECTED] What I still haven't got is the steps to put the logo up in the top left corner (margin corner, not page corner). Could you highlight the steps to do this? Many thanks indeed Nick
Koma-Script Letter 2 - Align logo to top of page, add space between closing statement and signature
Hi - I'm trying to write a letter using scrlttr2: 1. The logo is too far down, merging with the to: address. I can't for the life of me find a way to move it right up to the top margin. Can anyone help? 2. How do I actually set the pseudolength sigbeforevskip, to increase the space between the closing statement and signature? I've tried putting things in the preamble, but just get errors. Many thanks for your help Nick
Koma-Script Letter 2 - Align logo to top of page, add space between closing statement and signature
Hi - I'm trying to write a letter using scrlttr2: 1. The logo is too far down, merging with the to: address. I can't for the life of me find a way to move it right up to the top margin. Can anyone help? 2. How do I actually set the pseudolength sigbeforevskip, to increase the space between the closing statement and signature? I've tried putting things in the preamble, but just get errors. Many thanks for your help Nick
1.6 Mac Binary?
Hi there, Is there any timeline for a Mac binary of Lyx 1.6 (RC or final) being posted somewhere? 1.6 has lots of nice improvements ... Thanks Nick -- Nick Bell [EMAIL PROTECTED]
[Mac 1.5.6] No information for converting xpm format files to png; Unable to add xpm to png converter
Hi, I'm unable to generate a PDF from the EmbeddedObjects.lyx help file: I get the error "No information for converting xpm format files to png. Define a converter in the preferences." http://img.skitch.com/20081031-qa9ejyijjxmyxfekjtmjirmnwx.jpg When I go to the preferences, there is no converter for XPM to PNG, and the Add and Modify buttons are greyed out: http://img.skitch.com/20081031-mjb9yfpit92s8xr96q7ipdc3kh.jpg I am able to save e.g. Look and Feel preferences. ImageMagick 6.4.1 is installed in /usr/local/bin which is in the PATH. Any ideas? I'm using Leopard. -- Nick Bell [EMAIL PROTECTED]