Some formatting questions
Hi all, I'm new to Lyx, and and some questions regarding how the layout looks after conversion to PDF. I realize that a page number is added to the PDF file. How do I remove that? Is there a way to reduce the margins in the PDF file? I'm forced to write some of my expressions on the second line because the left and right margins are too narrow. Lastly, is there a way to increase the font size of the text/symbols in the PDF file? Thank you! Regards, Rayne Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
Re: Content box grayed out in bibtex bibliography window (RESOLVED)
On 10/1/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote: > Andrew Morrison wrote: > > On 9/28/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote: > > > >> Did you try clicking on the bibliography inset in the LyX doc, deleting > >> the .bib file, and then reselecting it? Or just deleting the > >> bibliography inset and recreating it? Also, if you View->Source, do you > >> see \ref commands with correct keys? > > > > I've done both types of deleting and reinserting. I've also tried > > creating a completely new file with only the list of citations in it. > > Still no dice. No matter what combo of things I try (including trying > > most of the styles) I cannot get the Content option to be anything > > other than grayed out. > > You mentioned working through an example from the wiki. That means you > created a document in 1.5.1 (?) where all the bibliography stuff worked, > right? If so, given your failure with a new file and your old .bib > file, perhaps something is up with either the .bib file or the path to it. > > > > Also, I have no option in the View menu for Source. Does that > > indicate I am missing some options? > > Is this in 1.5.1 or 1.4.3? View -> View Source was added in 1.5.x, so > you won't have it in 1.4.x (although it's easy to add somewhat > comparable functionality). If you don't have it in 1.5.1, that's a > mystery; it should be there automatically, no setting required, and I > can't think of any setting that one could mung in a way to cause it to > disappear. > > As far as the bibliography issue, can you post the .lyx and .bib files > for your CV here, or alternatively send them to me off list? > > /Paul > > My thanks to Paul for helping me on this, first of all. The solution is to go to to Document --> Settings ... --> Bibliography and then check "Sectioned bibliography". The Content line in the bibliography settings box then becomes active and I can choose to include all references. Thanks for the help! Andrew
Re: Miximg scripts.
On 9/29/07, Dov Feldstern <[EMAIL PROTECTED]> wrote: > > > Ernesto Posse wrote: > > I think the arabi package was installed correctly, since MiKTeX didn't > > give me any errors. I don't know how else to check if it is correctly > > installed (it has about 207 files.) I tried reinstalling it, but I > > obtain the same results. > > > > One way to check would be to see if you can "compile" a regular latex > (non-LyX) file with Farsi, maybe arabi includes some Farsi examples you > could test with. If you are able to do that, then it means that > arabi/latex are set up correctly, and the problem is getting LyX to work > with it. Otherwise, it means the problem is with your latex/arabi setup, > and there's not too much point in trying to get LyX to work before you > fix that. I didn't find any examples in the arabi package, but I wrote my own. Apparently the error occurs when using the babel package: This compiles fine: \documentclass[farsi,english]{article} \usepackage[T1]{fontenc} \usepackage[utf8,latin9]{inputenc} \begin{document} hello \end{document} But if I try to use a command from farsi, such as \alefhamza, I get a babel error: (even if I don't use babel, which is odd:) Package babel Error: You haven't loaded the option english yet. If I add \usepackage{babel} I get LaTeX Error: Encoding scheme `LAE' unknown. But apparently the solution is to modify the options for fontenc and babel as follows: \usepackage[LFE,LAE,OT1]{fontenc} \usepackage[farsi,english]{babel} So LyX should generate these instead of the default \usepackage[T1]{fontenc} \usepackage{babel} Nevertheless, LaTeX does give some warnings: "LaTeX Font Warning: Encoding `LFE' has changed to `OT1' for symbol font. > > Furthermore, I spoke too soon when I said that just typing worked > > fine. When I switch languages, it does seem to correctly switch the > > script, except for punctuation symbols. Only latin letters and digits > > seem to be correctly rendered, but the rest of the keyboard seems > > "stuck" with the other keyboard map. Only when I switch off keybord > > maps do I get the correct symbols. > > > > Hmm, this is strange. What have you set your primary and secondary > keymaps to? What is your default language (Tools -> Preferences -> > Language settings -> Language) and what is the document language > (Document -> Settings... -> Language)? Which language seems to be > working correctly, and which does not? Can you give an exact recipe for > reproducing (e.g.: open a new document, set language to , type > "abc"...)? Primary: american Secondary: farsi Default language: English Things seem to go awry when the language is switched, regardless of whether keyboard maps are on or off. Here's the recipe: 1. Open new document 2. type some text, including punctuation symbols 3. Set language to Farsi (Edit->Test Style->Customize->Language set to Farsi) 4. Type some text. 5. Set language to English or American (Edit->Test Style->Customize->Language set to English) 6. Type text. Punctuation symbols are now wrong. > Dov > > -- Ernesto Posse Modelling, Simulation and Design Lab - School of Computer Science McGill University - Montreal, Quebec, Canada url: http://moncs.cs.mcgill.ca/people/eposse
Re: Content box grayed out in bibtex bibliography window
On 10/1/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote: > Andrew Morrison wrote: > > On 9/28/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote: > > > >> Did you try clicking on the bibliography inset in the LyX doc, deleting > >> the .bib file, and then reselecting it? Or just deleting the > >> bibliography inset and recreating it? Also, if you View->Source, do you > >> see \ref commands with correct keys? > > > > I've done both types of deleting and reinserting. I've also tried > > creating a completely new file with only the list of citations in it. > > Still no dice. No matter what combo of things I try (including trying > > most of the styles) I cannot get the Content option to be anything > > other than grayed out. > > You mentioned working through an example from the wiki. That means you > created a document in 1.5.1 (?) where all the bibliography stuff worked, > right? If so, given your failure with a new file and your old .bib > file, perhaps something is up with either the .bib file or the path to it. > > > > Also, I have no option in the View menu for Source. Does that > > indicate I am missing some options? > > Is this in 1.5.1 or 1.4.3? View -> View Source was added in 1.5.x, so > you won't have it in 1.4.x (although it's easy to add somewhat > comparable functionality). If you don't have it in 1.5.1, that's a > mystery; it should be there automatically, no setting required, and I > can't think of any setting that one could mung in a way to cause it to > disappear. > Ah! I see...it was in 1.4.3 that there was no view source. It is there in 1.5.1. Sorry for the confusion. > As far as the bibliography issue, can you post the .lyx and .bib files > for your CV here, or alternatively send them to me off list? > Sure, I'll send them to you off list. Thanks! Andrew
Re: Newb - How to prevent page number on first page
> > I'm not sure what the protocol is on this list, should I attach a > > sample .lyx file? > But note that if your text contains poetry only Limericks or Haiku is > acceptable contents. Okay, it would help me - I want to line-up the heading of the poem with the left edge of text (when a poem is left justified.) Is there a better way to layout poetry? This slash renewcommand business is tedious. \d snippet.lyx Description: application/lyx
Re: Newb - How to prevent page number on first page
On Mon, Oct 01, 2007 at 05:05:24PM +0200, Donn Ingle wrote: > Hello, new to Lyx etc. > > I am on Kubuntu Dapper, using Lyx 1.5.1 (I installed it from a .deb). > I am using the memoir class because I am laying out poetry and I have > managed to get it more-or-less the way I want it from the memman.pdf > document. (Perhaps there's a better way to layout poems, but that's > another thread.) > > At the moment, I want to prevent the very first page (title page) of > the book from having a page number -- at all. > > I'm not sure what the protocol is on this list, should I attach a > sample .lyx file? Yes, a small one. But note that if your text contains poetry only Limericks or Haiku is acceptable contents. Andre'
Re: Help with part name indentation in TOC
D.Zorig wrote: Please help me with TOC. I have 2 rows of Part name (ctrl+enter). But in pdf output 2nd row of part name is not indented to align with first row. Multiple row Chapter names are indented and aligned just fine. How can I have multiple row part name indented and aligned in TOC. In DVI output multiple row part and chapter name are shown in one row in TOC. First, why do you have two rows in the part name? This is the kind of thing one usually leaves to LaTeX, rather than customizing it with Ctrl+Enter. So I'm not surprised the display in the TOC isn't as you wanted it to be. So, that said, to get it to align as you want, you'll have to edit the document class (or, possibly, use a different one). What document class are you using? Richard
Re: Newb - How to prevent page number on first page
Donn Ingle wrote: Hello, new to Lyx etc. I am on Kubuntu Dapper, using Lyx 1.5.1 (I installed it from a .deb). I am using the memoir class because I am laying out poetry and I have managed to get it more-or-less the way I want it from the memman.pdf document. (Perhaps there's a better way to layout poems, but that's another thread.) At the moment, I want to prevent the very first page (title page) of the book from having a page number -- at all. At the top of the first page, do: Insert>ERT, and then type "\thispagestyle{empty}". This is the LaTeX command for an "empty" page style---no header, no footer. Richard
Re: Newb - How to prevent page number on first page
On Mon, 1 Oct 2007, Donn Ingle wrote: Hi Donn You'll find the answer in the wiki - it's a frequent question although I don't remember the answer right now. http://wiki.lyx.org Best regards, /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: Content box grayed out in bibtex bibliography window
Andrew Morrison wrote: On 9/28/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote: Did you try clicking on the bibliography inset in the LyX doc, deleting the .bib file, and then reselecting it? Or just deleting the bibliography inset and recreating it? Also, if you View->Source, do you see \ref commands with correct keys? I've done both types of deleting and reinserting. I've also tried creating a completely new file with only the list of citations in it. Still no dice. No matter what combo of things I try (including trying most of the styles) I cannot get the Content option to be anything other than grayed out. You mentioned working through an example from the wiki. That means you created a document in 1.5.1 (?) where all the bibliography stuff worked, right? If so, given your failure with a new file and your old .bib file, perhaps something is up with either the .bib file or the path to it. Also, I have no option in the View menu for Source. Does that indicate I am missing some options? Is this in 1.5.1 or 1.4.3? View -> View Source was added in 1.5.x, so you won't have it in 1.4.x (although it's easy to add somewhat comparable functionality). If you don't have it in 1.5.1, that's a mystery; it should be there automatically, no setting required, and I can't think of any setting that one could mung in a way to cause it to disappear. As far as the bibliography issue, can you post the .lyx and .bib files for your CV here, or alternatively send them to me off list? /Paul
Newb - How to prevent page number on first page
Hello, new to Lyx etc. I am on Kubuntu Dapper, using Lyx 1.5.1 (I installed it from a .deb). I am using the memoir class because I am laying out poetry and I have managed to get it more-or-less the way I want it from the memman.pdf document. (Perhaps there's a better way to layout poems, but that's another thread.) At the moment, I want to prevent the very first page (title page) of the book from having a page number -- at all. I'm not sure what the protocol is on this list, should I attach a sample .lyx file? Thanks, \d
Re: encoding problem
Barry, Michele wrote: > I'm using LyX 1.5.1. When I try to view my document in PDF(pdflatex), a > dialog box opens saying that changing the document encoding to utf8 > could help. I don't know what this is and can't find anything in the > menus on this. I think the maths in my document could be the problem. > Can you advise me? Document->Settings->Language. Uncheck "Use language's default encoding" and select "utf8" (not "UTF8" or "utf8x") in the encoding checkbox. If you could find out which character/symbol in your document causes this, we could try and implement support in LyX. (or just send me the document in private, if this is OK with you). Jürgen
encoding problem
Hi, I'm using LyX 1.5.1. When I try to view my document in PDF(pdflatex), a dialog box opens saying that changing the document encoding to utf8 could help. I don't know what this is and can't find anything in the menus on this. I think the maths in my document could be the problem. Can you advise me? Thanks, Michele
Help with part name indentation in TOC
Hi all, Please help me with TOC. I have 2 rows of Part name (ctrl+enter). But in pdf output 2nd row of part name is not indented to align with first row. Multiple row Chapter names are indented and aligned just fine. How can I have multiple row part name indented and aligned in TOC. In DVI output multiple row part and chapter name are shown in one row in TOC. I have Lyx 1.5.1, MikTex 2.6 on Windows XP Pro. Thank you in advance for your help. -- Zorigtkhuu Davaanyam