Re: templates- question
Anca Tibor- Attila wrote: I have bibliography related question. I actually run mysql with a few sheets of bibliographical data, that I would like to import, some how. The main question is, if I can get somewhere a few templates for lyx to generate (?, I do not even know, how this functions) a bibliography, which I can put at the very bottom of the document. I am not sure I understand, but the tool of choice for bibliographical data in LaTeX/LyX is BibTeX. BibTeX stores the bibliographical data in text files, so it should be possible to generate an appropriate output from MySQL. BibTeX is described in the LyX docs and you can find lots of information on the web. HTH, Jürgen.
Re: Problem installing new document class
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald Florence wrote: That's probably something from Mac world. Here in Unix world anything in /usr/local should never be touched by any packager. Mac's run Unix, and there are quite a few teTeX installations which overwrite /usr/local/teTeX. Yes, I know that Mac OS X is Unix-based, but it seems to me that operating system which puts programs in /sw tree is not exactly most usual among Unices (nothing wrong with that -- just the reason I think that things around directories are not exactly same as among most Unixes you meet around; and of course I may be wrong, because I have actually never used Mac OS X myself). Despite what Herbert Vo writes in the followup to this message about TeXLive, it seems rather strange to break FHS (http://www.pathname.com/fhs/2.2/fhs-4.9.html, see article 4.9.1). For more on this see also http://groups.google.com/groups?selm=handler.175343.D175341.104173292317301.ackdone%40bugs.debian.org which seems to me to be rather illuminating. See also http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds. As of TeXLive -- I would need to study more what was the reason for texmf.local, but one which seems to me probable is that TeXLive is highly multiplatform distribution and creation of temxf-local (and texmf-var) directory tree in C:\Program Files\TeXLive seems to be highly sensible solution on Windows, where are no standards for different local and system file directories. Just my 2. Matj - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/wMKA4J/vJdlkhKwRAkreAJ9nPSw4hguI43uLyoLpGOhuSvQLLwCfX0Se y1IPbtfpxez7HiYaVwrCpFs= =TOqB -END PGP SIGNATURE-
Re: Add nohyphenation as a Language in LyX drop-downs
On Sun, 23 Nov 2003, Henrik Edlund wrote: I would like to add the pseudo language nohyphenation to the LyX drop-down so that I can mark certain words in my text as this language, and hence get them no to break. How do I do this? This is latex domain. If you really want to do this, you should start reading the lyx-path/language file and the different babel files in your latex distribution. (I want to do this instead of \hyphenation because it makes it easier to spot them in LyX window due to the blue line beneath them.) I suggest you use \hyphenation anyway :). It is cleaner and the right way... It also make the same word always break in the same place, or never break. To make hyphenation work without ERT try placing this in your /usr/local/share/lyx/layout/stdclass.layout file: #hypenation Style Hyphenation Marginstatic Latextype Command Latexname hyphenation ParSkip 0.4 ItemSep 0 TopSep0 BottomSep 1 ParSep1 Align Center AlignPossible Center Font Size Normal Shape Italic Color Blue EndFont End (Remember to reconfigure LyX) Then in your document choose the Hypenation environment from the list, before rthe word to be hyphenated, and add the words with the chosen hyphenation or without... And they are easy to spot as they as they are on a line all alone and in blue italics ;) Ingar
Re: Problem installing new document class
Matej Cepl [EMAIL PROTECTED] writes: Yes, I know that Mac OS X is Unix-based, but it seems to me that operating system which puts programs in /sw tree is not exactly most usual among Unices (nothing wrong with that -- just the reason I think that things around directories are not exactly same as among most Unixes you meet around; and of course I may be wrong, because I have actually never used Mac OS X myself). Yes, you are wrong, both about MacOS and about TeX installations. One software management utility (fink) puts MacOS software in /sw; it is not an official part of MacOS. (Many Unix versions put optional software in /opt; by your standards are they also not real Unix?) As Herbert noted, modern TeX installations include a texmf.local hierarchy for user introduced files. That was the original issue on this thread, and the original poster would be wise to put local files in the texmf.local directory so they are not overwritten in a TeX update. If your own TeX installation does not have a texmf.local directory, Matej, you might want to consider updating. Be careful that the local files you put in the tex directories are not overwritten when you do. -- Ronald Florence www.18james.com
Re: Problem installing new document class
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald Florence wrote: Yes, you are wrong, both about MacOS and about TeX installations. One software management utility (fink) puts MacOS software in /sw; it is not an official part of MacOS. (Many Unix versions put optional software in /opt; by your standards are they also not real Unix?) There is one small difference -- http://www.pathname.com/fhs/2.2/fhs-3.12.html. However, I think that this discussion should be closed now, it is getting moot. Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/wNXp4J/vJdlkhKwRArWLAJ9spxSieOY43xXAyijJUg2kgWsTsACfWJIQ zyQmdujh+t9Of5qSonox7e0= =Xt2s -END PGP SIGNATURE-
Re: Problem installing new document class
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald Florence wrote: If your own TeX installation does not have a texmf.local directory, Matej, you might want to consider updating. Be careful that the local files you put in the tex directories are not overwritten when you do. BTW, the same situation with /usr/local still stays in the new (yet BETA) standard of FHS -- http://www.samba.org/~cyeoh/fhs-2.3-beta3.html#USRLOCALLOCALHIERARCHY Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/wNbr4J/vJdlkhKwRAkseAKCGZs0FSXOn+qKuliVAjrIet4ONLACfejX0 JnGY9jR2qPQVGmE4Ii3Uz5Q= =6l6j -END PGP SIGNATURE-
Document flows off end of page!
Hi, I'm having a rather strange problem with Lyx/Latex, and I've got no idea how to solve it! The problem is that my document is more than one page long, but rather than moving some of it onto the next page it simply flows of the bottom of the first page and disappears. You can get the file causing the problem at http://www.david-williams.info/thesis.lyx and the result which I get at http://www.david-williams.info/thesis.dvi. The effect i'm describing is actually seen on page 2. Any ideas whats causing this? Thanks, David. - Sign up for ICQmail at http://www.icq.com/icqmail/signup.html
Lab manual
I need to create a book that includes hundreds of lab exercises for students. Many exercises are formatted with steps as in this nonsense example: 1. Connect to the Internet and download ... Here's an example of how to do this: lynx http://www.blahblah.com/... Be sure to . 2. Untar the file with a command similar to this: tar xzvf carnivore-1.2.tar.gz 3. You must now compile the program. ... using a command similar to this: ./configure --prefix=/opt/carnivore Is there a document class that comes close to this? Ed Sawicki
Lyx/Prosper - changing paper orientation (was Re: Need help ...)
On Sun, 23 Nov 2003, Stefano Peluchetti wrote: Hi, i'm Stefano Peluchetti, a student at the university of economics Bocconi in Italy. I used lyx for my thesis, and i'm using it again for writing some (12) slides for the discussion. I found the following web page very usefull: http://wiki.lyx.org/pmwiki.php/ExampleProsper/ExampleProsper and i'm using the prosper-by-Weiss.layout layout. Everything work, except that i can't figure out how to change the A4 page orientation from orizzontal to vertical (i would get more space to write if i do so). How could i do to obtain this result? It would be very kind of you if you could help me. Thanks in advice. Stefano Peluchetti Hi Stefano It's been a while since I actually used Lyx/Prosper, I think you should ask on the user's list instead (I'm forwarding this to the list, see the CC-address). As I understand the question above, you want the paper to be in portrait mode? /Christian -- Dr. Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: Lab manual
On Sun, 23 Nov 2003, Ed Sawicki wrote: I need to create a book that includes hundreds of lab exercises for students. Many exercises are formatted with steps as in this nonsense example: 1. Connect to the Internet and download ... Here's an example of how to do this: lynx http://www.blahblah.com/... Be sure to . 2. Untar the file with a command similar to this: tar xzvf carnivore-1.2.tar.gz 3. You must now compile the program. ... using a command similar to this: ./configure --prefix=/opt/carnivore Um.. if you mean something like in the screenshot at this page http://wiki.lyx.org/pmwiki.php/Tips/MultipleLyxCodeInSingleEnumerate you don't need a document class for it. /Christian -- Christian Ridderström http://www.md.kth.se/~chr
Cannot view file, Linux Mandrake 9.2
Hi all, a newcomer to the list here. I am using LyX to my satisfaction for quite some time. Recently I switched to Mandrake 9.2 from the 9.1 variant a here is what happened: it looks, that the user interface has been switched to QT (from xforms). When I tried to adjust all local settings I was disappointed, because I didn't succeed to read the Czech Tutorial (CS_tutorial) file coming with LyX in the Czech alphabet. I didn't find a place where I could adjust the font setting to ISO 8859-2 for both the user interface and for the document display. When I tried to view the pdf output of the Tutorial I saw the following message instead: LyX: Cannot view file No information for viewing PDF (pdflatex). I decided to download the 1.3.3 from the LyX site and compile/install it. For the user interface I have chosen the xforms and therefore I am able to see the contents of the CS_tutorial file in Czech properly, but the file viewing problem remains. Thanks for helping Ladislav
Document flows off end of page!
Interesting ... note that this is not a lyx problem: if you export to latex and run it through tex, you get the same thing. My guess is that you've given the compiler too few degrees of freedom, with a whole bunch of empty sections and subsections. Still, I'm a bit surprised that it happens. The good news is that it goes away as soon as you actually provide some text for your material. I added just 1 line this is some text to each of the divisions, and the page break was where it should be. Philip A. Viton City Planning, Ohio State University 190 W. 17th Ave,Columbus OH 43210 [EMAIL PROTECTED]
Re: Lab manual
Um.. if you mean something like in the screenshot at this page http://wiki.lyx.org/pmwiki.php/Tips/MultipleLyxCodeInSingleEnumerate Hi Christian.. I think there's something missing in those instructions: increase the depth (M-p Right) and then write and change it to followed by M-Enter so that we don't change the depth. We now have: Now write foo --widget=blah, C-Enter, foo --widget=blah and Enter. We now have: Before the last line above, shouldn't there be a change to the LyX-code environment with a M-p c and then an M-p Right to get the same depth as the first set of LyX-code text? If I do the above what's quoted above, I get foo --widget=blah in text mode aligned with and change it to. Secondly, to get what Karsten has on the screenshot, the two lines which look like the following: Then write foo --widget=blub and use C-Enter to get a new line, where you write bar /dev/null and press need to be modified and the C-Enter replaced with M-Enter. nirmal
Re: Cannot view file, Linux Mandrake 9.2
LyX: Cannot view file No information for viewing PDF (pdflatex). Hello.. you need to define a viewer for the PDF (pdflatex) option .. you can do this by going to Edit - Preferences - File Formats (this is in the Qt frontend, I forget what it corresponds to in the xforms frontend but should be something similar) and then select the PDF (pdflatex) option and define a viewer for it (xpdf or acroread or any other viewer that you use). And you may need to do the same for the other PDF options and for PS... nirmal
Re: Document flows off end of page!
Hi, a classic :) (which basically means to me that I stubled about this myself sometime ago as well ;) ) Short answer: Don't write pages full of headings without some content between them. Your problem will disappear as soon as you put some text between the headings. Long answer (hopefully correct): Okay, the problem is that you put a lot of section headings in the file but no text between it. Now latex refuses to insert a pagebreak between headings because when writing real texts (e.g. texts with some kind of content ;) it will look ugly 99% of the time: dummy text sometext sometext sd jcsdkjs fsdjöfkjskdf lksjdfl kjsdlfk jöfdjk ölkdjsfv ölkjldfvkjl kdfjv kdfjv some 1.2 subsection (*) 1.2.1 subsubsection further rexr hjbdkj h sadkjhg akjhkjfhgds jfhkg akjdfvgkajdsgfv kg iuatszd ckjhbad skgcv k jhdggd jhdfk jhgdf skjhgajfdskhg afdsjhg kjsdhfg kjadfs kjdsh /dummy text At (*) a pagebreak wouldn't look nice, so latex prevents this. It's nevertheless completely okay to start writing a text exactly as you did it, you just shouldn't expect latex typesetting it sensible. Good luck with your theses (you seem to be right in the beginning), karsten On Sun, 23 Nov 2003 03:50:40 -0800 (PST) David Williams [EMAIL PROTECTED] wrote: Hi, I'm having a rather strange problem with Lyx/Latex, and I've got no idea how to solve it! The problem is that my document is more than one page long, but rather than moving some of it onto the next page it simply flows of the bottom of the first page and disappears. You can get the file causing the problem at http://www.david-williams.info/thesis.lyx and the result which I get at http://www.david-williams.info/thesis.dvi. The effect i'm describing is actually seen on page 2. Any ideas whats causing this? Thanks, David.
Re: Lab manual
On Sun, 23 Nov 2003 17:05:45 -0500 Nirmal Govind [EMAIL PROTECTED] wrote: Um.. if you mean something like in the screenshot at this page http://wiki.lyx.org/pmwiki.php/Tips/MultipleLyxCodeInSingleEnumerate Hi Christian.. I think there's something missing in those instructions: increase the depth (M-p Right) and then write and change it to followed by M-Enter so that we don't change the depth. We now have: My personal opinion on this is that keeping depth with M-Enter can sometimes be unhandy. I prefer to 1. enter the text with standard layout 2. chose the layouts for every paragraph 3. indent them to their final places But I think that's mainly a matter of taste (that's why I didn't add it to the wiki page). Secondly, to get what Karsten has on the screenshot, the two lines which look like the following: Then write foo --widget=blub and use C-Enter to get a new line, where you write bar /dev/null and press need to be modified and the C-Enter replaced with M-Enter. Does that make a difference (apart from empty lines being ignored in lyx-code when done with (M-)Enter instead of C-Enter)? I didn't use them cause I feel they have a certain stigma on them as being untypographical(?) ... That remembers me of a litte Idea I had: Is it possible to map C-S-Enter to the following command sequence: M-Enter (or it's lfun counterpart) S-M-Right (increase depth) chose standard layout In my bind files I nowhere found a Key mapped to more than one lfun. is this possible at all? Reason for wanting this: Adding a paragraph inside an enumeration or itemization easily: 1. kjanskjndkc nlfkjvn ljkfdnv jkafndvjkanfdv kjhnadsk cjhaldjvh ljfakjklfdv S-M-Enter kjdslkhb lhfdlvhdlfvjh ljkhfbl jkshdflvjkhfv lkjsdflksdjf l kdjlkjl 2. jkjhs kdjfh I believe it's simple but my (few) tries failed... good night everyone, Karsten
Re: xforms 1.0.2
yep thanks that was the problem. there was one in /usr/X11R6/include/X11/forms.h and /usr/local/include/forms.h problem sorted well sort of. cheers Owen Jean-Marc Lasgouttes wrote: Owen == Owen Lucas [EMAIL PROTECTED] writes: Owen I downloaded it and installed it but I dont know if its 1.0.2 as Owen it provided Owen /usr/X11R6/lib/libforms.a /usr/X11R6/lib/libformsGL.so.1 Owen /usr/X11R6/lib/libforms.so /usr/X11R6/lib/libformsGL.a Owen /usr/X11R6/lib/libformsGL.so.1.0 /usr/X11R6/lib/libforms.so.1 Owen /usr/X11R6/lib/libformsGL.la /usr/X11R6/lib/libformsGL.so.1.0.0 Owen /usr/X11R6/lib/libforms.so.1.0 /usr/X11R6/lib/libformsGL.so Owen /usr/X11R6/lib/libforms.la /usr/X11R6/lib/libforms.so.1.0.0 Owen and when lyx compiles it still says xforms 1.0.0 Owen is this correct or have I done something wong Are you sure that you do not have several forms.h files installed? JMarc
Re: Lab manual
My personal opinion on this is that keeping depth with M-Enter can sometimes be unhandy. I prefer to 1. enter the text with standard layout 2. chose the layouts for every paragraph 3. indent them to their final places I'm not sure I understand.. currently, if the instructions on the wiki page are followed, one does not get what is shown in the screenshot. It's not a difference between M Enter and C Enter as far as I can tell cos you'll get the second block of code in text mode which doesn't seem to be what that example tries to illustrate (or so I figure.. :-)).. need to be modified and the C-Enter replaced with M-Enter. Does that make a difference (apart from empty lines being ignored in lyx-code Probably not but just to stay consistent, i.e. to not confuse someone who follows the instructions and sees return arrows at the end of the lines while the screenshot doesn't have them... nirmal
Re: templates- question
Anca Tibor- Attila wrote: I have bibliography related question. I actually run mysql with a few sheets of bibliographical data, that I would like to import, some how. The main question is, if I can get somewhere a few templates for lyx to generate (?, I do not even know, how this functions) a bibliography, which I can put at the very bottom of the document. I am not sure I understand, but the tool of choice for bibliographical data in LaTeX/LyX is BibTeX. BibTeX stores the bibliographical data in text files, so it should be possible to generate an appropriate output from MySQL. BibTeX is described in the LyX docs and you can find lots of information on the web. HTH, Jürgen.
Re: Problem installing new document class
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald Florence wrote: That's probably something from Mac world. Here in Unix world anything in /usr/local should never be touched by any packager. Mac's run Unix, and there are quite a few teTeX installations which overwrite /usr/local/teTeX. Yes, I know that Mac OS X is Unix-based, but it seems to me that operating system which puts programs in /sw tree is not exactly most usual among Unices (nothing wrong with that -- just the reason I think that things around directories are not exactly same as among most Unixes you meet around; and of course I may be wrong, because I have actually never used Mac OS X myself). Despite what Herbert Vo writes in the followup to this message about TeXLive, it seems rather strange to break FHS (http://www.pathname.com/fhs/2.2/fhs-4.9.html, see article 4.9.1). For more on this see also http://groups.google.com/groups?selm=handler.175343.D175341.104173292317301.ackdone%40bugs.debian.org which seems to me to be rather illuminating. See also http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds. As of TeXLive -- I would need to study more what was the reason for texmf.local, but one which seems to me probable is that TeXLive is highly multiplatform distribution and creation of temxf-local (and texmf-var) directory tree in C:\Program Files\TeXLive seems to be highly sensible solution on Windows, where are no standards for different local and system file directories. Just my 2. Matj - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/wMKA4J/vJdlkhKwRAkreAJ9nPSw4hguI43uLyoLpGOhuSvQLLwCfX0Se y1IPbtfpxez7HiYaVwrCpFs= =TOqB -END PGP SIGNATURE-
Re: Add nohyphenation as a Language in LyX drop-downs
On Sun, 23 Nov 2003, Henrik Edlund wrote: I would like to add the pseudo language nohyphenation to the LyX drop-down so that I can mark certain words in my text as this language, and hence get them no to break. How do I do this? This is latex domain. If you really want to do this, you should start reading the lyx-path/language file and the different babel files in your latex distribution. (I want to do this instead of \hyphenation because it makes it easier to spot them in LyX window due to the blue line beneath them.) I suggest you use \hyphenation anyway :). It is cleaner and the right way... It also make the same word always break in the same place, or never break. To make hyphenation work without ERT try placing this in your /usr/local/share/lyx/layout/stdclass.layout file: #hypenation Style Hyphenation Marginstatic Latextype Command Latexname hyphenation ParSkip 0.4 ItemSep 0 TopSep0 BottomSep 1 ParSep1 Align Center AlignPossible Center Font Size Normal Shape Italic Color Blue EndFont End (Remember to reconfigure LyX) Then in your document choose the Hypenation environment from the list, before rthe word to be hyphenated, and add the words with the chosen hyphenation or without... And they are easy to spot as they as they are on a line all alone and in blue italics ;) Ingar
Re: Problem installing new document class
Matej Cepl [EMAIL PROTECTED] writes: Yes, I know that Mac OS X is Unix-based, but it seems to me that operating system which puts programs in /sw tree is not exactly most usual among Unices (nothing wrong with that -- just the reason I think that things around directories are not exactly same as among most Unixes you meet around; and of course I may be wrong, because I have actually never used Mac OS X myself). Yes, you are wrong, both about MacOS and about TeX installations. One software management utility (fink) puts MacOS software in /sw; it is not an official part of MacOS. (Many Unix versions put optional software in /opt; by your standards are they also not real Unix?) As Herbert noted, modern TeX installations include a texmf.local hierarchy for user introduced files. That was the original issue on this thread, and the original poster would be wise to put local files in the texmf.local directory so they are not overwritten in a TeX update. If your own TeX installation does not have a texmf.local directory, Matej, you might want to consider updating. Be careful that the local files you put in the tex directories are not overwritten when you do. -- Ronald Florence www.18james.com
Re: Problem installing new document class
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald Florence wrote: Yes, you are wrong, both about MacOS and about TeX installations. One software management utility (fink) puts MacOS software in /sw; it is not an official part of MacOS. (Many Unix versions put optional software in /opt; by your standards are they also not real Unix?) There is one small difference -- http://www.pathname.com/fhs/2.2/fhs-3.12.html. However, I think that this discussion should be closed now, it is getting moot. Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/wNXp4J/vJdlkhKwRArWLAJ9spxSieOY43xXAyijJUg2kgWsTsACfWJIQ zyQmdujh+t9Of5qSonox7e0= =Xt2s -END PGP SIGNATURE-
Re: Problem installing new document class
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald Florence wrote: If your own TeX installation does not have a texmf.local directory, Matej, you might want to consider updating. Be careful that the local files you put in the tex directories are not overwritten when you do. BTW, the same situation with /usr/local still stays in the new (yet BETA) standard of FHS -- http://www.samba.org/~cyeoh/fhs-2.3-beta3.html#USRLOCALLOCALHIERARCHY Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/wNbr4J/vJdlkhKwRAkseAKCGZs0FSXOn+qKuliVAjrIet4ONLACfejX0 JnGY9jR2qPQVGmE4Ii3Uz5Q= =6l6j -END PGP SIGNATURE-
Document flows off end of page!
Hi, I'm having a rather strange problem with Lyx/Latex, and I've got no idea how to solve it! The problem is that my document is more than one page long, but rather than moving some of it onto the next page it simply flows of the bottom of the first page and disappears. You can get the file causing the problem at http://www.david-williams.info/thesis.lyx and the result which I get at http://www.david-williams.info/thesis.dvi. The effect i'm describing is actually seen on page 2. Any ideas whats causing this? Thanks, David. - Sign up for ICQmail at http://www.icq.com/icqmail/signup.html
Lab manual
I need to create a book that includes hundreds of lab exercises for students. Many exercises are formatted with steps as in this nonsense example: 1. Connect to the Internet and download ... Here's an example of how to do this: lynx http://www.blahblah.com/... Be sure to . 2. Untar the file with a command similar to this: tar xzvf carnivore-1.2.tar.gz 3. You must now compile the program. ... using a command similar to this: ./configure --prefix=/opt/carnivore Is there a document class that comes close to this? Ed Sawicki
Lyx/Prosper - changing paper orientation (was Re: Need help ...)
On Sun, 23 Nov 2003, Stefano Peluchetti wrote: Hi, i'm Stefano Peluchetti, a student at the university of economics Bocconi in Italy. I used lyx for my thesis, and i'm using it again for writing some (12) slides for the discussion. I found the following web page very usefull: http://wiki.lyx.org/pmwiki.php/ExampleProsper/ExampleProsper and i'm using the prosper-by-Weiss.layout layout. Everything work, except that i can't figure out how to change the A4 page orientation from orizzontal to vertical (i would get more space to write if i do so). How could i do to obtain this result? It would be very kind of you if you could help me. Thanks in advice. Stefano Peluchetti Hi Stefano It's been a while since I actually used Lyx/Prosper, I think you should ask on the user's list instead (I'm forwarding this to the list, see the CC-address). As I understand the question above, you want the paper to be in portrait mode? /Christian -- Dr. Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: Lab manual
On Sun, 23 Nov 2003, Ed Sawicki wrote: I need to create a book that includes hundreds of lab exercises for students. Many exercises are formatted with steps as in this nonsense example: 1. Connect to the Internet and download ... Here's an example of how to do this: lynx http://www.blahblah.com/... Be sure to . 2. Untar the file with a command similar to this: tar xzvf carnivore-1.2.tar.gz 3. You must now compile the program. ... using a command similar to this: ./configure --prefix=/opt/carnivore Um.. if you mean something like in the screenshot at this page http://wiki.lyx.org/pmwiki.php/Tips/MultipleLyxCodeInSingleEnumerate you don't need a document class for it. /Christian -- Christian Ridderström http://www.md.kth.se/~chr
Cannot view file, Linux Mandrake 9.2
Hi all, a newcomer to the list here. I am using LyX to my satisfaction for quite some time. Recently I switched to Mandrake 9.2 from the 9.1 variant a here is what happened: it looks, that the user interface has been switched to QT (from xforms). When I tried to adjust all local settings I was disappointed, because I didn't succeed to read the Czech Tutorial (CS_tutorial) file coming with LyX in the Czech alphabet. I didn't find a place where I could adjust the font setting to ISO 8859-2 for both the user interface and for the document display. When I tried to view the pdf output of the Tutorial I saw the following message instead: LyX: Cannot view file No information for viewing PDF (pdflatex). I decided to download the 1.3.3 from the LyX site and compile/install it. For the user interface I have chosen the xforms and therefore I am able to see the contents of the CS_tutorial file in Czech properly, but the file viewing problem remains. Thanks for helping Ladislav
Document flows off end of page!
Interesting ... note that this is not a lyx problem: if you export to latex and run it through tex, you get the same thing. My guess is that you've given the compiler too few degrees of freedom, with a whole bunch of empty sections and subsections. Still, I'm a bit surprised that it happens. The good news is that it goes away as soon as you actually provide some text for your material. I added just 1 line this is some text to each of the divisions, and the page break was where it should be. Philip A. Viton City Planning, Ohio State University 190 W. 17th Ave,Columbus OH 43210 [EMAIL PROTECTED]
Re: Lab manual
Um.. if you mean something like in the screenshot at this page http://wiki.lyx.org/pmwiki.php/Tips/MultipleLyxCodeInSingleEnumerate Hi Christian.. I think there's something missing in those instructions: increase the depth (M-p Right) and then write and change it to followed by M-Enter so that we don't change the depth. We now have: Now write foo --widget=blah, C-Enter, foo --widget=blah and Enter. We now have: Before the last line above, shouldn't there be a change to the LyX-code environment with a M-p c and then an M-p Right to get the same depth as the first set of LyX-code text? If I do the above what's quoted above, I get foo --widget=blah in text mode aligned with and change it to. Secondly, to get what Karsten has on the screenshot, the two lines which look like the following: Then write foo --widget=blub and use C-Enter to get a new line, where you write bar /dev/null and press need to be modified and the C-Enter replaced with M-Enter. nirmal
Re: Cannot view file, Linux Mandrake 9.2
LyX: Cannot view file No information for viewing PDF (pdflatex). Hello.. you need to define a viewer for the PDF (pdflatex) option .. you can do this by going to Edit - Preferences - File Formats (this is in the Qt frontend, I forget what it corresponds to in the xforms frontend but should be something similar) and then select the PDF (pdflatex) option and define a viewer for it (xpdf or acroread or any other viewer that you use). And you may need to do the same for the other PDF options and for PS... nirmal
Re: Document flows off end of page!
Hi, a classic :) (which basically means to me that I stubled about this myself sometime ago as well ;) ) Short answer: Don't write pages full of headings without some content between them. Your problem will disappear as soon as you put some text between the headings. Long answer (hopefully correct): Okay, the problem is that you put a lot of section headings in the file but no text between it. Now latex refuses to insert a pagebreak between headings because when writing real texts (e.g. texts with some kind of content ;) it will look ugly 99% of the time: dummy text sometext sometext sd jcsdkjs fsdjöfkjskdf lksjdfl kjsdlfk jöfdjk ölkdjsfv ölkjldfvkjl kdfjv kdfjv some 1.2 subsection (*) 1.2.1 subsubsection further rexr hjbdkj h sadkjhg akjhkjfhgds jfhkg akjdfvgkajdsgfv kg iuatszd ckjhbad skgcv k jhdggd jhdfk jhgdf skjhgajfdskhg afdsjhg kjsdhfg kjadfs kjdsh /dummy text At (*) a pagebreak wouldn't look nice, so latex prevents this. It's nevertheless completely okay to start writing a text exactly as you did it, you just shouldn't expect latex typesetting it sensible. Good luck with your theses (you seem to be right in the beginning), karsten On Sun, 23 Nov 2003 03:50:40 -0800 (PST) David Williams [EMAIL PROTECTED] wrote: Hi, I'm having a rather strange problem with Lyx/Latex, and I've got no idea how to solve it! The problem is that my document is more than one page long, but rather than moving some of it onto the next page it simply flows of the bottom of the first page and disappears. You can get the file causing the problem at http://www.david-williams.info/thesis.lyx and the result which I get at http://www.david-williams.info/thesis.dvi. The effect i'm describing is actually seen on page 2. Any ideas whats causing this? Thanks, David.
Re: Lab manual
On Sun, 23 Nov 2003 17:05:45 -0500 Nirmal Govind [EMAIL PROTECTED] wrote: Um.. if you mean something like in the screenshot at this page http://wiki.lyx.org/pmwiki.php/Tips/MultipleLyxCodeInSingleEnumerate Hi Christian.. I think there's something missing in those instructions: increase the depth (M-p Right) and then write and change it to followed by M-Enter so that we don't change the depth. We now have: My personal opinion on this is that keeping depth with M-Enter can sometimes be unhandy. I prefer to 1. enter the text with standard layout 2. chose the layouts for every paragraph 3. indent them to their final places But I think that's mainly a matter of taste (that's why I didn't add it to the wiki page). Secondly, to get what Karsten has on the screenshot, the two lines which look like the following: Then write foo --widget=blub and use C-Enter to get a new line, where you write bar /dev/null and press need to be modified and the C-Enter replaced with M-Enter. Does that make a difference (apart from empty lines being ignored in lyx-code when done with (M-)Enter instead of C-Enter)? I didn't use them cause I feel they have a certain stigma on them as being untypographical(?) ... That remembers me of a litte Idea I had: Is it possible to map C-S-Enter to the following command sequence: M-Enter (or it's lfun counterpart) S-M-Right (increase depth) chose standard layout In my bind files I nowhere found a Key mapped to more than one lfun. is this possible at all? Reason for wanting this: Adding a paragraph inside an enumeration or itemization easily: 1. kjanskjndkc nlfkjvn ljkfdnv jkafndvjkanfdv kjhnadsk cjhaldjvh ljfakjklfdv S-M-Enter kjdslkhb lhfdlvhdlfvjh ljkhfbl jkshdflvjkhfv lkjsdflksdjf l kdjlkjl 2. jkjhs kdjfh I believe it's simple but my (few) tries failed... good night everyone, Karsten
Re: xforms 1.0.2
yep thanks that was the problem. there was one in /usr/X11R6/include/X11/forms.h and /usr/local/include/forms.h problem sorted well sort of. cheers Owen Jean-Marc Lasgouttes wrote: Owen == Owen Lucas [EMAIL PROTECTED] writes: Owen I downloaded it and installed it but I dont know if its 1.0.2 as Owen it provided Owen /usr/X11R6/lib/libforms.a /usr/X11R6/lib/libformsGL.so.1 Owen /usr/X11R6/lib/libforms.so /usr/X11R6/lib/libformsGL.a Owen /usr/X11R6/lib/libformsGL.so.1.0 /usr/X11R6/lib/libforms.so.1 Owen /usr/X11R6/lib/libformsGL.la /usr/X11R6/lib/libformsGL.so.1.0.0 Owen /usr/X11R6/lib/libforms.so.1.0 /usr/X11R6/lib/libformsGL.so Owen /usr/X11R6/lib/libforms.la /usr/X11R6/lib/libforms.so.1.0.0 Owen and when lyx compiles it still says xforms 1.0.0 Owen is this correct or have I done something wong Are you sure that you do not have several forms.h files installed? JMarc
Re: Lab manual
My personal opinion on this is that keeping depth with M-Enter can sometimes be unhandy. I prefer to 1. enter the text with standard layout 2. chose the layouts for every paragraph 3. indent them to their final places I'm not sure I understand.. currently, if the instructions on the wiki page are followed, one does not get what is shown in the screenshot. It's not a difference between M Enter and C Enter as far as I can tell cos you'll get the second block of code in text mode which doesn't seem to be what that example tries to illustrate (or so I figure.. :-)).. need to be modified and the C-Enter replaced with M-Enter. Does that make a difference (apart from empty lines being ignored in lyx-code Probably not but just to stay consistent, i.e. to not confuse someone who follows the instructions and sees return arrows at the end of the lines while the screenshot doesn't have them... nirmal
Re: templates- question
Anca Tibor- Attila wrote: > I have bibliography related question. I actually run mysql with a few > sheets of bibliographical data, that I would like to import, some how. > The main question is, if I can get somewhere a few templates for lyx to > generate (?, I do not even know, how this functions) a bibliography, > which I can put at the very bottom of the document. I am not sure I understand, but the tool of choice for bibliographical data in LaTeX/LyX is BibTeX. BibTeX stores the bibliographical data in text files, so it should be possible to generate an appropriate output from MySQL. BibTeX is described in the LyX docs and you can find lots of information on the web. HTH, Jürgen.
Re: Problem installing new document class
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald Florence wrote: >> That's probably something from Mac world. Here in Unix world >> anything in /usr/local should never be touched by any >> packager. > > Mac's run Unix, and there are quite a few teTeX installations > which overwrite /usr/local/teTeX. Yes, I know that Mac OS X is Unix-based, but it seems to me that operating system which puts programs in /sw tree is not exactly most usual among Unices (nothing wrong with that -- just the reason I think that things around directories are not exactly same as among most Unixes you meet around; and of course I may be wrong, because I have actually never used Mac OS X myself). Despite what Herbert Voà writes in the followup to this message about TeXLive, it seems rather strange to break FHS (http://www.pathname.com/fhs/2.2/fhs-4.9.html, see article 4.9.1). For more on this see also http://groups.google.com/groups?selm=handler.175343.D175341.104173292317301.ackdone%40bugs.debian.org which seems to me to be rather illuminating. See also http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds. As of TeXLive -- I would need to study more what was the reason for texmf.local, but one which seems to me probable is that TeXLive is highly multiplatform distribution and creation of temxf-local (and texmf-var) directory tree in "C:\Program Files\TeXLive" seems to be highly sensible solution on Windows, where are no standards for different local and system file directories. Just my 2Â. MatÄj - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/wMKA4J/vJdlkhKwRAkreAJ9nPSw4hguI43uLyoLpGOhuSvQLLwCfX0Se y1IPbtfpxez7HiYaVwrCpFs= =TOqB -END PGP SIGNATURE-
Re: Add "nohyphenation" as a Language in LyX drop-downs
On Sun, 23 Nov 2003, Henrik Edlund wrote: > I would like to add the pseudo language "nohyphenation" to the LyX > drop-down so that I can mark certain words in my text as this language, > and hence get them no to break. > > How do I do this? This is latex domain. If you really want to do this, you should start reading the lyx-path/language file and the different babel files in your latex distribution. > (I want to do this instead of \hyphenation because it makes it easier to > spot them in LyX window due to the blue line beneath them.) I suggest you use \hyphenation anyway :). It is cleaner and the right way... It also make the same word always break in the same place, or never break. To make hyphenation work without ERT try placing this in your /usr/local/share/lyx/layout/stdclass.layout file: #hypenation Style Hyphenation Marginstatic Latextype Command Latexname hyphenation ParSkip 0.4 ItemSep 0 TopSep0 BottomSep 1 ParSep1 Align Center AlignPossible Center Font Size Normal Shape Italic Color Blue EndFont End (Remember to reconfigure LyX) Then in your document choose the Hypenation "environment" from the list, before rthe word to be hyphenated, and add the words with the chosen hyphenation or without... And they are easy to spot as they as they are on a line all alone and in blue italics ;) Ingar
Re: Problem installing new document class
Matej Cepl <[EMAIL PROTECTED]> writes: > Yes, I know that Mac OS X is Unix-based, but it seems to me that > operating system which puts programs in /sw tree is not exactly > most usual among Unices (nothing wrong with that -- just the > reason I think that things around directories are not exactly > same as among most Unixes you meet around; and of course I may > be wrong, because I have actually never used Mac OS X myself). Yes, you are wrong, both about MacOS and about TeX installations. One software management utility (fink) puts MacOS software in /sw; it is not an official part of MacOS. (Many Unix versions put optional software in /opt; by your standards are they also not "real" Unix?) As Herbert noted, modern TeX installations include a texmf.local hierarchy for user introduced files. That was the original issue on this thread, and the original poster would be wise to put local files in the texmf.local directory so they are not overwritten in a TeX update. If your own TeX installation does not have a texmf.local directory, Matej, you might want to consider updating. Be careful that the local files you put in the tex directories are not overwritten when you do. -- Ronald Florence www.18james.com
Re: Problem installing new document class
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald Florence wrote: > Yes, you are wrong, both about MacOS and about TeX > installations. One software management utility (fink) puts > MacOS software in /sw; it is > not an official part of MacOS. (Many Unix versions put > optional software in /opt; by your standards are they also not > "real" Unix?) There is one small difference -- http://www.pathname.com/fhs/2.2/fhs-3.12.html. However, I think that this discussion should be closed now, it is getting moot. Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/wNXp4J/vJdlkhKwRArWLAJ9spxSieOY43xXAyijJUg2kgWsTsACfWJIQ zyQmdujh+t9Of5qSonox7e0= =Xt2s -END PGP SIGNATURE-
Re: Problem installing new document class
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald Florence wrote: > If your own TeX installation does not have a texmf.local > directory, > Matej, you might want to consider updating. Be careful that > the local files you put in the tex directories are not > overwritten when you do. BTW, the same situation with /usr/local still stays in the new (yet BETA) standard of FHS -- http://www.samba.org/~cyeoh/fhs-2.3-beta3.html#USRLOCALLOCALHIERARCHY Matej - -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/wNbr4J/vJdlkhKwRAkseAKCGZs0FSXOn+qKuliVAjrIet4ONLACfejX0 JnGY9jR2qPQVGmE4Ii3Uz5Q= =6l6j -END PGP SIGNATURE-
Document flows off end of page!
Hi, I'm having a rather strange problem with Lyx/Latex, and I've got no idea how to solve it! The problem is that my document is more than one page long, but rather than moving some of it onto the next page it simply flows of the bottom of the first page and disappears. You can get the file causing the problem at http://www.david-williams.info/thesis.lyx and the result which I get at http://www.david-williams.info/thesis.dvi. The effect i'm describing is actually seen on page 2. Any ideas whats causing this? Thanks, David. - Sign up for ICQmail at http://www.icq.com/icqmail/signup.html
Lab manual
I need to create a book that includes hundreds of lab exercises for students. Many exercises are formatted with steps as in this nonsense example: 1. Connect to the Internet and download ... Here's an example of how to do this: lynx http://www.blahblah.com/... Be sure to . 2. Untar the file with a command similar to this: tar xzvf carnivore-1.2.tar.gz 3. You must now compile the program. ... using a command similar to this: ./configure --prefix=/opt/carnivore Is there a document class that comes close to this? Ed Sawicki
Lyx/Prosper - changing paper orientation (was Re: Need help ...)
On Sun, 23 Nov 2003, Stefano Peluchetti wrote: > Hi, i'm Stefano Peluchetti, a student at the university of economics "Bocconi" > in Italy. I used lyx for my thesis, and i'm using it again for writing some > (12) slides for the discussion. I found the following web page very usefull: > http://wiki.lyx.org/pmwiki.php/ExampleProsper/ExampleProsper > and i'm using the "prosper-by-Weiss.layout" layout. > Everything work, except that i can't figure out how to change the A4 page > orientation from orizzontal to vertical (i would get more space to write if i > do so). How could i do to obtain this result? > It would be very kind of you if you could help me. > Thanks in advice. > > Stefano Peluchetti Hi Stefano It's been a while since I actually used Lyx/Prosper, I think you should ask on the user's list instead (I'm forwarding this to the list, see the CC-address). As I understand the question above, you want the paper to be in portrait mode? /Christian -- Dr. Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: Lab manual
On Sun, 23 Nov 2003, Ed Sawicki wrote: > I need to create a book that includes hundreds of lab exercises > for students. Many exercises are formatted with steps as in this > nonsense example: > > 1. Connect to the Internet and download ... Here's an example of >how to do this: > >lynx http://www.blahblah.com/... > >Be sure to . > > 2. Untar the file with a command similar to this: > >tar xzvf carnivore-1.2.tar.gz > > 3. You must now compile the program. ... using a command >similar to this: > >./configure --prefix=/opt/carnivore > Um.. if you mean something like in the screenshot at this page http://wiki.lyx.org/pmwiki.php/Tips/MultipleLyxCodeInSingleEnumerate you don't need a document class for it. /Christian -- Christian Ridderström http://www.md.kth.se/~chr
Cannot view file, Linux Mandrake 9.2
Hi all, a newcomer to the list here. I am using LyX to my satisfaction for quite some time. Recently I switched to Mandrake 9.2 from the 9.1 variant a here is what happened: it looks, that the user interface has been switched to QT (from xforms). When I tried to adjust all local settings I was disappointed, because I didn't succeed to read the Czech Tutorial (CS_tutorial) file coming with LyX in the Czech alphabet. I didn't find a place where I could adjust the font setting to ISO 8859-2 for both the user interface and for the document display. When I tried to view the pdf output of the Tutorial I saw the following message instead: LyX: Cannot view file No information for viewing PDF (pdflatex). I decided to download the 1.3.3 from the LyX site and compile/install it. For the user interface I have chosen the xforms and therefore I am able to see the contents of the CS_tutorial file in Czech properly, but the file viewing problem remains. Thanks for helping Ladislav
Document flows off end of page!
Interesting ... note that this is not a lyx problem: if you export to latex and run it through tex, you get the same thing. My guess is that you've given the compiler too few degrees of freedom, with a whole bunch of empty sections and subsections. Still, I'm a bit surprised that it happens. The good news is that it goes away as soon as you actually provide some text for your material. I added just 1 line "this is some text" to each of the divisions, and the page break was where it should be. Philip A. Viton City Planning, Ohio State University 190 W. 17th Ave,Columbus OH 43210 [EMAIL PROTECTED]
Re: Lab manual
Um.. if you mean something like in the screenshot at this page http://wiki.lyx.org/pmwiki.php/Tips/MultipleLyxCodeInSingleEnumerate Hi Christian.. I think there's something missing in those instructions: "increase the depth (M-p Right) and then write "and change it to" followed by M-Enter so that we don't change the depth. We now have: Now write "foo --widget=blah", C-Enter, "foo --widget=blah" and Enter. We now have:" Before the last line above, shouldn't there be a change to the LyX-code environment with a M-p c and then an M-p Right to get the same depth as the first set of LyX-code text? If I do the above what's quoted above, I get "foo --widget=blah" in text mode aligned with "and change it to". Secondly, to get what Karsten has on the screenshot, the two lines which look like the following: "Then write "foo --widget=blub" and use C-Enter to get a new line, where you write "bar > /dev/null" and press" need to be modified and the C-Enter replaced with M-Enter. nirmal
Re: Cannot view file, Linux Mandrake 9.2
LyX: Cannot view file No information for viewing PDF (pdflatex). Hello.. you need to define a viewer for the PDF (pdflatex) option .. you can do this by going to Edit -> Preferences -> File Formats (this is in the Qt frontend, I forget what it corresponds to in the xforms frontend but should be something similar) and then select the PDF (pdflatex) option and define a viewer for it (xpdf or acroread or any other viewer that you use). And you may need to do the same for the other PDF options and for PS... nirmal
Re: Document flows off end of page!
Hi, a classic :) (which basically means to me that I stubled about this myself sometime ago as well ;) ) Short answer: Don't write pages full of headings without some content between them. Your problem will disappear as soon as you put some text between the headings. Long answer (hopefully correct): Okay, the problem is that you put a lot of section headings in the file but no text between it. Now latex refuses to insert a pagebreak between headings because when writing "real" texts (e.g. texts with some kind of content ;) it will look ugly 99% of the time: sometext sometext sd jcsdkjs fsdjöfkjskdf lksjdfl kjsdlfk jöfdjk ölkdjsfv ölkjldfvkjl kdfjv kdfjv some 1.2 subsection (*) 1.2.1 subsubsection further rexr hjbdkj h sadkjhg akjhkjfhgds jfhkg akjdfvgkajdsgfv kg iuatszd ckjhbad skgcv k jhdggd jhdfk jhgdf skjhgajfdskhg afdsjhg kjsdhfg kjadfs kjdsh At (*) a pagebreak wouldn't look nice, so latex prevents this. It's nevertheless completely okay to start writing a text exactly as you did it, you just shouldn't expect latex typesetting it sensible. Good luck with your theses (you seem to be right in the beginning), karsten On Sun, 23 Nov 2003 03:50:40 -0800 (PST) "David Williams" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having a rather strange problem with Lyx/Latex, and > I've got no idea how to solve it! The problem is that > my document is more than one page long, but rather than > moving some of it onto the next page it simply flows of > the bottom of the first page and disappears. > > You can get the file causing the problem at > http://www.david-williams.info/thesis.lyx and the > result which I get at > http://www.david-williams.info/thesis.dvi. The effect > i'm describing is actually seen on page 2. > > Any ideas whats causing this? > > Thanks, > > David.
Re: Lab manual
On Sun, 23 Nov 2003 17:05:45 -0500 "Nirmal Govind" <[EMAIL PROTECTED]> wrote: > > > Um.. if you mean something like in the screenshot at this page > > http://wiki.lyx.org/pmwiki.php/Tips/MultipleLyxCodeInSingleEnumerate > > > > Hi Christian.. I think there's something missing in those instructions: > > "increase the depth (M-p Right) and then write "and change it to" > followed by M-Enter so that we don't change the depth. We now have: > > My personal opinion on this is that keeping depth with M-Enter can sometimes be unhandy. I prefer to 1. enter the text with "standard" layout 2. chose the layouts for every paragraph 3. indent them to their final places But I think that's mainly a matter of taste (that's why I didn't add it to the wiki page). > Secondly, to get what Karsten has on the screenshot, the two lines which > look like the following: > > "Then write "foo --widget=blub" and use C-Enter to get a new line, where > you write "bar > /dev/null" and press" > > need to be modified and the C-Enter replaced with M-Enter. Does that make a difference (apart from empty lines being ignored in lyx-code when done with (M-)Enter instead of C-Enter)? I didn't use them cause I feel they have a certain "stigma" on them as being untypographical(?) ... That remembers me of a litte Idea I had: Is it possible to map C-S-Enter to the following command sequence: M-Enter (or it's lfun counterpart) S-M-Right (increase depth) chose "standard" layout In my bind files I nowhere found a Key mapped to more than one lfun. is this possible at all? Reason for wanting this: Adding a paragraph inside an enumeration or itemization easily: 1. kjanskjndkc nlfkjvn ljkfdnv jkafndvjkanfdv kjhnadsk cjhaldjvh ljfakjklfdv kjdslkhb lhfdlvhdlfvjh ljkhfbl jkshdflvjkhfv lkjsdflksdjf l kdjlkjl 2. jkjhs kdjfh I believe it's simple but my (few) tries failed... good night everyone, Karsten
Re: xforms 1.0.2
yep thanks that was the problem. there was one in /usr/X11R6/include/X11/forms.h and /usr/local/include/forms.h problem sorted well sort of. cheers Owen Jean-Marc Lasgouttes wrote: "Owen" == Owen Lucas <[EMAIL PROTECTED]> writes: Owen> I downloaded it and installed it but I dont know if its 1.0.2 as Owen> it provided Owen> /usr/X11R6/lib/libforms.a /usr/X11R6/lib/libformsGL.so.1 Owen> /usr/X11R6/lib/libforms.so /usr/X11R6/lib/libformsGL.a Owen> /usr/X11R6/lib/libformsGL.so.1.0 /usr/X11R6/lib/libforms.so.1 Owen> /usr/X11R6/lib/libformsGL.la /usr/X11R6/lib/libformsGL.so.1.0.0 Owen> /usr/X11R6/lib/libforms.so.1.0 /usr/X11R6/lib/libformsGL.so Owen> /usr/X11R6/lib/libforms.la /usr/X11R6/lib/libforms.so.1.0.0 Owen> and when lyx compiles it still says xforms 1.0.0 Owen> is this correct or have I done something wong Are you sure that you do not have several forms.h files installed? JMarc
Re: Lab manual
My personal opinion on this is that keeping depth with M-Enter can sometimes be unhandy. I prefer to 1. enter the text with "standard" layout 2. chose the layouts for every paragraph 3. indent them to their final places I'm not sure I understand.. currently, if the instructions on the wiki page are followed, one does not get what is shown in the screenshot. It's not a difference between M Enter and C Enter as far as I can tell cos you'll get the second block of code in text mode which doesn't seem to be what that example tries to illustrate (or so I figure.. :-)).. need to be modified and the C-Enter replaced with M-Enter. Does that make a difference (apart from empty lines being ignored in lyx-code Probably not but just to stay consistent, i.e. to not confuse someone who follows the instructions and sees return arrows at the end of the lines while the screenshot doesn't have them... nirmal