White pages after some chapters using KOMA script book
Hello again. I'm struggling still, though I can now see some progress... But my problem now is that I have an unwanted empty white page after some, but not all, chapters. I can't see any logic as to why, either in my input ms or in the output dvi. What should I be looking for, anfd how can I change this? Grateful as always for your time and input. Richard
Re: White pages after some chapters using KOMA script book
2010/1/15 Richard Brown rich...@guidedelearning.com: Hello again. I'm struggling still, though I can now see some progress... But my problem now is that I have an unwanted empty white page after some, but not all, chapters. I can't see any logic as to why, either in my input ms or in the output dvi. What should I be looking for, anfd how can I change this? Grateful as always for your time and input. Richard Is this to do with two page settings so that new chapters start on the right? -- Stephen
Macro with comma in argument
Dear Lyx-Users! I use the following macro: \newcommand{\ket}[1]{|#1\rangle} This should produce stuff like |F,mF with the argument being 'F,mF' My problem is: entering the comma, Lyx leaves the argument-focus of \ket This means, Lyx produces |F,mF (when I compile with pdfLatex) Does andybody know what I can do? Thank you best regards Pascal -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
Re: White pages after some chapters using KOMA script book
On 15 Jan 2010, stephen's mailinglist account wrote: 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello again. I'm struggling still, though I can now see some progress... But my problem now is that I have an unwanted empty white page after some, but not all, chapters. I can't see any logic as to why, either in my input ms or in the output dvi. What should I be looking for, anfd how can I change this? Grateful as always for your time and input. Richard Is this to do with two page settings so that new chapters start on the right? At least in the Book class you can fix this in Document/Settings. Under Class Options choose Custom and insert openany. Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell
Making only one page landscape while the rest is portrait
Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard
on equation numbering in an Appendix
I solved my problem by inserting ERT just before the appendix starts: \renewcommand{\theequation}{A.\arabic{equation}} \setcounter{equation}{0} However, I would still like to do this with the features of Lyx, if possible. Thanks, EK
Re: KOMA script book chapter headings
Richard Brown schrieb: Thanks for the reply. On Lyx 1.5.3 on ubuntu I found Documents-Settings-Document class and the field Options which I assumed was the same; I pasted into there the string chapterprefix=true That is correct. but it didn't do anything. Am I missing some step? Hmm, what is your document class, what version of KOMA-script? regards Uwe
Re: Making only one page landscape while the rest is portrait
in raw LaTeX there is a package pdflscape which allows you to set an environment (\begin{landscape}..\end{landscape}. Content in between is rotated, but headers and footers are left as per normal. I have used this with a rotated supertabular which stetched over a few pages. Don't know whether lyX can implement. may need some ERT 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard -- Stephen
Re: Making only one page landscape while the rest is portrait
It work for a table I had in a Komascript book in latex preamble insert \usepackage{pdflscape} then use ERT (ctrl-l) before and after table to insert \begin{landscape} and \end{landscape}repectively 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: in raw LaTeX there is a package pdflscape which allows you to set an environment (\begin{landscape}..\end{landscape}. Content in between is rotated, but headers and footers are left as per normal. I have used this with a rotated supertabular which stetched over a few pages. Don't know whether lyX can implement. may need some ERT 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard -- Stephen -- Stephen
Re: Macro with comma in argument
On 01/15/2010 05:02 AM, Pascal Boehm wrote: Dear Lyx-Users! I use the following macro: \newcommand{\ket}[1]{|#1\rangle} This should produce stuff like |F,mF with the argument being 'F,mF' My problem is: entering the comma, Lyx leaves the argument-focus of \ket This means, Lyx produces |F,mF (when I compile with pdfLatex) Does andybody know what I can do? I don't see this. See the attached. rh #LyX 1.6.4svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass paper \begin_preamble \usepackage{heck} \end_preamble \use_default_options false \language english \inputencoding auto \font_roman times \font_sans helvet \font_typewriter courier \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize 11 \spacing single \use_hyperref false \papersize letterpaper \use_geometry false \use_amsmath 1 \use_esint 0 \cite_engine natbib_authoryear \use_bibtopic false \paperorientation portrait \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip smallskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle plain \tracking_changes false \output_changes false \author \author \end_header \begin_body \begin_layout Standard \begin_inset FormulaMacro \renewcommand{\ket}[1]{|#1\rangle} \end_inset \end_layout \begin_layout Standard \begin_inset Formula $\ket{a,b}$ \end_inset \end_layout \end_body \end_document
Re: Macro with comma in argument
Thank you! Now I understand! I just inserted it as plain LaTeX, instead of 'Macro' Pascal -Ursprüngliche Nachricht- Von: rgheck [mailto:rgh...@bobjweil.com] Gesendet: Freitag, 15. Januar 2010 14:00 An: Pascal Boehm Cc: lyx-users@lists.lyx.org Betreff: Re: Macro with comma in argument On 01/15/2010 05:02 AM, Pascal Boehm wrote: Dear Lyx-Users! I use the following macro: \newcommand{\ket}[1]{|#1\rangle} This should produce stuff like |F,mF with the argument being 'F,mF' My problem is: entering the comma, Lyx leaves the argument-focus of \ket This means, Lyx produces |F,mF (when I compile with pdfLatex) Does andybody know what I can do? I don't see this. See the attached. rh -- Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.! http://portal.gmx.net/de/go/dsl02
Re: For the Wish list
Thomas Steffen wrote: On Wed, Jan 6, 2010 at 11:15 AM, Helge Hafting helge.haft...@hist.nowrote: Ehud Kaplan wrote: In working with colleagues on a paper, there are times when I do not have the figures needed for producing the entire document, but it would be nice to see it even without the figures. You can insert figure floats, and simply not insert any graphics files into them. Or even better, you could put the figure in a branch (see Document - Settings) - then you can enable or disable them as you like. That will cause latex errors when there is a cross reference to a disabled figure. Helge Hafting
Re: floats and subfloats with longtables SOLVED
On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmann daniel.lohm...@informatik.uni-erlangen.de wrote: a clean solution might be possible using the afterpage package. Basically it provides the \afterpage{something} command, which causes the expansion of something to be postponed until LaTeX has shipped out the current page. If you insert your long table this way, it should (theoretically) appear on the beginning of the next page without interrupting the flow of text on the current page. It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
Re: I surely do wish I could use aspell directly on a *.lyx file...
Joe(theWordy)Philbrook wrote: Don't get me wrong, LyX's internal spellchecker does a good job of implementing aspell. Except for two little things that make me wish I could invoke aspell from the command line on a *.lyx file and have it skip all the embedded lyx commands. I've looked at the docs for aspell and it looks like there is a --mode=tex option, but I don't see anything about a --mode=lyx option for it. sigh I wouldn't care but for those two little things I mentioned. And to be sure lyx's spellchecker isn't alone among gui spellchecker routines about which these two things drive me a little crazy. The first (And most obvious)issue is the way the pop-up spellchecker dialog box often obscures the word in the text of the lyx document. I mean if it Seems like this is fixed for the next version of LyX. [...] The second issue has to do with the fact that I'm a keyboard centric kind of guy that really dislikes putting the keyboard down to wrestle with the mouse. I know I can and do use alt+R to accept the default suggestion, alt+I to ignore the intentionally misspelled word that I don't want added to the dictionary. And I've even gotten used to the fact that it's alt+D {which with the D being so close to the R on a qwerty keyboard has caused more than a few erroneous additions to my ~/.aspell.en.pws file} rather than a more intuitive alt+A to Add the word to the dictionary. But what I can't do is to select something other than the topmost default spelling suggestion with the keyboard. Oh I can use tab to get to the suggestion list, then the arrow key to highlight an alternate suggestion. But I can't find a way to get the spellchecker to use the now highlighted suggestion without dusting off that torture device that controls the mouse pointer and clicking on the word in question. IE: If I misspell cycle as cyclen the default suggestion shows up as cyclone. With the 2nd choice being cycle. I can use the keyboard to hi-light cycle, But this doesn't change the fact that the actual replacement field still says cyclone. So of course if I press enter cyclen will become cyclone... I have only three choices to get the spellchecker to change cyclen to cycle. 1) double click on cycle from the list of suggestions. 2) single click on cycle to change the replacement field to cycle allowing either alt+R or enter to make the change. 3) tab my way instead to the replacement field and manually edit cyclone into cycle... sigh Very good explanation - could you file in the bug tracker, where the developers will find it? URL: http://www.lyx.org/trac/wiki/BugTrackerHome Helge Hafting
Re: Making only one page landscape while the rest is portrait
2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: It work for a table I had in a Komascript book in latex preamble insert \usepackage{pdflscape} then use ERT (ctrl-l) before and after table to insert \begin{landscape} and \end{landscape}repectively 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard I'm interested to know if there is a more 'LyX' way of doing this -- Stephen
Re: Bibliography problem and [?] questionmarks
This is all a bit advanced for me. All I can do about encoding is change the way I export to bibtex from zotero and I choose utf8 for that, but I don't know were else I can change encoding in my lyx file. I created a new lyx file, a new library in zotero, exported it in the same folder as y file, tried ti add citation and the same thing happens. I then tried the terminal, although I don't know what it does actually... I got this (if this is understandable by any of you I would really appreciate some help): _ (Press Enter to retry, or Control-D to exit) Please type another input file name: /Users/weremoose/thesis/managing_nuclear_factories.lyx (/Users/weremoose/thesis/managing_nuclear_factories.lyx LaTeX2e 2005/12/01 Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus, ar abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, la tin, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, r omanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turki sh, ukenglish, ukrainian, uppersorbian, welsh, loaded. ! You can't use `macro parameter character #' in vertical mode. l.1 # LyX 1.6.5 created this file. For more info see http://www.lyx.org/ ? bibtex /Users/weremoose/thesis/thesis_library.bib Type return to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.1 #L yX 1.6.5 created this file. For more info see http://www.lyx.org/ ? ! Undefined control sequence. l.2 \lyxformat 345 ? latex /Users/weremoose/thesis/managing_nuclear_factories.lyx Type return to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? /Users/weremoose/thesis/managing_nuclear_factories.lyx Type return to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? /Users/weremoose/thesis/managing_nuclear_factories.lyx Type return to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? ! Undefined control sequence. l.5 \textclass scrbook ? ! Undefined control sequence. l.6 \use _default_options true ? ! Missing $ inserted. inserted text $ l.6 \use_ default_options true ? _ Any ideas? I am lost here, I am actually thinking of putting the citations manually in my document as footnotes... I don't know what to do... Thanks again... On Jan 7, 2010, at 8:42 PM, Pierfranco Minsenti wrote: Hello, in my experience I have obtained the question marks ? in the PDF file obtained from LyX, instead of regular citations, in these 2 cases: 1) as Richard said: when LyX doesn't find the bibtex file, maybe because it has been moved after inserting citations AND / OR 2) when there is something wrong with the bibliographic style selected. Since weremoose says he was able to insert citations using the LyX commands, the file path should be right (at least at the moment of inserting citations). So one reason for the problem could be the second one. I would suggest to try to select different bibliographic styles from the proper menu and then save the file and compile in order to verify if this could be the problem. pierfranco 2010/1/7 rgheck rgh...@bobjweil.com On 01/07/2010 09:23 AM, weremoose wrote: Hello, I am a mac user (currently on 10.6.2) and I decided to use LyX to write my thesis as it looked very promising. So I have LyX 1.6.5 installed and started testing it, it's very convenient and gets me nice looking text even with my drafts. Everything good so far. I found that I can use Zotero for my references, installed it along with lyz, everything works fine now and my citations are pushed to LyX. The thing is, there must be some kind of bug and no matter how much I tried I can't get it to work. I've been trying for more than a week and I feel quite
Re: Making only one page landscape while the rest is portrait
Thanks for those replies. I tried this, and it compiles without problems: however,the table is printed off the page to the right, except for the first column. On Fri, 2010-01-15 at 12:49 +, stephen's mailinglist account wrote: It work for a table I had in a Komascript book in latex preamble insert \usepackage{pdflscape} then use ERT (ctrl-l) before and after table to insert \begin{landscape} and \end{landscape}repectively 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: in raw LaTeX there is a package pdflscape which allows you to set an environment (\begin{landscape}..\end{landscape}. Content in between is rotated, but headers and footers are left as per normal. I have used this with a rotated supertabular which stetched over a few pages. Don't know whether lyX can implement. may need some ERT 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard -- Stephen
Re: on equation numbering in an Appendix
E. Kaplan schrieb: I solved my problem by inserting ERT just before the appendix starts: \renewcommand{\theequation}{A.\arabic{equation}} \setcounter{equation}{0} However, I would still like to do this with the features of Lyx, if possible. Your solution is the only one. regards Uwe
Re: Making only one page landscape while the rest is portrait
On Friday 15 January 2010 10:27:35 stephen's mailinglist account wrote: 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: It work for a table I had in a Komascript book in latex preamble insert \usepackage{pdflscape} then use ERT (ctrl-l) before and after table to insert \begin{landscape} and \end{landscape}repectively 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard I'm interested to know if there is a more 'LyX' way of doing this Humor me for a second... If exactly one page is landscape, that page must involve special content that must remain together always. If that's the case, maybe make that content with other software and import a rotated pdf of it into your LyX document. From LyX's point of view it's just one more portrait page, but the reader turns the page sideways to view the content. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Making only one page landscape while the rest is portrait
Confession time: when it worked well I did it without a float. I am going to look at the thread on longtables and see if I can get it to work with some of the ideas from there 2010/1/15 Richard Brown rich...@guidedelearning.com: Thanks for those replies. I tried this, and it compiles without problems: however,the table is printed off the page to the right, except for the first column. On Fri, 2010-01-15 at 12:49 +, stephen's mailinglist account wrote: It work for a table I had in a Komascript book in latex preamble insert \usepackage{pdflscape} then use ERT (ctrl-l) before and after table to insert \begin{landscape} and \end{landscape}repectively 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: in raw LaTeX there is a package pdflscape which allows you to set an environment (\begin{landscape}..\end{landscape}. Content in between is rotated, but headers and footers are left as per normal. I have used this with a rotated supertabular which stetched over a few pages. Don't know whether lyX can implement. may need some ERT 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard -- Stephen -- Stephen
Re: Making only one page landscape while the rest is portrait
On Fri, 15 Jan 2010, Steve Litt wrote: If exactly one page is landscape, that page must involve special content that must remain together always. If that's the case, maybe make that content with other software and import a rotated pdf of it into your LyX document. From LyX's point of view it's just one more portrait page, but the reader turns the page sideways to view the content. SteveT, In my book there is one table that is wide but short. I set that one page in landscape orientation while all other pages are in portrait orientation. Worked just fine. Rich
Re: Making only one page landscape while the rest is portrait
SteveT, In my book there is one table that is wide but short. I set that one page in landscape orientation while all other pages are in portrait orientation. Worked just fine. Rich How did you do that ?- I have used ERT -- Stephen
Re: Making only one page landscape while the rest is portrait
On Fri, 15 Jan 2010, stephen's mailinglist account wrote: How did you do that ?- I have used ERT I probably used ERT, too. It's been about 5 years now and I don't see anything in the .lyx file, but I can see the results in the printed book. Rich
Re: floats and subfloats with longtables SOLVED
Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: Friday, January 15, 2010 8:13 AM To: Daniel Lohmann Cc: Rob Oakes; lyx mail list Subject: Re: floats and subfloats with longtables SOLVED On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmann daniel.lohm...@informatik.uni-erlangen.de wrote: a clean solution might be possible using the afterpage package. Basically it provides the \afterpage{something} command, which causes the expansion of something to be postponed until LaTeX has shipped out the current page. If you insert your long table this way, it should (theoretically) appear on the beginning of the next page without interrupting the flow of text on the current page. It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf longtablepage.module Description: Binary data
Re: LyX for AAAI articles
Hi Rob, It's working! It is important to set the Document class to article (aaai) and the Bibliography style to aaai. The Bibliography style aaai may not be in the drop down list, but you can just manually type aaai there. Thanks again for your helpful responses! Mehrdad On Sun, Jan 10, 2010 at 3:55 PM, Rob Oakes lyx-de...@oak-tree.us wrote: Hi Mehrdad, If you can't get your LaTeX distribution to recognize the bibtex style, you can also use it locally. Copy it to the same directory as your LyX document. Then, open up LyX and the Bibliography dialog (the easiest way to do this is to click on the BibTeX bibliography in your document. Next to the list of available BibTeX styles, you will see a Browse button. Just open up the file dialog and find the style in the local directory then try and recompile the document. If you continue to have problems, take a look at the formatting instructions provided with the author kit. I haven't ever used this particular style and I'm not sure that I can give you much guidance on how to navigate its complexities. Cheers, Rob On Sun, 2010-01-10 at 09:15 -0800, Mehrdad Oveisi wrote: Hi Rob, Thanks a lot for your prompt and helpful respond! I have copied aaai.sty from the AuthorKit to ~/Library/texmf/tex/latex/ and followed the rest of your instructions, and things are working quite nicely. The only problem I have is with Bibliography. I have inserted it using: Insert - List / TOC - BibTeX Bibliography and then I used aaai-named as style which was the only style I found in the list with a mention of aaai. But this gives me a pop up window containing the following error: --- Latex Errors }1982]{alchourrn_logic_1982} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. I noticed that the AAAI AuthorKit also contains a file named fixbib.sty. I don't know if that can help to fix the problem. Also thanks a lot for the nice LyX links! Regards, Mehrdad On Fri, Jan 8, 2010 at 10:22 AM, Rob Oakes lyx-de...@oak-tree.us wrote: Hi Mehrdad , The best way to get started is to install the LaTeX class and examples in your texmf folder (~/Library/texmf/tex/latex on Mac OS X, /usr/local/share/texmf/tex/latex on other Unix-like operating systems; if the folder doesn't exist, then create it). When done, open up a terminal and type: sudo texhash When done, Open LyX and select Tools-Reconfigure. Restart LyX. To use the aaai style, create a new document in LyX using the article document class. To the preamble of your document (Document-Settings-LaTeX preamble), add the following: \usepackage{aaai} \usepackage{times} \usepackage{helvet} \usepackage{courier} For the bibliography, choose Insert-LaTeX Bibliography and specify which BibTeX database you will be using. To ensure that it uses the right style, find aaai from the available options and select it. Press Ok. Then, start writing. You're very lucky. Aaai is implemented as a LaTeX package (rather than as a stand-alone document class), which means don't need to create your own custom layout. The \usepackage{aaai} command will ensure that the formatting complies with the publication specifications. If you want additional information, take a look at the formatting-instructions.tex file which came as part of the AuthorKit. It has some good information on how to get started. If you are going to be using LyX long-term, it will also help you become comfortable looking at LaTeX source. You don't need to be a LaTeX guru to use LyX, but understanding the basics opens a whole new world of what you can accomplish. If you're interested, I've written a couple of articles that explore this more in-depth: Customizing LyX: Create an NIH Grant Proposal (http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih ) Customizing LyX: Character Styles and the LyX Local Layout ( http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles ) Best of luck with your paper. Cheers, Rob Oakes
Re: Making only one page landscape while the rest is portrait
I have checked across in the thread on floats, sub-floats SOLVED. If you surround your table with some ERT \afterpage{\clearpage ... table here ... } One can then choose the option to rotate the table from the dialogue box. This moves the table onto its own page, but this behaves as a float because the text continues on the previous page, and onto the page after the table. Perhaps we are making it altogether too complicated because one could just insert the float and rotate the whole table using the dialogue box. I think I couldn't see the wood for the trees because my test table was a long table. 2010/1/15 Rich Shepard rshep...@appl-ecosys.com: On Fri, 15 Jan 2010, stephen's mailinglist account wrote: How did you do that ?- I have used ERT I probably used ERT, too. It's been about 5 years now and I don't see anything in the .lyx file, but I can see the results in the printed book. Rich -- Stephen
Re: floats and subfloats with longtables SOLVED
2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen
Re: floats and subfloats with longtables SOLVED
Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: 2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen -- Stephen
Re: For the Wish list
On 2010-01-15, Helge Hafting wrote: Thomas Steffen wrote: On Wed, Jan 6, 2010 at 11:15 AM, Helge Hafting helge.haft...@hist.nowrote: Ehud Kaplan wrote: In working with colleagues on a paper, there are times when I do not have the figures needed for producing the entire document, but it would be nice to see it even without the figures. You can insert figure floats, and simply not insert any graphics files into them. Or even better, you could put the figure in a branch (see Document - Settings) - then you can enable or disable them as you like. That will cause latex errors when there is a cross reference to a disabled figure. Only if you put the complete figure-float in the branch. Should be solved by placing just the picture in the branch if you want to have a cross-ref to the figure-float. Günter
Re: floats and subfloats with longtables SOLVED
Any number of InsetLayouts can be placed in a module. You will want to make sure that you define a new macro, however. Cheers, Rob Sent from Rob's Palm On Jan 15, 2010, at 3:16 PM, stephen's mailinglist account stephen4mailingli...@googlemail.com wrote: Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com : 2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen -- Stephen
Re: Suscribe
Am Samstag 16 Januar 2010 schrieb Eugenio Raliuga: Dear lyx-users@lists.lyx.org please subscribe me to the list Thank you Eugenio You can do it yourself. Look please at http://www.lyx.org/MailingLists. (send an empty message to lyx-users-subscr...@lists.lyx.org to subscribe ) Kornel -- Kornel Benko kornel.be...@berlin.de signature.asc Description: This is a digitally signed message part.
White pages after some chapters using KOMA script book
Hello again. I'm struggling still, though I can now see some progress... But my problem now is that I have an unwanted empty white page after some, but not all, chapters. I can't see any logic as to why, either in my input ms or in the output dvi. What should I be looking for, anfd how can I change this? Grateful as always for your time and input. Richard
Re: White pages after some chapters using KOMA script book
2010/1/15 Richard Brown rich...@guidedelearning.com: Hello again. I'm struggling still, though I can now see some progress... But my problem now is that I have an unwanted empty white page after some, but not all, chapters. I can't see any logic as to why, either in my input ms or in the output dvi. What should I be looking for, anfd how can I change this? Grateful as always for your time and input. Richard Is this to do with two page settings so that new chapters start on the right? -- Stephen
Macro with comma in argument
Dear Lyx-Users! I use the following macro: \newcommand{\ket}[1]{|#1\rangle} This should produce stuff like |F,mF with the argument being 'F,mF' My problem is: entering the comma, Lyx leaves the argument-focus of \ket This means, Lyx produces |F,mF (when I compile with pdfLatex) Does andybody know what I can do? Thank you best regards Pascal -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
Re: White pages after some chapters using KOMA script book
On 15 Jan 2010, stephen's mailinglist account wrote: 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello again. I'm struggling still, though I can now see some progress... But my problem now is that I have an unwanted empty white page after some, but not all, chapters. I can't see any logic as to why, either in my input ms or in the output dvi. What should I be looking for, anfd how can I change this? Grateful as always for your time and input. Richard Is this to do with two page settings so that new chapters start on the right? At least in the Book class you can fix this in Document/Settings. Under Class Options choose Custom and insert openany. Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell
Making only one page landscape while the rest is portrait
Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard
on equation numbering in an Appendix
I solved my problem by inserting ERT just before the appendix starts: \renewcommand{\theequation}{A.\arabic{equation}} \setcounter{equation}{0} However, I would still like to do this with the features of Lyx, if possible. Thanks, EK
Re: KOMA script book chapter headings
Richard Brown schrieb: Thanks for the reply. On Lyx 1.5.3 on ubuntu I found Documents-Settings-Document class and the field Options which I assumed was the same; I pasted into there the string chapterprefix=true That is correct. but it didn't do anything. Am I missing some step? Hmm, what is your document class, what version of KOMA-script? regards Uwe
Re: Making only one page landscape while the rest is portrait
in raw LaTeX there is a package pdflscape which allows you to set an environment (\begin{landscape}..\end{landscape}. Content in between is rotated, but headers and footers are left as per normal. I have used this with a rotated supertabular which stetched over a few pages. Don't know whether lyX can implement. may need some ERT 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard -- Stephen
Re: Making only one page landscape while the rest is portrait
It work for a table I had in a Komascript book in latex preamble insert \usepackage{pdflscape} then use ERT (ctrl-l) before and after table to insert \begin{landscape} and \end{landscape}repectively 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: in raw LaTeX there is a package pdflscape which allows you to set an environment (\begin{landscape}..\end{landscape}. Content in between is rotated, but headers and footers are left as per normal. I have used this with a rotated supertabular which stetched over a few pages. Don't know whether lyX can implement. may need some ERT 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard -- Stephen -- Stephen
Re: Macro with comma in argument
On 01/15/2010 05:02 AM, Pascal Boehm wrote: Dear Lyx-Users! I use the following macro: \newcommand{\ket}[1]{|#1\rangle} This should produce stuff like |F,mF with the argument being 'F,mF' My problem is: entering the comma, Lyx leaves the argument-focus of \ket This means, Lyx produces |F,mF (when I compile with pdfLatex) Does andybody know what I can do? I don't see this. See the attached. rh #LyX 1.6.4svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass paper \begin_preamble \usepackage{heck} \end_preamble \use_default_options false \language english \inputencoding auto \font_roman times \font_sans helvet \font_typewriter courier \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize 11 \spacing single \use_hyperref false \papersize letterpaper \use_geometry false \use_amsmath 1 \use_esint 0 \cite_engine natbib_authoryear \use_bibtopic false \paperorientation portrait \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip smallskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle plain \tracking_changes false \output_changes false \author \author \end_header \begin_body \begin_layout Standard \begin_inset FormulaMacro \renewcommand{\ket}[1]{|#1\rangle} \end_inset \end_layout \begin_layout Standard \begin_inset Formula $\ket{a,b}$ \end_inset \end_layout \end_body \end_document
Re: Macro with comma in argument
Thank you! Now I understand! I just inserted it as plain LaTeX, instead of 'Macro' Pascal -Ursprüngliche Nachricht- Von: rgheck [mailto:rgh...@bobjweil.com] Gesendet: Freitag, 15. Januar 2010 14:00 An: Pascal Boehm Cc: lyx-users@lists.lyx.org Betreff: Re: Macro with comma in argument On 01/15/2010 05:02 AM, Pascal Boehm wrote: Dear Lyx-Users! I use the following macro: \newcommand{\ket}[1]{|#1\rangle} This should produce stuff like |F,mF with the argument being 'F,mF' My problem is: entering the comma, Lyx leaves the argument-focus of \ket This means, Lyx produces |F,mF (when I compile with pdfLatex) Does andybody know what I can do? I don't see this. See the attached. rh -- Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.! http://portal.gmx.net/de/go/dsl02
Re: For the Wish list
Thomas Steffen wrote: On Wed, Jan 6, 2010 at 11:15 AM, Helge Hafting helge.haft...@hist.nowrote: Ehud Kaplan wrote: In working with colleagues on a paper, there are times when I do not have the figures needed for producing the entire document, but it would be nice to see it even without the figures. You can insert figure floats, and simply not insert any graphics files into them. Or even better, you could put the figure in a branch (see Document - Settings) - then you can enable or disable them as you like. That will cause latex errors when there is a cross reference to a disabled figure. Helge Hafting
Re: floats and subfloats with longtables SOLVED
On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmann daniel.lohm...@informatik.uni-erlangen.de wrote: a clean solution might be possible using the afterpage package. Basically it provides the \afterpage{something} command, which causes the expansion of something to be postponed until LaTeX has shipped out the current page. If you insert your long table this way, it should (theoretically) appear on the beginning of the next page without interrupting the flow of text on the current page. It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
Re: I surely do wish I could use aspell directly on a *.lyx file...
Joe(theWordy)Philbrook wrote: Don't get me wrong, LyX's internal spellchecker does a good job of implementing aspell. Except for two little things that make me wish I could invoke aspell from the command line on a *.lyx file and have it skip all the embedded lyx commands. I've looked at the docs for aspell and it looks like there is a --mode=tex option, but I don't see anything about a --mode=lyx option for it. sigh I wouldn't care but for those two little things I mentioned. And to be sure lyx's spellchecker isn't alone among gui spellchecker routines about which these two things drive me a little crazy. The first (And most obvious)issue is the way the pop-up spellchecker dialog box often obscures the word in the text of the lyx document. I mean if it Seems like this is fixed for the next version of LyX. [...] The second issue has to do with the fact that I'm a keyboard centric kind of guy that really dislikes putting the keyboard down to wrestle with the mouse. I know I can and do use alt+R to accept the default suggestion, alt+I to ignore the intentionally misspelled word that I don't want added to the dictionary. And I've even gotten used to the fact that it's alt+D {which with the D being so close to the R on a qwerty keyboard has caused more than a few erroneous additions to my ~/.aspell.en.pws file} rather than a more intuitive alt+A to Add the word to the dictionary. But what I can't do is to select something other than the topmost default spelling suggestion with the keyboard. Oh I can use tab to get to the suggestion list, then the arrow key to highlight an alternate suggestion. But I can't find a way to get the spellchecker to use the now highlighted suggestion without dusting off that torture device that controls the mouse pointer and clicking on the word in question. IE: If I misspell cycle as cyclen the default suggestion shows up as cyclone. With the 2nd choice being cycle. I can use the keyboard to hi-light cycle, But this doesn't change the fact that the actual replacement field still says cyclone. So of course if I press enter cyclen will become cyclone... I have only three choices to get the spellchecker to change cyclen to cycle. 1) double click on cycle from the list of suggestions. 2) single click on cycle to change the replacement field to cycle allowing either alt+R or enter to make the change. 3) tab my way instead to the replacement field and manually edit cyclone into cycle... sigh Very good explanation - could you file in the bug tracker, where the developers will find it? URL: http://www.lyx.org/trac/wiki/BugTrackerHome Helge Hafting
Re: Making only one page landscape while the rest is portrait
2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: It work for a table I had in a Komascript book in latex preamble insert \usepackage{pdflscape} then use ERT (ctrl-l) before and after table to insert \begin{landscape} and \end{landscape}repectively 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard I'm interested to know if there is a more 'LyX' way of doing this -- Stephen
Re: Bibliography problem and [?] questionmarks
This is all a bit advanced for me. All I can do about encoding is change the way I export to bibtex from zotero and I choose utf8 for that, but I don't know were else I can change encoding in my lyx file. I created a new lyx file, a new library in zotero, exported it in the same folder as y file, tried ti add citation and the same thing happens. I then tried the terminal, although I don't know what it does actually... I got this (if this is understandable by any of you I would really appreciate some help): _ (Press Enter to retry, or Control-D to exit) Please type another input file name: /Users/weremoose/thesis/managing_nuclear_factories.lyx (/Users/weremoose/thesis/managing_nuclear_factories.lyx LaTeX2e 2005/12/01 Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus, ar abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, la tin, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, r omanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turki sh, ukenglish, ukrainian, uppersorbian, welsh, loaded. ! You can't use `macro parameter character #' in vertical mode. l.1 # LyX 1.6.5 created this file. For more info see http://www.lyx.org/ ? bibtex /Users/weremoose/thesis/thesis_library.bib Type return to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.1 #L yX 1.6.5 created this file. For more info see http://www.lyx.org/ ? ! Undefined control sequence. l.2 \lyxformat 345 ? latex /Users/weremoose/thesis/managing_nuclear_factories.lyx Type return to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? /Users/weremoose/thesis/managing_nuclear_factories.lyx Type return to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? /Users/weremoose/thesis/managing_nuclear_factories.lyx Type return to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? ! Undefined control sequence. l.5 \textclass scrbook ? ! Undefined control sequence. l.6 \use _default_options true ? ! Missing $ inserted. inserted text $ l.6 \use_ default_options true ? _ Any ideas? I am lost here, I am actually thinking of putting the citations manually in my document as footnotes... I don't know what to do... Thanks again... On Jan 7, 2010, at 8:42 PM, Pierfranco Minsenti wrote: Hello, in my experience I have obtained the question marks ? in the PDF file obtained from LyX, instead of regular citations, in these 2 cases: 1) as Richard said: when LyX doesn't find the bibtex file, maybe because it has been moved after inserting citations AND / OR 2) when there is something wrong with the bibliographic style selected. Since weremoose says he was able to insert citations using the LyX commands, the file path should be right (at least at the moment of inserting citations). So one reason for the problem could be the second one. I would suggest to try to select different bibliographic styles from the proper menu and then save the file and compile in order to verify if this could be the problem. pierfranco 2010/1/7 rgheck rgh...@bobjweil.com On 01/07/2010 09:23 AM, weremoose wrote: Hello, I am a mac user (currently on 10.6.2) and I decided to use LyX to write my thesis as it looked very promising. So I have LyX 1.6.5 installed and started testing it, it's very convenient and gets me nice looking text even with my drafts. Everything good so far. I found that I can use Zotero for my references, installed it along with lyz, everything works fine now and my citations are pushed to LyX. The thing is, there must be some kind of bug and no matter how much I tried I can't get it to work. I've been trying for more than a week and I feel quite
Re: Making only one page landscape while the rest is portrait
Thanks for those replies. I tried this, and it compiles without problems: however,the table is printed off the page to the right, except for the first column. On Fri, 2010-01-15 at 12:49 +, stephen's mailinglist account wrote: It work for a table I had in a Komascript book in latex preamble insert \usepackage{pdflscape} then use ERT (ctrl-l) before and after table to insert \begin{landscape} and \end{landscape}repectively 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: in raw LaTeX there is a package pdflscape which allows you to set an environment (\begin{landscape}..\end{landscape}. Content in between is rotated, but headers and footers are left as per normal. I have used this with a rotated supertabular which stetched over a few pages. Don't know whether lyX can implement. may need some ERT 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard -- Stephen
Re: on equation numbering in an Appendix
E. Kaplan schrieb: I solved my problem by inserting ERT just before the appendix starts: \renewcommand{\theequation}{A.\arabic{equation}} \setcounter{equation}{0} However, I would still like to do this with the features of Lyx, if possible. Your solution is the only one. regards Uwe
Re: Making only one page landscape while the rest is portrait
On Friday 15 January 2010 10:27:35 stephen's mailinglist account wrote: 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: It work for a table I had in a Komascript book in latex preamble insert \usepackage{pdflscape} then use ERT (ctrl-l) before and after table to insert \begin{landscape} and \end{landscape}repectively 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard I'm interested to know if there is a more 'LyX' way of doing this Humor me for a second... If exactly one page is landscape, that page must involve special content that must remain together always. If that's the case, maybe make that content with other software and import a rotated pdf of it into your LyX document. From LyX's point of view it's just one more portrait page, but the reader turns the page sideways to view the content. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Making only one page landscape while the rest is portrait
Confession time: when it worked well I did it without a float. I am going to look at the thread on longtables and see if I can get it to work with some of the ideas from there 2010/1/15 Richard Brown rich...@guidedelearning.com: Thanks for those replies. I tried this, and it compiles without problems: however,the table is printed off the page to the right, except for the first column. On Fri, 2010-01-15 at 12:49 +, stephen's mailinglist account wrote: It work for a table I had in a Komascript book in latex preamble insert \usepackage{pdflscape} then use ERT (ctrl-l) before and after table to insert \begin{landscape} and \end{landscape}repectively 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: in raw LaTeX there is a package pdflscape which allows you to set an environment (\begin{landscape}..\end{landscape}. Content in between is rotated, but headers and footers are left as per normal. I have used this with a rotated supertabular which stetched over a few pages. Don't know whether lyX can implement. may need some ERT 2010/1/15 Richard Brown rich...@guidedelearning.com: Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert float table Thanks again. Richard -- Stephen -- Stephen
Re: Making only one page landscape while the rest is portrait
On Fri, 15 Jan 2010, Steve Litt wrote: If exactly one page is landscape, that page must involve special content that must remain together always. If that's the case, maybe make that content with other software and import a rotated pdf of it into your LyX document. From LyX's point of view it's just one more portrait page, but the reader turns the page sideways to view the content. SteveT, In my book there is one table that is wide but short. I set that one page in landscape orientation while all other pages are in portrait orientation. Worked just fine. Rich
Re: Making only one page landscape while the rest is portrait
SteveT, In my book there is one table that is wide but short. I set that one page in landscape orientation while all other pages are in portrait orientation. Worked just fine. Rich How did you do that ?- I have used ERT -- Stephen
Re: Making only one page landscape while the rest is portrait
On Fri, 15 Jan 2010, stephen's mailinglist account wrote: How did you do that ?- I have used ERT I probably used ERT, too. It's been about 5 years now and I don't see anything in the .lyx file, but I can see the results in the printed book. Rich
Re: floats and subfloats with longtables SOLVED
Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: Friday, January 15, 2010 8:13 AM To: Daniel Lohmann Cc: Rob Oakes; lyx mail list Subject: Re: floats and subfloats with longtables SOLVED On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmann daniel.lohm...@informatik.uni-erlangen.de wrote: a clean solution might be possible using the afterpage package. Basically it provides the \afterpage{something} command, which causes the expansion of something to be postponed until LaTeX has shipped out the current page. If you insert your long table this way, it should (theoretically) appear on the beginning of the next page without interrupting the flow of text on the current page. It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf longtablepage.module Description: Binary data
Re: LyX for AAAI articles
Hi Rob, It's working! It is important to set the Document class to article (aaai) and the Bibliography style to aaai. The Bibliography style aaai may not be in the drop down list, but you can just manually type aaai there. Thanks again for your helpful responses! Mehrdad On Sun, Jan 10, 2010 at 3:55 PM, Rob Oakes lyx-de...@oak-tree.us wrote: Hi Mehrdad, If you can't get your LaTeX distribution to recognize the bibtex style, you can also use it locally. Copy it to the same directory as your LyX document. Then, open up LyX and the Bibliography dialog (the easiest way to do this is to click on the BibTeX bibliography in your document. Next to the list of available BibTeX styles, you will see a Browse button. Just open up the file dialog and find the style in the local directory then try and recompile the document. If you continue to have problems, take a look at the formatting instructions provided with the author kit. I haven't ever used this particular style and I'm not sure that I can give you much guidance on how to navigate its complexities. Cheers, Rob On Sun, 2010-01-10 at 09:15 -0800, Mehrdad Oveisi wrote: Hi Rob, Thanks a lot for your prompt and helpful respond! I have copied aaai.sty from the AuthorKit to ~/Library/texmf/tex/latex/ and followed the rest of your instructions, and things are working quite nicely. The only problem I have is with Bibliography. I have inserted it using: Insert - List / TOC - BibTeX Bibliography and then I used aaai-named as style which was the only style I found in the list with a mention of aaai. But this gives me a pop up window containing the following error: --- Latex Errors }1982]{alchourrn_logic_1982} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. I noticed that the AAAI AuthorKit also contains a file named fixbib.sty. I don't know if that can help to fix the problem. Also thanks a lot for the nice LyX links! Regards, Mehrdad On Fri, Jan 8, 2010 at 10:22 AM, Rob Oakes lyx-de...@oak-tree.us wrote: Hi Mehrdad , The best way to get started is to install the LaTeX class and examples in your texmf folder (~/Library/texmf/tex/latex on Mac OS X, /usr/local/share/texmf/tex/latex on other Unix-like operating systems; if the folder doesn't exist, then create it). When done, open up a terminal and type: sudo texhash When done, Open LyX and select Tools-Reconfigure. Restart LyX. To use the aaai style, create a new document in LyX using the article document class. To the preamble of your document (Document-Settings-LaTeX preamble), add the following: \usepackage{aaai} \usepackage{times} \usepackage{helvet} \usepackage{courier} For the bibliography, choose Insert-LaTeX Bibliography and specify which BibTeX database you will be using. To ensure that it uses the right style, find aaai from the available options and select it. Press Ok. Then, start writing. You're very lucky. Aaai is implemented as a LaTeX package (rather than as a stand-alone document class), which means don't need to create your own custom layout. The \usepackage{aaai} command will ensure that the formatting complies with the publication specifications. If you want additional information, take a look at the formatting-instructions.tex file which came as part of the AuthorKit. It has some good information on how to get started. If you are going to be using LyX long-term, it will also help you become comfortable looking at LaTeX source. You don't need to be a LaTeX guru to use LyX, but understanding the basics opens a whole new world of what you can accomplish. If you're interested, I've written a couple of articles that explore this more in-depth: Customizing LyX: Create an NIH Grant Proposal (http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih ) Customizing LyX: Character Styles and the LyX Local Layout ( http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles ) Best of luck with your paper. Cheers, Rob Oakes
Re: Making only one page landscape while the rest is portrait
I have checked across in the thread on floats, sub-floats SOLVED. If you surround your table with some ERT \afterpage{\clearpage ... table here ... } One can then choose the option to rotate the table from the dialogue box. This moves the table onto its own page, but this behaves as a float because the text continues on the previous page, and onto the page after the table. Perhaps we are making it altogether too complicated because one could just insert the float and rotate the whole table using the dialogue box. I think I couldn't see the wood for the trees because my test table was a long table. 2010/1/15 Rich Shepard rshep...@appl-ecosys.com: On Fri, 15 Jan 2010, stephen's mailinglist account wrote: How did you do that ?- I have used ERT I probably used ERT, too. It's been about 5 years now and I don't see anything in the .lyx file, but I can see the results in the printed book. Rich -- Stephen
Re: floats and subfloats with longtables SOLVED
2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen
Re: floats and subfloats with longtables SOLVED
Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: 2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen -- Stephen
Re: For the Wish list
On 2010-01-15, Helge Hafting wrote: Thomas Steffen wrote: On Wed, Jan 6, 2010 at 11:15 AM, Helge Hafting helge.haft...@hist.nowrote: Ehud Kaplan wrote: In working with colleagues on a paper, there are times when I do not have the figures needed for producing the entire document, but it would be nice to see it even without the figures. You can insert figure floats, and simply not insert any graphics files into them. Or even better, you could put the figure in a branch (see Document - Settings) - then you can enable or disable them as you like. That will cause latex errors when there is a cross reference to a disabled figure. Only if you put the complete figure-float in the branch. Should be solved by placing just the picture in the branch if you want to have a cross-ref to the figure-float. Günter
Re: floats and subfloats with longtables SOLVED
Any number of InsetLayouts can be placed in a module. You will want to make sure that you define a new macro, however. Cheers, Rob Sent from Rob's Palm On Jan 15, 2010, at 3:16 PM, stephen's mailinglist account stephen4mailingli...@googlemail.com wrote: Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com : 2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen -- Stephen
Re: Suscribe
Am Samstag 16 Januar 2010 schrieb Eugenio Raliuga: Dear lyx-users@lists.lyx.org please subscribe me to the list Thank you Eugenio You can do it yourself. Look please at http://www.lyx.org/MailingLists. (send an empty message to lyx-users-subscr...@lists.lyx.org to subscribe ) Kornel -- Kornel Benko kornel.be...@berlin.de signature.asc Description: This is a digitally signed message part.
White pages after some chapters using KOMA script book
Hello again. I'm struggling still, though I can now see some progress... But my problem now is that I have an unwanted empty white page after some, but not all, chapters. I can't see any logic as to why, either in my input ms or in the output dvi. What should I be looking for, anfd how can I change this? Grateful as always for your time and input. Richard
Re: White pages after some chapters using KOMA script book
2010/1/15 Richard Brown: > Hello again. > > I'm struggling still, though I can now see some progress... > But my problem now is that I have an unwanted empty white page after > some, but not all, chapters. I can't see any logic as to why, either in > my input ms or in the output dvi. What should I be looking for, anfd how > can I change this? > > Grateful as always for your time and input. > > Richard > > Is this to do with two page settings so that new chapters start on the right? -- Stephen
Macro with comma in argument
Dear Lyx-Users! I use the following macro: \newcommand{\ket}[1]{|#1\rangle} This should produce stuff like |F,mF> with the argument being 'F,mF' My problem is: entering the comma, Lyx leaves the argument-focus of \ket This means, Lyx produces |F>,mF (when I compile with pdfLatex) Does andybody know what I can do? Thank you & best regards Pascal -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
Re: White pages after some chapters using KOMA script book
On 15 Jan 2010, stephen's mailinglist account wrote: > 2010/1/15 Richard Brown: > > Hello again. > > > > I'm struggling still, though I can now see some progress... > > But my problem now is that I have an unwanted empty white page after > > some, but not all, chapters. I can't see any logic as to why, either in > > my input ms or in the output dvi. What should I be looking for, anfd how > > can I change this? > > > > Grateful as always for your time and input. > > > > Richard > > > > > Is this to do with two page settings so that new chapters start on the right? > > At least in the Book class you can fix this in Document/Settings. Under Class Options choose Custom and insert openany. Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell
Making only one page landscape while the rest is portrait
Hello yet again. I have a big table in my ms, which can only fit on the page if I put it in landscape mode. How do I do this for just one page, leaving the rest as portrait which is fine? I'm using Koma script Book and the table was generated by using insert > float > table Thanks again. Richard
> on equation numbering in an Appendix
I solved my problem by inserting ERT just before the appendix starts: \renewcommand{\theequation}{A.\arabic{equation}} \setcounter{equation}{0} However, I would still like to do this with the features of Lyx, if possible. Thanks, EK
Re: KOMA script book chapter headings
Richard Brown schrieb: Thanks for the reply. On Lyx 1.5.3 on ubuntu I found Documents->Settings->Document class and the field "Options" which I assumed was the same; I pasted into there the string chapterprefix=true That is correct. but it didn't do anything. Am I missing some step? Hmm, what is your document class, what version of KOMA-script? regards Uwe
Re: Making only one page landscape while the rest is portrait
in raw LaTeX there is a package pdflscape which allows you to set an environment (\begin{landscape}..\end{landscape}. Content in between is rotated, but headers and footers are left as per normal. I have used this with a rotated supertabular which stetched over a few pages. Don't know whether lyX can implement. may need some ERT 2010/1/15 Richard Brown: > Hello yet again. > > I have a big table in my ms, which can only fit on the page if I put it > in landscape mode. How do I do this for just one page, leaving the rest > as portrait which is fine? I'm using Koma script Book and the table was > generated by using insert > float > table > > Thanks again. > > Richard > > > -- Stephen
Re: Making only one page landscape while the rest is portrait
It work for a table I had in a Komascript book in latex preamble insert \usepackage{pdflscape} then use ERT (ctrl-l) before and after table to insert \begin{landscape} and \end{landscape}repectively 2010/1/15 stephen's mailinglist account: > in raw LaTeX there is a package pdflscape which allows you to set an > environment (\begin{landscape}..\end{landscape}. Content in between is > rotated, but headers and footers are left as per normal. > I have used this with a rotated supertabular which stetched over a few > pages. Don't know whether lyX can implement. may need some ERT > > 2010/1/15 Richard Brown : >> Hello yet again. >> >> I have a big table in my ms, which can only fit on the page if I put it >> in landscape mode. How do I do this for just one page, leaving the rest >> as portrait which is fine? I'm using Koma script Book and the table was >> generated by using insert > float > table >> >> Thanks again. >> >> Richard >> >> >> > > > > -- > Stephen > -- Stephen
Re: Macro with comma in argument
On 01/15/2010 05:02 AM, Pascal Boehm wrote: Dear Lyx-Users! I use the following macro: \newcommand{\ket}[1]{|#1\rangle} This should produce stuff like |F,mF> with the argument being 'F,mF' My problem is: entering the comma, Lyx leaves the argument-focus of \ket This means, Lyx produces |F>,mF (when I compile with pdfLatex) Does andybody know what I can do? I don't see this. See the attached. rh #LyX 1.6.4svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass paper \begin_preamble \usepackage{heck} \end_preamble \use_default_options false \language english \inputencoding auto \font_roman times \font_sans helvet \font_typewriter courier \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize 11 \spacing single \use_hyperref false \papersize letterpaper \use_geometry false \use_amsmath 1 \use_esint 0 \cite_engine natbib_authoryear \use_bibtopic false \paperorientation portrait \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip smallskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle plain \tracking_changes false \output_changes false \author "" \author "" \end_header \begin_body \begin_layout Standard \begin_inset FormulaMacro \renewcommand{\ket}[1]{|#1\rangle} \end_inset \end_layout \begin_layout Standard \begin_inset Formula $\ket{a,b}$ \end_inset \end_layout \end_body \end_document
Re: Macro with comma in argument
Thank you! Now I understand! I just inserted it as plain LaTeX, instead of 'Macro' Pascal > -Ursprüngliche Nachricht- > Von: rgheck [mailto:rgh...@bobjweil.com] > Gesendet: Freitag, 15. Januar 2010 14:00 > An: Pascal Boehm > Cc: lyx-users@lists.lyx.org > Betreff: Re: Macro with comma in argument > On 01/15/2010 05:02 AM, Pascal Boehm wrote: > > Dear Lyx-Users! > > > > I use the following macro: > > > > \newcommand{\ket}[1]{|#1\rangle} > > > > This should produce stuff like |F,mF> with the argument being 'F,mF' > > > > My problem is: entering the comma, Lyx leaves the argument-focus of \ket > > This means, Lyx produces |F>,mF (when I compile with pdfLatex) > > > > Does andybody know what I can do? > > > > > I don't see this. See the attached. > > rh > -- Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.! http://portal.gmx.net/de/go/dsl02
Re: For the Wish list
Thomas Steffen wrote: On Wed, Jan 6, 2010 at 11:15 AM, Helge Haftingwrote: Ehud Kaplan wrote: In working with colleagues on a paper, there are times when I do not have the figures needed for producing the entire document, but it would be nice to see it even without the figures. You can insert figure floats, and simply not insert any graphics files into them. Or even better, you could put the figure in a branch (see Document -> Settings) - then you can enable or disable them as you like. That will cause latex errors when there is a cross reference to a disabled figure. Helge Hafting
Re: floats and subfloats with longtables SOLVED
On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmannwrote: > a clean solution might be possible using the afterpage package. Basically it > provides the \afterpage{} command, which causes the expansion of > to be postponed until LaTeX has shipped out the current page. If > you insert your long table this way, it should (theoretically) appear on the > beginning of the next page without interrupting the flow of text on the > current page. > It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
Re: I surely do wish I could use aspell directly on a *.lyx file...
Joe(theWordy)Philbrook wrote: Don't get me wrong, LyX's internal spellchecker does a good job of implementing aspell. Except for two little things that make me wish I could invoke aspell from the command line on a *.lyx file and have it skip all the embedded lyx commands. I've looked at the docs for aspell and it looks like there is a --mode=tex option, but I don't see anything about a --mode=lyx option for it. I wouldn't care but for those two little things I mentioned. And to be sure lyx's spellchecker isn't alone among gui spellchecker routines about which these two things drive me a little crazy. The first (And most obvious)issue is the way the pop-up spellchecker dialog box often obscures the word in the text of the lyx document. I mean if it Seems like this is fixed for the next version of LyX. [...] The second issue has to do with the fact that I'm a keyboard centric kind of guy that really dislikes putting the keyboard down to wrestle with the mouse. I know I can and do use +R to accept the default suggestion, +I to ignore the intentionally misspelled word that I don't want added to the dictionary. And I've even gotten used to the fact that it's +D {which with the "D" being so close to the "R" on a qwerty keyboard has caused more than a few erroneous additions to my ~/.aspell.en.pws file} rather than a more intuitive +A to Add the word to the dictionary. But what I can't do is to select something other than the topmost default spelling suggestion with the keyboard. Oh I can use tab to get to the suggestion list, then the arrow key to highlight an alternate suggestion. But I can't find a way to get the spellchecker to use the now highlighted suggestion without dusting off that torture device that controls the mouse pointer and clicking on the word in question. IE: If I misspell cycle as cyclen the default suggestion shows up as cyclone. With the 2nd choice being cycle. I can use the keyboard to hi-light cycle, But this doesn't change the fact that the actual "replacement" field still says cyclone. So of course if I press enter cyclen will become cyclone... I have only three choices to get the spellchecker to change cyclen to cycle. 1) double click on cycle from the list of suggestions. 2) single click on cycle to change the replacement field to cycle allowing either +R or to make the change. 3) tab my way instead to the replacement field and manually edit cyclone into cycle... Very good explanation - could you file in the bug tracker, where the developers will find it? URL: http://www.lyx.org/trac/wiki/BugTrackerHome Helge Hafting
Re: Making only one page landscape while the rest is portrait
2010/1/15 stephen's mailinglist account: > It work for a table I had in a Komascript book > > in latex preamble insert \usepackage{pdflscape} > then use ERT (ctrl-l) before and after table to insert > \begin{landscape} and \end{landscape}repectively > > >> 2010/1/15 Richard Brown : >>> Hello yet again. >>> >>> I have a big table in my ms, which can only fit on the page if I put it >>> in landscape mode. How do I do this for just one page, leaving the rest >>> as portrait which is fine? I'm using Koma script Book and the table was >>> generated by using insert > float > table >>> >>> Thanks again. >>> >>> Richard I'm interested to know if there is a more 'LyX' way of doing this -- Stephen
Re: Bibliography problem and [?] questionmarks
This is all a bit advanced for me. All I can do about encoding is change the way I export to bibtex from zotero and I choose utf8 for that, but I don't know were else I can change encoding in my lyx file. I created a new lyx file, a new library in zotero, exported it in the same folder as y file, tried ti add citation and the same thing happens. I then tried the terminal, although I don't know what it does actually... I got this (if this is understandable by any of you I would really appreciate some help): _ (Press Enter to retry, or Control-D to exit) Please type another input file name: /Users/weremoose/thesis/managing_nuclear_factories.lyx (/Users/weremoose/thesis/managing_nuclear_factories.lyx LaTeX2e <2005/12/01> Babel and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus, ar abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, la tin, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, r omanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turki sh, ukenglish, ukrainian, uppersorbian, welsh, loaded. ! You can't use `macro parameter character #' in vertical mode. l.1 # LyX 1.6.5 created this file. For more info see http://www.lyx.org/ ? bibtex /Users/weremoose/thesis/thesis_library.bib Type to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.1 #L yX 1.6.5 created this file. For more info see http://www.lyx.org/ ? ! Undefined control sequence. l.2 \lyxformat 345 ? latex /Users/weremoose/thesis/managing_nuclear_factories.lyx Type to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? /Users/weremoose/thesis/managing_nuclear_factories.lyx Type to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? /Users/weremoose/thesis/managing_nuclear_factories.lyx Type to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? ! Undefined control sequence. l.5 \textclass scrbook ? ! Undefined control sequence. l.6 \use _default_options true ? ! Missing $ inserted. $ l.6 \use_ default_options true ? _ Any ideas? I am lost here, I am actually thinking of putting the citations manually in my document as footnotes... I don't know what to do... Thanks again... On Jan 7, 2010, at 8:42 PM, Pierfranco Minsenti wrote: > Hello, > > in my experience I have obtained the question marks ? in the PDF file > obtained from LyX, instead of regular citations, in these 2 cases: > 1) as Richard said: when LyX doesn't find the bibtex file, maybe because it > has been moved after inserting citations > AND / OR > 2) when there is something wrong with the bibliographic style selected. > > Since weremoose says he was able to insert citations using the LyX commands, > the file path should be right (at least at the moment of inserting > citations). So one reason for the problem could be the second one. I would > suggest to try to select different bibliographic styles from the proper menu > and then save the file and compile in order to verify if this could be the > problem. > > pierfranco > > > 2010/1/7 rgheck> On 01/07/2010 09:23 AM, weremoose wrote: > Hello, > > I am a mac user (currently on 10.6.2) and I decided to use LyX to write my > thesis as it looked very promising. So I have LyX 1.6.5 installed and > started testing it, it's very convenient and gets me nice looking text even > with my drafts. Everything good so far. I found that I can use Zotero for my > references, installed it along with lyz, everything works fine now and my > citations are pushed to LyX. > > The thing is, there must be some kind of bug and no matter how much I tried > I can't get it to work. I've been trying for more than a week and I feel > quite stupid...
Re: Making only one page landscape while the rest is portrait
Thanks for those replies. I tried this, and it compiles without problems: however,the table is printed off the page to the right, except for the first column. On Fri, 2010-01-15 at 12:49 +, stephen's mailinglist account wrote: > It work for a table I had in a Komascript book > > in latex preamble insert \usepackage{pdflscape} > then use ERT (ctrl-l) before and after table to insert > \begin{landscape} and \end{landscape}repectively > > 2010/1/15 stephen's mailinglist account: > > in raw LaTeX there is a package pdflscape which allows you to set an > > environment (\begin{landscape}..\end{landscape}. Content in between is > > rotated, but headers and footers are left as per normal. > > I have used this with a rotated supertabular which stetched over a few > > pages. Don't know whether lyX can implement. may need some ERT > > > > 2010/1/15 Richard Brown : > >> Hello yet again. > >> > >> I have a big table in my ms, which can only fit on the page if I put it > >> in landscape mode. How do I do this for just one page, leaving the rest > >> as portrait which is fine? I'm using Koma script Book and the table was > >> generated by using insert > float > table > >> > >> Thanks again. > >> > >> Richard > >> > >> > >> > > > > > > > > -- > > Stephen > > > > >
Re: > on equation numbering in an Appendix
E. Kaplan schrieb: I solved my problem by inserting ERT just before the appendix starts: \renewcommand{\theequation}{A.\arabic{equation}} \setcounter{equation}{0} However, I would still like to do this with the features of Lyx, if possible. Your solution is the only one. regards Uwe
Re: Making only one page landscape while the rest is portrait
On Friday 15 January 2010 10:27:35 stephen's mailinglist account wrote: > 2010/1/15 stephen's mailinglist account: > > It work for a table I had in a Komascript book > > > > in latex preamble insert \usepackage{pdflscape} > > then use ERT (ctrl-l) before and after table to insert > > \begin{landscape} and \end{landscape}repectively > > > >> 2010/1/15 Richard Brown : > >>> Hello yet again. > >>> > >>> I have a big table in my ms, which can only fit on the page if I put it > >>> in landscape mode. How do I do this for just one page, leaving the rest > >>> as portrait which is fine? I'm using Koma script Book and the table was > >>> generated by using insert > float > table > >>> > >>> Thanks again. > >>> > >>> Richard > > I'm interested to know if there is a more 'LyX' way of doing this Humor me for a second... If exactly one page is landscape, that page must involve special content that must remain together always. If that's the case, maybe make that content with other software and import a rotated pdf of it into your LyX document. From LyX's point of view it's just one more portrait page, but the reader turns the page sideways to view the content. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Making only one page landscape while the rest is portrait
Confession time: when it worked well I did it without a float. I am going to look at the thread on longtables and see if I can get it to work with some of the ideas from there 2010/1/15 Richard Brown: > Thanks for those replies. I tried this, and it compiles without > problems: however,the table is printed off the page to the right, except > for the first column. > > On Fri, 2010-01-15 at 12:49 +, stephen's mailinglist account wrote: >> It work for a table I had in a Komascript book >> >> in latex preamble insert \usepackage{pdflscape} >> then use ERT (ctrl-l) before and after table to insert >> \begin{landscape} and \end{landscape}repectively >> >> 2010/1/15 stephen's mailinglist account >> : >> > in raw LaTeX there is a package pdflscape which allows you to set an >> > environment (\begin{landscape}..\end{landscape}. Content in between is >> > rotated, but headers and footers are left as per normal. >> > I have used this with a rotated supertabular which stetched over a few >> > pages. Don't know whether lyX can implement. may need some ERT >> > >> > 2010/1/15 Richard Brown : >> >> Hello yet again. >> >> >> >> I have a big table in my ms, which can only fit on the page if I put it >> >> in landscape mode. How do I do this for just one page, leaving the rest >> >> as portrait which is fine? I'm using Koma script Book and the table was >> >> generated by using insert > float > table >> >> >> >> Thanks again. >> >> >> >> Richard >> >> >> >> >> >> >> > >> > >> > >> > -- >> > Stephen >> > >> >> >> > > -- Stephen
Re: Making only one page landscape while the rest is portrait
On Fri, 15 Jan 2010, Steve Litt wrote: If exactly one page is landscape, that page must involve special content that must remain together always. If that's the case, maybe make that content with other software and import a rotated pdf of it into your LyX document. From LyX's point of view it's just one more portrait page, but the reader turns the page sideways to view the content. SteveT, In my book there is one table that is wide but short. I set that one page in landscape orientation while all other pages are in portrait orientation. Worked just fine. Rich
Re: Making only one page landscape while the rest is portrait
> SteveT, > > In my book there is one table that is wide but short. I set that one page > in landscape orientation while all other pages are in portrait orientation. > Worked just fine. > > Rich > How did you do that ?- I have used ERT -- Stephen
Re: Making only one page landscape while the rest is portrait
On Fri, 15 Jan 2010, stephen's mailinglist account wrote: How did you do that ?- I have used ERT I probably used ERT, too. It's been about 5 years now and I don't see anything in the .lyx file, but I can see the results in the printed book. Rich
Re: floats and subfloats with longtables SOLVED
Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: Friday, January 15, 2010 8:13 AM To: Daniel Lohmann Cc: Rob Oakes; lyx mail list Subject: Re: floats and subfloats with longtables SOLVED On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmannwrote: > a clean solution might be possible using the afterpage package. > Basically it provides the \afterpage{} command, which > causes the expansion of to be postponed until LaTeX has > shipped out the current page. If you insert your long table this way, > it should (theoretically) appear on the beginning of the next page > without interrupting the flow of text on the current page. > It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf longtablepage.module Description: Binary data
Re: LyX for AAAI articles
Hi Rob, It's working! It is important to set the Document class to "article (aaai)" and the Bibliography style to "aaai". The Bibliography style "aaai" may not be in the drop down list, but you can just manually type "aaai" there. Thanks again for your helpful responses! Mehrdad On Sun, Jan 10, 2010 at 3:55 PM, Rob Oakeswrote: > Hi Mehrdad, > > If you can't get your LaTeX distribution to recognize the bibtex style, > you can also use it locally. Copy it to the same directory as your LyX > document. Then, open up LyX and the Bibliography dialog (the easiest > way to do this is to click on the "BibTeX bibliography" in your > document. > > Next to the list of available BibTeX styles, you will see a "Browse" > button. Just open up the file dialog and find the style in the local > directory then try and recompile the document. > > If you continue to have problems, take a look at the formatting > instructions provided with the author kit. I haven't ever used this > particular style and I'm not sure that I can give you much guidance on > how to navigate its complexities. > > Cheers, > > Rob > > On Sun, 2010-01-10 at 09:15 -0800, Mehrdad Oveisi wrote: > > Hi Rob, > > > > Thanks a lot for your prompt and helpful respond! > > > > I have copied "aaai.sty" from the AuthorKit to > > ~/Library/texmf/tex/latex/ > > and followed the rest of your instructions, and things are working > > quite nicely. > > > > The only problem I have is with Bibliography. I have inserted it > > using: > > Insert -> List / TOC -> BibTeX Bibliography > > > > and then I used "aaai-named" as style which was the only style I found > > in the list with a mention of aaai. > > > > But this gives me a pop up window containing the following error: > > > > --- Latex Errors > > > > > > }1982]{alchourrn_logic_1982} > > > > The control sequence at the end of the top line > > > > of your error message was never \def'ed. If you have > > > > misspelled it (e.g., `\hobx'), type `I' and the correct > > > > spelling (e.g., `I\hbox'). Otherwise just continue, > > > > and I'll forget about whatever was undefined. > > > > > > > > I noticed that the AAAI AuthorKit also contains a file named > > "fixbib.sty". > > I don't know if that can help to "fix" the problem. > > > > Also thanks a lot for the nice LyX links! > > > > Regards, > > Mehrdad > > > > On Fri, Jan 8, 2010 at 10:22 AM, Rob Oakes > > wrote: > > Hi Mehrdad , > > > > The best way to get started is to install the LaTeX class and > > examples in your texmf folder (~/Library/texmf/tex/latex on > > Mac OS X, /usr/local/share/texmf/tex/latex on other Unix-like > > operating systems; if the folder doesn't exist, then create > > it). When done, open up a terminal and type: > > > > sudo texhash > > > > When done, Open LyX and select Tools->Reconfigure. Restart > > LyX. > > > > To use the aaai style, create a new document in LyX using the > > "article" document class. > > > > To the preamble of your document (Document->Settings->LaTeX > > preamble), add the following: > > > > \usepackage{aaai} > > > > \usepackage{times} > > \usepackage{helvet} > > \usepackage{courier} > > > > For the bibliography, choose Insert->LaTeX Bibliography and > > specify which BibTeX database you will be using. To ensure > > that it uses the right style, find aaai from the available > > options and select it. Press Ok. > > > > Then, start writing. You're very lucky. Aaai is implemented > > as a LaTeX package (rather than as a stand-alone document > > class), which means don't need to create your own custom > > layout. The \usepackage{aaai} command will ensure that the > > formatting complies with the publication specifications. > > > > If you want additional information, take a look at the > > "formatting-instructions.tex" file which came as part of the > > AuthorKit. It has some good information on how to get > > started. If you are going to be using LyX long-term, it will > > also help you become comfortable looking at LaTeX source. You > > don't need to be a LaTeX guru to use LyX, but understanding > > the basics opens a whole new world of what you can accomplish. > > > > If you're interested, I've written a couple of articles that > > explore this more in-depth: > > > > Customizing LyX: Create an NIH Grant Proposal > > (http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih > ) > > > > Customizing LyX: Character Styles and the LyX Local Layout > > ( > http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles > ) > > > > Best of luck with your paper. > > > > Cheers, > > > >
Re: Making only one page landscape while the rest is portrait
I have checked across in the thread on floats, sub-floats SOLVED. If you surround your table with some ERT \afterpage{\clearpage ... table here ... } One can then choose the option to rotate the table from the dialogue box. This moves the table onto its own page, but this behaves as a float because the text continues on the previous page, and onto the page after the table. Perhaps we are making it altogether too complicated because one could just insert the float and rotate the whole table using the dialogue box. I think I couldn't see the wood for the trees because my test table was a long table. 2010/1/15 Rich Shepard: > On Fri, 15 Jan 2010, stephen's mailinglist account wrote: > >> How did you do that ?- I have used ERT > > I probably used ERT, too. It's been about 5 years now and I don't see > anything in the .lyx file, but I can see the results in the printed book. > > Rich > -- Stephen
Re: floats and subfloats with longtables SOLVED
2010/1/15 Rob Oakes: > Dear Daniel, Liviu and Other LyX Users, > > Daniel and Liviu, thank you very much for the recommendations and for the > link. I've been experimenting with the \afterpage package all morning, and I > am very happy to report that it works famously. I am able to exactly the > type of behavior that I wanted by using the \afterpage{\clearpage LongTable} > macro. > > Because I've never been a huge fan of using ERT in LyX documents (at least no > more than is necessary), I decided to create a custom inset that would > automatically place long tables at the top of a new page, while maintaining > the wrapping of the text. > > The attached module is a first run at that inset. I've been testing it on a > couple of rather complicated documents, and it works exactly like I want it > to. I'm relatively sure that I'll come across bugs and other such stuff, so > I'm sure that it will get posted to my website at some point. > > I am forwarding it to the group in the hope that others will find it useful. > > Cheers, > > Rob Oakes > that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen
Re: floats and subfloats with longtables SOLVED
Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account: > 2010/1/15 Rob Oakes : >> Dear Daniel, Liviu and Other LyX Users, >> >> Daniel and Liviu, thank you very much for the recommendations and for the >> link. I've been experimenting with the \afterpage package all morning, and >> I am very happy to report that it works famously. I am able to exactly the >> type of behavior that I wanted by using the \afterpage{\clearpage LongTable} >> macro. >> >> Because I've never been a huge fan of using ERT in LyX documents (at least >> no more than is necessary), I decided to create a custom inset that would >> automatically place long tables at the top of a new page, while maintaining >> the wrapping of the text. >> >> The attached module is a first run at that inset. I've been testing it on a >> couple of rather complicated documents, and it works exactly like I want it >> to. I'm relatively sure that I'll come across bugs and other such stuff, so >> I'm sure that it will get posted to my website at some point. >> >> I am forwarding it to the group in the hope that others will find it useful. >> >> Cheers, >> >> Rob Oakes >> > > that seems to work very well thank you very much. Float the long > table to the top of a page. Table breaks and text continues after > table finishes on second page. > > module can also be modified for putting longtables sideways on a page > change preamble to this > \usepackage{afterpage} > \usepackage{pdflscape} > \newcommand{\longtablelandscapepage}[1]{% > \afterpage{\clearpage\begin{landscape} > {#1}\end{landscape}}} > > > -- > Stephen > -- Stephen
Re: For the Wish list
On 2010-01-15, Helge Hafting wrote: > Thomas Steffen wrote: >> On Wed, Jan 6, 2010 at 11:15 AM, Helge Haftingwrote: >>> Ehud Kaplan wrote: In working with colleagues on a paper, there are times when I do not have the figures needed for producing the entire document, but it would be nice to see it even without the figures. >>> You can insert figure floats, and simply not insert any graphics files into >>> them. >> Or even better, you could put the figure in a branch (see Document -> >> Settings) - then you can enable or disable them as you like. > That will cause latex errors when there is a cross reference to a > disabled figure. Only if you put the complete figure-float in the branch. Should be solved by placing just the picture in the branch if you want to have a cross-ref to the figure-float. Günter
Re: floats and subfloats with longtables SOLVED
Any number of InsetLayouts can be placed in a module. You will want to make sure that you define a new macro, however. Cheers, Rob Sent from Rob's Palm On Jan 15, 2010, at 3:16 PM, "stephen's mailinglist account"wrote: Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account : 2010/1/15 Rob Oakes : Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen -- Stephen
Re: Suscribe
Am Samstag 16 Januar 2010 schrieb Eugenio Raliuga: > Dear > lyx-users@lists.lyx.org > please subscribe me to the list > > Thank you > > Eugenio > You can do it yourself. Look please at http://www.lyx.org/MailingLists. (send an empty message to lyx-users-subscr...@lists.lyx.org to subscribe ) Kornel -- Kornel Benko kornel.be...@berlin.de signature.asc Description: This is a digitally signed message part.