Re: multi page Algorithm Floats ?
Jaime Huerta Cepas wrote: Hi all, I wonder if there is any way of allowing Algorithm Float boxes to start in the middle of one page, and end in the next one. I'm using these kind of floats to include pieces of highlighted source code, so I guess text could be perfectly splitted. Then a float is not what you need. Floats float around, precisely because they need to stay in one piece. (table, picture, ...) If your algorithm can be split, then it don't need a float. Write your algorithm, just don't insert a float and you'll be fine. If you want nice formatting for your algorithm, consider Insert-Program Listing Listings are nice for computer code and similiar stuff. You can specify fonts, you can have syntax highlighting, you can have automatic line numbering if you like. Just right-click the listing box, and you'll see all the options. You can type listings into your document, but a listing may also get its content from (parts of) an external file. (Insert-File-child document, set the type to listing) This makes it possible to list parts of actual source code. That way, the working code and the document is always in sync - because the same file is used for both. No need to fix the document after fixing a bug. :-) Helge Hafting
How to switch varioref on?
Dear readers, I’m interested in cross-references like: ...see next page. OR ...see below. where I don’t get a number, but a word. I read that vaioref is package that does exactly that. I also read in some release file that LyX should support it, but how do I turn that on? I have varioref installed, but the cross-reference dialog only contains the formats with page, reference and “Formatted reference”, which means “use prettyref”, as far as I can see. How to use varioref references in LyX 1.6.3, Debian?? Regards, Robert
Re: aspell, cocoaspell with lyx - a fake?
On Thu, Aug 27, 2009 at 5:49 PM, Joachim Osnabryg o...@jpberlin.de wrote: = Has anyone installed Aspell or CocoAspell under Mac-OSX and has got them working with LyX in a reasonable manner? Would you please describe how you installed and configured it? joachim I'm glad you asked this question. I needed to add a Spanish language dictionary to cocoAspell and with a little googling and command line work, I got it working. The cocoAspell project appears moribund, the documentation is incomplete, and the site is beginning to suffer from link rot. I think the next time I need to install and configure LyX, I'll just install aspell using Fink and eschew using cocoAspell to make it available as an OS X service. First, install cocoAspell and make sure it's working properly with LyX as an English language spellchecker. That's pretty straight forward. cocoAspell installs a number of things. It installs aspell itself in /usr/local/bin and /usr/local/lib. It installs a preference pane in system preferences. It installs a large number of English dictionaries. It installs a service in ~/Library/Services. That's all OK. If you want the aspell service available in all user accounts, you'll need to move that last item, as root, to /Library/Services (you'll probably have to create that directory). If you just need the service available in the account from which you installed it, just leave things as cocoAspell installed it. You'll need to choose one of the available English dictionaries in the preference pane. Then in LyX preferences you choose aspell as the spellchecker and add this line to the Alternative Language field: /Library/Application Support/cocoAspell/aspell6-en-6.0-0/english.alias That's just following the instructions in the Wiki. Test that you can now spellcheck an English language document in LyX. Next, you'll need to download and install a German language dictionary. The link at the cocoAspell site is dead. Use this one: ftp://ftp.gnu.org/gnu/aspell/dict/0index.html Unzip the file and follow the README instructions to install the dictionary into aspell (it's the usual command line sequence of ./configure, make, make install, make clean). Now copy or move the dictionary directory (in my case it is aspell6-es-1.9a-1) to /Library/Application Support/cocoAspell. Chown the directory to match the English language directory ownership (it should be the name of your admin account as owner and 501 as group). Here's the tricky step. Be sure System Preferences is not running. Get into the command line and become root. Run System Preferences as root! Don't use the open command, instead give the full path to the executable: /Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences Do one thing and one thing only while running System Preferences as root. Click on the Spelling preference pane that cocoAspell installed so it finds, compiles and configures your new dictionary. Quit System Preferences. Reopen it from the GUI. You should now be able to choose your new dictionary. To use your new dictionary, change the Alternative Language field in LyX preferences appropriately. In my case, it's: /Library/Application Support/cocoAspell/aspell6-es-1.9a-1/spanish.alias Voilà! I now have Spanish language spellchecking in LyX. -- Rich TalleyMacTeXLive 2008 - LyX 1.6.3 MacBook Pro (Intel) OS X 10.5.8 Leopard -- Dealing with failure is easy: Work hard to improve. Success is also easy to handle: You've solved the wrong problem. Work hard to improve. -- Alan Perlis
Re: Help needed: LyX files Win-Linux Mint Gloria 7
KR Thorne wrote: Hello, I created a number of files in LyX under Windows Vista, saved in .lyx format. I have just migrated over to Linux Mint Gloria 7, and now my files will not open. I receive an error message: /media/FreeAgent Drive/Encryption Folder/Seagate Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is not a readable LyX document. I also tried the files I had copied to a data DVD, but cannot open them either. Both the Windows Lyx and the Linux LyX are the latest release, 1.6.2. This is extremely important, as these are manuscripts representing several years of work. At present I cannot simply open them in Windows, as my Windows installation was not working and the recovery disks are unsuccessful (ticket open with the laptop mfr). Any help would be greatly appreciated! In the midst of that path I see Encryption Folder. Was this folder by any chance automatically encrypted under Vista? If so, you may need to use Vista to move the files to an unencrypted folder somewhere. /Paul
Re: Help needed: LyX files Win-Linux Mint Gloria 7
2009/8/28 Paul A. Rubin ru...@msu.edu: KR Thorne wrote: [...] /media/FreeAgent Drive/Encryption Folder/Seagate Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is not a readable LyX document. I also tried the files I had copied to a data DVD, but cannot open them either. [...] In the midst of that path I see Encryption Folder. Was this folder by any chance automatically encrypted under Vista? If so, you may need to use Vista to move the files to an unencrypted folder somewhere. This may be a folder encrypted by External HDD itself. I am wondering whether these files on DVD are copied under Vista (probably unencrypted) or under Windows. It would be nice to look into files to check whether are they text files or scrambled binary. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
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
words out of right margin with / or -
Hello, I noticed a strange behaviour: sometimes compound words or slash separated words like example/example or example-example confuse LaTeX (or LyX) and they could be printed outside of margins. You can put some example-example-example inside a random text in a new LyX document and PDFize it. you will notice the behaviour. How to avoid it? Thanks.
Re: words out of right margin with / or -
On Friday 28 August 2009 08:51:05 am Piero wrote: Hello, I noticed a strange behaviour: sometimes compound words or slash separated words like example/example or example-example confuse LaTeX (or LyX) and they could be printed outside of margins. You can put some example-example-example inside a random text in a new LyX document and PDFize it. you will notice the behaviour. How to avoid it? Thanks. Hmm, actually I tried and didn't get any strange behavior. Are you sure it isn't a simple hyphenation problem, i.e. Latex doesn't have good hyphenation points and pushes the word into the margin? Try adding suggested hyphenation points to the word and see what happens: InsertFormattingHyphenation point Or subsitute breakable slashes for the slashes (usually: type ctrl-/ instead of just /). S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Help needed: LyX files Win-Linux Mint Gloria 7
On 08/27/2009 11:08 PM, KR Thorne wrote: Hi rh, Attached is a sample file done in the Windows version of LyX. I cannot open this file in LyX 1.6.2 installed on my Linux Mint 7 Gloria system -- returns the same error message as below. I've tried several files, all with the same result. Please let me know what you find. Well, if I save it to /tmp/, it opens up just fine, so that didn't tell us very much. I think the issue is certainly the one pointed out by Paul and Manervu: The document is encrypted in some way, but LyX is not getting a decrypted version. The only way you can get that message is if the first non-comment line of the file isn't \lyxformat ..., which it certainly would be. Try copying the file to your home directory and opening it from there. If that does not work, open a terminal and run cat myfile.lyx. If you don't see something like this: #LyX 1.6.3 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header and in particular if you get jumbled garbage, then we've found the problem. That said, the fact that I could open the file you sent me suggests that copying your LyX files to your home directory may be all you need to do. Richard
Re: Custom box inset and custom bullets
On 08/28/2009 09:43 AM, Nick Bell wrote: 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. Is the issue here how to do the LaTeX, or how to define the Flex inset? (2) Also I'd like to know how to change the bullet type for each individual line (itemize environment) - using renewcommand? \renewcommand{\labelitemi}{$\star$} \renewcommand{\labelitemii}{$\rightarrow$} etc. rh
Re: How to switch varioref on?
On 08/28/2009 05:21 AM, Robert Siemer wrote: Dear readers, I’m interested in cross-references like: ...see next page. OR ...see below. where I don’t get a number, but a word. I read that vaioref is package that does exactly that. I also read in some release file that LyX should support it, but how do I turn that on? I have varioref installed, but the cross-reference dialog only contains the formats withpage,reference and “Formatted reference”, which means “use prettyref”, as far as I can see. How to use varioref references in LyX 1.6.3, Debian?? Is there anything about this on the wiki? rh
Re: Single Spacing in Caption
On Aug 27, 2009, at 6:44 PM, Daniel Joshua Stark wrote: Dear All, I'm trying to make up my thesis, and the captions to figures are double-spaced as opposed to single-spaced, which is how the CLS directs it should be. I know I succeeded in getting single spaced subfigure captions in my thesis, but I don't remember how I did it specifically. I do know I used the hangcaption package Here are a few relevant lines from my preamble (not sure of the difference between the last two lines) %Decrease space around subfigure captions \renewcommand{\subfigcapskip}{3pt} \renewcommand{\subfigbottomskip}{6pt} %Caption revision as suggested by cornell class \usepackage{hangcaption} %\renewcommand{\caption}[1]{\singlespacing \hangcaption{#1}\normalspacing} \renewcommand{\caption}[1]{\hangcaption{#1}}
Re: words out of right margin with / or -
Piero schrieb: I noticed a strange behaviour: sometimes compound words or slash separated words like example/example or example-example confuse LaTeX (or LyX) and they could be printed outside of margins. In this cases you can use a breakable slash. (menu Insert - Special character) regards Uwe
Re: How to switch varioref on?
Robert Siemer schrieb: I’m interested in cross-references like: ...see next page. OR ...see below. Insert a cross-reference and choose in the appearing dialog the format reference on page page. This inserts in the background the LaTeX command \vref (provided by varioref). (For more info about reference formats, see sec. 3.4.1 of the EmbeddedObjects manual that you find in the Help menu.) regards Uwe
Re: aspell, cocoaspell with lyx - a fake?
Thank you very much, Richard, for your kindly and detailed help! First I uninstalled the aspell installed with MacPorts and tried to follow your instructions. Am 28.08.2009, 14:25 Uhr, schrieb Richard Talley: First, install cocoAspell and make sure it's working properly with LyX as an English language spellchecker. That's pretty straight forward. At least to that point I came. I wouldn't call it straight forward but the concentrated work of some hours, but anyway, the English language spellchecker seems to work usably in my LyX, if I needed it. I continued with installing and configuring the German language dictionary: Do one thing and one thing only while running System Preferences as root. Click on the Spelling preference pane that cocoAspell installed so it finds, compiles and configures your new dictionary. Quit System Preferences. Reopen it from the GUI. You should now be able to choose your new dictionary. OK, so far. Only: the crazy German spellchecking in LyX continued as yesterday. So I give up. I'm going to uninstall CocoAspell as well and shall use LyX without spellchecker. Sorry though! Congratulation to you, for getting usable the Spanish dict. But nevertheless I regard this complicated procedure as unreasonable and unacceptable for a normal LyX user. I remain with the conclusion: German language Aspell spellchecking in LyX on Mac-OSX is not practicable! joachim -- MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.3 MacBook Pro OSX 10.4.11 Tiger (intel)
Re: aspell, cocoaspell with lyx - a fake?
On Fri, Aug 28, 2009 at 12:25 PM, Joachim Osnabryg o...@jpberlin.de wrote: But nevertheless I regard this complicated procedure as unreasonable and unacceptable for a normal LyX user. Yes. Like so many things with computers. Sorry you couldn't get it working. Perhaps things will be better with LyX 2.0. -- Rich -- Dealing with failure is easy: Work hard to improve. Success is also easy to handle: You've solved the wrong problem. Work hard to improve. -- Alan Perlis
Re: multi page Algorithm Floats ?
Jaime Huerta Cepas wrote: Hi all, I wonder if there is any way of allowing Algorithm Float boxes to start in the middle of one page, and end in the next one. I'm using these kind of floats to include pieces of highlighted source code, so I guess text could be perfectly splitted. Then a float is not what you need. Floats float around, precisely because they need to stay in one piece. (table, picture, ...) If your algorithm can be split, then it don't need a float. Write your algorithm, just don't insert a float and you'll be fine. If you want nice formatting for your algorithm, consider Insert-Program Listing Listings are nice for computer code and similiar stuff. You can specify fonts, you can have syntax highlighting, you can have automatic line numbering if you like. Just right-click the listing box, and you'll see all the options. You can type listings into your document, but a listing may also get its content from (parts of) an external file. (Insert-File-child document, set the type to listing) This makes it possible to list parts of actual source code. That way, the working code and the document is always in sync - because the same file is used for both. No need to fix the document after fixing a bug. :-) Helge Hafting
How to switch varioref on?
Dear readers, I’m interested in cross-references like: ...see next page. OR ...see below. where I don’t get a number, but a word. I read that vaioref is package that does exactly that. I also read in some release file that LyX should support it, but how do I turn that on? I have varioref installed, but the cross-reference dialog only contains the formats with page, reference and “Formatted reference”, which means “use prettyref”, as far as I can see. How to use varioref references in LyX 1.6.3, Debian?? Regards, Robert
Re: aspell, cocoaspell with lyx - a fake?
On Thu, Aug 27, 2009 at 5:49 PM, Joachim Osnabryg o...@jpberlin.de wrote: = Has anyone installed Aspell or CocoAspell under Mac-OSX and has got them working with LyX in a reasonable manner? Would you please describe how you installed and configured it? joachim I'm glad you asked this question. I needed to add a Spanish language dictionary to cocoAspell and with a little googling and command line work, I got it working. The cocoAspell project appears moribund, the documentation is incomplete, and the site is beginning to suffer from link rot. I think the next time I need to install and configure LyX, I'll just install aspell using Fink and eschew using cocoAspell to make it available as an OS X service. First, install cocoAspell and make sure it's working properly with LyX as an English language spellchecker. That's pretty straight forward. cocoAspell installs a number of things. It installs aspell itself in /usr/local/bin and /usr/local/lib. It installs a preference pane in system preferences. It installs a large number of English dictionaries. It installs a service in ~/Library/Services. That's all OK. If you want the aspell service available in all user accounts, you'll need to move that last item, as root, to /Library/Services (you'll probably have to create that directory). If you just need the service available in the account from which you installed it, just leave things as cocoAspell installed it. You'll need to choose one of the available English dictionaries in the preference pane. Then in LyX preferences you choose aspell as the spellchecker and add this line to the Alternative Language field: /Library/Application Support/cocoAspell/aspell6-en-6.0-0/english.alias That's just following the instructions in the Wiki. Test that you can now spellcheck an English language document in LyX. Next, you'll need to download and install a German language dictionary. The link at the cocoAspell site is dead. Use this one: ftp://ftp.gnu.org/gnu/aspell/dict/0index.html Unzip the file and follow the README instructions to install the dictionary into aspell (it's the usual command line sequence of ./configure, make, make install, make clean). Now copy or move the dictionary directory (in my case it is aspell6-es-1.9a-1) to /Library/Application Support/cocoAspell. Chown the directory to match the English language directory ownership (it should be the name of your admin account as owner and 501 as group). Here's the tricky step. Be sure System Preferences is not running. Get into the command line and become root. Run System Preferences as root! Don't use the open command, instead give the full path to the executable: /Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences Do one thing and one thing only while running System Preferences as root. Click on the Spelling preference pane that cocoAspell installed so it finds, compiles and configures your new dictionary. Quit System Preferences. Reopen it from the GUI. You should now be able to choose your new dictionary. To use your new dictionary, change the Alternative Language field in LyX preferences appropriately. In my case, it's: /Library/Application Support/cocoAspell/aspell6-es-1.9a-1/spanish.alias Voilà! I now have Spanish language spellchecking in LyX. -- Rich TalleyMacTeXLive 2008 - LyX 1.6.3 MacBook Pro (Intel) OS X 10.5.8 Leopard -- Dealing with failure is easy: Work hard to improve. Success is also easy to handle: You've solved the wrong problem. Work hard to improve. -- Alan Perlis
Re: Help needed: LyX files Win-Linux Mint Gloria 7
KR Thorne wrote: Hello, I created a number of files in LyX under Windows Vista, saved in .lyx format. I have just migrated over to Linux Mint Gloria 7, and now my files will not open. I receive an error message: /media/FreeAgent Drive/Encryption Folder/Seagate Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is not a readable LyX document. I also tried the files I had copied to a data DVD, but cannot open them either. Both the Windows Lyx and the Linux LyX are the latest release, 1.6.2. This is extremely important, as these are manuscripts representing several years of work. At present I cannot simply open them in Windows, as my Windows installation was not working and the recovery disks are unsuccessful (ticket open with the laptop mfr). Any help would be greatly appreciated! In the midst of that path I see Encryption Folder. Was this folder by any chance automatically encrypted under Vista? If so, you may need to use Vista to move the files to an unencrypted folder somewhere. /Paul
Re: Help needed: LyX files Win-Linux Mint Gloria 7
2009/8/28 Paul A. Rubin ru...@msu.edu: KR Thorne wrote: [...] /media/FreeAgent Drive/Encryption Folder/Seagate Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is not a readable LyX document. I also tried the files I had copied to a data DVD, but cannot open them either. [...] In the midst of that path I see Encryption Folder. Was this folder by any chance automatically encrypted under Vista? If so, you may need to use Vista to move the files to an unencrypted folder somewhere. This may be a folder encrypted by External HDD itself. I am wondering whether these files on DVD are copied under Vista (probably unencrypted) or under Windows. It would be nice to look into files to check whether are they text files or scrambled binary. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
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
words out of right margin with / or -
Hello, I noticed a strange behaviour: sometimes compound words or slash separated words like example/example or example-example confuse LaTeX (or LyX) and they could be printed outside of margins. You can put some example-example-example inside a random text in a new LyX document and PDFize it. you will notice the behaviour. How to avoid it? Thanks.
Re: words out of right margin with / or -
On Friday 28 August 2009 08:51:05 am Piero wrote: Hello, I noticed a strange behaviour: sometimes compound words or slash separated words like example/example or example-example confuse LaTeX (or LyX) and they could be printed outside of margins. You can put some example-example-example inside a random text in a new LyX document and PDFize it. you will notice the behaviour. How to avoid it? Thanks. Hmm, actually I tried and didn't get any strange behavior. Are you sure it isn't a simple hyphenation problem, i.e. Latex doesn't have good hyphenation points and pushes the word into the margin? Try adding suggested hyphenation points to the word and see what happens: InsertFormattingHyphenation point Or subsitute breakable slashes for the slashes (usually: type ctrl-/ instead of just /). S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Help needed: LyX files Win-Linux Mint Gloria 7
On 08/27/2009 11:08 PM, KR Thorne wrote: Hi rh, Attached is a sample file done in the Windows version of LyX. I cannot open this file in LyX 1.6.2 installed on my Linux Mint 7 Gloria system -- returns the same error message as below. I've tried several files, all with the same result. Please let me know what you find. Well, if I save it to /tmp/, it opens up just fine, so that didn't tell us very much. I think the issue is certainly the one pointed out by Paul and Manervu: The document is encrypted in some way, but LyX is not getting a decrypted version. The only way you can get that message is if the first non-comment line of the file isn't \lyxformat ..., which it certainly would be. Try copying the file to your home directory and opening it from there. If that does not work, open a terminal and run cat myfile.lyx. If you don't see something like this: #LyX 1.6.3 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header and in particular if you get jumbled garbage, then we've found the problem. That said, the fact that I could open the file you sent me suggests that copying your LyX files to your home directory may be all you need to do. Richard
Re: Custom box inset and custom bullets
On 08/28/2009 09:43 AM, Nick Bell wrote: 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. Is the issue here how to do the LaTeX, or how to define the Flex inset? (2) Also I'd like to know how to change the bullet type for each individual line (itemize environment) - using renewcommand? \renewcommand{\labelitemi}{$\star$} \renewcommand{\labelitemii}{$\rightarrow$} etc. rh
Re: How to switch varioref on?
On 08/28/2009 05:21 AM, Robert Siemer wrote: Dear readers, I’m interested in cross-references like: ...see next page. OR ...see below. where I don’t get a number, but a word. I read that vaioref is package that does exactly that. I also read in some release file that LyX should support it, but how do I turn that on? I have varioref installed, but the cross-reference dialog only contains the formats withpage,reference and “Formatted reference”, which means “use prettyref”, as far as I can see. How to use varioref references in LyX 1.6.3, Debian?? Is there anything about this on the wiki? rh
Re: Single Spacing in Caption
On Aug 27, 2009, at 6:44 PM, Daniel Joshua Stark wrote: Dear All, I'm trying to make up my thesis, and the captions to figures are double-spaced as opposed to single-spaced, which is how the CLS directs it should be. I know I succeeded in getting single spaced subfigure captions in my thesis, but I don't remember how I did it specifically. I do know I used the hangcaption package Here are a few relevant lines from my preamble (not sure of the difference between the last two lines) %Decrease space around subfigure captions \renewcommand{\subfigcapskip}{3pt} \renewcommand{\subfigbottomskip}{6pt} %Caption revision as suggested by cornell class \usepackage{hangcaption} %\renewcommand{\caption}[1]{\singlespacing \hangcaption{#1}\normalspacing} \renewcommand{\caption}[1]{\hangcaption{#1}}
Re: words out of right margin with / or -
Piero schrieb: I noticed a strange behaviour: sometimes compound words or slash separated words like example/example or example-example confuse LaTeX (or LyX) and they could be printed outside of margins. In this cases you can use a breakable slash. (menu Insert - Special character) regards Uwe
Re: How to switch varioref on?
Robert Siemer schrieb: I’m interested in cross-references like: ...see next page. OR ...see below. Insert a cross-reference and choose in the appearing dialog the format reference on page page. This inserts in the background the LaTeX command \vref (provided by varioref). (For more info about reference formats, see sec. 3.4.1 of the EmbeddedObjects manual that you find in the Help menu.) regards Uwe
Re: aspell, cocoaspell with lyx - a fake?
Thank you very much, Richard, for your kindly and detailed help! First I uninstalled the aspell installed with MacPorts and tried to follow your instructions. Am 28.08.2009, 14:25 Uhr, schrieb Richard Talley: First, install cocoAspell and make sure it's working properly with LyX as an English language spellchecker. That's pretty straight forward. At least to that point I came. I wouldn't call it straight forward but the concentrated work of some hours, but anyway, the English language spellchecker seems to work usably in my LyX, if I needed it. I continued with installing and configuring the German language dictionary: Do one thing and one thing only while running System Preferences as root. Click on the Spelling preference pane that cocoAspell installed so it finds, compiles and configures your new dictionary. Quit System Preferences. Reopen it from the GUI. You should now be able to choose your new dictionary. OK, so far. Only: the crazy German spellchecking in LyX continued as yesterday. So I give up. I'm going to uninstall CocoAspell as well and shall use LyX without spellchecker. Sorry though! Congratulation to you, for getting usable the Spanish dict. But nevertheless I regard this complicated procedure as unreasonable and unacceptable for a normal LyX user. I remain with the conclusion: German language Aspell spellchecking in LyX on Mac-OSX is not practicable! joachim -- MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.3 MacBook Pro OSX 10.4.11 Tiger (intel)
Re: aspell, cocoaspell with lyx - a fake?
On Fri, Aug 28, 2009 at 12:25 PM, Joachim Osnabryg o...@jpberlin.de wrote: But nevertheless I regard this complicated procedure as unreasonable and unacceptable for a normal LyX user. Yes. Like so many things with computers. Sorry you couldn't get it working. Perhaps things will be better with LyX 2.0. -- Rich -- Dealing with failure is easy: Work hard to improve. Success is also easy to handle: You've solved the wrong problem. Work hard to improve. -- Alan Perlis
Re: multi page Algorithm Floats ?
Jaime Huerta Cepas wrote: Hi all, I wonder if there is any way of allowing Algorithm Float boxes to start in the middle of one page, and end in the next one. I'm using these kind of floats to include pieces of highlighted source code, so I guess text could be perfectly splitted. Then a float is not what you need. Floats float around, precisely because they need to stay in one piece. (table, picture, ...) If your algorithm can be split, then it don't need a float. Write your algorithm, just don't insert a float and you'll be fine. If you want nice formatting for your algorithm, consider "Insert->Program Listing" Listings are nice for computer code and similiar stuff. You can specify fonts, you can have syntax highlighting, you can have automatic line numbering if you like. Just right-click the listing box, and you'll see all the options. You can type listings into your document, but a listing may also get its content from (parts of) an external file. (Insert->File->child document, set the type to "listing") This makes it possible to list parts of actual source code. That way, the working code and the document is always in sync - because the same file is used for both. No need to fix the document after fixing a bug. :-) Helge Hafting
How to switch varioref on?
Dear readers, I’m interested in cross-references like: ...see next page. OR ...see below. where I don’t get a number, but a word. I read that vaioref is package that does exactly that. I also read in some release file that LyX should support it, but how do I turn that on? I have varioref installed, but the cross-reference dialog only contains the formats with , and “Formatted reference”, which means “use prettyref”, as far as I can see. How to use varioref references in LyX 1.6.3, Debian?? Regards, Robert
Re: aspell, cocoaspell with lyx - a fake?
On Thu, Aug 27, 2009 at 5:49 PM, Joachim Osnabrygwrote: > > => Has anyone installed Aspell or CocoAspell under Mac-OSX and has got them > working with LyX in a reasonable manner? > Would you please describe how you installed and configured it? > > joachim > I'm glad you asked this question. I needed to add a Spanish language dictionary to cocoAspell and with a little googling and command line work, I got it working. The cocoAspell project appears moribund, the documentation is incomplete, and the site is beginning to suffer from link rot. I think the next time I need to install and configure LyX, I'll just install aspell using Fink and eschew using cocoAspell to make it available as an OS X service. First, install cocoAspell and make sure it's working properly with LyX as an English language spellchecker. That's pretty straight forward. cocoAspell installs a number of things. It installs aspell itself in /usr/local/bin and /usr/local/lib. It installs a preference pane in system preferences. It installs a large number of English dictionaries. It installs a service in ~/Library/Services. That's all OK. If you want the aspell service available in all user accounts, you'll need to move that last item, as root, to /Library/Services (you'll probably have to create that directory). If you just need the service available in the account from which you installed it, just leave things as cocoAspell installed it. You'll need to choose one of the available English dictionaries in the preference pane. Then in LyX preferences you choose aspell as the spellchecker and add this line to the Alternative Language field: /Library/Application Support/cocoAspell/aspell6-en-6.0-0/english.alias That's just following the instructions in the Wiki. Test that you can now spellcheck an English language document in LyX. Next, you'll need to download and install a German language dictionary. The link at the cocoAspell site is dead. Use this one: ftp://ftp.gnu.org/gnu/aspell/dict/0index.html Unzip the file and follow the README instructions to install the dictionary into aspell (it's the usual command line sequence of ./configure, make, make install, make clean). Now copy or move the dictionary directory (in my case it is aspell6-es-1.9a-1) to /Library/Application Support/cocoAspell. Chown the directory to match the English language directory ownership (it should be the name of your admin account as owner and 501 as group). Here's the tricky step. Be sure System Preferences is not running. Get into the command line and become root. Run System Preferences as root! Don't use the open command, instead give the full path to the executable: /Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences Do one thing and one thing only while running System Preferences as root. Click on the Spelling preference pane that cocoAspell installed so it finds, compiles and configures your new dictionary. Quit System Preferences. Reopen it from the GUI. You should now be able to choose your new dictionary. To use your new dictionary, change the Alternative Language field in LyX preferences appropriately. In my case, it's: /Library/Application Support/cocoAspell/aspell6-es-1.9a-1/spanish.alias Voilà! I now have Spanish language spellchecking in LyX. -- Rich TalleyMacTeXLive 2008 - LyX 1.6.3 MacBook Pro (Intel) OS X 10.5.8 Leopard -- Dealing with failure is easy: Work hard to improve. Success is also easy to handle: You've solved the wrong problem. Work hard to improve. -- Alan Perlis
Re: Help needed: LyX files Win->Linux Mint Gloria 7
KR Thorne wrote: Hello, I created a number of files in LyX under Windows Vista, saved in .lyx format. I have just migrated over to Linux Mint Gloria 7, and now my files will not open. I receive an error message: /media/FreeAgent Drive/Encryption Folder/Seagate Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is not a readable LyX document. I also tried the files I had copied to a data DVD, but cannot open them either. Both the Windows Lyx and the Linux LyX are the latest release, 1.6.2. This is extremely important, as these are manuscripts representing several years of work. At present I cannot simply open them in Windows, as my Windows installation was not working and the recovery disks are unsuccessful (ticket open with the laptop mfr). Any help would be greatly appreciated! In the midst of that path I see "Encryption Folder". Was this folder by any chance automatically encrypted under Vista? If so, you may need to use Vista to move the files to an unencrypted folder somewhere. /Paul
Re: Help needed: LyX files Win->Linux Mint Gloria 7
2009/8/28 Paul A. Rubin: > KR Thorne wrote: [...] >> /media/FreeAgent Drive/Encryption Folder/Seagate >> Backup/KRT-PC/C/Users/KRT/Documents/Writing/GTG_TWI_newedit_test.lyx is >> not a readable LyX document. >> >> I also tried the files I had copied to a data DVD, but cannot open them >> either. [...] > > In the midst of that path I see "Encryption Folder". Was this folder by any > chance automatically encrypted under Vista? If so, you may need to use > Vista to move the files to an unencrypted folder somewhere. This may be a folder encrypted by External HDD itself. I am wondering whether these files on DVD are copied under Vista (probably unencrypted) or under Windows. It would be nice to look into files to check whether are they text files or scrambled binary. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
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
words out of right margin with "/" or "-"
Hello, I noticed a strange behaviour: sometimes compound words or slash separated words like "example/example" or "example-example" confuse LaTeX (or LyX) and they could be printed outside of margins. You can put some "example-example-example" inside a random text in a new LyX document and PDFize it. you will notice the behaviour. How to avoid it? Thanks.
Re: words out of right margin with "/" or "-"
On Friday 28 August 2009 08:51:05 am Piero wrote: > Hello, > I noticed a strange behaviour: > sometimes compound words or slash separated words > > like "example/example" or "example-example" > confuse LaTeX (or LyX) and they could > > be printed outside of margins. > You can put some "example-example-example" > inside a random text in a new LyX > > document and PDFize it. > > you will notice the behaviour. > How to avoid it? > Thanks. Hmm, actually I tried and didn't get any strange behavior. Are you sure it isn't a simple hyphenation problem, i.e. Latex doesn't have good hyphenation points and pushes the word into the margin? Try adding suggested hyphenation points to the word and see what happens: Insert>>Formatting>>Hyphenation point Or subsitute breakable slashes for the slashes (usually: type ctrl-/ instead of just /). S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Help needed: LyX files Win->Linux Mint Gloria 7
On 08/27/2009 11:08 PM, KR Thorne wrote: Hi rh, Attached is a sample file done in the Windows version of LyX. I cannot open this file in LyX 1.6.2 installed on my Linux Mint 7 Gloria system -- returns the same error message as below. I've tried several files, all with the same result. Please let me know what you find. Well, if I save it to /tmp/, it opens up just fine, so that didn't tell us very much. I think the issue is certainly the one pointed out by Paul and Manervu: The document is encrypted in some way, but LyX is not getting a decrypted version. The only way you can get that message is if the first non-comment line of the file isn't "\lyxformat ...", which it certainly would be. Try copying the file to your home directory and opening it from there. If that does not work, open a terminal and run "cat myfile.lyx". If you don't see something like this: #LyX 1.6.3 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header and in particular if you get jumbled garbage, then we've found the problem. That said, the fact that I could open the file you sent me suggests that copying your LyX files to your home directory may be all you need to do. Richard
Re: Custom box inset and custom bullets
On 08/28/2009 09:43 AM, Nick Bell wrote: 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. Is the issue here how to do the LaTeX, or how to define the Flex inset? (2) Also I'd like to know how to change the bullet type for each individual line (itemize environment) - using renewcommand? \renewcommand{\labelitemi}{$\star$} \renewcommand{\labelitemii}{$\rightarrow$} etc. rh
Re: How to switch varioref on?
On 08/28/2009 05:21 AM, Robert Siemer wrote: Dear readers, I’m interested in cross-references like: ...see next page. OR ...see below. where I don’t get a number, but a word. I read that vaioref is package that does exactly that. I also read in some release file that LyX should support it, but how do I turn that on? I have varioref installed, but the cross-reference dialog only contains the formats with, and “Formatted reference”, which means “use prettyref”, as far as I can see. How to use varioref references in LyX 1.6.3, Debian?? Is there anything about this on the wiki? rh
Re: Single Spacing in Caption
On Aug 27, 2009, at 6:44 PM, Daniel Joshua Stark wrote: Dear All, I'm trying to make up my thesis, and the captions to figures are double-spaced as opposed to single-spaced, which is how the CLS directs it should be. I know I succeeded in getting single spaced subfigure captions in my thesis, but I don't remember how I did it specifically. I do know I used the hangcaption package Here are a few relevant lines from my preamble (not sure of the difference between the last two lines) %Decrease space around subfigure captions \renewcommand{\subfigcapskip}{3pt} \renewcommand{\subfigbottomskip}{6pt} %Caption revision as suggested by cornell class \usepackage{hangcaption} %\renewcommand{\caption}[1]{\singlespacing \hangcaption{#1}\normalspacing} \renewcommand{\caption}[1]{\hangcaption{#1}}
Re: words out of right margin with "/" or "-"
Piero schrieb: I noticed a strange behaviour: sometimes compound words or slash separated words like "example/example" or "example-example" confuse LaTeX (or LyX) and they could be printed outside of margins. In this cases you can use a breakable slash. (menu Insert -> Special character) regards Uwe
Re: How to switch varioref on?
Robert Siemer schrieb: I’m interested in cross-references like: ...see next page. OR ...see below. Insert a cross-reference and choose in the appearing dialog the format on page . This inserts in the background the LaTeX command \vref (provided by varioref). (For more info about reference formats, see sec. 3.4.1 of the EmbeddedObjects manual that you find in the Help menu.) regards Uwe
Re: aspell, cocoaspell with lyx - a fake?
Thank you very much, Richard, for your kindly and detailed help! First I uninstalled the aspell installed with MacPorts and tried to follow your instructions. Am 28.08.2009, 14:25 Uhr, schrieb Richard Talley: First, install cocoAspell and make sure it's working properly with LyX as an English language spellchecker. That's pretty straight forward. At least to that point I came. I wouldn't call it "straight forward" but the concentrated work of some hours, but anyway, the English language spellchecker seems to work usably in my LyX, if I needed it. I continued with installing and configuring the German language dictionary: Do one thing and one thing only while running System Preferences as root. Click on the Spelling preference pane that cocoAspell installed so it finds, compiles and configures your new dictionary. Quit System Preferences. Reopen it from the GUI. You should now be able to choose your new dictionary. OK, so far. Only: the crazy German "spellchecking" in LyX continued as yesterday. So I give up. I'm going to uninstall CocoAspell as well and shall use LyX without spellchecker. Sorry though! Congratulation to you, for getting usable the Spanish dict. But nevertheless I regard this complicated procedure as unreasonable and unacceptable for a normal LyX user. I remain with the conclusion: German language Aspell spellchecking in LyX on Mac-OSX is not practicable! joachim -- MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.3 MacBook Pro OSX 10.4.11 Tiger (intel)
Re: aspell, cocoaspell with lyx - a fake?
On Fri, Aug 28, 2009 at 12:25 PM, Joachim Osnabrygwrote: > > But nevertheless I regard this complicated procedure as unreasonable and > unacceptable for a normal LyX user. Yes. Like so many things with computers. Sorry you couldn't get it working. Perhaps things will be better with LyX 2.0. -- Rich -- Dealing with failure is easy: Work hard to improve. Success is also easy to handle: You've solved the wrong problem. Work hard to improve. -- Alan Perlis