lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more battles with hebrew and liliy


From: Mats Bengtsson
Subject: Re: more battles with hebrew and liliy
Date: Thu, 26 Jun 2003 15:47:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

The declarations in these files are normally used by ly2dvi to
typeset the title based on information from the \header{...}
field in your .ly file.
Since the wrapper file is an ordinary LaTeX file, you could just
as well skip them and typeset the titling using whatever LaTeX
commands you wish.

    /Mats


Aaron wrote:
Well,
It turns out that Doug Asherman already fixed the mywrapper,
But now that I look I have a question, the lines\input{lilyponddefs.tex}
\input{titledefs.tex}

What exactly do they do??
The reason I ask is in the examples I have made for hebrew, there
appears a jibberish hebrew title, but myscore has no title. Is there a
dummy title generated with this???

If so I need to hack it to be in hebrew, or in the meantime turn it off
or have a way to switch them back and forth within the wrapper file.
Thanks
Aaron On Thu, 2003-06-26 at 13:56, Mats Bengtsson wrote:

Change the wrapper file into

----------------------
\documentclass [a4paper] {article}
\usepackage[english,hebrew]{babel}
\usepackage{amsmath}
\usepackage[dvips]{graphicx}

\input{lilyponddefs.tex}
\input{titledefs.tex}

\def\mustmakelilypondtitle{abcd}

\begin{document}

\lilypondfile{myscore.ly}

\end{document}
----------------------------

I may be guilty of the silly mistake, don't remember.


    /Mats

Aaron wrote:

Woops my mistake again I hit reply instead of sending to the list.

I included mywrapper, myscore and the other generated files.
Thanks
Aaron
On Tue, 2003-06-24 at 00:34, Mats Bengtsson wrote:


I'm reading email very irregularly this week, please send your
reply to the mailing list and include a copy of your wrapper file.

 /Mats


Aaron wrote:



HI Mats

