Re: Lilypond-Book and Xetex error
On 08/02/2013 8:36 PM, Kale Good wrote: I spoke a moment too soon, and possibly misdiagnosed from the get-go. With default fonts, it works. As soon as I try non-default fonts, it reverts to the incorrect output. Here's my converter command: lilypond-book --verbose --pdf --latex-program=xelatex --lily-output-dir=ly-pdf -I $$r $$i Oddly, it also takes much longer to compile the document. Hi, Again, works here. Can you please attach the file that fails for you? Does the issue resolve itself if you save the file, close it and reopen it? I am thinking that maybe something, that prevents compilation, is left out in the temporary build directory when you switch font. Thanks, Cheers, Julien xetex.lyx Description: application/lyx xetex.pdf Description: Adobe PDF document
Re: Problems with Windows installation [solved]
In a different group, was informed that CTAN deprecated amsmath and replaced with two packages. Probably this is the cause to the lack of compilation. MikTeX was actualizing a change that was not anounced to the user.
Re: Lilypond-Book and Xetex error
I spoke a moment too soon, and possibly misdiagnosed from the get-go. With default fonts, it works. As soon as I try non-default fonts, it reverts to the incorrect output. Here's my converter command: lilypond-book --verbose --pdf --latex-program=xelatex --lily-output-dir=ly-pdf -I $$r $$i Oddly, it also takes much longer to compile the document. On Fri, Feb 8, 2013 at 8:14 PM, Kale Good wrote: > That was it, thanks. I had edited it (in a completely uninformed way) > trying to solve the fretboard diagram issue, but failed. I updated from > 2.14 to 2.16, and no longer have the fretboard diagram issue. > > > On Fri, Feb 8, 2013 at 6:57 PM, Julien Rioux wrote: > >> On 08/02/2013 12:17 PM, Kale Good wrote: >> >>> Hello, >>> To work around known issues with Lilypond-book, I tried installing the >>> most >>> recent Lilypond (2.16.2). It solved one problem but created another. When >>> processing in Xetex, there is a line-break following each measure. There >>> is >>> no problem when the file is processed with pdflatex. >>> >>> I'm getting these errors in the messages when processing: >>> >>> 11:43:38.493: lilypond-book: warning: Unable to auto-detect default >>> settings: >>> 11:43:38.495: xetex: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >>> version >>> information available (required by xetex) >>> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by xetex) >>> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by xetex) >>> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by xetex) >>> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by xetex) >>> 11:43:38.498: xetex: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >>> version >>> information available (required by >>> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >>> 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by >>> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >>> 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by >>> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >>> 11:43:38.503: xdvipdfmx: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >>> version information available (required by xdvipdfmx) >>> >>> It seemed that lyx wouldn't pick up the install if lilypond wasn't in >>> /usr/bin, and I couldn't figure out how to get lilypond to install into >>> /usr/bin/ (that is, without creating a subdirectory /lilypond), so I >>> copied >>> the lilypond-book into /usr/bin. >>> >>> Here is a minimum (I think) .lyx file: >>> >>> [...] >>> >>> Thanks, >>> Kale >>> >>> >>> >> Your file compiles fine here using xelatex and the pdf has only one staff >> line, i.e. no line break. Did you modify or perhaps define the converter >> yourself? I have this for converter from "LilyPond book (LaTeX)" to "PDF >> (XeTeX)": >> >> python "C:\Program Files (x86)\LilyPond\usr\bin\**lilypond-book.py" >> --verbose --pdf --latex-program=xelatex --lily-output-dir=ly-pdf -I $$r $$i >> >> I'm using a slightly older version of lilypond, 2.15.40, on Win7, so it's >> possible that something has changed between versions or that the behavior >> is different between OSes. >> >> Cheers, >> Julien >> > > > > -- > *Kale Good: Guitar Instructor* > website: phillyguitarlessons.com > email: k...@kalegood.com > phone: (215)260-5383 > address: 1867 Frankford Ave. > Philadelphia, PA 19125 > Read my article "*The Seven Secrets to Six String Success*" at > GuitarNoise.com: > http://www.guitarnoise.com/lesson/seven-secrets-to-six-string-success/ > *Leading the Journey from No-Skills-Guitarist to Talented Musician*! > -- *Kale Good: Guitar Instructor* website: phillyguitarlessons.com email: k...@kalegood.com phone: (215)260-5383 address: 1867 Frankford Ave. Philadelphia, PA 19125 Read my article "*The Seven Secrets to Six String Success*" at GuitarNoise.com: http://www.guitarnoise.com/lesson/seven-secrets-to-six-string-success/ *Leading the Journey from No-Skills-Guitarist to Talented Musician*!
Re: Lilypond-Book and Xetex error
That was it, thanks. I had edited it (in a completely uninformed way) trying to solve the fretboard diagram issue, but failed. I updated from 2.14 to 2.16, and no longer have the fretboard diagram issue. On Fri, Feb 8, 2013 at 6:57 PM, Julien Rioux wrote: > On 08/02/2013 12:17 PM, Kale Good wrote: > >> Hello, >> To work around known issues with Lilypond-book, I tried installing the >> most >> recent Lilypond (2.16.2). It solved one problem but created another. When >> processing in Xetex, there is a line-break following each measure. There >> is >> no problem when the file is processed with pdflatex. >> >> I'm getting these errors in the messages when processing: >> >> 11:43:38.493: lilypond-book: warning: Unable to auto-detect default >> settings: >> 11:43:38.495: xetex: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >> version >> information available (required by xetex) >> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by xetex) >> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by xetex) >> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by xetex) >> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by xetex) >> 11:43:38.498: xetex: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >> version >> information available (required by >> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >> 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by >> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >> 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by >> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >> 11:43:38.503: xdvipdfmx: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >> version information available (required by xdvipdfmx) >> >> It seemed that lyx wouldn't pick up the install if lilypond wasn't in >> /usr/bin, and I couldn't figure out how to get lilypond to install into >> /usr/bin/ (that is, without creating a subdirectory /lilypond), so I >> copied >> the lilypond-book into /usr/bin. >> >> Here is a minimum (I think) .lyx file: >> >> [...] >> >> Thanks, >> Kale >> >> >> > Your file compiles fine here using xelatex and the pdf has only one staff > line, i.e. no line break. Did you modify or perhaps define the converter > yourself? I have this for converter from "LilyPond book (LaTeX)" to "PDF > (XeTeX)": > > python "C:\Program Files (x86)\LilyPond\usr\bin\**lilypond-book.py" > --verbose --pdf --latex-program=xelatex --lily-output-dir=ly-pdf -I $$r $$i > > I'm using a slightly older version of lilypond, 2.15.40, on Win7, so it's > possible that something has changed between versions or that the behavior > is different between OSes. > > Cheers, > Julien > -- *Kale Good: Guitar Instructor* website: phillyguitarlessons.com email: k...@kalegood.com phone: (215)260-5383 address: 1867 Frankford Ave. Philadelphia, PA 19125 Read my article "*The Seven Secrets to Six String Success*" at GuitarNoise.com: http://www.guitarnoise.com/lesson/seven-secrets-to-six-string-success/ *Leading the Journey from No-Skills-Guitarist to Talented Musician*!
Re: Lilypond-Book and Xetex error
On 08/02/2013 12:17 PM, Kale Good wrote: Hello, To work around known issues with Lilypond-book, I tried installing the most recent Lilypond (2.16.2). It solved one problem but created another. When processing in Xetex, there is a line-break following each measure. There is no problem when the file is processed with pdflatex. I'm getting these errors in the messages when processing: 11:43:38.493: lilypond-book: warning: Unable to auto-detect default settings: 11:43:38.495: xetex: /home/kale/lilypond/usr/lib/libpng12.so.0: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.498: xetex: /home/kale/lilypond/usr/lib/libpng12.so.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 11:43:38.503: xdvipdfmx: /home/kale/lilypond/usr/lib/libpng12.so.0: no version information available (required by xdvipdfmx) It seemed that lyx wouldn't pick up the install if lilypond wasn't in /usr/bin, and I couldn't figure out how to get lilypond to install into /usr/bin/ (that is, without creating a subdirectory /lilypond), so I copied the lilypond-book into /usr/bin. Here is a minimum (I think) .lyx file: [...] Thanks, Kale Your file compiles fine here using xelatex and the pdf has only one staff line, i.e. no line break. Did you modify or perhaps define the converter yourself? I have this for converter from "LilyPond book (LaTeX)" to "PDF (XeTeX)": python "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py" --verbose --pdf --latex-program=xelatex --lily-output-dir=ly-pdf -I $$r $$i I'm using a slightly older version of lilypond, 2.15.40, on Win7, so it's possible that something has changed between versions or that the behavior is different between OSes. Cheers, Julien
Re: using RevTex 4.1 for journal formatting
Thanks so much Stefano. That worked! -chris On Fri, Feb 8, 2013 at 1:19 PM, stefano franchi wrote: > > > > On Fri, Feb 8, 2013 at 2:50 PM, Chris Goldenstein > wrote: > >> *\documentclass[osajnl,preprint,showpacs]{revtex4} %%REVTeX 4.0* >> >> *or* >> >> *\documentclass[12pt]{article} %%LaTeX 2e* >> >> *\usepackage{osajnl}* >> >> The problem is I have no idea where to put these lines of code. Can >> someone please help? >> >> >> > You have two choices: > > 1. go to Document>>settings>>Document Class and choose article(revtex4) > from the drop down menu. Then, just below, where it says "Class Options" > and in the empty field next to "Custom", type the > options:osajnl,preprint,showpacs* > > *2.* *go to Document>>settings>>Document Class and choose article (*not* > article(revtex4). Then, just below, where it says "Class Options" and in > the empty field next to "Custom", type "12pt"(without the quotes). > Finally, select "LaTeX preamble" from the list on your left and > type \usepackage{osajnl} in the big blank field at the right. > > > The two alternatives correspond to the two options you were given. You can > check out if everything worked as planned by selecting View>>View Source > and selecting "Preamble only" on the drop down menu on your right. You > should see exactly what the instructions say. > > Cheers, > > Stefano > > -- > Christopher S. Goldenstein > Graduate Research Assistant > Stanford University > High Temperature Gasdynamics Laboratory > > > > > Long live the tree!!! > > -- > __ > Stefano Franchi > Associate Research Professor > Department of Hispanic StudiesPh: +1 (979) 845-2125 > Texas A&M University Fax: +1 (979) 845-6421 > College Station, Texas, USA > > stef...@tamu.edu > http://stefano.cleinias.org > -- Christopher S. Goldenstein Graduate Research Assistant Stanford University High Temperature Gasdynamics Laboratory Bldg. 570, Room 570B
Re: using RevTex 4.1 for journal formatting
On Fri, Feb 8, 2013 at 2:50 PM, Chris Goldenstein wrote: > *\documentclass[osajnl,preprint,showpacs]{revtex4} %%REVTeX 4.0* > > *or* > > *\documentclass[12pt]{article} %%LaTeX 2e* > > *\usepackage{osajnl}* > > The problem is I have no idea where to put these lines of code. Can > someone please help? > > > You have two choices: 1. go to Document>>settings>>Document Class and choose article(revtex4) from the drop down menu. Then, just below, where it says "Class Options" and in the empty field next to "Custom", type the options:osajnl,preprint,showpacs* *2.* *go to Document>>settings>>Document Class and choose article (*not* article(revtex4). Then, just below, where it says "Class Options" and in the empty field next to "Custom", type "12pt"(without the quotes). Finally, select "LaTeX preamble" from the list on your left and type \usepackage{osajnl} in the big blank field at the right. The two alternatives correspond to the two options you were given. You can check out if everything worked as planned by selecting View>>View Source and selecting "Preamble only" on the drop down menu on your right. You should see exactly what the instructions say. Cheers, Stefano -- Christopher S. Goldenstein Graduate Research Assistant Stanford University High Temperature Gasdynamics Laboratory Long live the tree!!! -- __ Stefano Franchi Associate Research Professor Department of Hispanic StudiesPh: +1 (979) 845-2125 Texas A&M University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: Figure numbers & change tracking
On Fri, Feb 8, 2013 at 11:48 AM, EK wrote: > OK-- further research uncovered the culprit for the first issue (the need to > accept any change made before I could compile). > In my preamble I had the following: > > \usepackage{enumitem} > > \setlist{leftmargin=0mm, itemindent=3mm, itemsep=0.75mm,nolistsep} > > \usepackage[pdftex,outerbars]{changebar} > > \renewcommand{\lyxadded}[3]{{\cbstart\color{lyxadded}{}#3\cbend}} > > \renewcommand{\lyxdeleted}[3]{{\cbstart\color{lyxdeleted}\sout{#3}\cbend}} > > > Commenting these lines out solved the problem. I have not yet discovered > the reason for the failure to correctly reference a wrap figure in a box. Thanks for keeping us updated. Hopefully we can figure out the second issue Best, Scott
Lilypond-Book and Xetex error
Hello, To work around known issues with Lilypond-book, I tried installing the most recent Lilypond (2.16.2). It solved one problem but created another. When processing in Xetex, there is a line-break following each measure. There is no problem when the file is processed with pdflatex. I'm getting these errors in the messages when processing: 11:43:38.493: lilypond-book: warning: Unable to auto-detect default settings: 11:43:38.495: xetex: /home/kale/lilypond/usr/lib/libpng12.so.0: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.498: xetex: /home/kale/lilypond/usr/lib/libpng12.so.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 11:43:38.503: xdvipdfmx: /home/kale/lilypond/usr/lib/libpng12.so.0: no version information available (required by xdvipdfmx) It seemed that lyx wouldn't pick up the install if lilypond wasn't in /usr/bin, and I couldn't figure out how to get lilypond to install into /usr/bin/ (that is, without creating a subdirectory /lilypond), so I copied the lilypond-book into /usr/bin. Here is a minimum (I think) .lyx file: #LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass paper \begin_preamble \end_preamble \use_default_options true \begin_modules lilypond \end_modules \maintain_unincluded_children false \language english \language_package default \inputencoding utf8x \fontencoding global \font_roman default \font_sans default \font_typewriter default \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format pdf4 \output_sync 0 \bibtex_command default \index_command default \paperfontsize 12 \spacing single \use_hyperref false \papersize letterpaper \use_geometry false \use_amsmath 1 \use_esint 1 \use_mhchem 1 \use_mathdots 1 \cite_engine basic \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date true \use_refstyle 1 \index Index \shortcut idx \color #008000 \end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Standard \begin_inset Flex LilyPond status open \begin_layout Plain Layout \end_layout \begin_layout Plain Layout { c c c c c } \end_layout \begin_layout Plain Layout \end_layout \end_inset \end_layout \end_body \end_document Thanks, Kale -- *Kale Good: Guitar Instructor* website: phillyguitarlessons.com email: k...@kalegood.com phone: (215)260-5383 address: 1867 Frankford Ave. Philadelphia, PA 19125 Read my article "*The Seven Secrets to Six String Success*" at GuitarNoise.com: http://www.guitarnoise.com/lesson/seven-secrets-to-six-string-success/ *Leading the Journey from No-Skills-Guitarist to Talented Musician*!
Re: Figure numbers & change tracking
OK-- further research uncovered the culprit for the first issue (the need to accept any change made before I could compile). In my preamble I had the following: \usepackage{enumitem} \setlist{leftmargin=0mm, itemindent=3mm, itemsep=0.75mm,nolistsep} \usepackage[pdftex,outerbars]{changebar} \renewcommand{\lyxadded}[3]{{\cbstart\color{lyxadded}{}#3\cbend}} \renewcommand{\lyxdeleted}[3]{{\cbstart\color{lyxdeleted}\sout{#3}\cbend}} Commenting these lines out solved the problem. I have not yet discovered the reason for the failure to correctly reference a wrap figure in a box. Ehud Kaplan On 02/07/2013 01:03 AM, Scott Kostyshak wrote: On Tue, Feb 5, 2013 at 8:46 AM, EK wrote: Here is a SmallWorkingExample, which illustrates both issues. Here the reference to the figure appears as Figure (no number). Ehud Kaplan Hi Ehud, Thank you for your example file. However, it is not a working example file for the following reasons: 1. It does not compile. 2. You did not include your bibtex file. If it's not necessary to reproduce the problem, then consider not making it a dependency by including references in your MWE .lyx file. 3. Even if you did include your bibtex file, the path to it is specific to your computer. 4. You did not include the file p-trode-w-dimensions. Further, because this file has no name, I have no idea what time of graphic it is. And thus I have no idea what converter is being called. 5. The path to the picture is not relative. An MWE (or a SWE) should be compilable out of the box. You probably didn't send the picture because you didn't want to increase the size of everyone's inboxes and I appreciate that. But it's very nice to have an MWE. I wish we had a way where you could upload your files somewhere and then link to them because not everyone has access to such a service themselves. Also, you could have used a 1kb picture, or no picture at all, to show the problem. Regarding your potential bug number 1, I think I see what you are talking about. Here is the PDF that is produced for me on the development version of LyX: https://www.dropbox.com/s/e5rpv153nue0lg0/MWE.pdf There is no number at all in the reference to the figure. It should be figure 1 and yet nothing shows up. Regarding point 2, I didn't try to reproduce this as I have no idea what converter is being called and I'm not sure if by "any change to the figure" you mean a change to the file itself, a change to the properties of the figure, a change to the caption, or maybe all of the above. Please specify just one action in the steps you give to reproduce the behavior you found. You can then note that any of several actions could also be used for that step. I hope I'm not coming across as upset. I'm not at all. I think that it takes time to learn how to write a good MWE. I also think that we are missing documentation on how to make an MWE specifically in the context of LyX. A search for "MWE" at wiki.lyx.org gives nothing. This is something I would like to work on documenting. Let me know if you have any suggestions for me. My guess is that these are LyX bugs. If you are able and willing to make MWE(s) (either one that shows both problems, or two separate ones), it would be great if you could open separate bug reports on www.lyx.org/trac. Please attach any relevant files to each bug report. Best, Scott -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029