Re: Tufte-book Layout File
Am 28.10.2009, 02:15 Uhr, schrieb Uwe Stöhr: Before you proceed please first try out the recent version of the layout file and the example document, see my previous email. Sorry, Uwe, for unknown reasons - insufficiency of my newsreader? - I hadn't had your e-mails in the gmane.editors.lyx.general newsfolder, but now I found them in the inbox folder of this mail account (which I use only for news etc.), and your other postings in this thread as well. Downloaded your tufte-book.layout version, your example lyx and the .bib file and after reconfiguring LyX: … all went well, finally ! ! When the example LyX file works for you, but not your own document, please send me this document. Thank you (and Jason, too), I'll come back to this offer, in case… Regards, joachim -- MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.4.1 MacBook Pro OSX 10.4.11 Tiger (intel)
Re: Tufte-book Layout File
Joachim Osnabryg schrieb: It would be interesting to hear from some others, especially with intel-Macs, wether the tufte-book.layout runs well in their LyX! Before you proceed please first try out the recent version of the layout file and the example document, see my previous email. When the example LyX file works for you, but not your own document, please send me this document. regards Uwe
Re: Tufte-book Layout File
Am 27.10.2009, 21:42 Uhr, schrieb Jason Waskiewicz: My best idea is that there could be a conflict with the \lipsum package. I have a similar computer setup to yours (Mac with Leopard -- though mine is a PPC). I've had no trouble on that machine or on my Linux box. Thank you for your endeavor, Jason, but the \lipsum package cannot be the reason because, without using it, the result is similar. Given that your tufte-book.layout is working in your similar computer setup, and that the tufte-book.cls is working on my machine with LaTeX (TeXShop), it's rather myterious for me where the reason for the misfunction might be, in my context. By the way, in the same manner runs your kindly provided tuftebooksample.lyx: LyX ends with the same - and some more - LaTeX errors, but in the tmp-dir the pdf is produced, I suppose correct. It would be interesting to hear from some others, especially with intel-Macs, wether the tufte-book.layout runs well in their LyX! joachim -- MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.4.1 MacBook Pro OSX 10.4.11 Tiger (intel)
Re: Tufte-book Layout File
Ich schrieb: I revised Jason's layout file and the version you find here: http://wiki.lyx.org/Layouts/Tufte-book#sLayouts.Tufte-book_2 as "Tufte-book proposal" will be included in the next LyX version. Can you please test it? I forgot to say that you need this BibTeX file http://www.lyx.org/trac/export/31779/lyx-devel/branches/BRANCH_1_6_X/lib/examples/biblioExample.bib to be able to compile the LyX example file. regards Uwe
Re: Tufte-book Layout File
> I'm not the one who can help with that. But I tried to run LyX with your layout file (I had the > LaTeX tufte-book.cls already installed before), only with a \lipsum text, but without success. > (LyX > stopped the document compiling.) I revised Jason's layout file and the version you find here: http://wiki.lyx.org/Layouts/Tufte-book#sLayouts.Tufte-book_2 as "Tufte-book proposal" will be included in the next LyX version. Can you please test it? > Nevertheless: > It produced an pdf-output into the tmp subdirectory of LyX, with: > > A U T O R Y > T I T E L X <== on the 1st page, and the > Lorem ipsum … … <== text on the following pages. This is independent of the layout file. The layout file only provides information how LyX should display environments and it defines new insets and character styles. Moreover, I cannot reproduce this problem. > For the case, that it might help you or other developers of an LyX-layout for the tufte-book.cls, > or if someone can give me a hint, what's going wrong in my LyX, I report here the rest: > > Within the LyX program window I got the LaTeX errors: > - > LaTeX Error: Command \cplabel already defined. > LaTeX Error: Command \adjustwidth already defined. > --- This is a problem wit LaTeX, not with the layout file because the layout file don't define or redefine any LaTeX command. To be able to help you, can you please provide a LyX example file? regards Uwe
Re: Tufte-book Layout File
Joachim Osnabryg writes: > I'm not the one who can help with that. But I tried to run LyX with your > layout file (I had the LaTeX tufte-book.cls already installed before), > only with a \lipsum text, but without success. (LyX stopped the document > compiling.) > Package bibentry Warning: You have used \nobibliography* > (bibentry)without a following \bibliography. > (bibentry)You may not be able to run BibTeX. > --- > > Any help? > > joachim My best idea is that there could be a conflict with the \lipsum package. I have a similar computer setup to yours (Mac with Leopard -- though mine is a PPC). I've had no trouble on that machine or on my Linux box. The only times I run into issues are when I try to turn documents I've already written into Tufte-book files, but even then it's a matter of tracking down each individual incompatible command in the file. Is it possible that \lipsum uses commands that are not compatible with Tufte? You might try creating a fake document from scratch and see if it works. Let us know how that goes. --Jason Waskiewicz jason.waskiew...@sendit.nodak.edu
Re: Tufte-book Layout File
Am 18.10.2009, 21:59 Uhr, schrieb Jason Waskiewicz : I recently made a .layout file for the Tufte-book class. Very commendable undertaking! I would be very glad, if we got a well performing layout file for that! (After my extensive use of Spitzmüller's layout for the Tufte-handout class. Anyway, I'm hoping those with more skills can evaluate this .layout file, improve it, and, possibly, find some use for it. I'm not the one who can help with that. But I tried to run LyX with your layout file (I had the LaTeX tufte-book.cls already installed before), only with a \lipsum text, but without success. (LyX stopped the document compiling.) Nevertheless: It produced an pdf-output into the tmp subdirectory of LyX, with: A U T O R Y T I T E L X <== on the 1st page, and the Lorem ipsum … … <== text on the following pages. For the case, that it might help you or other developers of an LyX-layout for the tufte-book.cls, or if someone can give me a hint, what's going wrong in my LyX, I report here the rest: Within the LyX program window I got the LaTeX errors: - LaTeX Error: Command \cplabel already defined. LaTeX Error: Command \adjustwidth already defined. --- errors & warnings copied from the LaTeX protocol: --- … LaTeX Info: Redefining \checkoddpage on input line 62. ! LaTeX Error: Command \cplabel already defined. Or name \end... illegal, see p.192 of the manual. … l.71 \...@esphack} Your command was ignored. Type Ito replace it with another command, orto continue without it. LaTeX Info: Redefining \...@ngetext on input line 94. LaTeX Info: Redefining \changetext on input line 106. LaTeX Info: Redefining \changepage on input line 116. ! LaTeX Error: Command \adjustwidth already defined. Or name \end... illegal, see p.192 of the manual. … l.147 \item[]}{\end{list}} Your command was ignored. … {/usr/local/texlive/2008/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2 ] [3] Package bibentry Warning: You have used \nobibliography* (bibentry)without a following \bibliography. (bibentry)You may not be able to run BibTeX. --- Any help? joachim -- MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.4.1 MacBook Pro OSX 10.4.11 Tiger (intel)
Re: Tufte-book Layout File
Jason Waskiewicz writes: > > Guenter Milde writes: > > In order to be found even some weeks/months on, could you create a pointer > > (page or link on a related page) on the LyX wiki (wiki.lyx.org)? > > > > Günter > > Thank-you! The password was E-mailed to me and the file is now on the LyX Wiki along with a sample document. I hope someone can improve the .layout file or else use it in their own work. --Jason Waskiewicz Bowman County High School
Re: Tufte-book Layout File
Guenter Milde writes: > > On 2009-10-18, Jason Waskiewicz wrote: > > > I recently made a .layout file for the Tufte-book class. > > > http://code.google.com/p/tufte-latex/ > > > I had good luck making it work with my materials, but I know nothing > > about LyX .layout files. I simply took the existing tufte-handout.layout > > file on the LyX.org website and modified it appropriately. I also added > > the full-width figure class figure* which seemed to be missing. > > Thanks for your work. > > > Anyway, I'm hoping those with more skills can evaluate this .layout > > file, improve it, and, possibly, find some use for it. > > In order to be found even some weeks/months on, could you create a pointer > (page or link on a related page) on the LyX wiki (wiki.lyx.org)? > > Günter > > On your suggestion, I did attempt to post the link on the wiki. Apparently I need a password to upload the file. When I attempted to simply link to the file, I needed a password for that as well. Who might I contact to get the password? --Jason Waskiewicz Bowman County High School
Re: Tufte-book Layout File
On 2009-10-18, Jason Waskiewicz wrote: > I recently made a .layout file for the Tufte-book class. > http://code.google.com/p/tufte-latex/ > I had good luck making it work with my materials, but I know nothing > about LyX .layout files. I simply took the existing tufte-handout.layout > file on the LyX.org website and modified it appropriately. I also added > the full-width figure class figure* which seemed to be missing. Thanks for your work. > Anyway, I'm hoping those with more skills can evaluate this .layout > file, improve it, and, possibly, find some use for it. In order to be found even some weeks/months on, could you create a pointer (page or link on a related page) on the LyX wiki (wiki.lyx.org)? Günter
Tufte-book Layout File
I recently made a .layout file for the Tufte-book class. http://code.google.com/p/tufte-latex/ I had good luck making it work with my materials, but I know nothing about LyX .layout files. I simply took the existing tufte-handout.layout file on the LyX.org website and modified it appropriately. I also added the full-width figure class figure* which seemed to be missing. Anyway, I'm hoping those with more skills can evaluate this .layout file, improve it, and, possibly, find some use for it. --Jason Waskiewicz Bowman County High School #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[tufte-book]{book (Tufte)} # tufte-book textclass definition file. # Jason Waskiewicz , 2009/10/18 # Adapted from the tufte-handout.layout file from # Juergen Spitzmueller , 2008/10/22 Format 4 Provides geometry 1 Provides natbib-internal 1 # General textclass parameters Input book.layout Preamble % This should be in the class file, actually \RequirePackage{mcaption} EndPreamble Style Full_Width Margin Static LaTeXType environment LaTeXName fullwidth NextNoIndent1 ParSkip 0 ItemSep 0 TopSep 0.5 BottomSep 0.5 ParSep 0 Align Block AlignPossible Block, Left, Right, Center LabelType No_Label End NoStyle Subsubsection NoStyle Subsubsection* NoStyle Paragraph NoStyle Paragraph* NoStyle Subparagraph NoStyle Subparagraph* # FIXME: this should step the figure counter Counter Name marginfigure End # FIXME: this should step the table counter Counter Name margintable End # This defines the full width figure environment. # I honestly don't know what I'm doing, so I hope someone # better with LyX than I am can fix it! Float Type figure* GuiName Figure* Placement tbp Extension lot NumberWithin none Style plain ListName "List of Figures" LaTeXBuiltin true End Float Type margintable GuiName MarginTable Placement tbp Extension lot NumberWithin none Style plain ListName "List of Tables" LaTeXBuiltin true End Float Type marginfigure GuiName MarginFigure Placement tbp Extension lof NumberWithin none Style plain ListName "List of Figures" LaTeXBuiltin true End CharStyle NewThought LatexType Command LatexName newthought LabelFont Family Roman Color red EndFont End CharStyle AllCaps LatexType Command LatexName allcaps LabelFont Family Roman Color blue EndFont End CharStyle SmallCaps LatexType Command LatexName smallcaps Font Shape Smallcaps EndFont LabelFont Family Roman Color green EndFont End