Re: Trying to install xetexCV document class
Richard Talley rich.talley at gmail.com writes: The xetexCV.cls class file should go in ~/Library/texmf/tex/latex (create folders as necessary). Put the cvsplitbib.sty style file in the same place. Then reconfigure LyX. Hi Richard, [N.B. I got a message saying I have lines longer than 80 characters and to fix it. So I am going to hit return here and there, hope it does not confuse you if some of the computer stuff I copied and pasted gets broken up a bit in the process!] I did what you said above now. But still not working. Here is what I did: Put the xetexCV.layout file in the same working folder as your LyX file. Did that too. The example LyX file uses the font Minion Pro, which is a licensed font you have to purchase. I substituted Fontin Regular. You also need Fontin Sans. Both are available for free here: I installed those 2 fonts also with Font Book. http://www.exljbris.com Use Font Book to add fonts to your OS X installation. In LyX, with the example LyX file open, use Document - Settings - Fonts. Check the choice to use non-Tex fonts, then change the Roman font from Minion Pro to Fontin Regular and the Sans font to Fontin Sans. After installing those fonts, I have one option for Fontin Regular, but I have 10 different 'Fontin Sans' choices. One of these is called 'Fontin Sans Regular' - should I choose this one? (For now, I have done so). I also had to go into Documents - Settings - LaTeX Preamble and edit the path to JRR-Tolkien.jpg to the correct one for my installation rather than the author's. I tried doing that. The method I used to get the address was clicking 'get info' on the jpg file, and then where it says 'where', I copied the address. It looks like this: /Applications/Lyx stuff/For making CV/xetexCV-LyX So I pasted exactly that to replace the original address, so it now looks like this: \cvimage{/Applications/Lyx stuff/For making CV/xetexCV-LyX/JRR-Tolkien.jpg} Was that right? One thing I still get when I open the example lyx file is 2 Unknown token: \html_footnotes_as_endnotes \html_footnotes_as_endnotes Typeset with View - PDF [XeTeX} When I do that, I get 11 error messages. They are all to do with fonts. 4 says font-not-found and the others says something about mapping. The first 4 of the former all are identical: ...Bold}, ItalicFont={Fontin Italic}]{Fontin} The 2 other of the former say: \setmainfont[Mapping=tex-text]{Fontin Regular} The latter say: ...Bold}, ItalicFont={Fontin Italic}]{Fontin} I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. - \setmainfont[Mapping=tex-text]{Fontin Regular} I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. \makecvtitle I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. \makecvtitle I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. - \emph{Hobbit, The Lord of the Rings } and \emph{The Silmarillion. }Often I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. Also, when I click the EYES BUTTON to try to see the pdf version of the example file (Tolkien example), I get this message: File does not exist: /var/folders/zh/5qprckdd5bg4xn 5ddpqy7np8gn/T/lyx_tmpdir.JL 7549/lyx_tmpbuf3/example4-xetex4-LyX.dvi Help much appreciated!
Re: LyX very slow on Mac
Anders Host-Madsen ahostmadsen at yahoo.com writes: Yes, it seems LyX 2.1 solves the problem. It is definitely faster than LyX 2.0.6. Very good. LyX had become so slow that I almost couldn't use it. I am new to Lyx, and using version 2.0.6, and Mac OS 10.9.1 When I click on the EYES BUTTON on a little one page example file for xetexCV, it takes 1 minute 57 seconds for lyx to come up with anything, and that 'anything' is an error message saying File does not exist: /var/folders/zh/ 5qprckdd5bg4xn5ddpqy7np8gn/T/ lyx_tmpdir.L10103/lyx_tmpbuf7/example4-xetex4-LyX.dvi So it does seem slow. If I install the new beta version, will I loose the changes I made to the lyx I already installed? For example I put some things inside one of the folders within the app itself while trying to get this xetexCV document class working (still getting help on that in another thread). Thanks.
Re: two suggested features
On 01/11/2014 06:33 AM, Baron Peters wrote: Dear LYX developers, I love the LYX software, but there are just a few minor problems that I've not been able to resolve. 1) I'm writing a book and I would like to place example calculations in shaded boxes which are clearly delineated from the main text. Some example calculations are quite long so page breaks are needed. However, it seems that page breaks are only allowed with the Box (simple frame, page breaks) options. It would be great if shaded boxes could also include page breaks. Probably what you want is shading in the one that allows page breaks. I don't use boxes, so I'm no expert, but there is tons of info on how to customize these boxes in the Embedded Objects manual. Remember, this is LaTeX. You can do anything. But LyX can't do everything. Sometimes you have to get your hands dirty. 2) I have tried to convince my students and colleagues to switch from MS Word to LYX. The one troublesome point for most of them is that certain key style files are not available for LYX. A website that used to supply REVTEX4.1 is no longer working. Many journals supply LATEX templates, and for someone who knows both LYX and LATEX well, it should be possible to create equivalent LYX templates. LyX comes with support for Revtex 4.1, unless I'm mistaken. You have to install the class itself, but there is a layout file for it. Creating layouts for journal class files is not a hard thing to do. But it's something that someone who actually uses that class needs to do. People here have done such things many times. And if you'd like to try, then we'll all be happy to answer questions, etc. Richard
Re: two suggested features
On Sun, Jan 12, 2014 at 12:26 PM, Richard Heck rgh...@lyx.org wrote: On 01/11/2014 06:33 AM, Baron Peters wrote: LyX comes with support for Revtex 4.1, unless I'm mistaken. You have to install the class itself, but there is a layout file for it. And a template. Go to File New from Template. Scott
Re: Trying to install xetexCV document class
Hi Justin, It's a very bad practice to put working documents anywhere in your Applications folder (among other things the permissions won't be correct). The Applications folder belongs to the system and should be reserved for applications. Put your own documents somewhere in your home directory. You might drop the xetexCV-LyX folder containing the four files for the Tolkien CV example into your Documents folder. Then the path for the image on your machine would be: /Users/justinJustin/Documents/xetexCV-LyX/JRR-Tolkien.jpg (Please note that the LaTeX Preamble for the example LyX file has an explicit comment: The Image Path Cannot Include Spaces. The path you were trying to use included spaces.) I also got the 'unknown token' error when I first started playing with this example file. It went away once I set the document to use fonts actually installed on my system. Your installation is defaulting to using a DVI output, which you probably don't want or need to mess with. If you look under the View menu in LyX with the example file loaded, the default (which is bound to Command-R and to the 'eyes' icon on the toolbar) is set to DVI something (probably LuaTeX). Set the document to explicitly use PDF (XeTeX) in Document - Settings - Output - Default Output Format. Once you have taken care of the other problems and can successfully typeset the example file, the pdf should automatically open in whatever you have set as a default pdf viewer (probably Preview). The font errors you're getting mean that the fonts you installed don't have the correct sizing information for the way they're being used in this document. Two things to try: 1. Try specifying other fonts already installed on your system. Note that working through XeTeX, LyX has no way to determine which fonts are Serif (Roman) and which are Sans Serif so it just lists them all. Use FontBook to examine the fonts you have installed. 2. I bet you installed Type1 Fontin fonts because that's what the font designer advised on his downloads page. Ignore that advice. Using FontBook remove the Type1 fonts then download and install the OpenType ones instead. And yes, use the Fontin Regular for Roman and Fontin Sans Regular for Sans. That's what the xetexCV class was designed around and gives a very nice result. -- Rich On Sun, Jan 12, 2014 at 8:13 AM, justin justina...@yahoo.com wrote: Richard Talley rich.talley at gmail.com writes: The xetexCV.cls class file should go in ~/Library/texmf/tex/latex (create folders as necessary). Put the cvsplitbib.sty style file in the same place. Then reconfigure LyX. Hi Richard, [N.B. I got a message saying I have lines longer than 80 characters and to fix it. So I am going to hit return here and there, hope it does not confuse you if some of the computer stuff I copied and pasted gets broken up a bit in the process!] I did what you said above now. But still not working. Here is what I did: Put the xetexCV.layout file in the same working folder as your LyX file. Did that too. The example LyX file uses the font Minion Pro, which is a licensed font you have to purchase. I substituted Fontin Regular. You also need Fontin Sans. Both are available for free here: I installed those 2 fonts also with Font Book. http://www.exljbris.com Use Font Book to add fonts to your OS X installation. In LyX, with the example LyX file open, use Document - Settings - Fonts. Check the choice to use non-Tex fonts, then change the Roman font from Minion Pro to Fontin Regular and the Sans font to Fontin Sans. After installing those fonts, I have one option for Fontin Regular, but I have 10 different 'Fontin Sans' choices. One of these is called 'Fontin Sans Regular' - should I choose this one? (For now, I have done so). I also had to go into Documents - Settings - LaTeX Preamble and edit the path to JRR-Tolkien.jpg to the correct one for my installation rather than the author's. I tried doing that. The method I used to get the address was clicking 'get info' on the jpg file, and then where it says 'where', I copied the address. It looks like this: /Applications/Lyx stuff/For making CV/xetexCV-LyX So I pasted exactly that to replace the original address, so it now looks like this: \cvimage{/Applications/Lyx stuff/For making CV/xetexCV-LyX/JRR-Tolkien.jpg} Was that right? One thing I still get when I open the example lyx file is 2 Unknown token: \html_footnotes_as_endnotes \html_footnotes_as_endnotes Typeset with View - PDF [XeTeX} When I do that, I get 11 error messages. They are all to do with fonts. 4 says font-not-found and the others says something about mapping. The first 4 of the former all are identical: ...Bold}, ItalicFont={Fontin Italic}]{Fontin} The 2 other of the former say: \setmainfont[Mapping=tex-text]{Fontin Regular} The latter say: ...Bold}, ItalicFont={Fontin Italic}]{Fontin} I wasn't able to read the
Re: LyX very slow on Mac
Am 12.01.2014 um 16:28 schrieb justin justina...@yahoo.com: Anders Host-Madsen ahostmadsen at yahoo.com writes: Yes, it seems LyX 2.1 solves the problem. It is definitely faster than LyX 2.0.6. Very good. LyX had become so slow that I almost couldn't use it. I am new to Lyx, and using version 2.0.6, and Mac OS 10.9.1 I don't have any experience with LyX on Mavericks. When I click on the EYES BUTTON on a little one page example file for xetexCV, it takes 1 minute 57 seconds for lyx to come up with anything, and that 'anything' is an error message saying File does not exist: /var/folders/zh/ 5qprckdd5bg4xn5ddpqy7np8gn/T/ lyx_tmpdir.L10103/lyx_tmpbuf7/example4-xetex4-LyX.dvi So it does seem slow. Anders was talking about scroll performance of the main window of LyX. If I install the new beta version, will I loose the changes I made to the lyx I already installed? For example I put some things inside one of the folders within the app itself while trying to get this xetexCV document class working (still getting help on that in another thread). Yes, you'll loose your changes. You should rename your LyX 2.0.6 application folder before if you want to preserve it. But, as far as I understood the solution to your problem (in the other thread) you should have made the modifications inside the library folder of your home directory. Stephan
LaTeX - LyX conversion
Hi again, I guess I should have been a little more specific on the problem encountered in my previous message. When I try to preview the file in pdf format or export it into LaTeX (plain), I get the following error: Error while previewing format: pdf2File 'C:/Users/Sinan/AppData/Local/Temp/lyx_tmpdir.Hp5784/lyx_tmpbuf2/Thesis_LyX.tex' was not closed properly. Any help would be appreciated. Sinan
Undefined control sequence
I created a table in a paragraph section and it won't render to pdf. Not sure what I'm doing wrong. % Preview source code for paragraph 0 \paragraph{% \begin{tabular}{|c|c|c|c|c|c|c|c|c|} \hline binary 0 0 0 0 1 0 0 0\tabularnewline \hline \hline $2^{n}$ $2^{7}$ $2^{6}$ $2^{5}$ $2^{4}$ $2^{3}$ $2^{2}$ $2^{1}$ $2^{0}$\tabularnewline \hline base 10 128 64 32 16 8 4 2 1\tabularnewline \hline \end{tabular}}
can't get LyX to open pdfs in Skim
When I was running LyX 1.6.x, I had no problems getting LyX and Skim to sync, but I can't get it working with LyX 2.0.6. No matter what I do, generated pdfs continue to open in Preview rather than Skim. LyX has the correct (according to the wiki) command built-in - open LyX Preferences - Output and in PDF command put /Applications/Skim.app/Contents/SharedSupport/displayline $$n $$o $$t. And in Document - Settings enable Synchronize with Output (I've saved that as default for all my documents). I'm generating pdfs with PDF (XeTeX) for the most of my test documents, as that is what I usually use, but I also tried a document with PDF (pdflatex). I'm running LyX 2.0.6, Skim 1.4.7 and MacTeX 2013 (which I updated about a week ago) on OS X 10.8.5 (Mountain Lion). Skim.app is in /Applications. I've also made the appropriate settings in Skim, but I need to get LyX - Skim sync going before I worry about the reverse. I've looked in the LyX bug trac, this mailing list and also the macosx-tex (TeX on Mac OS X) mailing list. I seem to be doing things correctly. I know I could force the pdfs to open in Skim by setting all pdfs to open in Skim, but I neither want nor should have to do that. Any suggestions for troubleshooting this? -- Rich
Advice on choosing a document class.
I just wrote the list about my troubles creating a table with the article document class. I was creating a table inside a paragraph in the document class. For some reason this isn't allowed. What I'm trying to do is create a worksheet with a bunch of tables inside of it. It's possible that I might use a 2 column format. I'm really having trouble deciding which document class to start with and how to partition it. I've been pouring through the various manuals, but feeling overwhelmed. Can anybody give some advice on a class to use to create my worksheet?
Re: Advice on choosing a document class.
On Sun, 12 Jan 2014 15:58:08 -0800 Colin Kincaid Williams disc...@uw.edu wrote: I just wrote the list about my troubles creating a table with the article document class. I was creating a table inside a paragraph in the document class. For some reason this isn't allowed. Why would you want to do that? Why could you not hit Enter where you want to put the table, insert the table there, and let the rest of the former paragraph be its own paragraph. I know you can do that with (X)html, but it makes very little sense semantically: A table is something very different from a paragraph. What I'm trying to do is create a worksheet with a bunch of tables inside of it. Why not just split the text of your worksheet to alternate with tables? If you're worried about spacing, you can redefine body text to have zero top or bottom separation, via a layout file. Can anybody give some advice on a class to use to create my worksheet? If it were me, I'd use a layout file to create the proper Environments (paragraph styles) to accommodate your need. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Author-year in Lyx
Dear Wolgang, Stefano I have followed your suggestion. I copied and pasted the files into the tmp folders in my windows. still got errors and these are the log files --- it is long. But I could see some potential problems as shown by the log file - BOLD by me. I know it will take time, but someone will able to find the problems there. Regards, kamarul LATEX: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded format=pdflatex 2013.11.8) 13 JAN 2014 08:42 entering extended mode **testing-natbib.tex (C:\Users\kim\AppData\Local\Temp\lyx_tmpdir.Hp8364\lyx_tmpbuf2\testing-natbib.t ex LaTeX2e 2011/06/27 Babel v3.8m and hyphenation patterns for english, afrikaans, ancientgreek, ar abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl ishmax, welsh, loaded. (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\size11.clo File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\t1enc.def File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file LaTeX Font Info: Redeclaring font encoding T1 on input line 43. )) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\setspace\setspace.sty Package: setspace 2011/12/19 v6.7a set line spacing ) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex.sty Package: biblatex 2013/11/25 v2.8a programmable bibliographies (PK/JW/AB) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex2.sty Package: biblatex2 2013/11/25 v2.8a programmable bibliographies (biber) (PK/JW/ AB) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\etoolbox\etoolbox.sty Package: etoolbox 2011/01/03 v2.1 e-TeX tools for LaTeX (C:\Program Files (x86)\MiKTeX2.9\tex\latex\misc\etex.sty Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB) \et@xins=\count87 ) \etb@tempcnta=\count88 ) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\graphics\keyval.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks14 ) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\oberdiek\kvoptions.sty Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ltxcmds.sty Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) ) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\kvsetkeys.sty Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\infwarerr.sty Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) ) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\etexcmds.sty Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ifluatex.sty Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO) Package ifluatex Info: LuaTeX not detected. ) Package etexcmds Info: Could not find \expanded. (etexcmds) That can mean that you are not using pdfTeX 1.50 or (etexcmds) that some package has redefined \expanded. (etexcmds) In the latter case, load this package earlier. ))) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.sty Package: logreq 2010/08/04 v1.0 xml request logger \lrq@indent=\count89 (C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.def File: logreq.def 2010/08/04 v1.0 logreq spec v1.0 )) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\ifthen.sty Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) ) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\ltxmisc\url.sty \Urlmuskip=\muskip10 Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc. ) \c@tabx@nest=\count90 \c@listtotal=\count91 \c@listcount=\count92 \c@liststart=\count93 \c@liststop=\count94 \c@citecount=\count95 \c@citetotal=\count96 \c@multicitecount=\count97 \c@multicitetotal=\count98
Re: Trying to install xetexCV document class
Richard Talley rich.talley at gmail.com writes: The xetexCV.cls class file should go in ~/Library/texmf/tex/latex (create folders as necessary). Put the cvsplitbib.sty style file in the same place. Then reconfigure LyX. Hi Richard, [N.B. I got a message saying I have lines longer than 80 characters and to fix it. So I am going to hit return here and there, hope it does not confuse you if some of the computer stuff I copied and pasted gets broken up a bit in the process!] I did what you said above now. But still not working. Here is what I did: Put the xetexCV.layout file in the same working folder as your LyX file. Did that too. The example LyX file uses the font Minion Pro, which is a licensed font you have to purchase. I substituted Fontin Regular. You also need Fontin Sans. Both are available for free here: I installed those 2 fonts also with Font Book. http://www.exljbris.com Use Font Book to add fonts to your OS X installation. In LyX, with the example LyX file open, use Document - Settings - Fonts. Check the choice to use non-Tex fonts, then change the Roman font from Minion Pro to Fontin Regular and the Sans font to Fontin Sans. After installing those fonts, I have one option for Fontin Regular, but I have 10 different 'Fontin Sans' choices. One of these is called 'Fontin Sans Regular' - should I choose this one? (For now, I have done so). I also had to go into Documents - Settings - LaTeX Preamble and edit the path to JRR-Tolkien.jpg to the correct one for my installation rather than the author's. I tried doing that. The method I used to get the address was clicking 'get info' on the jpg file, and then where it says 'where', I copied the address. It looks like this: /Applications/Lyx stuff/For making CV/xetexCV-LyX So I pasted exactly that to replace the original address, so it now looks like this: \cvimage{/Applications/Lyx stuff/For making CV/xetexCV-LyX/JRR-Tolkien.jpg} Was that right? One thing I still get when I open the example lyx file is 2 Unknown token: \html_footnotes_as_endnotes \html_footnotes_as_endnotes Typeset with View - PDF [XeTeX} When I do that, I get 11 error messages. They are all to do with fonts. 4 says font-not-found and the others says something about mapping. The first 4 of the former all are identical: ...Bold}, ItalicFont={Fontin Italic}]{Fontin} The 2 other of the former say: \setmainfont[Mapping=tex-text]{Fontin Regular} The latter say: ...Bold}, ItalicFont={Fontin Italic}]{Fontin} I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. - \setmainfont[Mapping=tex-text]{Fontin Regular} I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. \makecvtitle I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. \makecvtitle I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. - \emph{Hobbit, The Lord of the Rings } and \emph{The Silmarillion. }Often I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. Also, when I click the EYES BUTTON to try to see the pdf version of the example file (Tolkien example), I get this message: File does not exist: /var/folders/zh/5qprckdd5bg4xn 5ddpqy7np8gn/T/lyx_tmpdir.JL 7549/lyx_tmpbuf3/example4-xetex4-LyX.dvi Help much appreciated!
Re: LyX very slow on Mac
Anders Host-Madsen ahostmadsen at yahoo.com writes: Yes, it seems LyX 2.1 solves the problem. It is definitely faster than LyX 2.0.6. Very good. LyX had become so slow that I almost couldn't use it. I am new to Lyx, and using version 2.0.6, and Mac OS 10.9.1 When I click on the EYES BUTTON on a little one page example file for xetexCV, it takes 1 minute 57 seconds for lyx to come up with anything, and that 'anything' is an error message saying File does not exist: /var/folders/zh/ 5qprckdd5bg4xn5ddpqy7np8gn/T/ lyx_tmpdir.L10103/lyx_tmpbuf7/example4-xetex4-LyX.dvi So it does seem slow. If I install the new beta version, will I loose the changes I made to the lyx I already installed? For example I put some things inside one of the folders within the app itself while trying to get this xetexCV document class working (still getting help on that in another thread). Thanks.
Re: two suggested features
On 01/11/2014 06:33 AM, Baron Peters wrote: Dear LYX developers, I love the LYX software, but there are just a few minor problems that I've not been able to resolve. 1) I'm writing a book and I would like to place example calculations in shaded boxes which are clearly delineated from the main text. Some example calculations are quite long so page breaks are needed. However, it seems that page breaks are only allowed with the Box (simple frame, page breaks) options. It would be great if shaded boxes could also include page breaks. Probably what you want is shading in the one that allows page breaks. I don't use boxes, so I'm no expert, but there is tons of info on how to customize these boxes in the Embedded Objects manual. Remember, this is LaTeX. You can do anything. But LyX can't do everything. Sometimes you have to get your hands dirty. 2) I have tried to convince my students and colleagues to switch from MS Word to LYX. The one troublesome point for most of them is that certain key style files are not available for LYX. A website that used to supply REVTEX4.1 is no longer working. Many journals supply LATEX templates, and for someone who knows both LYX and LATEX well, it should be possible to create equivalent LYX templates. LyX comes with support for Revtex 4.1, unless I'm mistaken. You have to install the class itself, but there is a layout file for it. Creating layouts for journal class files is not a hard thing to do. But it's something that someone who actually uses that class needs to do. People here have done such things many times. And if you'd like to try, then we'll all be happy to answer questions, etc. Richard
Re: two suggested features
On Sun, Jan 12, 2014 at 12:26 PM, Richard Heck rgh...@lyx.org wrote: On 01/11/2014 06:33 AM, Baron Peters wrote: LyX comes with support for Revtex 4.1, unless I'm mistaken. You have to install the class itself, but there is a layout file for it. And a template. Go to File New from Template. Scott
Re: Trying to install xetexCV document class
Hi Justin, It's a very bad practice to put working documents anywhere in your Applications folder (among other things the permissions won't be correct). The Applications folder belongs to the system and should be reserved for applications. Put your own documents somewhere in your home directory. You might drop the xetexCV-LyX folder containing the four files for the Tolkien CV example into your Documents folder. Then the path for the image on your machine would be: /Users/justinJustin/Documents/xetexCV-LyX/JRR-Tolkien.jpg (Please note that the LaTeX Preamble for the example LyX file has an explicit comment: The Image Path Cannot Include Spaces. The path you were trying to use included spaces.) I also got the 'unknown token' error when I first started playing with this example file. It went away once I set the document to use fonts actually installed on my system. Your installation is defaulting to using a DVI output, which you probably don't want or need to mess with. If you look under the View menu in LyX with the example file loaded, the default (which is bound to Command-R and to the 'eyes' icon on the toolbar) is set to DVI something (probably LuaTeX). Set the document to explicitly use PDF (XeTeX) in Document - Settings - Output - Default Output Format. Once you have taken care of the other problems and can successfully typeset the example file, the pdf should automatically open in whatever you have set as a default pdf viewer (probably Preview). The font errors you're getting mean that the fonts you installed don't have the correct sizing information for the way they're being used in this document. Two things to try: 1. Try specifying other fonts already installed on your system. Note that working through XeTeX, LyX has no way to determine which fonts are Serif (Roman) and which are Sans Serif so it just lists them all. Use FontBook to examine the fonts you have installed. 2. I bet you installed Type1 Fontin fonts because that's what the font designer advised on his downloads page. Ignore that advice. Using FontBook remove the Type1 fonts then download and install the OpenType ones instead. And yes, use the Fontin Regular for Roman and Fontin Sans Regular for Sans. That's what the xetexCV class was designed around and gives a very nice result. -- Rich On Sun, Jan 12, 2014 at 8:13 AM, justin justina...@yahoo.com wrote: Richard Talley rich.talley at gmail.com writes: The xetexCV.cls class file should go in ~/Library/texmf/tex/latex (create folders as necessary). Put the cvsplitbib.sty style file in the same place. Then reconfigure LyX. Hi Richard, [N.B. I got a message saying I have lines longer than 80 characters and to fix it. So I am going to hit return here and there, hope it does not confuse you if some of the computer stuff I copied and pasted gets broken up a bit in the process!] I did what you said above now. But still not working. Here is what I did: Put the xetexCV.layout file in the same working folder as your LyX file. Did that too. The example LyX file uses the font Minion Pro, which is a licensed font you have to purchase. I substituted Fontin Regular. You also need Fontin Sans. Both are available for free here: I installed those 2 fonts also with Font Book. http://www.exljbris.com Use Font Book to add fonts to your OS X installation. In LyX, with the example LyX file open, use Document - Settings - Fonts. Check the choice to use non-Tex fonts, then change the Roman font from Minion Pro to Fontin Regular and the Sans font to Fontin Sans. After installing those fonts, I have one option for Fontin Regular, but I have 10 different 'Fontin Sans' choices. One of these is called 'Fontin Sans Regular' - should I choose this one? (For now, I have done so). I also had to go into Documents - Settings - LaTeX Preamble and edit the path to JRR-Tolkien.jpg to the correct one for my installation rather than the author's. I tried doing that. The method I used to get the address was clicking 'get info' on the jpg file, and then where it says 'where', I copied the address. It looks like this: /Applications/Lyx stuff/For making CV/xetexCV-LyX So I pasted exactly that to replace the original address, so it now looks like this: \cvimage{/Applications/Lyx stuff/For making CV/xetexCV-LyX/JRR-Tolkien.jpg} Was that right? One thing I still get when I open the example lyx file is 2 Unknown token: \html_footnotes_as_endnotes \html_footnotes_as_endnotes Typeset with View - PDF [XeTeX} When I do that, I get 11 error messages. They are all to do with fonts. 4 says font-not-found and the others says something about mapping. The first 4 of the former all are identical: ...Bold}, ItalicFont={Fontin Italic}]{Fontin} The 2 other of the former say: \setmainfont[Mapping=tex-text]{Fontin Regular} The latter say: ...Bold}, ItalicFont={Fontin Italic}]{Fontin} I wasn't able to read the
Re: LyX very slow on Mac
Am 12.01.2014 um 16:28 schrieb justin justina...@yahoo.com: Anders Host-Madsen ahostmadsen at yahoo.com writes: Yes, it seems LyX 2.1 solves the problem. It is definitely faster than LyX 2.0.6. Very good. LyX had become so slow that I almost couldn't use it. I am new to Lyx, and using version 2.0.6, and Mac OS 10.9.1 I don't have any experience with LyX on Mavericks. When I click on the EYES BUTTON on a little one page example file for xetexCV, it takes 1 minute 57 seconds for lyx to come up with anything, and that 'anything' is an error message saying File does not exist: /var/folders/zh/ 5qprckdd5bg4xn5ddpqy7np8gn/T/ lyx_tmpdir.L10103/lyx_tmpbuf7/example4-xetex4-LyX.dvi So it does seem slow. Anders was talking about scroll performance of the main window of LyX. If I install the new beta version, will I loose the changes I made to the lyx I already installed? For example I put some things inside one of the folders within the app itself while trying to get this xetexCV document class working (still getting help on that in another thread). Yes, you'll loose your changes. You should rename your LyX 2.0.6 application folder before if you want to preserve it. But, as far as I understood the solution to your problem (in the other thread) you should have made the modifications inside the library folder of your home directory. Stephan
LaTeX - LyX conversion
Hi again, I guess I should have been a little more specific on the problem encountered in my previous message. When I try to preview the file in pdf format or export it into LaTeX (plain), I get the following error: Error while previewing format: pdf2File 'C:/Users/Sinan/AppData/Local/Temp/lyx_tmpdir.Hp5784/lyx_tmpbuf2/Thesis_LyX.tex' was not closed properly. Any help would be appreciated. Sinan
Undefined control sequence
I created a table in a paragraph section and it won't render to pdf. Not sure what I'm doing wrong. % Preview source code for paragraph 0 \paragraph{% \begin{tabular}{|c|c|c|c|c|c|c|c|c|} \hline binary 0 0 0 0 1 0 0 0\tabularnewline \hline \hline $2^{n}$ $2^{7}$ $2^{6}$ $2^{5}$ $2^{4}$ $2^{3}$ $2^{2}$ $2^{1}$ $2^{0}$\tabularnewline \hline base 10 128 64 32 16 8 4 2 1\tabularnewline \hline \end{tabular}}
can't get LyX to open pdfs in Skim
When I was running LyX 1.6.x, I had no problems getting LyX and Skim to sync, but I can't get it working with LyX 2.0.6. No matter what I do, generated pdfs continue to open in Preview rather than Skim. LyX has the correct (according to the wiki) command built-in - open LyX Preferences - Output and in PDF command put /Applications/Skim.app/Contents/SharedSupport/displayline $$n $$o $$t. And in Document - Settings enable Synchronize with Output (I've saved that as default for all my documents). I'm generating pdfs with PDF (XeTeX) for the most of my test documents, as that is what I usually use, but I also tried a document with PDF (pdflatex). I'm running LyX 2.0.6, Skim 1.4.7 and MacTeX 2013 (which I updated about a week ago) on OS X 10.8.5 (Mountain Lion). Skim.app is in /Applications. I've also made the appropriate settings in Skim, but I need to get LyX - Skim sync going before I worry about the reverse. I've looked in the LyX bug trac, this mailing list and also the macosx-tex (TeX on Mac OS X) mailing list. I seem to be doing things correctly. I know I could force the pdfs to open in Skim by setting all pdfs to open in Skim, but I neither want nor should have to do that. Any suggestions for troubleshooting this? -- Rich
Advice on choosing a document class.
I just wrote the list about my troubles creating a table with the article document class. I was creating a table inside a paragraph in the document class. For some reason this isn't allowed. What I'm trying to do is create a worksheet with a bunch of tables inside of it. It's possible that I might use a 2 column format. I'm really having trouble deciding which document class to start with and how to partition it. I've been pouring through the various manuals, but feeling overwhelmed. Can anybody give some advice on a class to use to create my worksheet?
Re: Advice on choosing a document class.
On Sun, 12 Jan 2014 15:58:08 -0800 Colin Kincaid Williams disc...@uw.edu wrote: I just wrote the list about my troubles creating a table with the article document class. I was creating a table inside a paragraph in the document class. For some reason this isn't allowed. Why would you want to do that? Why could you not hit Enter where you want to put the table, insert the table there, and let the rest of the former paragraph be its own paragraph. I know you can do that with (X)html, but it makes very little sense semantically: A table is something very different from a paragraph. What I'm trying to do is create a worksheet with a bunch of tables inside of it. Why not just split the text of your worksheet to alternate with tables? If you're worried about spacing, you can redefine body text to have zero top or bottom separation, via a layout file. Can anybody give some advice on a class to use to create my worksheet? If it were me, I'd use a layout file to create the proper Environments (paragraph styles) to accommodate your need. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Author-year in Lyx
Dear Wolgang, Stefano I have followed your suggestion. I copied and pasted the files into the tmp folders in my windows. still got errors and these are the log files --- it is long. But I could see some potential problems as shown by the log file - BOLD by me. I know it will take time, but someone will able to find the problems there. Regards, kamarul LATEX: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded format=pdflatex 2013.11.8) 13 JAN 2014 08:42 entering extended mode **testing-natbib.tex (C:\Users\kim\AppData\Local\Temp\lyx_tmpdir.Hp8364\lyx_tmpbuf2\testing-natbib.t ex LaTeX2e 2011/06/27 Babel v3.8m and hyphenation patterns for english, afrikaans, ancientgreek, ar abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl ishmax, welsh, loaded. (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\size11.clo File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\t1enc.def File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file LaTeX Font Info: Redeclaring font encoding T1 on input line 43. )) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\setspace\setspace.sty Package: setspace 2011/12/19 v6.7a set line spacing ) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex.sty Package: biblatex 2013/11/25 v2.8a programmable bibliographies (PK/JW/AB) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex2.sty Package: biblatex2 2013/11/25 v2.8a programmable bibliographies (biber) (PK/JW/ AB) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\etoolbox\etoolbox.sty Package: etoolbox 2011/01/03 v2.1 e-TeX tools for LaTeX (C:\Program Files (x86)\MiKTeX2.9\tex\latex\misc\etex.sty Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB) \et@xins=\count87 ) \etb@tempcnta=\count88 ) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\graphics\keyval.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks14 ) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\oberdiek\kvoptions.sty Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ltxcmds.sty Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) ) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\kvsetkeys.sty Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\infwarerr.sty Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) ) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\etexcmds.sty Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ifluatex.sty Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO) Package ifluatex Info: LuaTeX not detected. ) Package etexcmds Info: Could not find \expanded. (etexcmds) That can mean that you are not using pdfTeX 1.50 or (etexcmds) that some package has redefined \expanded. (etexcmds) In the latter case, load this package earlier. ))) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.sty Package: logreq 2010/08/04 v1.0 xml request logger \lrq@indent=\count89 (C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.def File: logreq.def 2010/08/04 v1.0 logreq spec v1.0 )) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\ifthen.sty Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) ) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\ltxmisc\url.sty \Urlmuskip=\muskip10 Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc. ) \c@tabx@nest=\count90 \c@listtotal=\count91 \c@listcount=\count92 \c@liststart=\count93 \c@liststop=\count94 \c@citecount=\count95 \c@citetotal=\count96 \c@multicitecount=\count97 \c@multicitetotal=\count98
Re: Trying to install xetexCV document class
Richard Talley gmail.com> writes: > The xetexCV.cls class file should go >in ~/Library/texmf/tex/latex (create folders as necessary). > Put the cvsplitbib.sty style file in the same place. > Then reconfigure LyX. Hi Richard, [N.B. I got a message saying I have "lines longer than 80 characters" and to fix it. So I am going to hit return here and there, hope it does not confuse you if some of the computer stuff I copied and pasted gets broken up a bit in the process!] I did what you said above now. But still not working. Here is what I did: > Put the xetexCV.layout file in the same working folder as your LyX file. Did that too. > The example LyX file uses the font Minion Pro, >which is a licensed font you have to purchase. I substituted Fontin Regular. > You also need Fontin Sans. Both are available for free here: I installed those 2 fonts also with Font Book. > > http://www.exljbris.com > > Use Font Book to add fonts to your OS X installation. >In LyX, with the example LyX file open, use Document -> Settings -> Fonts. Check the choice to use non-Tex fonts, then change the Roman font from > Minion Pro to Fontin > Regular and the Sans font to Fontin Sans. After installing those fonts, I have one option for Fontin Regular, but I have 10 different 'Fontin Sans' choices. One of these is called 'Fontin Sans Regular' - should I choose this one? (For now, I have done so). > > > I also had to go into Documents -> Settings -> LaTeX Preamble > and edit the path to JRR-Tolkien.jpg to >the correct one for my installation rather than the author's. I tried doing that. The method I used to get the address was clicking 'get info' on the jpg file, and then where it says 'where', I copied the address. It looks like this: /Applications/Lyx stuff/For making CV/xetexCV-LyX So I pasted exactly that to replace the original address, so it now looks like this: \cvimage{/Applications/Lyx stuff/For making CV/xetexCV-LyX/JRR-Tolkien.jpg} Was that right? One thing I still get when I open the example lyx file is 2 Unknown token: \html_footnotes_as_endnotes \html_footnotes_as_endnotes > Typeset with View -> PDF [XeTeX} When I do that, I get 11 error messages. They are all to do with fonts. 4 says "font-not-found" and the others says something about mapping. The first 4 of the former all are identical: " ...Bold}, ItalicFont={Fontin Italic}]{Fontin}" The 2 other of the former say: \setmainfont[Mapping=tex-text]{Fontin Regular} The latter say: ...Bold}, ItalicFont={Fontin Italic}]{Fontin} I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\font='. - \setmainfont[Mapping=tex-text]{Fontin Regular} I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\font='. \makecvtitle I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\font='. \makecvtitle I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\font='. - \emph{Hobbit, The Lord of the Rings } and \emph{The Silmarillion. }Often I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\font='. Also, when I click the EYES BUTTON to try to see the pdf version of the example file (Tolkien example), I get this message: File does not exist: /var/folders/zh/5qprckdd5bg4xn 5ddpqy7np8gn/T/lyx_tmpdir.JL 7549/lyx_tmpbuf3/example4-xetex4-LyX.dvi Help much appreciated!
Re: LyX very slow on Mac
Anders Host-Madsen yahoo.com> writes: > > Yes, it seems LyX 2.1 solves the problem. It is definitely > faster than LyX 2.0.6. Very good. LyX had become so > slow that I almost couldn't use it. I am new to Lyx, and using version 2.0.6, and Mac OS 10.9.1 When I click on the EYES BUTTON on a little one page example file for xetexCV, it takes 1 minute 57 seconds for lyx to come up with anything, and that 'anything' is an error message saying "File does not exist: /var/folders/zh/ 5qprckdd5bg4xn5ddpqy7np8gn/T/ lyx_tmpdir.L10103/lyx_tmpbuf7/example4-xetex4-LyX.dvi" So it does seem slow. If I install the new beta version, will I loose the changes I made to the lyx I already installed? For example I put some things inside one of the folders within the app itself while trying to get this xetexCV document class working (still getting help on that in another thread). Thanks.
Re: two suggested features
On 01/11/2014 06:33 AM, Baron Peters wrote: Dear LYX developers, I love the LYX software, but there are just a few minor problems that I've not been able to resolve. 1) I'm writing a book and I would like to place example calculations in shaded boxes which are clearly delineated from the main text. Some example calculations are quite long so page breaks are needed. However, it seems that page breaks are only allowed with the "Box (simple frame, page breaks)" options. It would be great if shaded boxes could also include page breaks. Probably what you want is shading in the one that allows page breaks. I don't use boxes, so I'm no expert, but there is tons of info on how to customize these boxes in the Embedded Objects manual. Remember, this is LaTeX. You can do anything. But LyX can't do everything. Sometimes you have to get your hands dirty. 2) I have tried to convince my students and colleagues to switch from MS Word to LYX. The one troublesome point for most of them is that certain key style files are not available for LYX. A website that used to supply REVTEX4.1 is no longer working. Many journals supply LATEX templates, and for someone who knows both LYX and LATEX well, it should be possible to create equivalent LYX templates. LyX comes with support for Revtex 4.1, unless I'm mistaken. You have to install the class itself, but there is a layout file for it. Creating layouts for journal class files is not a hard thing to do. But it's something that someone who actually uses that class needs to do. People here have done such things many times. And if you'd like to try, then we'll all be happy to answer questions, etc. Richard
Re: two suggested features
On Sun, Jan 12, 2014 at 12:26 PM, Richard Heckwrote: > On 01/11/2014 06:33 AM, Baron Peters wrote: > LyX comes with support for Revtex 4.1, unless I'm mistaken. You have to > install the class itself, but there is a layout file for it. And a template. Go to File > New from Template. Scott
Re: Trying to install xetexCV document class
Hi Justin, It's a very bad practice to put working documents anywhere in your Applications folder (among other things the permissions won't be correct). The Applications folder belongs to the system and should be reserved for applications. Put your own documents somewhere in your home directory. You might drop the xetexCV-LyX folder containing the four files for the Tolkien CV example into your Documents folder. Then the path for the image on your machine would be: /Users/justinJustin/Documents/xetexCV-LyX/JRR-Tolkien.jpg (Please note that the LaTeX Preamble for the example LyX file has an explicit comment: "The Image Path Cannot Include Spaces". The path you were trying to use included spaces.) I also got the 'unknown token' error when I first started playing with this example file. It went away once I set the document to use fonts actually installed on my system. Your installation is defaulting to using a DVI output, which you probably don't want or need to mess with. If you look under the View menu in LyX with the example file loaded, the default (which is bound to Command-R and to the 'eyes' icon on the toolbar) is set to DVI something (probably LuaTeX). Set the document to explicitly use PDF (XeTeX) in Document -> Settings -> Output -> Default Output Format. Once you have taken care of the other problems and can successfully typeset the example file, the pdf should automatically open in whatever you have set as a default pdf viewer (probably Preview). The font errors you're getting mean that the fonts you installed don't have the correct sizing information for the way they're being used in this document. Two things to try: 1. Try specifying other fonts already installed on your system. Note that working through XeTeX, LyX has no way to determine which fonts are Serif (Roman) and which are Sans Serif so it just lists them all. Use FontBook to examine the fonts you have installed. 2. I bet you installed Type1 Fontin fonts because that's what the font designer advised on his downloads page. Ignore that advice. Using FontBook remove the Type1 fonts then download and install the OpenType ones instead. And yes, use the Fontin Regular for Roman and Fontin Sans Regular for Sans. That's what the xetexCV class was designed around and gives a very nice result. -- Rich On Sun, Jan 12, 2014 at 8:13 AM, justinwrote: > Richard Talley gmail.com> writes: > > The xetexCV.cls class file should go > >in ~/Library/texmf/tex/latex (create > folders as necessary). > > Put the cvsplitbib.sty style file in the same place. > > Then reconfigure LyX. > > Hi Richard, [N.B. I got a message saying I have > "lines longer than 80 > characters" and to fix it. > So I am going to hit return here and there, hope > it does not confuse you if some of the computer > stuff I copied and pasted > gets broken up a bit in the process!] > I did what you said above now. But still > not working. Here is what I did: > > > Put the xetexCV.layout file in the same working > folder as your LyX file. > > Did that too. > > > > The example LyX file uses the font Minion Pro, > >which is a licensed font > you have to purchase. I substituted Fontin Regular. > > You also need Fontin > Sans. Both are available for free here: > > I installed those 2 fonts also with Font Book. > > > > > http://www.exljbris.com > > > > Use Font Book to add fonts to your OS X installation. > >In LyX, with the example LyX file open, use > Document -> Settings -> Fonts. > Check the choice to use non-Tex fonts, then > change the Roman font from > > Minion Pro to Fontin > > Regular and the Sans font to Fontin Sans. > > After installing those fonts, I have one option > for Fontin Regular, > but I have 10 different 'Fontin Sans' choices. > One of these is called > 'Fontin Sans Regular' - should I choose this > one? (For now, I have done so). > > > > > > > > I also had to go into Documents -> Settings -> LaTeX Preamble > > and edit the > path to JRR-Tolkien.jpg to > >the correct one for my installation rather than > the author's. > > > I tried doing that. The method I used to get > the address was clicking 'get > info' on the jpg file, > and then where it says 'where', I copied the address. > It looks like this: > /Applications/Lyx stuff/For making CV/xetexCV-LyX > > So I pasted exactly that to replace the original > address, so it now looks > like this: > > \cvimage{/Applications/Lyx stuff/For making > CV/xetexCV-LyX/JRR-Tolkien.jpg} > > Was that right? > One thing I still get when I open the example lyx file is 2 > > Unknown token: \html_footnotes_as_endnotes \html_footnotes_as_endnotes > > > > > Typeset with View -> PDF [XeTeX} > > When I do that, I get 11 error messages. > They are all to do with fonts. 4 > says "font-not-found" and the others says > something about mapping. > > The first 4 of the former all are identical: > " ...Bold}, ItalicFont={Fontin > Italic}]{Fontin}" > The 2 other of the former say: >
Re: LyX very slow on Mac
Am 12.01.2014 um 16:28 schrieb justin: > Anders Host-Madsen yahoo.com> writes: > >> Yes, it seems LyX 2.1 solves the problem. It is definitely >> faster than LyX 2.0.6. Very good. LyX had become so >> slow that I almost couldn't use it. > > I am new to Lyx, and using version 2.0.6, and Mac OS 10.9.1 I don't have any experience with LyX on Mavericks. > When I click on the EYES BUTTON on a little one page example file for > xetexCV, it takes 1 minute 57 seconds for lyx to come up with anything, and > that 'anything' is an error message saying "File does not exist: > /var/folders/zh/ > 5qprckdd5bg4xn5ddpqy7np8gn/T/ > lyx_tmpdir.L10103/lyx_tmpbuf7/example4-xetex4-LyX.dvi" > > So it does seem slow. Anders was talking about scroll performance of the main window of LyX. > If I install the new beta version, will I loose the > changes I made to the lyx I already installed? For example I put some things > inside one of the folders within the app itself while trying to get this > xetexCV document class working (still getting help on that in another thread). Yes, you'll loose your changes. You should rename your LyX 2.0.6 application folder before if you want to preserve it. But, as far as I understood the solution to your problem (in the other thread) you should have made the modifications inside the library folder of your home directory. Stephan
LaTeX -> LyX conversion
Hi again, I guess I should have been a little more specific on the problem encountered in my previous message. When I try to preview the file in pdf format or export it into LaTeX (plain), I get the following error: Error while previewing format: pdf2File 'C:/Users/Sinan/AppData/Local/Temp/lyx_tmpdir.Hp5784/lyx_tmpbuf2/Thesis_LyX.tex' was not closed properly. Any help would be appreciated. Sinan
Undefined control sequence
I created a table in a paragraph section and it won't render to pdf. Not sure what I'm doing wrong. % Preview source code for paragraph 0 \paragraph{% \begin{tabular}{|c|c|c|c|c|c|c|c|c|} \hline binary & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0\tabularnewline \hline \hline $2^{n}$ & $2^{7}$ & $2^{6}$ & $2^{5}$ & $2^{4}$ & $2^{3}$ & $2^{2}$ & $2^{1}$ & $2^{0}$\tabularnewline \hline base 10 & 128 & 64 & 32 & 16 & 8 & 4 & 2 & 1\tabularnewline \hline \end{tabular}}
can't get LyX to open pdfs in Skim
When I was running LyX 1.6.x, I had no problems getting LyX and Skim to sync, but I can't get it working with LyX 2.0.6. No matter what I do, generated pdfs continue to open in Preview rather than Skim. LyX has the correct (according to the wiki) command built-in - open LyX Preferences -> Output and in PDF command put /Applications/Skim.app/Contents/SharedSupport/displayline $$n $$o $$t. And in Document -> Settings enable Synchronize with Output (I've saved that as default for all my documents). I'm generating pdfs with PDF (XeTeX) for the most of my test documents, as that is what I usually use, but I also tried a document with PDF (pdflatex). I'm running LyX 2.0.6, Skim 1.4.7 and MacTeX 2013 (which I updated about a week ago) on OS X 10.8.5 (Mountain Lion). Skim.app is in /Applications. I've also made the appropriate settings in Skim, but I need to get LyX -> Skim sync going before I worry about the reverse. I've looked in the LyX bug trac, this mailing list and also the macosx-tex (TeX on Mac OS X) mailing list. I seem to be doing things correctly. I know I could force the pdfs to open in Skim by setting all pdfs to open in Skim, but I neither want nor should have to do that. Any suggestions for troubleshooting this? -- Rich
Advice on choosing a document class.
I just wrote the list about my troubles creating a table with the article document class. I was creating a table inside a paragraph in the document class. For some reason this isn't allowed. What I'm trying to do is create a worksheet with a bunch of tables inside of it. It's possible that I might use a 2 column format. I'm really having trouble deciding which document class to start with and how to partition it. I've been pouring through the various manuals, but feeling overwhelmed. Can anybody give some advice on a class to use to create my worksheet?
Re: Advice on choosing a document class.
On Sun, 12 Jan 2014 15:58:08 -0800 Colin Kincaid Williamswrote: > I just wrote the list about my troubles creating a table with the > article document class. I was creating a table inside a paragraph in > the document class. For some reason this isn't allowed. Why would you want to do that? Why could you not hit Enter where you want to put the table, insert the table there, and let the rest of the former paragraph be its own paragraph. I know you can do that with (X)html, but it makes very little sense semantically: A table is something very different from a paragraph. > > What I'm trying to do is create a worksheet with a bunch of tables > inside of it. Why not just split the text of your worksheet to alternate with tables? If you're worried about spacing, you can redefine body text to have zero top or bottom separation, via a layout file. > > Can anybody give some advice on a class to use to create my > worksheet? If it were me, I'd use a layout file to create the proper Environments (paragraph styles) to accommodate your need. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Author-year in Lyx
Dear Wolgang, Stefano I have followed your suggestion. I copied and pasted the files into the tmp folders in my windows. still got errors and these are the log files --- it is long. But I could see some potential problems as shown by the log file - BOLD by me. I know it will take time, but someone will able to find the problems there. Regards, kamarul LATEX: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded format=pdflatex 2013.11.8) 13 JAN 2014 08:42 entering extended mode **testing-natbib.tex (C:\Users\kim\AppData\Local\Temp\lyx_tmpdir.Hp8364\lyx_tmpbuf2\testing-natbib.t ex LaTeX2e <2011/06/27> Babel and hyphenation patterns for english, afrikaans, ancientgreek, ar abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl ishmax, welsh, loaded. ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\article.cls" Document Class: article 2007/10/19 v1.4h Standard LaTeX document class ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\size11.clo" File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\fontenc.sty" Package: fontenc 2005/09/27 v1.99g Standard LaTeX package ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\t1enc.def" File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file LaTeX Font Info: Redeclaring font encoding T1 on input line 43. )) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\setspace\setspace.sty" Package: setspace 2011/12/19 v6.7a set line spacing ) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex.sty" Package: biblatex 2013/11/25 v2.8a programmable bibliographies (PK/JW/AB) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex2.sty" Package: biblatex2 2013/11/25 v2.8a programmable bibliographies (biber) (PK/JW/ AB) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\etoolbox\etoolbox.sty" Package: etoolbox 2011/01/03 v2.1 e-TeX tools for LaTeX ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\misc\etex.sty" Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB) \et@xins=\count87 ) \etb@tempcnta=\count88 ) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\graphics\keyval.sty" Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks14 ) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\oberdiek\kvoptions.sty" Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO) ("C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ltxcmds.sty" Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) ) ("C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\kvsetkeys.sty" Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO) ("C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\infwarerr.sty" Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) ) ("C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\etexcmds.sty" Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) ("C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ifluatex.sty" Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO) Package ifluatex Info: LuaTeX not detected. ) Package etexcmds Info: Could not find \expanded. (etexcmds) That can mean that you are not using pdfTeX 1.50 or (etexcmds) that some package has redefined \expanded. (etexcmds) In the latter case, load this package earlier. ))) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.sty" Package: logreq 2010/08/04 v1.0 xml request logger \lrq@indent=\count89 ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.def" File: logreq.def 2010/08/04 v1.0 logreq spec v1.0 )) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\ifthen.sty" Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) ) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\ltxmisc\url.sty" \Urlmuskip=\muskip10 Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc. ) \c@tabx@nest=\count90 \c@listtotal=\count91 \c@listcount=\count92 \c@liststart=\count93 \c@liststop=\count94 \c@citecount=\count95 \c@citetotal=\count96 \c@multicitecount=\count97