Re: flashcards layout
Hi Steve Exactly what kind of paper are you going to use for your flashcards? Will you print them yourself, or have a copy shop print them? I've found that putting thick paper into my printers shortens their life considerably. Since I just started using the flashcardspackage and I needed them fast, I have only printed a few on normal paper. I'm still (haven't started yet) looking for a store where I can print them on businesscards. Around where I live we have a place called CopyMax who can print from a PDF file. 3x5 cards are easy to get, but I think thicker stock would be needed to get rugged, long lasting flash cards. What do you think? I read that businesscards should be long enough lasting. You should be able to get letter or A4 paper, which are perforated the right way for businesscards. If you use a laser printer you don't have to worry about much I guess. If you're lifing in a rough environment, you might wannt to try laminating the cards before you break them appart. Jonathan
Re: parentheses round location publisher and date in footnotes
Richard McIntosh wrote: Hi All, I would like to be able to put parentheses in first footnote around location, publisher and date, e.g. (London: Continuum, 1987). I have found on google someone asking to get rid of them but can't find how to add them! Where do you place the series ? Inside the parentheses or not ? Add that in your preamble : \renewcommand{\bibapyldelim}{(} \renewcommand{\bibapyrdelim}{)} Cheers, Charles -- http://www.kde-france.org
Re: parentheses round location publisher and date in footnotes
Dear all, Thanks again Charles! Is there anyway that I could not have the parentheses in the references/bibliography at the end yet keep them in the footnotes? With respect to the series, I am not using any works from a series in my thesis so its not a problem. However, according to my style handbook the series should be in the parantheses before the location separated by a colon!! Richard On 20/07/07, Charles de Miramon [EMAIL PROTECTED] wrote: Richard McIntosh wrote: Hi All, I would like to be able to put parentheses in first footnote around location, publisher and date, e.g. (London: Continuum, 1987). I have found on google someone asking to get rid of them but can't find how to add them! Where do you place the series ? Inside the parentheses or not ? Add that in your preamble : \renewcommand{\bibapyldelim}{(} \renewcommand{\bibapyrdelim}{)} Cheers, Charles -- http://www.kde-france.org
Re: parentheses round location publisher and date in footnotes
Richard McIntosh wrote: Dear all, Thanks again Charles! Is there anyway that I could not have the parentheses in the references/bibliography at the end yet keep them in the footnotes? \addto\jbonlyforbib{% \DeclareRobustCommand{\bibapyldelim}{\unskip\unskip\space}% \DeclareRobustCommand{\bibapyrdelim}{}% }% Cheers, Charles When your bibliography style is ready please add a page on the Lyx wiki with the different tricks. I'm short on time. -- http://www.kde-france.org
LyX crashes on startup
Hi, since today my lyx is crashing when i start it. The only thing i newly installed was graphviz. I´m using LyX on Windows. Maybe someone knows how to fix the problem. I haven´t tried reinstalling lyx so far. I don´t understand the path-message from the error-message, it says D:\LyX\lyx-1.5.0rc2\. the path even doesn´t exist, lyx isn´t installed there. Error Message: LyX: Missing quote [around line 5 of file ] Assertion triggered in __thiscall lyx::support::FileName::FileName(const class std::basic_stringchar,struct std::char_traitschar,class std::allocatorchar ) by failing check empty() || absolutePath(name_) in file D:\LyX\lyx-1.5.0rc2\src\support\FileName.cpp:47 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Completed Greetings Timo
LyX crashes on start.
Hi, since today my lyx is crashing when i start it. The only thing i newly installed was graphviz. I´m using LyX on Windows. Maybe someone knows how to fix the problem. I haven´t tried reinstalling lyx so far. I don´t understand the path-message from the error-message, it says D:\LyX\lyx-1.5.0rc2\. the path even doesn´t exist, lyx isn´t installed there. Error Message: LyX: Missing quote [around line 5 of file ] Assertion triggered in __thiscall lyx::support::FileName::FileName(const class std::basic_stringchar,struct std::char_traitschar,class std::allocatorchar ) by failing check empty() || absolutePath(name_) in file D:\LyX\lyx-1.5.0rc2\src\support\FileName.cpp:47 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Completed Greetings Timo
Floats
Dear Sir/Madam, references to my tables come out all wrong? table no is 3.8 but in text it refers to it as 3.6how can I fix this? Cheers Paniez
One more thing
Sorry one more thing is that it has a table 3.2 and a table 3.6 after that! why not creating number in the sequence ie 3.3 after 3.2? it misses 3.3 3.4 3.5 and has a table of 3.6? Cheers Paniez
Re: LyX, pdflatex and local hyperlinks
Uwe Stöhr wrote: You can alternatively simply use: \href{F:/Directory1/Directory2/index.html}{name} This opens the file with the default program that is set in the registry as default viewer for html-files. Thanks again for this Uwe, now when I click on the link in the PDF, Explorer fires up and loads index.html. All very good, but the trouble is that the drive letter (F:) is hard wired into the link. However, what I want to do is put the PDF file containing the link and the HTML file at which the link points onto a CD, but it doesn't seem possible to use relative paths in PDF links. On the CD the link in the PDF will always point at drive F: which isn't where the HTML file will be (unless by some happy chance all of the people to whom I distribute the CD have drive F: as their CD-ROM drives). I know this isn't strictly a LyX problem, but any hints on a possible solution would be appreciated. I'm very reluctant to abandon the idea of using a LyX-generated PDF as a 'front page' for my project (it's genealogy, for the family). Regards, Nick. -- Nick and Anne Hopton, Caversham, Reading, England.
Re: gettting lyx/mac to see .bst files
On Jul 19, 2007, at 10:42 PM, Lyx Physicst wrote: Ok, so Im still very new to LaTeX... But I ran it and everything came out the same, there was no bibliography at all. So I ran BibTeX and got this error This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: Thesis3.4.1.aux I couldn't open style file aip.bst ---line 146 of file Thesis3.4.1.aux : \bibstyle{aip : } I'm skipping whatever remains of this command I found no style file---while reading file Thesis3.4.1.aux (There were 2 error messages) Am I missing some style file? (I am using report class fyi) Thanks, Charles This indicates it's not a LyX problem but something wrong with your LaTeX setup. I'm not sure what the couldn't open style file aip.bst is indicating. You said you installed it; are you sure? Try opening the Terminal and typing: kpsewhich aip.bst That should return a path to the file if LaTeX can find the file and nothing otherwise. If you do get a bath to that file, check to make sure you have read permissions on it. The other possibility I can think of is that the file is somehow corrupted. When installing extra files for LaTeX, the standard place to put them on Mac is ~/Library/texmf/. So .bst files would generally be put in ~/ Library/texmf/bibtex/bst. Having done that, run sudo texhash (giving your password), and it *should* work. Bennett
Re: LyX, pdflatex and local hyperlinks
Nick and Anne Hopton wrote: Uwe Stöhr wrote: You can alternatively simply use: \href{F:/Directory1/Directory2/index.html}{name} This opens the file with the default program that is set in the registry as default viewer for html-files. Thanks again for this Uwe, now when I click on the link in the PDF, Explorer fires up and loads index.html. All very good, but the trouble is that the drive letter (F:) is hard wired into the link. However, what I want to do is put the PDF file containing the link and the HTML file at which the link points onto a CD, but it doesn't seem possible to use relative paths in PDF links. On the CD the link in the PDF will always point at drive F: which isn't where the HTML file will be (unless by some happy chance all of the people to whom I distribute the CD have drive F: as their CD-ROM drives). I know this isn't strictly a LyX problem, but any hints on a possible solution would be appreciated. I'm very reluctant to abandon the idea of using a LyX-generated PDF as a 'front page' for my project (it's genealogy, for the family). Regards, Nick. assuming your LyX produced PDF is in Directory1 have you tried something like: \href{./Directory2/index.html}{name} otherwise known as a relative link? works for me in a minimal test on Linux, using either the info above in ERT or putting the URL in using LyX's insert-URL. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: gettting lyx/mac to see .bst files
On 7/20/07, Bennett Helm [EMAIL PROTECTED] wrote: On Jul 19, 2007, at 10:42 PM, Lyx Physicst wrote: Ok, so Im still very new to LaTeX... But I ran it and everything came out the same, there was no bibliography at all. So I ran BibTeX and got this error This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: Thesis3.4.1.aux I couldn't open style file aip.bst ---line 146 of file Thesis3.4.1.aux : \bibstyle{aip : } I'm skipping whatever remains of this command I found no style file---while reading file Thesis3.4.1.aux (There were 2 error messages) Am I missing some style file? (I am using report class fyi) Thanks, Charles This indicates it's not a LyX problem but something wrong with your LaTeX setup. I'm not sure what the couldn't open style file aip.bst is indicating. You said you installed it; are you sure? Try opening the Terminal and typing: kpsewhich aip.bst That should return a path to the file if LaTeX can find the file and nothing otherwise. If you do get a bath to that file, check to make sure you have read permissions on it. The other possibility I can think of is that the file is somehow corrupted. When installing extra files for LaTeX, the standard place to put them on Mac is ~/Library/texmf/. So .bst files would generally be put in ~/ Library/texmf/bibtex/bst. Having done that, run sudo texhash (giving your password), and it *should* work. Bennett This is the path that I found the aip.bst file in /usr/local/gwTeX/texmf.texlive/bibtex/bst/base/aip.bst I looked and I dont have a ~/Library/texmf/bibtex/bst folder Could there be somewhere else that I can put the file so LaTeX can see it?
Re: gettting lyx/mac to see .bst files
On Jul 20, 2007, at 10:15 AM, Lyx Physicst wrote: This indicates it's not a LyX problem but something wrong with your LaTeX setup. I'm not sure what the couldn't open style file aip.bst is indicating. You said you installed it; are you sure? Try opening the Terminal and typing: kpsewhich aip.bst That should return a path to the file if LaTeX can find the file and nothing otherwise. If you do get a path to that file, check to make sure you have read permissions on it. The other possibility I can think of is that the file is somehow corrupted. When installing extra files for LaTeX, the standard place to put them on Mac is ~/Library/texmf/. So .bst files would generally be put in ~/ Library/texmf/bibtex/bst. Having done that, run sudo texhash (giving your password), and it *should* work. Bennett This is the path that I found the aip.bst file in /usr/local/gwTeX/texmf.texlive/bibtex/bst/base/aip.bst I looked and I dont have a ~/Library/texmf/bibtex/bst folder Could there be somewhere else that I can put the file so LaTeX can see it? (You can always create that folder! -- Your LaTeX installation will recognize it once you do.) Did you check to see if you have read permissions to aip.bst? Are you sure your copy of that file is not corrupted? Bennett
Re: gettting lyx/mac to see .bst files
On 7/20/07, Bennett Helm [EMAIL PROTECTED] wrote: On Jul 20, 2007, at 10:15 AM, Lyx Physicst wrote: This indicates it's not a LyX problem but something wrong with your LaTeX setup. I'm not sure what the couldn't open style file aip.bst is indicating. You said you installed it; are you sure? Try opening the Terminal and typing: kpsewhich aip.bst That should return a path to the file if LaTeX can find the file and nothing otherwise. If you do get a path to that file, check to make sure you have read permissions on it. The other possibility I can think of is that the file is somehow corrupted. When installing extra files for LaTeX, the standard place to put them on Mac is ~/Library/texmf/. So .bst files would generally be put in ~/ Library/texmf/bibtex/bst. Having done that, run sudo texhash (giving your password), and it *should* work. Bennett This is the path that I found the aip.bst file in /usr/local/gwTeX/texmf.texlive/bibtex/bst/base/aip.bst I looked and I dont have a ~/Library/texmf/bibtex/bst folder Could there be somewhere else that I can put the file so LaTeX can see it? (You can always create that folder! -- Your LaTeX installation will recognize it once you do.) Did you check to see if you have read permissions to aip.bst? Are you sure your copy of that file is not corrupted? Bennett Ok, I created that directory and moved the file there. How do I check to see if I have permissions and/or if the file is corrupted? I was a little confused on how to download it from CTAN, so I just copied the text into a new tex file and saved it as aip.bst, is this ok or did I do it wrong?
Re: gettting lyx/mac to see .bst files
On Jul 20, 2007, at 10:33 AM, Lyx Physicst wrote: Ok, I created that directory and moved the file there. How do I check to see if I have permissions and/or if the file is corrupted? I was a little confused on how to download it from CTAN, so I just copied the text into a new tex file and saved it as aip.bst, is this ok or did I do it wrong? Hard to tell from here. Having done all this (and sudo texhash), does it work? If not, go to CTAN, find the aip.bst file, and download it directly to your hard drive. (To do this, Control-click the link, and select Save link as ..., entering aip.bst as the file name.) Put that in ~/Library/texmf/bibtex/bst, run sudo texhash, and see if it works. Bennett
Re: gettting lyx/mac to see .bst files
On 7/20/07, Bennett Helm [EMAIL PROTECTED] wrote: On Jul 20, 2007, at 10:33 AM, Lyx Physicst wrote: Ok, I created that directory and moved the file there. How do I check to see if I have permissions and/or if the file is corrupted? I was a little confused on how to download it from CTAN, so I just copied the text into a new tex file and saved it as aip.bst, is this ok or did I do it wrong? Hard to tell from here. Having done all this (and sudo texhash), does it work? If not, go to CTAN, find the aip.bst file, and download it directly to your hard drive. (To do this, Control-click the link, and select Save link as ..., entering aip.bst as the file name.) Put that in ~/Library/texmf/bibtex/bst, run sudo texhash, and see if it works. Bennett I downloaded aip.bst again(twice actually) and saved it in my bibtex folder I created. ran sudo texhash, and still nothing... LaTeX gives me this error now when I run bibtex.. This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: Thesis3.4.1.aux The style file: aip.bst can't start a style-file command---line 1 of file aip.bst : : !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN (Error may have been on previous line) (There was 1 error message) Does this mean Im missing something else, some style file? Thanks for your patience, charles
TOC font changes, adding dots between heading and page
Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles
Re: TOC font changes, adding dots between heading and page
Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is...
Using article layout but having 'Bibliography' rather than reference
Hi all I would like the article (koma) style but want the word Bibliography rather than references. I have tried manually editing the layout files to get the article style but haven't managed to add the word Bibliography rather than references. Below is the layout file i tried created that didn't work: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[scrartcl]{article-sbl (koma-script)} # KOMA scrartcl textclass definition file. # Bernd Rellermeyer [EMAIL PROTECTED], 1998/7/11. Format 2 Input scrclass.inc Input numarticle.inc SecNumDepth 3 TocDepth3 NoStyle Chapter NoStyle Chapter* NoStyle Addchap NoStyle Addchap* NoStyle Addpart NoStyle Dictum Style Part Align Left AlignPossible Left TopSep2 BottomSep 1.5 Font SizeLarger EndFont End Style Part* Align Left AlignPossible Left TopSep2 BottomSep 1.5 Font SizeLarger EndFont End Style Bibliography TopSep4 LabelString Bibliography LabelFont Series Bold SizeLargest EndFont End Thanks, Richard
Re: One more thing
Paniez Paykari ha scritto: Sorry one more thing is that it has a table 3.2 and a table 3.6 after that! why not creating number in the sequence ie 3.3 after 3.2? it misses 3.3 3.4 3.5 and has a table of 3.6? Maybe you used a picture float instead of a table float without noticing. Anyway it is very difficult to help you more without additional detail (at least lyx version) and an example! bye -- Lorenzo `paulatz' Paulatto Trieste ``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse fatto l'universo più proporzionato alla piccola capacità del lor discorso.'' --Galileo Galilei (Opere VII) -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Prestiti personali fino a 30.000 Euro. Clicca qui per un preventivo immediato, richiedi subito limporto e la rata che desideri! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6833d=20-7
Re: gettting lyx/mac to see .bst files
On Jul 20, 2007, at 11:27 AM, Lyx Physicst wrote: I downloaded aip.bst again(twice actually) and saved it in my bibtex folder I created. ran sudo texhash, and still nothing... LaTeX gives me this error now when I run bibtex.. This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: Thesis3.4.1.aux The style file: aip.bst can't start a style-file command---line 1 of file aip.bst : : !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN (Error may have been on previous line) (There was 1 error message) Does this mean Im missing something else, some style file? Thanks for your patience, charles No, it means you haven't downloaded the right file. (You've downloaded a webpage instead!) CTAN is a bit confusing in this regard: you'll need to keep clicking on links until you get to the actual file. The file you want is located here: ftp://tug.ctan.org/tex-archive/biblio/bibtex/contrib/phy-bstyles/ aip.bst Bennett
Re: gettting lyx/mac to see .bst files
On 7/20/07, Bennett Helm [EMAIL PROTECTED] wrote: On Jul 20, 2007, at 11:27 AM, Lyx Physicst wrote: I downloaded aip.bst again(twice actually) and saved it in my bibtex folder I created. ran sudo texhash, and still nothing... LaTeX gives me this error now when I run bibtex.. This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: Thesis3.4.1.aux The style file: aip.bst can't start a style-file command---line 1 of file aip.bst : : !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN (Error may have been on previous line) (There was 1 error message) Does this mean Im missing something else, some style file? Thanks for your patience, charles No, it means you haven't downloaded the right file. (You've downloaded a webpage instead!) CTAN is a bit confusing in this regard: you'll need to keep clicking on links until you get to the actual file. The file you want is located here: ftp://tug.ctan.org/tex-archive/biblio/bibtex/contrib/phy-bstyles/ aip.bst Bennett Bennett, I got your message JUST as I was replying to say I realized I had downloaded the website I got it fixed and its working now! Thank you very much... Charles
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is... The tocloft package will do everything that you need. Grab the package documentation and read through it. It took me quite a while to figure out how to add dotted leaders to chapters or sections. This was a requirement for my thesis also. I've attached a simple example of how to add dotted leaders and change the name of the table of contents. Consult the tocloft documentation for the other requirements. Cheers, Bob Lounsbury Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles
Re: Using article layout but having 'Bibliography' rather than reference
Richard McIntosh wrote: Hi all I would like the article (koma) style but want the word Bibliography rather than references. I have tried manually editing the layout files to get the article style but haven't managed to add the word Bibliography rather than references. I use article but the following may work for you to, or point to what you do need to do: in ERT just before the bib location I put \renewcommand{\refname}{} % remove the word 'References' from bibliography for me I just type the name REFERENCED DOCUMENTS. as the section name. perhaps \renewcommand{\refname}{Bibliography} would do it for you? It worked for me in a quick test. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is... The tocloft package will do everything that you need. Grab the package documentation and read through it. It took me quite a while to figure out how to add dotted leaders to chapters or sections. This was a requirement for my thesis also. I've attached a simple example of how to add dotted leaders and change the name of the table of contents. Consult the tocloft documentation for the other requirements. Cheers, Bob Lounsbury newfile1-1.4.4.lyx Description: application/lyx
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package?
Re: TOC font changes, adding dots between heading and page
On Friday 20 July 2007 11:33, Charles de Miramon wrote: That's right, and before you buy LaTeX Companion, you should learn TeX so that LaTeX Companion makes sense. I recommend these two: http://www.ctan.org/tex-archive/info/impatient/book.pdf http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm SteveT
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob newfile1-1.4.4.lyx Description: application/lyx
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob Yes, your sample is correct in how I would like it. But, my TOC is two pages long, so the counter skips the second page of the TOC and labels it as the first page of the LOT(the next section) So my TOC is on page v and vi, and the LOT starts at vii, but is being listed as starting at vi. I hope I explained it better..
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob Yes, your sample is correct in how I would like it. But, my TOC is two pages long, so the counter skips the second page of the TOC and labels it as the first page of the LOT(the next section) So my TOC is on page v and vi, and the LOT starts at vii, but is being listed as starting at vi. I hope I explained it better.. That makes sense, but I can't reproduce it. I added chapters and sections such that the TOC was two pages long and the numbering was still correct. Something else must be going on or conflicting. Maybe, you could send a minimal example. Bob
Re: LyX vs. Scribus
On Fri, 20 Jul 2007, Steve Litt apparently wrote: Can someone tell me the differences between LyX and Scribus? LyX does not do page layout (thank goodness). Scribus does not do math. Cheers, Alan Isaac
Re: LyX vs. Scribus
I have only had a quick look at it but it is a desktop publishing program like the old pagemaker. As far as I could see it was designed to take existing text and images and produce a nice output. It seems to handle linked frames, call-outs etc well. LyX and Scribus are almost completely different animals. One is a text processing program, the other a page layout program. I would hestiate to use LyX to publish the local club newsletter and would not use Scribus to produce a mathmatical textbook. --- Steve Litt [EMAIL PROTECTED] wrote: Hi all, I've just heard about a program called Scribus, which supposedly is a page layout program and not a wordprocessing program. The program's web page is at http://www.scribus.net/. I'm not familiar with Scribus. Can someone tell me the differences between LyX and Scribus? Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
LyX vs. Scribus
Hi all, I've just heard about a program called Scribus, which supposedly is a page layout program and not a wordprocessing program. The program's web page is at http://www.scribus.net/. I'm not familiar with Scribus. Can someone tell me the differences between LyX and Scribus? Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
putting the title of book in italics for @inbook for just the footnote and changing position of editor
Dear All, Thanks for all the help so far. I really need the inbook references to come out something like this, footnote first citation: Stephen Sykes, P. T. Forsyth on the Church in Justice the True and Only Mercy (ed. Trevor Hart; Edinburgh: TT Clark,1996) subsequent footnote citation Sykes, Forsyth on Church, Bibliography entry Stephen Sykes, P. T. Forsyth on the Church pages 1-15 in Justice the True and Only Mercy Edited by Trevor Hart. Edinburgh: TT Clark, 1996. Ordinary books work ok with my current preamble Here is my current preamble: \addto\jbonlyforbib{% \DeclareRobustCommand{\bibapyldelim}{\unskip\unskip\space}% \DeclareRobustCommand{\bibapyrdelim}{}% }% \renewcommand{\bibapyldelim}{(} \renewcommand{\bibapyrdelim}{)} \jurabibsetup{ titleformat=italic,% titleformat=commasep,% titleformat=all,% titleformat=commasep% bibformat=compress,% bibformat=ibidem,% oxford,% commabeforerest,% citefull=first,% pages=format% } and here is my test books: @book{manson1948csm, title={{The Church's Ministry}}, shorttitle={Church's Ministry} author={Manson, T.W.}, year={1948}, publisher={Hodder \ Stoughton}, location={London}, shorttitle={Church's Ministry}, } @inbook{sykjusmer, author = {Stephen Sykes}, editor = {Trevor Hart}, title = {Justice the True and Only Mercy}, chapter = {P.T. Forsyth on the Church}, publisher = {T \ T Clark}, location= {Edinburgh}, year = {1996}, pages = {1-15}, OPTnote = {}, OPTannote = {} }
Re: LyX vs. Scribus
You can use Srcibus for Invitations or (more intersting for publishers) to design cover pages for books and thesis work. I used Inkscape for my cover page since I was not familiar with Scribus. While working on another document I learned a bit more. The PDF generation is really good. The user interface could become a bit more intuitive... a page layout program. I would hestiate to use LyX to publish the local club newsletter and would not use A German mangazine on free software and Linux uses Latex to produce a very nice layout: http://www.freies-magazin.de/2007/freiesMagazin-2007-07.pdf On the page they even share their Latex layout which looks quite professional: http://www.elyps.de/magazin.html regards, Timmie
Re: putting the title of book in italics for @inbook for just the footnote and changing position of editor
Richard McIntosh wrote: Dear All, Thanks for all the help so far. I really need the inbook references to come out something like this, footnote first citation: Stephen Sykes, P. T. Forsyth on the Church in Justice the True and Only Mercy (ed. Trevor Hart; Edinburgh: TT Clark,1996) subsequent footnote citation Sykes, Forsyth on Church, Bibliography entry Stephen Sykes, P. T. Forsyth on the Church pages 1-15 in Justice the True and Only Mercy Edited by Trevor Hart. Edinburgh: TT Clark, 1996. It starts to get complex and weird, especially the place where you put the pages. It is possible with a lot of massaging and a custom bst file which is not very easy to do. When you start redifining lot of stuff in jurabib, you can get borders effect. You seem to be in the field of English Reformed Theology. I have done a TT Clark bst file and jurabib customization, that I can give you. Maybe you can convince your supervisor to let you adopt TT bibliographical convention which is also fairly quaint and gain time, energy and serenity. Cheers, Charles
Re: LyX vs. Scribus
On Friday 20 July 2007 12:33, Steve Litt wrote: Hi all, I've just heard about a program called Scribus, which supposedly is a page layout program and not a wordprocessing program. The program's web page is at http://www.scribus.net/. I'm not familiar with Scribus. Can someone tell me the differences between LyX and Scribus? Steve, I've used Lyx for about five years, and Scribus for about one. Lyx is far more useful to me, but Scribus has its uses. Lyx takes care of the layout automatically; Scribus practically demands that you lay every page out individually (sketching the page layout on paper is recommended as the first step). Lyx is highly suited to writing text; Scribus is not recommended for writing text. Lyx adheres to accepted typesetting conventions; Scribus lets you mess things up completely. Lyx places figures and tables automatically; Scribus lets (makes) you put each one wherever you want it. Lyx has great support for crossreferencing and bibliographies; Scribus has none. Lyx is easy to learn; Scribus is not. Scribus allows you to put a graphic item exactly where you want it, and to overlay multiple graphic and text items with varying degrees of transparency; Lyx does not. Lyx is a lightweight program which runs happily on almost any computer; Scribus has brought my Athlon 64 X2 workstation with 2GB RAM to its knees. Scribus allows use of any font installed on your computer, and can scale and distort it any way you want; Lyx does not support this. Scribus has complex color management for text, graphics and lines; Lyx has limited color support. I've used Lyx for letters, reports, books, articles and presentations (with Powerdot) ranging from a single page of text to hundreds of pages with hundreds of figures. I've used Scribus only for a couple of poster papers, and found it an excellent tool for the job. I completed six posters 6ft x 3ft in about a week; each poster has about ten text boxes and about five pictures. I'd use Scribus for a brochure or poster without hesitation; it might also be best for a short newsletter. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: LyX, pdflatex and local hyperlinks
Nick and Anne Hopton schrieb: is that the drive letter (F:) is hard wired into the link. However, what I want to do is put the PDF file containing the link and the HTML file at which the link points onto a CD, but it doesn't seem possible to use relative paths in PDF links. Besides what Todd explained you can also simply put the html file in the same folder where the PDF is located. The \href call ise then simply \href{index.html}{name} regards Uwe
re: putting the title of book in italics for @inbook for just the footnote and changing position of editor
Charles, Thanks for the help there. I hope it hasn't taken up to much of you time. yes I am doing it on English reformed theology (is this your field too). Though my college use the Society of biblical literature conventions. I think the TT Clark ones are quite close and should not cause to a problem. That would be great if you could send me those files. I will use that arrangement. I will also delete the Society of Biblical Literature entry from the wiki. Is it ok can I add your files to the wiki as the TT clark one is empty. I don't have time before my thesis is due in. But what books (websites) are best for learning how to edit bst files. Richard On 20/07/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Richard McIntosh wrote: Dear All, Thanks for all the help so far. I really need the inbook references to come out something like this, footnote first citation: Stephen Sykes, P. T. Forsyth on the Church in Justice the True and Only Mercy (ed. Trevor Hart; Edinburgh: TT Clark,1996) subsequent footnote citation Sykes, Forsyth on Church, Bibliography entry Stephen Sykes, P. T. Forsyth on the Church pages 1-15 in Justice the True and Only Mercy Edited by Trevor Hart. Edinburgh: TT Clark, 1996. It starts to get complex and weird, especially the place where you put the pages. It is possible with a lot of massaging and a custom bst file which is not very easy to do. When you start redifining lot of stuff in jurabib, you can get borders effect. You seem to be in the field of English Reformed Theology. I have done a TT Clark bst file and jurabib customization, that I can give you. Maybe you can convince your supervisor to let you adopt TT bibliographical convention which is also fairly quaint and gain time, energy and serenity. Cheers, Charles
re: putting the title of book in italics for @inbook for just the footnote and changing position of editor
Richard McIntosh wrote: Charles, Thanks for the help there. I hope it hasn't taken up to much of you time. yes I am doing it on English reformed theology (is this your field too). No, I fell in sin but not into heresy ;-) Though my college use the Society of biblical literature conventions. I think the TT Clark ones are quite close and should not cause to a problem. That would be great if you could send me those files. I will use that arrangement. I will also delete the Society of Biblical Literature entry from the wiki. Is it ok can I add your files to the wiki as the TT clark one is empty. OK, I clean the files and send them this week-end I don't have time before my thesis is due in. But what books (websites) are best for learning how to edit bst files. Tame the Beast by Nicolas Markey http://www.lsv.ens-cachan.fr/~markey/BibTeX/doc/ttb_en.pdf bst files are beasts because they work in reverse Polish notation like the old HP pocket calculators and with a stack. Hacking bst files is like going into a time machine to the (un)happy rainy days, when you were a teenager trying to program something in Forth on your ZX Spectrum. There is a new bibliographical package biblatex that seems to be more flexible than jurabib and does not need bst files but it is not as stable and mature than jurabib. Cheers, Charles
Editing spacing in List of Tables/Figures
Hi all, I have a thesis with lots of figures and tables. Im using report class and the default method in the List of Figures/Tables is to group figures/tables together by chapter, double space, and then group the figures/tables for the next chapter. ie Fig 1.2 blah blah Fig 1.3 Blha ldskjf Fig 2.1 ... Blahsdh Fig 2.2 ldsajfkls I need to remove that space and have single spacing consistently throughout the LOT and LOF. I tried to edit this using the Layouts package in my preamble, but Im doing something wrong with the syntax and getting errors: \usepackage{layouts} \makeatletter [EMAIL PROTECTED] \makeatother Can someone tell me what Im doing wrong or suggest an alternative method? Thanks, Charles
Bug or feature? LyX table multicol
It's possible that I am misunderstanding this feature. Start new document; create table; select cell; choose multicol from table toolbar; switch off top border on that cell. Result: the top border disappears from all but the selected cell. See screenshot: http://www.unmusic.co.uk/lyx_multicol.png The pdf output reflects what is displayed on screen. -- http://www.unmusic.co.uk - about me, music, geek sitcom etc.
Re: Bug or feature? LyX table multicol
killermike wrote: It's possible that I am misunderstanding this feature. Start new document; create table; select cell; choose multicol from table toolbar; switch off top border on that cell. Result: the top border disappears from all but the selected cell. Known bug (limitation). For multicols, you have to toggle the borders in the table dialog. Jürgen
Re: create PDF of selected pages (using texexec)?
Hi Jeremy, with ghostscript the paper format is preserved on my Mac. I made a test file newfile1.pdf with your page geometry and put it into an empty directory to do the following manipulations from the terminal (just as you apparently did with texec). I'm assuming I want the page numbers 2, 4 and 5 extracted: tcsh foreach i ( 2 4 5) foreach? gs -dSAFER -dBATCH -dNOPAUSE -dFirstPage=$i -dLastPage=$i - sDEVICE=pdfwrite -sOutputFile=im$i.pdf newfile1.pdf foreach? end gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite - sOutputFile=combine.pdf `ls im*.pdf` With this, the output file combine.pdf has the desired three pages and also the original page format. The first line (tcsh) just gets you a shell in which the foreach command is recognized, which I use to loop through the list of pages to be extracted. The loop creates one file each per extracted page, and the last line after the loop combines these pages back into a single document. I guess someone who really needs this often would want to make this into a script, but I had to be at a Harry-Potter party today so I'll just have to hope that this works for you... Jens On Jul 18, 2007, at 11:30 PM, Jeremy C. Reed wrote: I have a 650+ page book of 535.68 x 696.959 pts pages. This is for a 7.44in x 9.68in book (printer calls it Crown Quarto). I need to just have some selected pages sent to printer to do some testing. I used texexec like: texexec --pdfselect --selection=6,7,20,21 --result=images.pdf book.pdf But the generated book is in A4. Any suggestions on how to texexec to not reformat the pages at all (and keep my 7.44in x 9.68in pages)? Or any other tool or technique to do what I want? Thanks in advance, Jeremy C. Reed
Re: LyX crashes on startup
Timo Gienger wrote: Error Message: LyX: Missing quote [around line 5 of file ] Assertion triggered in __thiscall lyx::support::FileName::FileName(const class std::basic_stringchar,struct std::char_traitschar,class std::allocatorchar ) by failing check empty() || absolutePath(name_) in file D:\LyX\lyx-1.5.0rc2\src\support\FileName.cpp:47 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Completed What does lyx -dbg files reveal? Jürgen
Re: flashcards layout
Hi Steve Exactly what kind of paper are you going to use for your flashcards? Will you print them yourself, or have a copy shop print them? I've found that putting thick paper into my printers shortens their life considerably. Since I just started using the flashcardspackage and I needed them fast, I have only printed a few on normal paper. I'm still (haven't started yet) looking for a store where I can print them on businesscards. Around where I live we have a place called CopyMax who can print from a PDF file. 3x5 cards are easy to get, but I think thicker stock would be needed to get rugged, long lasting flash cards. What do you think? I read that businesscards should be long enough lasting. You should be able to get letter or A4 paper, which are perforated the right way for businesscards. If you use a laser printer you don't have to worry about much I guess. If you're lifing in a rough environment, you might wannt to try laminating the cards before you break them appart. Jonathan
Re: parentheses round location publisher and date in footnotes
Richard McIntosh wrote: Hi All, I would like to be able to put parentheses in first footnote around location, publisher and date, e.g. (London: Continuum, 1987). I have found on google someone asking to get rid of them but can't find how to add them! Where do you place the series ? Inside the parentheses or not ? Add that in your preamble : \renewcommand{\bibapyldelim}{(} \renewcommand{\bibapyrdelim}{)} Cheers, Charles -- http://www.kde-france.org
Re: parentheses round location publisher and date in footnotes
Dear all, Thanks again Charles! Is there anyway that I could not have the parentheses in the references/bibliography at the end yet keep them in the footnotes? With respect to the series, I am not using any works from a series in my thesis so its not a problem. However, according to my style handbook the series should be in the parantheses before the location separated by a colon!! Richard On 20/07/07, Charles de Miramon [EMAIL PROTECTED] wrote: Richard McIntosh wrote: Hi All, I would like to be able to put parentheses in first footnote around location, publisher and date, e.g. (London: Continuum, 1987). I have found on google someone asking to get rid of them but can't find how to add them! Where do you place the series ? Inside the parentheses or not ? Add that in your preamble : \renewcommand{\bibapyldelim}{(} \renewcommand{\bibapyrdelim}{)} Cheers, Charles -- http://www.kde-france.org
Re: parentheses round location publisher and date in footnotes
Richard McIntosh wrote: Dear all, Thanks again Charles! Is there anyway that I could not have the parentheses in the references/bibliography at the end yet keep them in the footnotes? \addto\jbonlyforbib{% \DeclareRobustCommand{\bibapyldelim}{\unskip\unskip\space}% \DeclareRobustCommand{\bibapyrdelim}{}% }% Cheers, Charles When your bibliography style is ready please add a page on the Lyx wiki with the different tricks. I'm short on time. -- http://www.kde-france.org
LyX crashes on startup
Hi, since today my lyx is crashing when i start it. The only thing i newly installed was graphviz. I´m using LyX on Windows. Maybe someone knows how to fix the problem. I haven´t tried reinstalling lyx so far. I don´t understand the path-message from the error-message, it says D:\LyX\lyx-1.5.0rc2\. the path even doesn´t exist, lyx isn´t installed there. Error Message: LyX: Missing quote [around line 5 of file ] Assertion triggered in __thiscall lyx::support::FileName::FileName(const class std::basic_stringchar,struct std::char_traitschar,class std::allocatorchar ) by failing check empty() || absolutePath(name_) in file D:\LyX\lyx-1.5.0rc2\src\support\FileName.cpp:47 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Completed Greetings Timo
LyX crashes on start.
Hi, since today my lyx is crashing when i start it. The only thing i newly installed was graphviz. I´m using LyX on Windows. Maybe someone knows how to fix the problem. I haven´t tried reinstalling lyx so far. I don´t understand the path-message from the error-message, it says D:\LyX\lyx-1.5.0rc2\. the path even doesn´t exist, lyx isn´t installed there. Error Message: LyX: Missing quote [around line 5 of file ] Assertion triggered in __thiscall lyx::support::FileName::FileName(const class std::basic_stringchar,struct std::char_traitschar,class std::allocatorchar ) by failing check empty() || absolutePath(name_) in file D:\LyX\lyx-1.5.0rc2\src\support\FileName.cpp:47 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Completed Greetings Timo
Floats
Dear Sir/Madam, references to my tables come out all wrong? table no is 3.8 but in text it refers to it as 3.6how can I fix this? Cheers Paniez
One more thing
Sorry one more thing is that it has a table 3.2 and a table 3.6 after that! why not creating number in the sequence ie 3.3 after 3.2? it misses 3.3 3.4 3.5 and has a table of 3.6? Cheers Paniez
Re: LyX, pdflatex and local hyperlinks
Uwe Stöhr wrote: You can alternatively simply use: \href{F:/Directory1/Directory2/index.html}{name} This opens the file with the default program that is set in the registry as default viewer for html-files. Thanks again for this Uwe, now when I click on the link in the PDF, Explorer fires up and loads index.html. All very good, but the trouble is that the drive letter (F:) is hard wired into the link. However, what I want to do is put the PDF file containing the link and the HTML file at which the link points onto a CD, but it doesn't seem possible to use relative paths in PDF links. On the CD the link in the PDF will always point at drive F: which isn't where the HTML file will be (unless by some happy chance all of the people to whom I distribute the CD have drive F: as their CD-ROM drives). I know this isn't strictly a LyX problem, but any hints on a possible solution would be appreciated. I'm very reluctant to abandon the idea of using a LyX-generated PDF as a 'front page' for my project (it's genealogy, for the family). Regards, Nick. -- Nick and Anne Hopton, Caversham, Reading, England.
Re: gettting lyx/mac to see .bst files
On Jul 19, 2007, at 10:42 PM, Lyx Physicst wrote: Ok, so Im still very new to LaTeX... But I ran it and everything came out the same, there was no bibliography at all. So I ran BibTeX and got this error This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: Thesis3.4.1.aux I couldn't open style file aip.bst ---line 146 of file Thesis3.4.1.aux : \bibstyle{aip : } I'm skipping whatever remains of this command I found no style file---while reading file Thesis3.4.1.aux (There were 2 error messages) Am I missing some style file? (I am using report class fyi) Thanks, Charles This indicates it's not a LyX problem but something wrong with your LaTeX setup. I'm not sure what the couldn't open style file aip.bst is indicating. You said you installed it; are you sure? Try opening the Terminal and typing: kpsewhich aip.bst That should return a path to the file if LaTeX can find the file and nothing otherwise. If you do get a bath to that file, check to make sure you have read permissions on it. The other possibility I can think of is that the file is somehow corrupted. When installing extra files for LaTeX, the standard place to put them on Mac is ~/Library/texmf/. So .bst files would generally be put in ~/ Library/texmf/bibtex/bst. Having done that, run sudo texhash (giving your password), and it *should* work. Bennett
Re: LyX, pdflatex and local hyperlinks
Nick and Anne Hopton wrote: Uwe Stöhr wrote: You can alternatively simply use: \href{F:/Directory1/Directory2/index.html}{name} This opens the file with the default program that is set in the registry as default viewer for html-files. Thanks again for this Uwe, now when I click on the link in the PDF, Explorer fires up and loads index.html. All very good, but the trouble is that the drive letter (F:) is hard wired into the link. However, what I want to do is put the PDF file containing the link and the HTML file at which the link points onto a CD, but it doesn't seem possible to use relative paths in PDF links. On the CD the link in the PDF will always point at drive F: which isn't where the HTML file will be (unless by some happy chance all of the people to whom I distribute the CD have drive F: as their CD-ROM drives). I know this isn't strictly a LyX problem, but any hints on a possible solution would be appreciated. I'm very reluctant to abandon the idea of using a LyX-generated PDF as a 'front page' for my project (it's genealogy, for the family). Regards, Nick. assuming your LyX produced PDF is in Directory1 have you tried something like: \href{./Directory2/index.html}{name} otherwise known as a relative link? works for me in a minimal test on Linux, using either the info above in ERT or putting the URL in using LyX's insert-URL. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: gettting lyx/mac to see .bst files
On 7/20/07, Bennett Helm [EMAIL PROTECTED] wrote: On Jul 19, 2007, at 10:42 PM, Lyx Physicst wrote: Ok, so Im still very new to LaTeX... But I ran it and everything came out the same, there was no bibliography at all. So I ran BibTeX and got this error This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: Thesis3.4.1.aux I couldn't open style file aip.bst ---line 146 of file Thesis3.4.1.aux : \bibstyle{aip : } I'm skipping whatever remains of this command I found no style file---while reading file Thesis3.4.1.aux (There were 2 error messages) Am I missing some style file? (I am using report class fyi) Thanks, Charles This indicates it's not a LyX problem but something wrong with your LaTeX setup. I'm not sure what the couldn't open style file aip.bst is indicating. You said you installed it; are you sure? Try opening the Terminal and typing: kpsewhich aip.bst That should return a path to the file if LaTeX can find the file and nothing otherwise. If you do get a bath to that file, check to make sure you have read permissions on it. The other possibility I can think of is that the file is somehow corrupted. When installing extra files for LaTeX, the standard place to put them on Mac is ~/Library/texmf/. So .bst files would generally be put in ~/ Library/texmf/bibtex/bst. Having done that, run sudo texhash (giving your password), and it *should* work. Bennett This is the path that I found the aip.bst file in /usr/local/gwTeX/texmf.texlive/bibtex/bst/base/aip.bst I looked and I dont have a ~/Library/texmf/bibtex/bst folder Could there be somewhere else that I can put the file so LaTeX can see it?
Re: gettting lyx/mac to see .bst files
On Jul 20, 2007, at 10:15 AM, Lyx Physicst wrote: This indicates it's not a LyX problem but something wrong with your LaTeX setup. I'm not sure what the couldn't open style file aip.bst is indicating. You said you installed it; are you sure? Try opening the Terminal and typing: kpsewhich aip.bst That should return a path to the file if LaTeX can find the file and nothing otherwise. If you do get a path to that file, check to make sure you have read permissions on it. The other possibility I can think of is that the file is somehow corrupted. When installing extra files for LaTeX, the standard place to put them on Mac is ~/Library/texmf/. So .bst files would generally be put in ~/ Library/texmf/bibtex/bst. Having done that, run sudo texhash (giving your password), and it *should* work. Bennett This is the path that I found the aip.bst file in /usr/local/gwTeX/texmf.texlive/bibtex/bst/base/aip.bst I looked and I dont have a ~/Library/texmf/bibtex/bst folder Could there be somewhere else that I can put the file so LaTeX can see it? (You can always create that folder! -- Your LaTeX installation will recognize it once you do.) Did you check to see if you have read permissions to aip.bst? Are you sure your copy of that file is not corrupted? Bennett
Re: gettting lyx/mac to see .bst files
On 7/20/07, Bennett Helm [EMAIL PROTECTED] wrote: On Jul 20, 2007, at 10:15 AM, Lyx Physicst wrote: This indicates it's not a LyX problem but something wrong with your LaTeX setup. I'm not sure what the couldn't open style file aip.bst is indicating. You said you installed it; are you sure? Try opening the Terminal and typing: kpsewhich aip.bst That should return a path to the file if LaTeX can find the file and nothing otherwise. If you do get a path to that file, check to make sure you have read permissions on it. The other possibility I can think of is that the file is somehow corrupted. When installing extra files for LaTeX, the standard place to put them on Mac is ~/Library/texmf/. So .bst files would generally be put in ~/ Library/texmf/bibtex/bst. Having done that, run sudo texhash (giving your password), and it *should* work. Bennett This is the path that I found the aip.bst file in /usr/local/gwTeX/texmf.texlive/bibtex/bst/base/aip.bst I looked and I dont have a ~/Library/texmf/bibtex/bst folder Could there be somewhere else that I can put the file so LaTeX can see it? (You can always create that folder! -- Your LaTeX installation will recognize it once you do.) Did you check to see if you have read permissions to aip.bst? Are you sure your copy of that file is not corrupted? Bennett Ok, I created that directory and moved the file there. How do I check to see if I have permissions and/or if the file is corrupted? I was a little confused on how to download it from CTAN, so I just copied the text into a new tex file and saved it as aip.bst, is this ok or did I do it wrong?
Re: gettting lyx/mac to see .bst files
On Jul 20, 2007, at 10:33 AM, Lyx Physicst wrote: Ok, I created that directory and moved the file there. How do I check to see if I have permissions and/or if the file is corrupted? I was a little confused on how to download it from CTAN, so I just copied the text into a new tex file and saved it as aip.bst, is this ok or did I do it wrong? Hard to tell from here. Having done all this (and sudo texhash), does it work? If not, go to CTAN, find the aip.bst file, and download it directly to your hard drive. (To do this, Control-click the link, and select Save link as ..., entering aip.bst as the file name.) Put that in ~/Library/texmf/bibtex/bst, run sudo texhash, and see if it works. Bennett
Re: gettting lyx/mac to see .bst files
On 7/20/07, Bennett Helm [EMAIL PROTECTED] wrote: On Jul 20, 2007, at 10:33 AM, Lyx Physicst wrote: Ok, I created that directory and moved the file there. How do I check to see if I have permissions and/or if the file is corrupted? I was a little confused on how to download it from CTAN, so I just copied the text into a new tex file and saved it as aip.bst, is this ok or did I do it wrong? Hard to tell from here. Having done all this (and sudo texhash), does it work? If not, go to CTAN, find the aip.bst file, and download it directly to your hard drive. (To do this, Control-click the link, and select Save link as ..., entering aip.bst as the file name.) Put that in ~/Library/texmf/bibtex/bst, run sudo texhash, and see if it works. Bennett I downloaded aip.bst again(twice actually) and saved it in my bibtex folder I created. ran sudo texhash, and still nothing... LaTeX gives me this error now when I run bibtex.. This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: Thesis3.4.1.aux The style file: aip.bst can't start a style-file command---line 1 of file aip.bst : : !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN (Error may have been on previous line) (There was 1 error message) Does this mean Im missing something else, some style file? Thanks for your patience, charles
TOC font changes, adding dots between heading and page
Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles
Re: TOC font changes, adding dots between heading and page
Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is...
Using article layout but having 'Bibliography' rather than reference
Hi all I would like the article (koma) style but want the word Bibliography rather than references. I have tried manually editing the layout files to get the article style but haven't managed to add the word Bibliography rather than references. Below is the layout file i tried created that didn't work: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[scrartcl]{article-sbl (koma-script)} # KOMA scrartcl textclass definition file. # Bernd Rellermeyer [EMAIL PROTECTED], 1998/7/11. Format 2 Input scrclass.inc Input numarticle.inc SecNumDepth 3 TocDepth3 NoStyle Chapter NoStyle Chapter* NoStyle Addchap NoStyle Addchap* NoStyle Addpart NoStyle Dictum Style Part Align Left AlignPossible Left TopSep2 BottomSep 1.5 Font SizeLarger EndFont End Style Part* Align Left AlignPossible Left TopSep2 BottomSep 1.5 Font SizeLarger EndFont End Style Bibliography TopSep4 LabelString Bibliography LabelFont Series Bold SizeLargest EndFont End Thanks, Richard
Re: One more thing
Paniez Paykari ha scritto: Sorry one more thing is that it has a table 3.2 and a table 3.6 after that! why not creating number in the sequence ie 3.3 after 3.2? it misses 3.3 3.4 3.5 and has a table of 3.6? Maybe you used a picture float instead of a table float without noticing. Anyway it is very difficult to help you more without additional detail (at least lyx version) and an example! bye -- Lorenzo `paulatz' Paulatto Trieste ``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse fatto l'universo più proporzionato alla piccola capacità del lor discorso.'' --Galileo Galilei (Opere VII) -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Prestiti personali fino a 30.000 Euro. Clicca qui per un preventivo immediato, richiedi subito limporto e la rata che desideri! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6833d=20-7
Re: gettting lyx/mac to see .bst files
On Jul 20, 2007, at 11:27 AM, Lyx Physicst wrote: I downloaded aip.bst again(twice actually) and saved it in my bibtex folder I created. ran sudo texhash, and still nothing... LaTeX gives me this error now when I run bibtex.. This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: Thesis3.4.1.aux The style file: aip.bst can't start a style-file command---line 1 of file aip.bst : : !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN (Error may have been on previous line) (There was 1 error message) Does this mean Im missing something else, some style file? Thanks for your patience, charles No, it means you haven't downloaded the right file. (You've downloaded a webpage instead!) CTAN is a bit confusing in this regard: you'll need to keep clicking on links until you get to the actual file. The file you want is located here: ftp://tug.ctan.org/tex-archive/biblio/bibtex/contrib/phy-bstyles/ aip.bst Bennett
Re: gettting lyx/mac to see .bst files
On 7/20/07, Bennett Helm [EMAIL PROTECTED] wrote: On Jul 20, 2007, at 11:27 AM, Lyx Physicst wrote: I downloaded aip.bst again(twice actually) and saved it in my bibtex folder I created. ran sudo texhash, and still nothing... LaTeX gives me this error now when I run bibtex.. This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: Thesis3.4.1.aux The style file: aip.bst can't start a style-file command---line 1 of file aip.bst : : !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN (Error may have been on previous line) (There was 1 error message) Does this mean Im missing something else, some style file? Thanks for your patience, charles No, it means you haven't downloaded the right file. (You've downloaded a webpage instead!) CTAN is a bit confusing in this regard: you'll need to keep clicking on links until you get to the actual file. The file you want is located here: ftp://tug.ctan.org/tex-archive/biblio/bibtex/contrib/phy-bstyles/ aip.bst Bennett Bennett, I got your message JUST as I was replying to say I realized I had downloaded the website I got it fixed and its working now! Thank you very much... Charles
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is... The tocloft package will do everything that you need. Grab the package documentation and read through it. It took me quite a while to figure out how to add dotted leaders to chapters or sections. This was a requirement for my thesis also. I've attached a simple example of how to add dotted leaders and change the name of the table of contents. Consult the tocloft documentation for the other requirements. Cheers, Bob Lounsbury Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles
Re: Using article layout but having 'Bibliography' rather than reference
Richard McIntosh wrote: Hi all I would like the article (koma) style but want the word Bibliography rather than references. I have tried manually editing the layout files to get the article style but haven't managed to add the word Bibliography rather than references. I use article but the following may work for you to, or point to what you do need to do: in ERT just before the bib location I put \renewcommand{\refname}{} % remove the word 'References' from bibliography for me I just type the name REFERENCED DOCUMENTS. as the section name. perhaps \renewcommand{\refname}{Bibliography} would do it for you? It worked for me in a quick test. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Charles de Miramon [EMAIL PROTECTED] wrote: Lyx Physicst wrote: Hi all, Im trying to tweak a few things in my Table of contents. 1) I need to change how Lyx makes all new sections(ie chapter, list of tables, list of figures, etc) in bold font and the corresponding listed page number is in bold as well. I need to make the whole thing in normal font. 2) I need to have the dots that go from section to page number ie: 1.1Background... 1 Apply to all items in the table of contents. Right now, the main chapter titles do not have these dots, nor do items such as list of tables, list of figures etc. Only subsections within each chapter have them, and I need to include them for all entries. 3) Finally, I need to change the title to Table of Contents, not contents I am using Lyx 1.44 on a mac with the report class. Thanks, Charles Over use of dotted lines is very ugly and a bad habit left from MsWord. You seem to be a tweaker and you should borrow / buy the LaTeX Companion. It is a big expensive book but a good investment. Cheers, Charles -- http://www.kde-france.org Charles, I agree that is ugly and if it were up to me I wouldnt use it. But the editors at my graduate school are making me change the default Lyx format to their standards and that uses dots for all the sections All of these changes are their doing, not mine. I think it looks great as is... The tocloft package will do everything that you need. Grab the package documentation and read through it. It took me quite a while to figure out how to add dotted leaders to chapters or sections. This was a requirement for my thesis also. I've attached a simple example of how to add dotted leaders and change the name of the table of contents. Consult the tocloft documentation for the other requirements. Cheers, Bob Lounsbury newfile1-1.4.4.lyx Description: application/lyx
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: Thanks bob, that got the name change and the dots correct, but for some reason my List of Tables and List of Figures got dropped from the Table of contents when I added your tex into my preamble... Is there any reason for this, or do I need to add something else? Charles I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package?
Re: TOC font changes, adding dots between heading and page
On Friday 20 July 2007 11:33, Charles de Miramon wrote: That's right, and before you buy LaTeX Companion, you should learn TeX so that LaTeX Companion makes sense. I recommend these two: http://www.ctan.org/tex-archive/info/impatient/book.pdf http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm SteveT
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob newfile1-1.4.4.lyx Description: application/lyx
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob Yes, your sample is correct in how I would like it. But, my TOC is two pages long, so the counter skips the second page of the TOC and labels it as the first page of the LOT(the next section) So my TOC is on page v and vi, and the LOT starts at vii, but is being listed as starting at vi. I hope I explained it better..
Re: TOC font changes, adding dots between heading and page
On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: On 7/20/07, Bob Lounsbury [EMAIL PROTECTED] wrote: On 7/20/07, Lyx Physicst [EMAIL PROTECTED] wrote: I don't know the reason, but you can add the Table of Contents, List of Figures, List of Figures, and BibTeX bibliography to the Table of contents using \usepackage{tocbibind} in the preamble. Or if you just want to add one or the other then you can add \addcontentsline{toc}{chapter}{List of Figures} next to the List of Figures callout in ERT. Bob So I did that, and it worked. But now my page numbers are off... For the first sections(acknowlegments, list of tables, list of figures, abbreviations, etc) I have roman numerals counting. Then the counter starts at 1 once the text of Chapter one starts. Well now my roman numerals are off by one page. It says the LOT starts at vi, but it really starts at vii and so all the other ones are off by one... Is this due to the tocloft package? I'm not following. Have you separated your addcontentsline commands? Here's an example as you've described number acknowledgments, lof, and lot in roman and the chapter 1 in arabic. There is no page number issue. Bob Yes, your sample is correct in how I would like it. But, my TOC is two pages long, so the counter skips the second page of the TOC and labels it as the first page of the LOT(the next section) So my TOC is on page v and vi, and the LOT starts at vii, but is being listed as starting at vi. I hope I explained it better.. That makes sense, but I can't reproduce it. I added chapters and sections such that the TOC was two pages long and the numbering was still correct. Something else must be going on or conflicting. Maybe, you could send a minimal example. Bob
Re: LyX vs. Scribus
On Fri, 20 Jul 2007, Steve Litt apparently wrote: Can someone tell me the differences between LyX and Scribus? LyX does not do page layout (thank goodness). Scribus does not do math. Cheers, Alan Isaac
Re: LyX vs. Scribus
I have only had a quick look at it but it is a desktop publishing program like the old pagemaker. As far as I could see it was designed to take existing text and images and produce a nice output. It seems to handle linked frames, call-outs etc well. LyX and Scribus are almost completely different animals. One is a text processing program, the other a page layout program. I would hestiate to use LyX to publish the local club newsletter and would not use Scribus to produce a mathmatical textbook. --- Steve Litt [EMAIL PROTECTED] wrote: Hi all, I've just heard about a program called Scribus, which supposedly is a page layout program and not a wordprocessing program. The program's web page is at http://www.scribus.net/. I'm not familiar with Scribus. Can someone tell me the differences between LyX and Scribus? Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
LyX vs. Scribus
Hi all, I've just heard about a program called Scribus, which supposedly is a page layout program and not a wordprocessing program. The program's web page is at http://www.scribus.net/. I'm not familiar with Scribus. Can someone tell me the differences between LyX and Scribus? Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
putting the title of book in italics for @inbook for just the footnote and changing position of editor
Dear All, Thanks for all the help so far. I really need the inbook references to come out something like this, footnote first citation: Stephen Sykes, P. T. Forsyth on the Church in Justice the True and Only Mercy (ed. Trevor Hart; Edinburgh: TT Clark,1996) subsequent footnote citation Sykes, Forsyth on Church, Bibliography entry Stephen Sykes, P. T. Forsyth on the Church pages 1-15 in Justice the True and Only Mercy Edited by Trevor Hart. Edinburgh: TT Clark, 1996. Ordinary books work ok with my current preamble Here is my current preamble: \addto\jbonlyforbib{% \DeclareRobustCommand{\bibapyldelim}{\unskip\unskip\space}% \DeclareRobustCommand{\bibapyrdelim}{}% }% \renewcommand{\bibapyldelim}{(} \renewcommand{\bibapyrdelim}{)} \jurabibsetup{ titleformat=italic,% titleformat=commasep,% titleformat=all,% titleformat=commasep% bibformat=compress,% bibformat=ibidem,% oxford,% commabeforerest,% citefull=first,% pages=format% } and here is my test books: @book{manson1948csm, title={{The Church's Ministry}}, shorttitle={Church's Ministry} author={Manson, T.W.}, year={1948}, publisher={Hodder \ Stoughton}, location={London}, shorttitle={Church's Ministry}, } @inbook{sykjusmer, author = {Stephen Sykes}, editor = {Trevor Hart}, title = {Justice the True and Only Mercy}, chapter = {P.T. Forsyth on the Church}, publisher = {T \ T Clark}, location= {Edinburgh}, year = {1996}, pages = {1-15}, OPTnote = {}, OPTannote = {} }
Re: LyX vs. Scribus
You can use Srcibus for Invitations or (more intersting for publishers) to design cover pages for books and thesis work. I used Inkscape for my cover page since I was not familiar with Scribus. While working on another document I learned a bit more. The PDF generation is really good. The user interface could become a bit more intuitive... a page layout program. I would hestiate to use LyX to publish the local club newsletter and would not use A German mangazine on free software and Linux uses Latex to produce a very nice layout: http://www.freies-magazin.de/2007/freiesMagazin-2007-07.pdf On the page they even share their Latex layout which looks quite professional: http://www.elyps.de/magazin.html regards, Timmie
Re: putting the title of book in italics for @inbook for just the footnote and changing position of editor
Richard McIntosh wrote: Dear All, Thanks for all the help so far. I really need the inbook references to come out something like this, footnote first citation: Stephen Sykes, P. T. Forsyth on the Church in Justice the True and Only Mercy (ed. Trevor Hart; Edinburgh: TT Clark,1996) subsequent footnote citation Sykes, Forsyth on Church, Bibliography entry Stephen Sykes, P. T. Forsyth on the Church pages 1-15 in Justice the True and Only Mercy Edited by Trevor Hart. Edinburgh: TT Clark, 1996. It starts to get complex and weird, especially the place where you put the pages. It is possible with a lot of massaging and a custom bst file which is not very easy to do. When you start redifining lot of stuff in jurabib, you can get borders effect. You seem to be in the field of English Reformed Theology. I have done a TT Clark bst file and jurabib customization, that I can give you. Maybe you can convince your supervisor to let you adopt TT bibliographical convention which is also fairly quaint and gain time, energy and serenity. Cheers, Charles
Re: LyX vs. Scribus
On Friday 20 July 2007 12:33, Steve Litt wrote: Hi all, I've just heard about a program called Scribus, which supposedly is a page layout program and not a wordprocessing program. The program's web page is at http://www.scribus.net/. I'm not familiar with Scribus. Can someone tell me the differences between LyX and Scribus? Steve, I've used Lyx for about five years, and Scribus for about one. Lyx is far more useful to me, but Scribus has its uses. Lyx takes care of the layout automatically; Scribus practically demands that you lay every page out individually (sketching the page layout on paper is recommended as the first step). Lyx is highly suited to writing text; Scribus is not recommended for writing text. Lyx adheres to accepted typesetting conventions; Scribus lets you mess things up completely. Lyx places figures and tables automatically; Scribus lets (makes) you put each one wherever you want it. Lyx has great support for crossreferencing and bibliographies; Scribus has none. Lyx is easy to learn; Scribus is not. Scribus allows you to put a graphic item exactly where you want it, and to overlay multiple graphic and text items with varying degrees of transparency; Lyx does not. Lyx is a lightweight program which runs happily on almost any computer; Scribus has brought my Athlon 64 X2 workstation with 2GB RAM to its knees. Scribus allows use of any font installed on your computer, and can scale and distort it any way you want; Lyx does not support this. Scribus has complex color management for text, graphics and lines; Lyx has limited color support. I've used Lyx for letters, reports, books, articles and presentations (with Powerdot) ranging from a single page of text to hundreds of pages with hundreds of figures. I've used Scribus only for a couple of poster papers, and found it an excellent tool for the job. I completed six posters 6ft x 3ft in about a week; each poster has about ten text boxes and about five pictures. I'd use Scribus for a brochure or poster without hesitation; it might also be best for a short newsletter. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: LyX, pdflatex and local hyperlinks
Nick and Anne Hopton schrieb: is that the drive letter (F:) is hard wired into the link. However, what I want to do is put the PDF file containing the link and the HTML file at which the link points onto a CD, but it doesn't seem possible to use relative paths in PDF links. Besides what Todd explained you can also simply put the html file in the same folder where the PDF is located. The \href call ise then simply \href{index.html}{name} regards Uwe
re: putting the title of book in italics for @inbook for just the footnote and changing position of editor
Charles, Thanks for the help there. I hope it hasn't taken up to much of you time. yes I am doing it on English reformed theology (is this your field too). Though my college use the Society of biblical literature conventions. I think the TT Clark ones are quite close and should not cause to a problem. That would be great if you could send me those files. I will use that arrangement. I will also delete the Society of Biblical Literature entry from the wiki. Is it ok can I add your files to the wiki as the TT clark one is empty. I don't have time before my thesis is due in. But what books (websites) are best for learning how to edit bst files. Richard On 20/07/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Richard McIntosh wrote: Dear All, Thanks for all the help so far. I really need the inbook references to come out something like this, footnote first citation: Stephen Sykes, P. T. Forsyth on the Church in Justice the True and Only Mercy (ed. Trevor Hart; Edinburgh: TT Clark,1996) subsequent footnote citation Sykes, Forsyth on Church, Bibliography entry Stephen Sykes, P. T. Forsyth on the Church pages 1-15 in Justice the True and Only Mercy Edited by Trevor Hart. Edinburgh: TT Clark, 1996. It starts to get complex and weird, especially the place where you put the pages. It is possible with a lot of massaging and a custom bst file which is not very easy to do. When you start redifining lot of stuff in jurabib, you can get borders effect. You seem to be in the field of English Reformed Theology. I have done a TT Clark bst file and jurabib customization, that I can give you. Maybe you can convince your supervisor to let you adopt TT bibliographical convention which is also fairly quaint and gain time, energy and serenity. Cheers, Charles
re: putting the title of book in italics for @inbook for just the footnote and changing position of editor
Richard McIntosh wrote: Charles, Thanks for the help there. I hope it hasn't taken up to much of you time. yes I am doing it on English reformed theology (is this your field too). No, I fell in sin but not into heresy ;-) Though my college use the Society of biblical literature conventions. I think the TT Clark ones are quite close and should not cause to a problem. That would be great if you could send me those files. I will use that arrangement. I will also delete the Society of Biblical Literature entry from the wiki. Is it ok can I add your files to the wiki as the TT clark one is empty. OK, I clean the files and send them this week-end I don't have time before my thesis is due in. But what books (websites) are best for learning how to edit bst files. Tame the Beast by Nicolas Markey http://www.lsv.ens-cachan.fr/~markey/BibTeX/doc/ttb_en.pdf bst files are beasts because they work in reverse Polish notation like the old HP pocket calculators and with a stack. Hacking bst files is like going into a time machine to the (un)happy rainy days, when you were a teenager trying to program something in Forth on your ZX Spectrum. There is a new bibliographical package biblatex that seems to be more flexible than jurabib and does not need bst files but it is not as stable and mature than jurabib. Cheers, Charles
Editing spacing in List of Tables/Figures
Hi all, I have a thesis with lots of figures and tables. Im using report class and the default method in the List of Figures/Tables is to group figures/tables together by chapter, double space, and then group the figures/tables for the next chapter. ie Fig 1.2 blah blah Fig 1.3 Blha ldskjf Fig 2.1 ... Blahsdh Fig 2.2 ldsajfkls I need to remove that space and have single spacing consistently throughout the LOT and LOF. I tried to edit this using the Layouts package in my preamble, but Im doing something wrong with the syntax and getting errors: \usepackage{layouts} \makeatletter [EMAIL PROTECTED] \makeatother Can someone tell me what Im doing wrong or suggest an alternative method? Thanks, Charles
Bug or feature? LyX table multicol
It's possible that I am misunderstanding this feature. Start new document; create table; select cell; choose multicol from table toolbar; switch off top border on that cell. Result: the top border disappears from all but the selected cell. See screenshot: http://www.unmusic.co.uk/lyx_multicol.png The pdf output reflects what is displayed on screen. -- http://www.unmusic.co.uk - about me, music, geek sitcom etc.
Re: Bug or feature? LyX table multicol
killermike wrote: It's possible that I am misunderstanding this feature. Start new document; create table; select cell; choose multicol from table toolbar; switch off top border on that cell. Result: the top border disappears from all but the selected cell. Known bug (limitation). For multicols, you have to toggle the borders in the table dialog. Jürgen
Re: create PDF of selected pages (using texexec)?
Hi Jeremy, with ghostscript the paper format is preserved on my Mac. I made a test file newfile1.pdf with your page geometry and put it into an empty directory to do the following manipulations from the terminal (just as you apparently did with texec). I'm assuming I want the page numbers 2, 4 and 5 extracted: tcsh foreach i ( 2 4 5) foreach? gs -dSAFER -dBATCH -dNOPAUSE -dFirstPage=$i -dLastPage=$i - sDEVICE=pdfwrite -sOutputFile=im$i.pdf newfile1.pdf foreach? end gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite - sOutputFile=combine.pdf `ls im*.pdf` With this, the output file combine.pdf has the desired three pages and also the original page format. The first line (tcsh) just gets you a shell in which the foreach command is recognized, which I use to loop through the list of pages to be extracted. The loop creates one file each per extracted page, and the last line after the loop combines these pages back into a single document. I guess someone who really needs this often would want to make this into a script, but I had to be at a Harry-Potter party today so I'll just have to hope that this works for you... Jens On Jul 18, 2007, at 11:30 PM, Jeremy C. Reed wrote: I have a 650+ page book of 535.68 x 696.959 pts pages. This is for a 7.44in x 9.68in book (printer calls it Crown Quarto). I need to just have some selected pages sent to printer to do some testing. I used texexec like: texexec --pdfselect --selection=6,7,20,21 --result=images.pdf book.pdf But the generated book is in A4. Any suggestions on how to texexec to not reformat the pages at all (and keep my 7.44in x 9.68in pages)? Or any other tool or technique to do what I want? Thanks in advance, Jeremy C. Reed
Re: LyX crashes on startup
Timo Gienger wrote: Error Message: LyX: Missing quote [around line 5 of file ] Assertion triggered in __thiscall lyx::support::FileName::FileName(const class std::basic_stringchar,struct std::char_traitschar,class std::allocatorchar ) by failing check empty() || absolutePath(name_) in file D:\LyX\lyx-1.5.0rc2\src\support\FileName.cpp:47 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Completed What does lyx -dbg files reveal? Jürgen
Re: flashcards layout
Hi Steve > Exactly what kind of paper are you going to use for your flashcards? Will > you print them yourself, or have a copy shop print them? I've found that > putting thick paper into my printers shortens their life considerably. Since I just started using the flashcardspackage and I needed them fast, I have only printed a few on normal paper. I'm still (haven't started yet) looking for a store where I can print them on businesscards. > > Around where I live we have a place called CopyMax who can print from a PDF > file. 3x5 cards are easy to get, but I think thicker stock would be needed > to get rugged, long lasting flash cards. What do you think? I read that businesscards should be long enough lasting. You should be able to get letter or A4 paper, which are perforated the right way for businesscards. If you use a laser printer you don't have to worry about much I guess. If you're lifing in a rough environment, you might wannt to try laminating the cards before you break them appart. Jonathan
Re: parentheses round location publisher and date in footnotes
Richard McIntosh wrote: > Hi All, > > I would like to be able to put parentheses in first footnote around > location, publisher and date, e.g. (London: Continuum, 1987). I have found > on google someone asking to get rid of them but can't find how to add > them! > Where do you place the series ? Inside the parentheses or not ? Add that in your preamble : \renewcommand{\bibapyldelim}{(} \renewcommand{\bibapyrdelim}{)} Cheers, Charles -- http://www.kde-france.org
Re: parentheses round location publisher and date in footnotes
Dear all, Thanks again Charles! Is there anyway that I could not have the parentheses in the references/bibliography at the end yet keep them in the footnotes? With respect to the series, I am not using any works from a series in my thesis so its not a problem. However, according to my style handbook the series should be in the parantheses before the location separated by a colon!! Richard On 20/07/07, Charles de Miramon <[EMAIL PROTECTED]> wrote: Richard McIntosh wrote: > Hi All, > > I would like to be able to put parentheses in first footnote around > location, publisher and date, e.g. (London: Continuum, 1987). I have found > on google someone asking to get rid of them but can't find how to add > them! > Where do you place the series ? Inside the parentheses or not ? Add that in your preamble : \renewcommand{\bibapyldelim}{(} \renewcommand{\bibapyrdelim}{)} Cheers, Charles -- http://www.kde-france.org
Re: parentheses round location publisher and date in footnotes
Richard McIntosh wrote: > Dear all, > > Thanks again Charles! > > Is there anyway that I could not have the parentheses in the > references/bibliography at the end yet keep them in the footnotes? > \addto\jbonlyforbib{% \DeclareRobustCommand{\bibapyldelim}{\unskip\unskip\space}% \DeclareRobustCommand{\bibapyrdelim}{}% }% Cheers, Charles When your bibliography style is ready please add a page on the Lyx wiki with the different tricks. I'm short on time. -- http://www.kde-france.org
LyX crashes on startup
Hi, since today my lyx is crashing when i start it. The only thing i newly installed was graphviz. I´m using LyX on Windows. Maybe someone knows how to fix the problem. I haven´t tried reinstalling lyx so far. I don´t understand the path-message from the error-message, it says D:\LyX\lyx-1.5.0rc2\. the path even doesn´t exist, lyx isn´t installed there. Error Message: LyX: Missing quote [around line 5 of file ] Assertion triggered in __thiscall lyx::support::FileName::FileName(const class std::basic_string&) by failing check "empty() || absolutePath(name_)" in file D:\LyX\lyx-1.5.0rc2\src\support\FileName.cpp:47 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Completed Greetings Timo
LyX crashes on start.
Hi, since today my lyx is crashing when i start it. The only thing i newly installed was graphviz. I´m using LyX on Windows. Maybe someone knows how to fix the problem. I haven´t tried reinstalling lyx so far. I don´t understand the path-message from the error-message, it says D:\LyX\lyx-1.5.0rc2\. the path even doesn´t exist, lyx isn´t installed there. Error Message: LyX: Missing quote [around line 5 of file ] Assertion triggered in __thiscall lyx::support::FileName::FileName(const class std::basic_string&) by failing check "empty() || absolutePath(name_)" in file D:\LyX\lyx-1.5.0rc2\src\support\FileName.cpp:47 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Completed Greetings Timo