Re: Number Tables by Section in Document Settings doesn\'t work
Hello Richard, Could you please elaborate how to check the generated preamble? Many thanks, Daisuke
Is my Preamble interfering with compiling my LyX document?
Hello, I am using LyX 1.6.10 on Mac OS 10.6.7. It took me a year until someone on this forum pointed out that stuff accumulated in my preamble was causing subfloats to not work properly. I know nothing about LaTeX, and the following code in the preamble was cobbled together by random snippets of code I either found on the Internet or shown by colleagues. If it's no trouble for the LaTeX and LyX experts on this forum, could someone please tell me which bits of the code below might cause errors in creating documents in LyX? I also recently found out that some of the functionality in the preamble could be specified in LyX: Document Settings. Is it better to use the Document Settings to specify certain aspects of the LyX document rather than doing this in the preamble? Many thanks for the future help, Daisuke Koya \usepackage{calc} \usepackage{amsfonts}\@ifundefined{definecolor} {\usepackage{color}}{} \usepackage{array} \usepackage{hhline} \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} \setlength{\topmargin}{2.27cm} \setlength{\oddsidemargin}{2.27cm} \setlength{\textheight}{24.259cm} \setlength{\textwidth}{16.5cm} \setlength{\footskip}{2.0cm} \setlength{\headheight}{0cm} \setlength{\headsep}{0cm} \setlength{\skip\footins}{0.119cm}\renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} \makeatletter\newcommand{\ps@Standard}{ \renewcommand\@oddhead{} \renewcommand\@evenhead{} \renewcommand\@oddfoot{} \renewcommand\@evenfoot{} \renewcommand\thepage{\arabic{page}} }\makeatother \title{}\author{}\date{} \usepackage[sf,raggedright,toctitles]{titlesec} \usepackage{multirow} \renewcommand{\multirowsetup}{\centering} \hyphenpenalty=5000 \tolerance=1000 \renewcommand{\thetable}{\arabic{table}} \numberwithin{table}{section}
Roadmap for LyX 2.0.1
Hi all! I am evaluating which version of LyX is more suitable for deployment in a large organisation. I wonder if there has been set a date for the first maintenance release in the 2.0 series. I had a look at trac. It said 'No date set', but listed quite a few bugs fixed for the next mainenance release. http://www.lyx.org/trac/wiki/BugTrackerHome#Bugsalreadyfixedfornextmaintenancerelease Kind regards Frode Severin Hatelvik -- Da sa Gud: Det bli lys! Og det ble lys. 1. Mosebok 1.3 And God said, Let there be light, and there was light. Genesis 1:3, NIV
Re: Number Tables by Section in Document Settings doesn\'t work
On 05/27/2011 06:22 AM, Daisuke Koya wrote: Hello Richard, Could you please elaborate how to check the generated preamble? One way is just to ViewSource, check Complete Source, and then look at the beginning of the document. The other way is to FileExportLaTeX, and then look at the .tex file in a text editor. rh
Re: Roadmap for LyX 2.0.1
On 05/27/2011 07:05 AM, Frode Severin Hatlevik wrote: Hi all! I am evaluating which version of LyX is more suitable for deployment in a large organisation. I wonder if there has been set a date for the first maintenance release in the 2.0 series. I had a look at trac. It said 'No date set', but listed quite a few bugs fixed for the next mainenance release. http://www.lyx.org/trac/wiki/BugTrackerHome#Bugsalreadyfixedfornextmaintenancerelease I haven't announced a date yet, but I intend to do so over the weekend. Probably two weeks from now would be realistic. There are a few bugs I'd like to see fixed first, if possible. Richard
Re: Installing on Mac--MacTex vs. BasicTex
On Thu, May 26, 2011 at 11:14 PM, Bob Alvarez cobol...@gmail.com wrote: I am installing Lyx 1.6.9 on a Macbook Air OSX 10.6 . Looking through the instructions I was dismayed to see that I may have to install the 1.6 GB MacTex package. This machine only has a 64 GB drive so this is quite a lot of overhead not to mention that the download will take many hours on my basic DSL connection. The Wiki suggests BasicTex but this thread suggests that is a bad idea http://www.mail-archive.com/lyx-users@lists.lyx.org/msg78404.html Questions: 1. Has anyone had success installing and using Lyx with BasicTex (I am mainly interested in koma-script article document class)? 2. Any ideas on using an external USB drive to hold the installation package and then selecting the components I need for Lyx? 3. Any other ideas on how to reduce the drive space requirement? I haven't used BasicTeX myself, but I believe it will work together with TeX Live Utility.app, which will allow you selectively to add other LaTeX packages that BasicTeX itself does not include. It may be a pain to track down packages you need but don't have and then to install them, but if you're willing to put in that effort, BasicTeX may be for you. I believe (2) will not work: when installing the full MacTeX package, it's pretty much all or nothing. (But I'm going from memory of something I didn't pay attention to when installing MacTeX a long time ago.) BH
Re: Is my Preamble interfering with compiling my LyX document?
On 05/27/2011 07:00 AM, Daisuke Koya wrote: Hello, I am using LyX 1.6.10 on Mac OS 10.6.7. It took me a year until someone on this forum pointed out that stuff accumulated in my preamble was causing subfloats to not work properly. I know nothing about LaTeX, and the following code in the preamble was cobbled together by random snippets of code I either found on the Internet or shown by colleagues. If it's no trouble for the LaTeX and LyX experts on this forum, could someone please tell me which bits of the code below might cause errors in creating documents in LyX? Any of them could interfere. I'd suggest you at least document for yourself what each of these does (LaTeX comments begin with %), and only include what you know you need for a given document. I also recently found out that some of the functionality in the preamble could be specified in LyX: Document Settings. Is it better to use the Document Settings to specify certain aspects of the LyX document rather than doing this in the preamble? Generally, yes, because LyX will try to handle conflicts for you, and you do not have to worry about which packages are being loaded in which order, etc. Now \usepackage{calc} \usepackage{amsfonts} \@ifundefined{definecolor}{\usepackage{color}}{} I doubt you need to load these. \usepackage{array} \usepackage{hhline} \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} You are better off using the hyperref support in DocumentSettings. \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} \setlength{\topmargin}{2.27cm} \setlength{\oddsidemargin}{2.27cm} \setlength{\textheight}{24.259cm} \setlength{\textwidth}{16.5cm} \setlength{\footskip}{2.0cm} \setlength{\headheight}{0cm} \setlength{\headsep}{0cm} \setlength{\skip\footins}{0.119cm} Paper size and margins can be set in DocumentSettings. \renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} \makeatletter\newcommand{\ps@Standard}{ \renewcommand\@oddhead{} \renewcommand\@evenhead{} \renewcommand\@oddfoot{} \renewcommand\@evenfoot{} \renewcommand\thepage{\arabic{page}} }\makeatother You are better off using the fancyhdr package, I'd think, to do this. \title{}\author{}\date{} \usepackage[sf,raggedright,toctitles]{titlesec} \usepackage{multirow} \renewcommand{\multirowsetup}{\centering} LyX has support for multirow in 2.0.x. \hyphenpenalty=5000 \tolerance=1000 \renewcommand{\thetable}{\arabic{table}} \numberwithin{table}{section} These should be harmless. rh
Re: shortcut
On Fri, May 27, 2011 at 8:31 AM, Hal Kierstead kierst...@asu.edu wrote: I understand this part. What I need to know is where the shortcuts defined using the preferences dialog are stored. (Please reply to the list so that others can follow the thread.) Default .bind files on Mac are stored in LyX.app/Contents/Resources/bind/. As Richard says, however, you can change them via LyX's preferences. At LyX Preferences Editing Shortcuts, there's a Browse button that allows you to select from among the default .bind files. Clicking it will take you to the appropriate directory. If you use the dialog to change keybindings, the modifications you make are stored (on Mac) in ~/Library/Application Support/LyX-2.0/bind/user.bind. BH
Re: shortcut
On 05/27/2011 08:27 AM, Hal Kierstead wrote: This does not seem to be enough, because of shortcuts defined in the preferences. User shortcuts are stored in the user directory, in the user.bind file. rh HK On May 26, 2011, at 5:15 PM, Richard Heck wrote: On 05/26/2011 06:06 PM, Hal Kierstead wrote: I am trying to get my shortcuts uniform across three machines. Can you tell me where shortcuts are stored on a Max? I already know to use the same bind folder and layout file. The difference is in what .bind file is used. You can change this under ToolsPreferences. OSX uses mac.bind by default. rh
multicolumn across multiple rows
Lyx 2.0.0rc3 on Ubuntu Linux, I have several big tables that I've imported data from a spreadsheet. I have to join two columns across multiple rows down, i.e. I need to join columns 2and3, 4and5, 6and7 but all the way down the table for multiple rows. I can do it using multicolumn, but only for a single row at a time. Is there a way to do it for many rows at once? I guess I'm asking if it is possible to do multicolumn across multiple rows? Thanks J === Dr. Jim Maas University of East Anglia
Re: Is my Preamble interfering with compiling my LyX document?
Hello Richard, Thank you very much for your detailed help. I will remove the bits of code that might give conflicts. The code in the LaTeX preamble did have comments, but I've removed them in my post because some of them contained names of colleagues. Regarding the fancyhdr package, could you please tell me how this can be installed in LyX? I went to what I believe is the web page where this package is downloaded, but I couldn't find any installation instructions for LyX. Again, I appreciate the help, Daisuke Koya On 27 May 2011, at 13:32, Richard Heck wrote: On 05/27/2011 07:00 AM, Daisuke Koya wrote: Hello, I am using LyX 1.6.10 on Mac OS 10.6.7. It took me a year until someone on this forum pointed out that stuff accumulated in my preamble was causing subfloats to not work properly. I know nothing about LaTeX, and the following code in the preamble was cobbled together by random snippets of code I either found on the Internet or shown by colleagues. If it's no trouble for the LaTeX and LyX experts on this forum, could someone please tell me which bits of the code below might cause errors in creating documents in LyX? Any of them could interfere. I'd suggest you at least document for yourself what each of these does (LaTeX comments begin with %), and only include what you know you need for a given document. I also recently found out that some of the functionality in the preamble could be specified in LyX: Document Settings. Is it better to use the Document Settings to specify certain aspects of the LyX document rather than doing this in the preamble? Generally, yes, because LyX will try to handle conflicts for you, and you do not have to worry about which packages are being loaded in which order, etc. Now \usepackage{calc} \usepackage{amsfonts} \@ifundefined{definecolor}{\usepackage{color}}{} I doubt you need to load these. \usepackage{array} \usepackage{hhline} \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} You are better off using the hyperref support in DocumentSettings. \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} \setlength{\topmargin}{2.27cm} \setlength{\oddsidemargin}{2.27cm} \setlength{\textheight}{24.259cm} \setlength{\textwidth}{16.5cm} \setlength{\footskip}{2.0cm} \setlength{\headheight}{0cm} \setlength{\headsep}{0cm} \setlength{\skip\footins}{0.119cm} Paper size and margins can be set in DocumentSettings. \renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} \makeatletter\newcommand{\ps@Standard}{ \renewcommand\@oddhead{} \renewcommand\@evenhead{} \renewcommand\@oddfoot{} \renewcommand\@evenfoot{} \renewcommand\thepage{\arabic{page}} }\makeatother You are better off using the fancyhdr package, I'd think, to do this. \title{}\author{}\date{} \usepackage[sf,raggedright,toctitles]{titlesec} \usepackage{multirow} \renewcommand{\multirowsetup}{\centering} LyX has support for multirow in 2.0.x. \hyphenpenalty=5000 \tolerance=1000 \renewcommand{\thetable}{\arabic{table}} \numberwithin{table}{section} These should be harmless. rh
problem with language-settings
Hi all, I have a little problem with my language settings. At first I wrote my text in english and then decided to write it in German. Of course I want the environments to have the same language (for example Bemerkung instead of Remark; I think these are environments in the module Theorem). So I changed language by Document-Settings-language-language:German. But unfortunately some of the environments appear in English (for example example and remark) while others appear in German (for example Beweis, which is the German word for proof). I saw in the Code that Lyx still uses the options english and ngerman both: \documentclass[oneside,english,ngerman]{scrbook} Is it possible to change the language for all environments? I tried some things (I don't know if this helps): When I want to change the language to a really new one(for example change it to Africaans) Lyx creates a Latex Code with \documentclass[oneside,english,ngerman,africaans]{scrbook} When I change it back to German africaans doesn't appear anymore but english is still in the preamble: \documentclass[oneside,english,ngerman]{scrbook} I think this is because I used the example-environment the first time when my language settings were english and used the proof-environment the first time when my language-settings were German. Thanks! Mike Bonhoff P.S.: As documentclass I use book(KOMA-Script) and I use Lyx 1.6.5. -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Re: Is my Preamble interfering with compiling my LyX document?
Dear Daisuke, This package is installed by Latex, not Lyx. I believe it is on Latex's basic installation, so you should have it already. Read fancyhdr's manual in order to know the syntax of the code needed for your document: http://mirror.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf Regards. - Julio Rojas jcredbe...@gmail.com On Fri, May 27, 2011 at 4:41 PM, Daisuke Koya dk...@yahoo.com wrote: Hello Richard, Thank you very much for your detailed help. I will remove the bits of code that might give conflicts. The code in the LaTeX preamble did have comments, but I've removed them in my post because some of them contained names of colleagues. Regarding the fancyhdr package, could you please tell me how this can be installed in LyX? I went to what I believe is the web page where this package is downloaded, but I couldn't find any installation instructions for LyX. Again, I appreciate the help, Daisuke Koya On 27 May 2011, at 13:32, Richard Heck wrote: On 05/27/2011 07:00 AM, Daisuke Koya wrote: Hello, I am using LyX 1.6.10 on Mac OS 10.6.7. It took me a year until someone on this forum pointed out that stuff accumulated in my preamble was causing subfloats to not work properly. I know nothing about LaTeX, and the following code in the preamble was cobbled together by random snippets of code I either found on the Internet or shown by colleagues. If it's no trouble for the LaTeX and LyX experts on this forum, could someone please tell me which bits of the code below might cause errors in creating documents in LyX? Any of them could interfere. I'd suggest you at least document for yourself what each of these does (LaTeX comments begin with %), and only include what you know you need for a given document. I also recently found out that some of the functionality in the preamble could be specified in LyX: Document Settings. Is it better to use the Document Settings to specify certain aspects of the LyX document rather than doing this in the preamble? Generally, yes, because LyX will try to handle conflicts for you, and you do not have to worry about which packages are being loaded in which order, etc. Now \usepackage{calc} \usepackage{amsfonts} \@ifundefined{definecolor}{\usepackage{color}}{} I doubt you need to load these. \usepackage{array} \usepackage{hhline} \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} You are better off using the hyperref support in DocumentSettings. \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} \setlength{\topmargin}{2.27cm} \setlength{\oddsidemargin}{2.27cm} \setlength{\textheight}{24.259cm} \setlength{\textwidth}{16.5cm} \setlength{\footskip}{2.0cm} \setlength{\headheight}{0cm} \setlength{\headsep}{0cm} \setlength{\skip\footins}{0.119cm} Paper size and margins can be set in DocumentSettings. \renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} \makeatletter\newcommand{\ps@Standard}{ \renewcommand\@oddhead{} \renewcommand\@evenhead{} \renewcommand\@oddfoot{} \renewcommand\@evenfoot{} \renewcommand\thepage{\arabic{page}} }\makeatother You are better off using the fancyhdr package, I'd think, to do this. \title{}\author{}\date{} \usepackage[sf,raggedright,toctitles]{titlesec} \usepackage{multirow} \renewcommand{\multirowsetup}{\centering} LyX has support for multirow in 2.0.x. \hyphenpenalty=5000 \tolerance=1000 \renewcommand{\thetable}{\arabic{table}} \numberwithin{table}{section} These should be harmless. rh
Re: Inserting spreadsheet in Lyx
Hi Jacob, Lyx doesn't know yet that you installed gnumeric. So you have to run Tools Reconfigure. After restarting Lyx it should work. Helmut Am Donnerstag, den 26.05.2011, 12:05 +0800 schrieb Jacob Larsen: Hi, I'm having a little difficulty inserting a spreadsheet in Lyx 2.0.0. and was hoping that any of you could help me out. I'm using a Mac and since you have to use Gnumeric in order to insert the spreadsheet, I have downloaded a Mac version of this. I use the insert external material function and set the template to GnumericSpreadsheet as mentioned in the guide. However, when I try to view my document in pdf, the Latex error box pops up. It is saying the following: LaTeX Error: File `5_Users_jacobkjrlarsen_Desktop_sheet-1.tex' not found. ..._Users_jacobkjrlarsen_Desktop_sheet-1.tex} ^^M *** (cannot \read from terminal in nonstop modes) Do you know what I am doing wrong? does it maybe have anything do to with the fact that I'm using a mac version of Gnumeric and not the original windows version? Any help would be much appreciated, Jacob Larsen
LyX XeTeX -exit code -1
Hello, I've been successfully using LyX (currently 2.0) as a portable application together with TeXlive 2010 on Windows (XP Vista) for quite some time. After switching to XeTeX for some documents with Opentype fonts, and only on some computers, XeTeX will not run through but immediately exit after being started by LyX. The error message of LyX is like this: 20:52:46.602: The process crashed some time after starting successfully...\..\..\lyx-2.0.0\src\support\Systemcall.cpp(238): Systemcall: 'xelatex document.tex' finished with exit code -1 On the same computer, the same document, just with LaTeX fonts, will successfully compile with pdftex. And, if I export the document that uses Opentype fonts from LyX to .tex and then run Xelatex manually from the console, it also compiles successfully. Also, on some computers (all with Windows), the problem does not occur at all. This is not a serious problem for me, I just wonder whether anyone has a clue what could be wrong here (in terms of configuration of the computers in question or whatever) that I could change or whether this could be a hint to some kind of esoteric feature in the communication of LyX with XeTeX. TIA, Sincerely, Wolfgang -- Führungskräfte leisten keine Arbeit. (D'Alembert)
line breaks in chapter title show up in TOC
Hello LyX users. Has anyone ever had a problem with line breaks in a chapter title showing up in a TOC? I didn't like the way LyX laid out a chapter title---too many words on the top line and too few in the bottom line. So I inserted a line break. Problem is, now I've got a line break in the TOC. Is there any way to have my line break and normal-looking TOC, too? Richard Opheim
Re: line breaks in chapter title show up in TOC
On Friday, May 27, 2011 14:12:23 Richard Opheim wrote: Hello LyX users. Has anyone ever had a problem with line breaks in a chapter title showing up in a TOC? I didn't like the way LyX laid out a chapter title---too many words on the top line and too few in the bottom line. So I inserted a line break. Problem is, now I've got a line break in the TOC. Is there any way to have my line break and normal-looking TOC, too? Richard Opheim Richard, You can use Short Title (Insert-Short Title) to define a different title for the Table of Contents. See attached. Les -- Les Denham short_title.16.lyx Description: application/lyx
Re: Pasting from pdf
On 26/05/2011 11:21 p.m., Trevor Jenkins wrote: On Thu, May 26, 2011 at 11:26 AM, Julio Rojas jcredbe...@gmail.com mailto:jcredbe...@gmail.com wrote: BTW, Andrew, how did you manage to copy from a PDF and pasting on Abiword keeping the format? I was curious, so I tried with a simple PDF, but it only pasted plain text. I tried something similar. Had a LyX-generated PDF file open, copied the content and pasted it into an OpenOffice.org document. The pasted version had some of the PDF markup with it, font size mostly but not much more. This was under Mac OS X with Abode Reader. Regards, Trevor. Re: deemed! I did some experiments -- created a Lyx document and emphasised a few words here and there, then created a pdf. In the pdf, Ctrl-A, Ctrl-C then in Abiword or my dear old Word 95 Ctrl-V. No italics. That's strange. So I went back to LyX and played about a bit. The critical thing seems to be to choose a definite non-default font. If, for instance, I choose Latin Modern and go through the same procedure, then the paste into Word or Abiword retains the emphasis. Reverting to the default font, or Computer Modern, and the emphasis is not pasted. Andrew
Re: Number Tables by Section in Document Settings doesn\'t work
Hello Richard, Could you please elaborate how to check the generated preamble? Many thanks, Daisuke
Is my Preamble interfering with compiling my LyX document?
Hello, I am using LyX 1.6.10 on Mac OS 10.6.7. It took me a year until someone on this forum pointed out that stuff accumulated in my preamble was causing subfloats to not work properly. I know nothing about LaTeX, and the following code in the preamble was cobbled together by random snippets of code I either found on the Internet or shown by colleagues. If it's no trouble for the LaTeX and LyX experts on this forum, could someone please tell me which bits of the code below might cause errors in creating documents in LyX? I also recently found out that some of the functionality in the preamble could be specified in LyX: Document Settings. Is it better to use the Document Settings to specify certain aspects of the LyX document rather than doing this in the preamble? Many thanks for the future help, Daisuke Koya \usepackage{calc} \usepackage{amsfonts}\@ifundefined{definecolor} {\usepackage{color}}{} \usepackage{array} \usepackage{hhline} \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} \setlength{\topmargin}{2.27cm} \setlength{\oddsidemargin}{2.27cm} \setlength{\textheight}{24.259cm} \setlength{\textwidth}{16.5cm} \setlength{\footskip}{2.0cm} \setlength{\headheight}{0cm} \setlength{\headsep}{0cm} \setlength{\skip\footins}{0.119cm}\renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} \makeatletter\newcommand{\ps@Standard}{ \renewcommand\@oddhead{} \renewcommand\@evenhead{} \renewcommand\@oddfoot{} \renewcommand\@evenfoot{} \renewcommand\thepage{\arabic{page}} }\makeatother \title{}\author{}\date{} \usepackage[sf,raggedright,toctitles]{titlesec} \usepackage{multirow} \renewcommand{\multirowsetup}{\centering} \hyphenpenalty=5000 \tolerance=1000 \renewcommand{\thetable}{\arabic{table}} \numberwithin{table}{section}
Roadmap for LyX 2.0.1
Hi all! I am evaluating which version of LyX is more suitable for deployment in a large organisation. I wonder if there has been set a date for the first maintenance release in the 2.0 series. I had a look at trac. It said 'No date set', but listed quite a few bugs fixed for the next mainenance release. http://www.lyx.org/trac/wiki/BugTrackerHome#Bugsalreadyfixedfornextmaintenancerelease Kind regards Frode Severin Hatelvik -- Da sa Gud: Det bli lys! Og det ble lys. 1. Mosebok 1.3 And God said, Let there be light, and there was light. Genesis 1:3, NIV
Re: Number Tables by Section in Document Settings doesn\'t work
On 05/27/2011 06:22 AM, Daisuke Koya wrote: Hello Richard, Could you please elaborate how to check the generated preamble? One way is just to ViewSource, check Complete Source, and then look at the beginning of the document. The other way is to FileExportLaTeX, and then look at the .tex file in a text editor. rh
Re: Roadmap for LyX 2.0.1
On 05/27/2011 07:05 AM, Frode Severin Hatlevik wrote: Hi all! I am evaluating which version of LyX is more suitable for deployment in a large organisation. I wonder if there has been set a date for the first maintenance release in the 2.0 series. I had a look at trac. It said 'No date set', but listed quite a few bugs fixed for the next mainenance release. http://www.lyx.org/trac/wiki/BugTrackerHome#Bugsalreadyfixedfornextmaintenancerelease I haven't announced a date yet, but I intend to do so over the weekend. Probably two weeks from now would be realistic. There are a few bugs I'd like to see fixed first, if possible. Richard
Re: Installing on Mac--MacTex vs. BasicTex
On Thu, May 26, 2011 at 11:14 PM, Bob Alvarez cobol...@gmail.com wrote: I am installing Lyx 1.6.9 on a Macbook Air OSX 10.6 . Looking through the instructions I was dismayed to see that I may have to install the 1.6 GB MacTex package. This machine only has a 64 GB drive so this is quite a lot of overhead not to mention that the download will take many hours on my basic DSL connection. The Wiki suggests BasicTex but this thread suggests that is a bad idea http://www.mail-archive.com/lyx-users@lists.lyx.org/msg78404.html Questions: 1. Has anyone had success installing and using Lyx with BasicTex (I am mainly interested in koma-script article document class)? 2. Any ideas on using an external USB drive to hold the installation package and then selecting the components I need for Lyx? 3. Any other ideas on how to reduce the drive space requirement? I haven't used BasicTeX myself, but I believe it will work together with TeX Live Utility.app, which will allow you selectively to add other LaTeX packages that BasicTeX itself does not include. It may be a pain to track down packages you need but don't have and then to install them, but if you're willing to put in that effort, BasicTeX may be for you. I believe (2) will not work: when installing the full MacTeX package, it's pretty much all or nothing. (But I'm going from memory of something I didn't pay attention to when installing MacTeX a long time ago.) BH
Re: Is my Preamble interfering with compiling my LyX document?
On 05/27/2011 07:00 AM, Daisuke Koya wrote: Hello, I am using LyX 1.6.10 on Mac OS 10.6.7. It took me a year until someone on this forum pointed out that stuff accumulated in my preamble was causing subfloats to not work properly. I know nothing about LaTeX, and the following code in the preamble was cobbled together by random snippets of code I either found on the Internet or shown by colleagues. If it's no trouble for the LaTeX and LyX experts on this forum, could someone please tell me which bits of the code below might cause errors in creating documents in LyX? Any of them could interfere. I'd suggest you at least document for yourself what each of these does (LaTeX comments begin with %), and only include what you know you need for a given document. I also recently found out that some of the functionality in the preamble could be specified in LyX: Document Settings. Is it better to use the Document Settings to specify certain aspects of the LyX document rather than doing this in the preamble? Generally, yes, because LyX will try to handle conflicts for you, and you do not have to worry about which packages are being loaded in which order, etc. Now \usepackage{calc} \usepackage{amsfonts} \@ifundefined{definecolor}{\usepackage{color}}{} I doubt you need to load these. \usepackage{array} \usepackage{hhline} \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} You are better off using the hyperref support in DocumentSettings. \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} \setlength{\topmargin}{2.27cm} \setlength{\oddsidemargin}{2.27cm} \setlength{\textheight}{24.259cm} \setlength{\textwidth}{16.5cm} \setlength{\footskip}{2.0cm} \setlength{\headheight}{0cm} \setlength{\headsep}{0cm} \setlength{\skip\footins}{0.119cm} Paper size and margins can be set in DocumentSettings. \renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} \makeatletter\newcommand{\ps@Standard}{ \renewcommand\@oddhead{} \renewcommand\@evenhead{} \renewcommand\@oddfoot{} \renewcommand\@evenfoot{} \renewcommand\thepage{\arabic{page}} }\makeatother You are better off using the fancyhdr package, I'd think, to do this. \title{}\author{}\date{} \usepackage[sf,raggedright,toctitles]{titlesec} \usepackage{multirow} \renewcommand{\multirowsetup}{\centering} LyX has support for multirow in 2.0.x. \hyphenpenalty=5000 \tolerance=1000 \renewcommand{\thetable}{\arabic{table}} \numberwithin{table}{section} These should be harmless. rh
Re: shortcut
On Fri, May 27, 2011 at 8:31 AM, Hal Kierstead kierst...@asu.edu wrote: I understand this part. What I need to know is where the shortcuts defined using the preferences dialog are stored. (Please reply to the list so that others can follow the thread.) Default .bind files on Mac are stored in LyX.app/Contents/Resources/bind/. As Richard says, however, you can change them via LyX's preferences. At LyX Preferences Editing Shortcuts, there's a Browse button that allows you to select from among the default .bind files. Clicking it will take you to the appropriate directory. If you use the dialog to change keybindings, the modifications you make are stored (on Mac) in ~/Library/Application Support/LyX-2.0/bind/user.bind. BH
Re: shortcut
On 05/27/2011 08:27 AM, Hal Kierstead wrote: This does not seem to be enough, because of shortcuts defined in the preferences. User shortcuts are stored in the user directory, in the user.bind file. rh HK On May 26, 2011, at 5:15 PM, Richard Heck wrote: On 05/26/2011 06:06 PM, Hal Kierstead wrote: I am trying to get my shortcuts uniform across three machines. Can you tell me where shortcuts are stored on a Max? I already know to use the same bind folder and layout file. The difference is in what .bind file is used. You can change this under ToolsPreferences. OSX uses mac.bind by default. rh
multicolumn across multiple rows
Lyx 2.0.0rc3 on Ubuntu Linux, I have several big tables that I've imported data from a spreadsheet. I have to join two columns across multiple rows down, i.e. I need to join columns 2and3, 4and5, 6and7 but all the way down the table for multiple rows. I can do it using multicolumn, but only for a single row at a time. Is there a way to do it for many rows at once? I guess I'm asking if it is possible to do multicolumn across multiple rows? Thanks J === Dr. Jim Maas University of East Anglia
Re: Is my Preamble interfering with compiling my LyX document?
Hello Richard, Thank you very much for your detailed help. I will remove the bits of code that might give conflicts. The code in the LaTeX preamble did have comments, but I've removed them in my post because some of them contained names of colleagues. Regarding the fancyhdr package, could you please tell me how this can be installed in LyX? I went to what I believe is the web page where this package is downloaded, but I couldn't find any installation instructions for LyX. Again, I appreciate the help, Daisuke Koya On 27 May 2011, at 13:32, Richard Heck wrote: On 05/27/2011 07:00 AM, Daisuke Koya wrote: Hello, I am using LyX 1.6.10 on Mac OS 10.6.7. It took me a year until someone on this forum pointed out that stuff accumulated in my preamble was causing subfloats to not work properly. I know nothing about LaTeX, and the following code in the preamble was cobbled together by random snippets of code I either found on the Internet or shown by colleagues. If it's no trouble for the LaTeX and LyX experts on this forum, could someone please tell me which bits of the code below might cause errors in creating documents in LyX? Any of them could interfere. I'd suggest you at least document for yourself what each of these does (LaTeX comments begin with %), and only include what you know you need for a given document. I also recently found out that some of the functionality in the preamble could be specified in LyX: Document Settings. Is it better to use the Document Settings to specify certain aspects of the LyX document rather than doing this in the preamble? Generally, yes, because LyX will try to handle conflicts for you, and you do not have to worry about which packages are being loaded in which order, etc. Now \usepackage{calc} \usepackage{amsfonts} \@ifundefined{definecolor}{\usepackage{color}}{} I doubt you need to load these. \usepackage{array} \usepackage{hhline} \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} You are better off using the hyperref support in DocumentSettings. \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} \setlength{\topmargin}{2.27cm} \setlength{\oddsidemargin}{2.27cm} \setlength{\textheight}{24.259cm} \setlength{\textwidth}{16.5cm} \setlength{\footskip}{2.0cm} \setlength{\headheight}{0cm} \setlength{\headsep}{0cm} \setlength{\skip\footins}{0.119cm} Paper size and margins can be set in DocumentSettings. \renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} \makeatletter\newcommand{\ps@Standard}{ \renewcommand\@oddhead{} \renewcommand\@evenhead{} \renewcommand\@oddfoot{} \renewcommand\@evenfoot{} \renewcommand\thepage{\arabic{page}} }\makeatother You are better off using the fancyhdr package, I'd think, to do this. \title{}\author{}\date{} \usepackage[sf,raggedright,toctitles]{titlesec} \usepackage{multirow} \renewcommand{\multirowsetup}{\centering} LyX has support for multirow in 2.0.x. \hyphenpenalty=5000 \tolerance=1000 \renewcommand{\thetable}{\arabic{table}} \numberwithin{table}{section} These should be harmless. rh
problem with language-settings
Hi all, I have a little problem with my language settings. At first I wrote my text in english and then decided to write it in German. Of course I want the environments to have the same language (for example Bemerkung instead of Remark; I think these are environments in the module Theorem). So I changed language by Document-Settings-language-language:German. But unfortunately some of the environments appear in English (for example example and remark) while others appear in German (for example Beweis, which is the German word for proof). I saw in the Code that Lyx still uses the options english and ngerman both: \documentclass[oneside,english,ngerman]{scrbook} Is it possible to change the language for all environments? I tried some things (I don't know if this helps): When I want to change the language to a really new one(for example change it to Africaans) Lyx creates a Latex Code with \documentclass[oneside,english,ngerman,africaans]{scrbook} When I change it back to German africaans doesn't appear anymore but english is still in the preamble: \documentclass[oneside,english,ngerman]{scrbook} I think this is because I used the example-environment the first time when my language settings were english and used the proof-environment the first time when my language-settings were German. Thanks! Mike Bonhoff P.S.: As documentclass I use book(KOMA-Script) and I use Lyx 1.6.5. -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Re: Is my Preamble interfering with compiling my LyX document?
Dear Daisuke, This package is installed by Latex, not Lyx. I believe it is on Latex's basic installation, so you should have it already. Read fancyhdr's manual in order to know the syntax of the code needed for your document: http://mirror.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf Regards. - Julio Rojas jcredbe...@gmail.com On Fri, May 27, 2011 at 4:41 PM, Daisuke Koya dk...@yahoo.com wrote: Hello Richard, Thank you very much for your detailed help. I will remove the bits of code that might give conflicts. The code in the LaTeX preamble did have comments, but I've removed them in my post because some of them contained names of colleagues. Regarding the fancyhdr package, could you please tell me how this can be installed in LyX? I went to what I believe is the web page where this package is downloaded, but I couldn't find any installation instructions for LyX. Again, I appreciate the help, Daisuke Koya On 27 May 2011, at 13:32, Richard Heck wrote: On 05/27/2011 07:00 AM, Daisuke Koya wrote: Hello, I am using LyX 1.6.10 on Mac OS 10.6.7. It took me a year until someone on this forum pointed out that stuff accumulated in my preamble was causing subfloats to not work properly. I know nothing about LaTeX, and the following code in the preamble was cobbled together by random snippets of code I either found on the Internet or shown by colleagues. If it's no trouble for the LaTeX and LyX experts on this forum, could someone please tell me which bits of the code below might cause errors in creating documents in LyX? Any of them could interfere. I'd suggest you at least document for yourself what each of these does (LaTeX comments begin with %), and only include what you know you need for a given document. I also recently found out that some of the functionality in the preamble could be specified in LyX: Document Settings. Is it better to use the Document Settings to specify certain aspects of the LyX document rather than doing this in the preamble? Generally, yes, because LyX will try to handle conflicts for you, and you do not have to worry about which packages are being loaded in which order, etc. Now \usepackage{calc} \usepackage{amsfonts} \@ifundefined{definecolor}{\usepackage{color}}{} I doubt you need to load these. \usepackage{array} \usepackage{hhline} \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} You are better off using the hyperref support in DocumentSettings. \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} \setlength{\topmargin}{2.27cm} \setlength{\oddsidemargin}{2.27cm} \setlength{\textheight}{24.259cm} \setlength{\textwidth}{16.5cm} \setlength{\footskip}{2.0cm} \setlength{\headheight}{0cm} \setlength{\headsep}{0cm} \setlength{\skip\footins}{0.119cm} Paper size and margins can be set in DocumentSettings. \renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} \makeatletter\newcommand{\ps@Standard}{ \renewcommand\@oddhead{} \renewcommand\@evenhead{} \renewcommand\@oddfoot{} \renewcommand\@evenfoot{} \renewcommand\thepage{\arabic{page}} }\makeatother You are better off using the fancyhdr package, I'd think, to do this. \title{}\author{}\date{} \usepackage[sf,raggedright,toctitles]{titlesec} \usepackage{multirow} \renewcommand{\multirowsetup}{\centering} LyX has support for multirow in 2.0.x. \hyphenpenalty=5000 \tolerance=1000 \renewcommand{\thetable}{\arabic{table}} \numberwithin{table}{section} These should be harmless. rh
Re: Inserting spreadsheet in Lyx
Hi Jacob, Lyx doesn't know yet that you installed gnumeric. So you have to run Tools Reconfigure. After restarting Lyx it should work. Helmut Am Donnerstag, den 26.05.2011, 12:05 +0800 schrieb Jacob Larsen: Hi, I'm having a little difficulty inserting a spreadsheet in Lyx 2.0.0. and was hoping that any of you could help me out. I'm using a Mac and since you have to use Gnumeric in order to insert the spreadsheet, I have downloaded a Mac version of this. I use the insert external material function and set the template to GnumericSpreadsheet as mentioned in the guide. However, when I try to view my document in pdf, the Latex error box pops up. It is saying the following: LaTeX Error: File `5_Users_jacobkjrlarsen_Desktop_sheet-1.tex' not found. ..._Users_jacobkjrlarsen_Desktop_sheet-1.tex} ^^M *** (cannot \read from terminal in nonstop modes) Do you know what I am doing wrong? does it maybe have anything do to with the fact that I'm using a mac version of Gnumeric and not the original windows version? Any help would be much appreciated, Jacob Larsen
LyX XeTeX -exit code -1
Hello, I've been successfully using LyX (currently 2.0) as a portable application together with TeXlive 2010 on Windows (XP Vista) for quite some time. After switching to XeTeX for some documents with Opentype fonts, and only on some computers, XeTeX will not run through but immediately exit after being started by LyX. The error message of LyX is like this: 20:52:46.602: The process crashed some time after starting successfully...\..\..\lyx-2.0.0\src\support\Systemcall.cpp(238): Systemcall: 'xelatex document.tex' finished with exit code -1 On the same computer, the same document, just with LaTeX fonts, will successfully compile with pdftex. And, if I export the document that uses Opentype fonts from LyX to .tex and then run Xelatex manually from the console, it also compiles successfully. Also, on some computers (all with Windows), the problem does not occur at all. This is not a serious problem for me, I just wonder whether anyone has a clue what could be wrong here (in terms of configuration of the computers in question or whatever) that I could change or whether this could be a hint to some kind of esoteric feature in the communication of LyX with XeTeX. TIA, Sincerely, Wolfgang -- Führungskräfte leisten keine Arbeit. (D'Alembert)
line breaks in chapter title show up in TOC
Hello LyX users. Has anyone ever had a problem with line breaks in a chapter title showing up in a TOC? I didn't like the way LyX laid out a chapter title---too many words on the top line and too few in the bottom line. So I inserted a line break. Problem is, now I've got a line break in the TOC. Is there any way to have my line break and normal-looking TOC, too? Richard Opheim
Re: line breaks in chapter title show up in TOC
On Friday, May 27, 2011 14:12:23 Richard Opheim wrote: Hello LyX users. Has anyone ever had a problem with line breaks in a chapter title showing up in a TOC? I didn't like the way LyX laid out a chapter title---too many words on the top line and too few in the bottom line. So I inserted a line break. Problem is, now I've got a line break in the TOC. Is there any way to have my line break and normal-looking TOC, too? Richard Opheim Richard, You can use Short Title (Insert-Short Title) to define a different title for the Table of Contents. See attached. Les -- Les Denham short_title.16.lyx Description: application/lyx
Re: Pasting from pdf
On 26/05/2011 11:21 p.m., Trevor Jenkins wrote: On Thu, May 26, 2011 at 11:26 AM, Julio Rojas jcredbe...@gmail.com mailto:jcredbe...@gmail.com wrote: BTW, Andrew, how did you manage to copy from a PDF and pasting on Abiword keeping the format? I was curious, so I tried with a simple PDF, but it only pasted plain text. I tried something similar. Had a LyX-generated PDF file open, copied the content and pasted it into an OpenOffice.org document. The pasted version had some of the PDF markup with it, font size mostly but not much more. This was under Mac OS X with Abode Reader. Regards, Trevor. Re: deemed! I did some experiments -- created a Lyx document and emphasised a few words here and there, then created a pdf. In the pdf, Ctrl-A, Ctrl-C then in Abiword or my dear old Word 95 Ctrl-V. No italics. That's strange. So I went back to LyX and played about a bit. The critical thing seems to be to choose a definite non-default font. If, for instance, I choose Latin Modern and go through the same procedure, then the paste into Word or Abiword retains the emphasis. Reverting to the default font, or Computer Modern, and the emphasis is not pasted. Andrew
Re: Number Tables by Section in Document Settings doesn\'t work
Hello Richard, Could you please elaborate how to check the generated preamble? Many thanks, Daisuke
Is my Preamble interfering with compiling my LyX document?
Hello, I am using LyX 1.6.10 on Mac OS 10.6.7. It took me a year until someone on this forum pointed out that stuff accumulated in my preamble was causing subfloats to not work properly. I know nothing about LaTeX, and the following code in the preamble was cobbled together by random snippets of code I either found on the Internet or shown by colleagues. If it's no trouble for the LaTeX and LyX experts on this forum, could someone please tell me which bits of the code below might cause errors in creating documents in LyX? I also recently found out that some of the functionality in the preamble could be specified in LyX: Document Settings. Is it better to use the Document Settings to specify certain aspects of the LyX document rather than doing this in the preamble? Many thanks for the future help, Daisuke Koya \usepackage{calc} \usepackage{amsfonts}\@ifundefined{definecolor} {\usepackage{color}}{} \usepackage{array} \usepackage{hhline} \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} \setlength{\topmargin}{2.27cm} \setlength{\oddsidemargin}{2.27cm} \setlength{\textheight}{24.259cm} \setlength{\textwidth}{16.5cm} \setlength{\footskip}{2.0cm} \setlength{\headheight}{0cm} \setlength{\headsep}{0cm} \setlength{\skip\footins}{0.119cm}\renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} \makeatletter\newcommand{\ps@Standard}{ \renewcommand\@oddhead{} \renewcommand\@evenhead{} \renewcommand\@oddfoot{} \renewcommand\@evenfoot{} \renewcommand\thepage{\arabic{page}} }\makeatother \title{}\author{}\date{} \usepackage[sf,raggedright,toctitles]{titlesec} \usepackage{multirow} \renewcommand{\multirowsetup}{\centering} \hyphenpenalty=5000 \tolerance=1000 \renewcommand{\thetable}{\arabic{table}} \numberwithin{table}{section}
Roadmap for LyX 2.0.1
Hi all! I am evaluating which version of LyX is more suitable for deployment in a large organisation. I wonder if there has been set a date for the first maintenance release in the 2.0 series. I had a look at trac. It said 'No date set', but listed quite a few bugs fixed for the next mainenance release. http://www.lyx.org/trac/wiki/BugTrackerHome#Bugsalreadyfixedfornextmaintenancerelease Kind regards Frode Severin Hatelvik -- Da sa Gud: "Det bli lys!" Og det ble lys. 1. Mosebok 1.3 And God said, "Let there be light," and there was light. Genesis 1:3, NIV
Re: Number Tables by Section in Document Settings doesn\'t work
On 05/27/2011 06:22 AM, Daisuke Koya wrote: > Hello Richard, > > Could you please elaborate how to check the generated preamble? > One way is just to View>Source, check "Complete Source", and then look at the beginning of the document. The other way is to File>Export>LaTeX, and then look at the .tex file in a text editor. rh
Re: Roadmap for LyX 2.0.1
On 05/27/2011 07:05 AM, Frode Severin Hatlevik wrote: > Hi all! > > I am evaluating which version of LyX is more suitable for deployment > in a large organisation. I wonder if there has been set a date for the > first maintenance release in the 2.0 series. > > I had a look at trac. It said 'No date set', but listed quite a few > bugs fixed for the next mainenance release. > http://www.lyx.org/trac/wiki/BugTrackerHome#Bugsalreadyfixedfornextmaintenancerelease > I haven't announced a date yet, but I intend to do so over the weekend. Probably two weeks from now would be realistic. There are a few bugs I'd like to see fixed first, if possible. Richard
Re: Installing on Mac--MacTex vs. BasicTex
On Thu, May 26, 2011 at 11:14 PM, Bob Alvarezwrote: > I am installing Lyx 1.6.9 on a Macbook Air OSX 10.6 . Looking through the > instructions I was dismayed to see that I may have to install the 1.6 GB > MacTex package. This machine only has a 64 GB drive so this is quite a lot > of overhead not to mention that the download will take many hours on my > basic DSL connection. > > The Wiki suggests BasicTex but this thread suggests that is a bad idea > http://www.mail-archive.com/lyx-users@lists.lyx.org/msg78404.html > > Questions: > 1. Has anyone had success installing and using Lyx with BasicTex (I am > mainly interested in koma-script article document class)? > > 2. Any ideas on using an external USB drive to hold the installation package > and then selecting the components I need for Lyx? > > 3. Any other ideas on how to reduce the drive space requirement? I haven't used BasicTeX myself, but I believe it will work together with TeX Live Utility.app, which will allow you selectively to add other LaTeX packages that BasicTeX itself does not include. It may be a pain to track down packages you need but don't have and then to install them, but if you're willing to put in that effort, BasicTeX may be for you. I believe (2) will not work: when installing the full MacTeX package, it's pretty much all or nothing. (But I'm going from memory of something I didn't pay attention to when installing MacTeX a long time ago.) BH
Re: Is my Preamble interfering with compiling my LyX document?
On 05/27/2011 07:00 AM, Daisuke Koya wrote: > Hello, > > I am using LyX 1.6.10 on Mac OS 10.6.7. > > It took me a year until someone on this forum pointed out that stuff > accumulated in my preamble was causing subfloats to not work properly. I know > nothing about LaTeX, and the following code in the preamble was cobbled > together by random snippets of code I either found on the Internet or shown > by colleagues. > > If it's no trouble for the LaTeX and LyX experts on this forum, could someone > please tell me which bits of the code below might cause errors in creating > documents in LyX? > Any of them could interfere. I'd suggest you at least document for yourself what each of these does (LaTeX comments begin with "%"), and only include what you know you need for a given document. > I also recently found out that some of the functionality in the preamble > could be specified in LyX: Document Settings. Is it better to use the > Document Settings to specify certain aspects of the LyX document rather than > doing this in the preamble? > Generally, yes, because LyX will try to handle conflicts for you, and you do not have to worry about which packages are being loaded in which order, etc. Now > \usepackage{calc} > \usepackage{amsfonts} > \@ifundefined{definecolor}{\usepackage{color}}{} > I doubt you need to load these. > \usepackage{array} > \usepackage{hhline} > \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} > You are better off using the hyperref support in Document>Settings. > \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} > \setlength{\topmargin}{2.27cm} > \setlength{\oddsidemargin}{2.27cm} > \setlength{\textheight}{24.259cm} > \setlength{\textwidth}{16.5cm} > \setlength{\footskip}{2.0cm} > \setlength{\headheight}{0cm} > \setlength{\headsep}{0cm} > \setlength{\skip\footins}{0.119cm} > Paper size and margins can be set in Document>Settings. > \renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt > plus > 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} > > \makeatletter\newcommand{\ps@Standard}{ > \renewcommand\@oddhead{} > \renewcommand\@evenhead{} > \renewcommand\@oddfoot{} > \renewcommand\@evenfoot{} > \renewcommand\thepage{\arabic{page}} > }\makeatother > You are better off using the fancyhdr package, I'd think, to do this. > \title{}\author{}\date{} > \usepackage[sf,raggedright,toctitles]{titlesec} > \usepackage{multirow} > \renewcommand{\multirowsetup}{\centering} > LyX has support for multirow in 2.0.x. > \hyphenpenalty=5000 > \tolerance=1000 > \renewcommand{\thetable}{\arabic{table}} > \numberwithin{table}{section} > These should be harmless. rh
Re: shortcut
On Fri, May 27, 2011 at 8:31 AM, Hal Kiersteadwrote: > I understand this part. What I need to know is where the shortcuts defined > using the preferences dialog are stored. (Please reply to the list so that others can follow the thread.) Default .bind files on Mac are stored in LyX.app/Contents/Resources/bind/. As Richard says, however, you can change them via LyX's preferences. At LyX > Preferences > Editing > Shortcuts, there's a "Browse" button that allows you to select from among the default .bind files. Clicking it will take you to the appropriate directory. If you use the dialog to change keybindings, the modifications you make are stored (on Mac) in ~/Library/Application Support/LyX-2.0/bind/user.bind. BH
Re: shortcut
On 05/27/2011 08:27 AM, Hal Kierstead wrote: This does not seem to be enough, because of shortcuts defined in the preferences. User shortcuts are stored in the user directory, in the user.bind file. rh HK On May 26, 2011, at 5:15 PM, Richard Heck wrote: On 05/26/2011 06:06 PM, Hal Kierstead wrote: I am trying to get my shortcuts uniform across three machines. Can you tell me where shortcuts are stored on a Max? I already know to use the same bind folder and layout file. The difference is in what .bind file is used. You can change this under Tools>Preferences. OSX uses mac.bind by default. rh
multicolumn across multiple rows
Lyx 2.0.0rc3 on Ubuntu Linux, I have several big tables that I've imported data from a spreadsheet. I have to join two columns across multiple rows down, i.e. I need to join columns 2and3, 4and5, 6and7 but all the way down the table for multiple rows. I can do it using multicolumn, but only for a single row at a time. Is there a way to do it for many rows at once? I guess I'm asking if it is possible to do multicolumn across multiple rows? Thanks J === Dr. Jim Maas University of East Anglia
Re: Is my Preamble interfering with compiling my LyX document?
Hello Richard, Thank you very much for your detailed help. I will remove the bits of code that might give conflicts. The code in the LaTeX preamble did have comments, but I've removed them in my post because some of them contained names of colleagues. Regarding the fancyhdr package, could you please tell me how this can be installed in LyX? I went to what I believe is the web page where this package is downloaded, but I couldn't find any installation instructions for LyX. Again, I appreciate the help, Daisuke Koya On 27 May 2011, at 13:32, Richard Heck wrote: > On 05/27/2011 07:00 AM, Daisuke Koya wrote: >> Hello, >> >> I am using LyX 1.6.10 on Mac OS 10.6.7. >> >> It took me a year until someone on this forum pointed out that stuff >> accumulated in my preamble was causing subfloats to not work properly. I >> know nothing about LaTeX, and the following code in the preamble was cobbled >> together by random snippets of code I either found on the Internet or shown >> by colleagues. >> >> If it's no trouble for the LaTeX and LyX experts on this forum, could >> someone please tell me which bits of the code below might cause errors in >> creating documents in LyX? >> > Any of them could interfere. I'd suggest you at least document for > yourself what each of these does (LaTeX comments begin with "%"), and > only include what you know you need for a given document. > >> I also recently found out that some of the functionality in the preamble >> could be specified in LyX: Document Settings. Is it better to use the >> Document Settings to specify certain aspects of the LyX document rather than >> doing this in the preamble? >> > Generally, yes, because LyX will try to handle conflicts for you, and > you do not have to worry about which packages are being loaded in which > order, etc. Now > >> \usepackage{calc} >> \usepackage{amsfonts} >> \@ifundefined{definecolor}{\usepackage{color}}{} >> > I doubt you need to load these. > >> \usepackage{array} >> \usepackage{hhline} >> \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} >> > You are better off using the hyperref support in Document>Settings. > >> \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} >> \setlength{\topmargin}{2.27cm} >> \setlength{\oddsidemargin}{2.27cm} >> \setlength{\textheight}{24.259cm} >> \setlength{\textwidth}{16.5cm} >> \setlength{\footskip}{2.0cm} >> \setlength{\headheight}{0cm} >> \setlength{\headsep}{0cm} >> \setlength{\skip\footins}{0.119cm} >> > Paper size and margins can be set in Document>Settings. > >> \renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt >> plus >> 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} >> > >> \makeatletter\newcommand{\ps@Standard}{ >> \renewcommand\@oddhead{} >> \renewcommand\@evenhead{} >> \renewcommand\@oddfoot{} >> \renewcommand\@evenfoot{} >> \renewcommand\thepage{\arabic{page}} >> }\makeatother >> > You are better off using the fancyhdr package, I'd think, to do this. > >> \title{}\author{}\date{} >> \usepackage[sf,raggedright,toctitles]{titlesec} >> \usepackage{multirow} >> \renewcommand{\multirowsetup}{\centering} >> > LyX has support for multirow in 2.0.x. > >> \hyphenpenalty=5000 >> \tolerance=1000 >> \renewcommand{\thetable}{\arabic{table}} >> \numberwithin{table}{section} >> > These should be harmless. > > rh > >
problem with language-settings
Hi all, I have a little problem with my language settings. At first I wrote my text in english and then decided to write it in German. Of course I want the environments to have the same language (for example "Bemerkung" instead of "Remark"; I think these are environments in the module "Theorem"). So I changed language by "Document->Settings->language->language:German". But unfortunately some of the environments appear in English (for example "example" and "remark") while others appear in German (for example "Beweis", which is the German word for "proof"). I saw in the Code that Lyx still uses the options english and ngerman both: \documentclass[oneside,english,ngerman]{scrbook} Is it possible to change the language for all environments? I tried some things (I don't know if this helps): When I want to change the language to a really new one(for example change it to "Africaans") Lyx creates a Latex Code with \documentclass[oneside,english,ngerman,africaans]{scrbook} When I change it back to German "africaans" doesn't appear anymore but english is still in the preamble: \documentclass[oneside,english,ngerman]{scrbook} I think this is because I used the "example"-environment the first time when my language settings were "english" and used the "proof"-environment the first time when my language-settings were "German". Thanks! Mike Bonhoff P.S.: As documentclass I use "book(KOMA-Script)" and I use Lyx 1.6.5. -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Re: Is my Preamble interfering with compiling my LyX document?
Dear Daisuke, This package is installed by Latex, not Lyx. I believe it is on Latex's basic installation, so you should have it already. Read fancyhdr's manual in order to know the syntax of the code needed for your document: http://mirror.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf Regards. - Julio Rojas jcredbe...@gmail.com On Fri, May 27, 2011 at 4:41 PM, Daisuke Koyawrote: > Hello Richard, > > Thank you very much for your detailed help. I will remove the bits of code > that might give conflicts. > > The code in the LaTeX preamble did have comments, but I've removed them in > my post because some of them contained names of colleagues. > > Regarding the fancyhdr package, could you please tell me how this can be > installed in LyX? I went to what I believe is the web page where this > package is downloaded, but I couldn't find any installation instructions for > LyX. > > Again, I appreciate the help, > > Daisuke Koya > > On 27 May 2011, at 13:32, Richard Heck wrote: > > > On 05/27/2011 07:00 AM, Daisuke Koya wrote: > >> Hello, > >> > >> I am using LyX 1.6.10 on Mac OS 10.6.7. > >> > >> It took me a year until someone on this forum pointed out that stuff > accumulated in my preamble was causing subfloats to not work properly. I > know nothing about LaTeX, and the following code in the preamble was cobbled > together by random snippets of code I either found on the Internet or shown > by colleagues. > >> > >> If it's no trouble for the LaTeX and LyX experts on this forum, could > someone please tell me which bits of the code below might cause errors in > creating documents in LyX? > >> > > Any of them could interfere. I'd suggest you at least document for > > yourself what each of these does (LaTeX comments begin with "%"), and > > only include what you know you need for a given document. > > > >> I also recently found out that some of the functionality in the preamble > could be specified in LyX: Document Settings. Is it better to use the > Document Settings to specify certain aspects of the LyX document rather than > doing this in the preamble? > >> > > Generally, yes, because LyX will try to handle conflicts for you, and > > you do not have to worry about which packages are being loaded in which > > order, etc. Now > > > >> \usepackage{calc} > >> \usepackage{amsfonts} > >> \@ifundefined{definecolor}{\usepackage{color}}{} > >> > > I doubt you need to load these. > > > >> \usepackage{array} > >> \usepackage{hhline} > >> > \usepackage{hyperref}\hypersetup{pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,pdftitle=,pdfauthor=,pdfsubject=,pdfkeywords=} > >> > > You are better off using the hyperref support in Document>Settings. > > > >> \setlength{\voffset}{-1in}\setlength{\hoffset}{-1in} > >> \setlength{\topmargin}{2.27cm} > >> \setlength{\oddsidemargin}{2.27cm} > >> \setlength{\textheight}{24.259cm} > >> \setlength{\textwidth}{16.5cm} > >> \setlength{\footskip}{2.0cm} > >> \setlength{\headheight}{0cm} > >> \setlength{\headsep}{0cm} > >> \setlength{\skip\footins}{0.119cm} > >> > > Paper size and margins can be set in Document>Settings. > > > >> > \renewcommand{\footnoterule}{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt > plus > 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}} > >> > > > >> \makeatletter\newcommand{\ps@Standard}{ > >> \renewcommand\@oddhead{} > >> \renewcommand\@evenhead{} > >> \renewcommand\@oddfoot{} > >> \renewcommand\@evenfoot{} > >> \renewcommand\thepage{\arabic{page}} > >> }\makeatother > >> > > You are better off using the fancyhdr package, I'd think, to do this. > > > >> \title{}\author{}\date{} > >> \usepackage[sf,raggedright,toctitles]{titlesec} > >> \usepackage{multirow} > >> \renewcommand{\multirowsetup}{\centering} > >> > > LyX has support for multirow in 2.0.x. > > > >> \hyphenpenalty=5000 > >> \tolerance=1000 > >> \renewcommand{\thetable}{\arabic{table}} > >> \numberwithin{table}{section} > >> > > These should be harmless. > > > > rh > > > > > >
Re: Inserting spreadsheet in Lyx
Hi Jacob, Lyx doesn't know yet that you installed gnumeric. So you have to run Tools > Reconfigure. After restarting Lyx it should work. Helmut Am Donnerstag, den 26.05.2011, 12:05 +0800 schrieb Jacob Larsen: > Hi, > > > I'm having a little difficulty inserting a spreadsheet in Lyx 2.0.0. > and was hoping that any of you could help me out. > > > I'm using a Mac and since you have to use Gnumeric in order to insert > the spreadsheet, I have downloaded a Mac version of this. I use the > insert external material function and set the template to > GnumericSpreadsheet as mentioned in the guide. However, when I try to > view my document in pdf, the Latex error box pops up. It is saying the > following: > > > > > LaTeX Error: File `5_Users_jacobkjrlarsen_Desktop_sheet-1.tex' not > found. > > > ..._Users_jacobkjrlarsen_Desktop_sheet-1.tex} > > ^^M > > *** (cannot \read from terminal in nonstop modes) > > > > Do you know what I am doing wrong? does it maybe have anything do to > with the fact that I'm using a mac version of Gnumeric and not the > original windows version? > > > Any help would be much appreciated, > > > Jacob Larsen >
LyX & XeTeX ->exit code -1
Hello, I've been successfully using LyX (currently 2.0) as a portable application together with TeXlive 2010 on Windows (XP & Vista) for quite some time. After switching to XeTeX for some documents with Opentype fonts, and only on some computers, XeTeX will not run through but immediately exit after being started by LyX. The error message of LyX is like this: 20:52:46.602: The process crashed some time after starting successfully...\..\..\lyx-2.0.0\src\support\Systemcall.cpp(238): Systemcall: 'xelatex "document.tex"' finished with exit code -1 On the same computer, the same document, just with LaTeX fonts, will successfully compile with pdftex. And, if I export the document that uses Opentype fonts from LyX to .tex and then run Xelatex manually from the console, it also compiles successfully. Also, on some computers (all with Windows), the problem does not occur at all. This is not a serious problem for me, I just wonder whether anyone has a clue what could be wrong here (in terms of configuration of the computers in question or whatever) that I could change or whether this could be a hint to some kind of esoteric "feature" in the communication of LyX with XeTeX. TIA, Sincerely, Wolfgang -- Führungskräfte leisten keine Arbeit. (D'Alembert)
line breaks in chapter title show up in TOC
Hello LyX users. Has anyone ever had a problem with line breaks in a chapter title showing up in a TOC? I didn't like the way LyX laid out a chapter title---too many words on the top line and too few in the bottom line. So I inserted a line break. Problem is, now I've got a line break in the TOC. Is there any way to have my line break and normal-looking TOC, too? Richard Opheim
Re: line breaks in chapter title show up in TOC
On Friday, May 27, 2011 14:12:23 Richard Opheim wrote: > Hello LyX users. > Has anyone ever had a problem with line breaks in a chapter title showing > up in a TOC? > I didn't like the way LyX laid out a chapter title---too many words on the > top line and too few in the bottom line. So I inserted a line break. > Problem is, now I've got a line break in the TOC. Is there any way to have > my line break and normal-looking TOC, too? > > Richard Opheim Richard, You can use Short Title (Insert->Short Title) to define a different title for the Table of Contents. See attached. Les -- Les Denham short_title.16.lyx Description: application/lyx
Re: Pasting from pdf
On 26/05/2011 11:21 p.m., Trevor Jenkins wrote: On Thu, May 26, 2011 at 11:26 AM, Julio Rojas> wrote: BTW, Andrew, how did you manage to copy from a PDF and pasting on Abiword keeping the format? I was curious, so I tried with a simple PDF, but it only pasted plain text. I tried something similar. Had a LyX-generated PDF file open, copied the content and pasted it into an OpenOffice.org document. The pasted version had some of the PDF markup with it, font size mostly but not much more. This was under Mac OS X with Abode Reader. Regards, Trevor. <>< Re: deemed! I did some experiments -- created a Lyx document and emphasised a few words here and there, then created a pdf. In the pdf, Ctrl-A, Ctrl-C then in Abiword or my dear old Word 95 Ctrl-V. No italics. That's strange. So I went back to LyX and played about a bit. The critical thing seems to be to choose a definite non-default font. If, for instance, I choose Latin Modern and go through the same procedure, then the paste into Word or Abiword retains the emphasis. Reverting to the default font, or Computer Modern, and the emphasis is not pasted. Andrew