Yes I did and here is the output:
--------------- snip-------------------
This is e-TeX, Version 3.14159-2.1 (Web2C 7.3.1)
entering extended mode
(mywrapper.latex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german,
ngerman, i
talian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/generic/babel/babel.sty
(/usr/share/texmf/tex/generic/babel/english.ldf
(/usr/share/texmf/tex/generic/babel/babel.def))
(/usr/share/texmf/tex/generic/0ivritex/rlbabel.def)
(/usr/share/texmf/tex/generic/0ivritex/hebrew.ldf

Package babel Warning: No hyphenation patterns were loaded for
(babel)                the language `Hebrew'
(babel)                I will use the patterns loaded for \language=0
instead.

)) (/usr/share/texmf/tex/generic/0ivritex/lheenc.def)
(/usr/share/texmf/tex/latex/base/inputenc.sty
(/usr/share/texmf/tex/generic/0ivritex/8859-8.def))
(/usr/share/texmf/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf/tex/latex/amsmath/amstext.sty
(/usr/share/texmf/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf/tex/latex/graphics/dvips.def))) (mywrapper.aux)
(/usr/share/texmf/tex/generic/0ivritex/lhecmr.fd)
(/usr/share/lilypond/1.6.10/tex/titledefs.tex
(/usr/share/lilypond/1.6.10/tex/feta20.tex))

! LaTeX Error: Can be used only in preamble.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...

l.15 \begin{document}

?
-------------------------- snip ---------------------
Any idea???
I didn't as I said specify fonts or spacing....

Thanks
Aaron

On Tue, 2003-06-24 at 00:15, Mats Bengtsson wrote:




Did you try
elatex mywrapper.latex
afterwards?

/Mats


Aaron wrote:



Hi again,
I am back for more fun.

I got lilypond-book to use elatex.
I ran lilypond-book on mywrapper
It generated a latex file (Mats wrote it would generate a tex file)
I ran elatex on the file and got this:

---------------- clip --------------
address@hidden aamehl]# lilypond-book mywrapper.lytex
lilypond-book (GNU LilyPond) 1.6.10
Reading `/home/aamehl/mywrapper.lytex'
Reading `/home/aamehl/myscore.ly'
Running Latex for finding dimensions...
invoking `elatex '\nonstopmode \input lily-tmp.tex' 1> /dev/null 2>
/dev/null'
invoking `lilypond --header=texidoc -I /home/aamehl lily-1658049550.ly'
GNU LilyPond 1.6.10
Now processing: `lily-1658049550.ly'
Parsing...
lily-1658049550.ly:31:6: warning: Identifier should have alphabetic
characters only:
Staff1
   = \notes \context Voice = $Staff1 {

lily-1658049550.ly:43:11: warning: Identifier should have alphabetic
characters only:
Staff1Staff
        = \context Staff = Staff1Staff <

Interpreting music...warning: lyrics found without any matching notehead
warning: lyrics found without any matching notehead
warning: lyrics found without any matching notehead
warning: lyrics found without any matching notehead
warning: lyrics found without any matching notehead
warning: lyrics found without any matching notehead
[8]warning: lyrics found without any matching notehead
warning: lyrics found without any matching notehead
warning: lyrics found without any matching notehead
[12]
Preprocessing elements...
Calculating column positions... programming error: No StaffSpacing
wishes found (Continuing; cross thumbs)
programming error: No StaffSpacing wishes found (Continuing; cross
thumbs)
programming error: No StaffSpacing wishes found (Continuing; cross
thumbs)
programming error: No StaffSpacing wishes found (Continuing; cross
thumbs)
programming error: No StaffSpacing wishes found (Continuing; cross
thumbs)
programming error: No StaffSpacing wishes found (Continuing; cross
thumbs)
programming error: No StaffSpacing wishes found (Continuing; cross
thumbs)
programming error: No StaffSpacing wishes found (Continuing; cross
thumbs)
programming error: No StaffSpacing wishes found (Continuing; cross
thumbs)
programming error: No StaffSpacing wishes found (Continuing; cross
thumbs)
programming error: No StaffSpacing wishes found (Continuing; cross
thumbs)
programming error: No StaffSpacing wishes found (Continuing; cross
thumbs)
[3][6][9]
paper output to `lily-1658049550.tex'...

Interpreting music...
MIDI output to `lily-1658049550.midi'...
Track ...
Writing `mywrapper.latex'

------------------------------ clip -----------------

I see a paper output to lily-1658049550.tex but don't know where it got
dumped.

Will this file even help me.

I also didn't specifiy fonts or spacing could this be the problem???
Thanks
Aaron
address@hidden aamehl]#



_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user








------------------------------------------------------------------------

\documentclass [a4paper] {article}
\usepackage[english,hebrew]{babel}
\usepackage{amsmath}
\usepackage[dvips]{graphicx}

\begin{document}
input{lilyponddefs.tex}
\input titledefs.tex

\def\mustmakelilypondtitle{abcd}

\begin{document}

\lilypondfile{myscore.ly}

\end{document}


------------------------------------------------------------------------

\documentclass [a4paper] {article}
\usepackage[english,hebrew]{babel}
\usepackage{amsmath}
\usepackage[dvips]{graphicx}

\usepackage{graphics}
\def\postLilypondExample{}
\def\preLilypondExample{}
\begin{document}
input{lilyponddefs.tex}
\input titledefs.tex

\def\mustmakelilypondtitle{abcd}

\begin{document}

{\preLilypondExample
\input lily-1658049550.tex
\postLilypondExample}


\end{document}


------------------------------------------------------------------------

% Mudela file generated by Denemo version 0.7.0

%http://www.gnu.org/software/denemo/denemo.html

blanknotes = {
\property Voice.NoteHead \override
        #'transparent = ##t
\property Voice.Stem \override
#'transparent = ##t }
unblanknotes = {\property Voice.NoteHead \revert #'transparent
\property Voice.Stem \revert #'transparent }
\header{
        title = "no 18"
        subtitle = "Menucha V'Simcha"
        composer = "Israel Shlita Vohlin"
}

\include "paper16.ly"
Staff1 = \notes \context Voice = $Staff1 {
        \property Staff.midiInstrument = "acoustic grand"
        \time 4/4
        \key d \minor
        \clef treble
        d'8. d''16 d''8. a'16 a'8 g'16 a' g'8. f'16 |
        f'8. g'16 f'8. g'16 f'2 \bar "|."
}
text = \context Lyrics \lyrics { men u cha v' sim - - cha ohr lai hu dim yom }

Staff1Staff = \context Staff = Staff1Staff <
        \Staff1


\score {
        <
                \Staff1Staff

                \text
        >
        \paper {
        }
        \midi {
                \tempo 4 = 60
        }
}


------------------------------------------------------------------------

This is e-TeX, Version 3.14159-2.1 (Web2C 7.3.1) (format=elatex 2003.2.18)  23 
JUN 2003 23:17
entering extended mode
**mywrapper.latex
(mywrapper.latex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, i
talian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf/tex/generic/babel/babel.sty
Package: babel 2001/03/01 v3.7h The Babel package

(/usr/share/texmf/tex/generic/babel/english.ldf
Language: english 2001/04/15 v3.3l English support from the babel system

(/usr/share/texmf/tex/generic/babel/babel.def
File: babel.def 2001/03/01 v3.7h Babel common definitions
address@hidden
address@hidden
)
address@hidden = a dialect from address@hidden )
(/usr/share/texmf/tex/generic/0ivritex/rlbabel.def
File: rlbabel.def 2003/06/05 v2.3g1 Right-to-Left support from the babel system
Hebrew language support from the babel system
)
(/usr/share/texmf/tex/generic/0ivritex/hebrew.ldf
File: hebrew.ldf 2003/06/05 v2.3g1 Hebrew language definition from the babel sy
stem Hebrew language support from the babel system


Package babel Warning: No hyphenation patterns were loaded for
(babel)                the language `Hebrew'
(babel)                I will use the patterns loaded for \language=0 instead.

address@hidden = a dialect from \language0
)) (/usr/share/texmf/tex/generic/0ivritex/lheenc.def
File: lheenc.def 1998/01/07 v1.1a 7-bit Hebrew font encoding (test version: sti
ll liable to change)
)
(/usr/share/texmf/tex/latex/base/inputenc.sty
Package: inputenc 2001/07/10 v0.99a Input encoding file
(/usr/share/texmf/tex/generic/0ivritex/8859-8.def
File: 8859-8.def 2001/07/22 v1.1a Hebrew input encoding file
))
(/usr/share/texmf/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
address@hidden

For additional information on amsmath, use the `?' option.
(/usr/share/texmf/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01

(/usr/share/texmf/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
address@hidden
address@hidden
))
(/usr/share/texmf/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
address@hidden
)
(/usr/share/texmf/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
address@hidden
LaTeX Info: Redefining \frac on input line 211.
address@hidden
address@hidden
LaTeX Info: Redefining \overline on input line 307.
address@hidden
address@hidden
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
address@hidden
address@hidden
address@hidden
LaTeX Font Info:    Redeclaring font encoding OML on input line 567.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 568.
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
\multlinegap=\skip44
\multlinetaggap=\skip45
address@hidden
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
address@hidden@=\toks19
)
(/usr/share/texmf/tex/latex/graphics/graphics.sty
Package: graphics 2001/07/


------------------------------------------------------------------------

_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user




--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]