ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Context and Lilypond on Miketex with TeXnicCenter
@ 2007-11-14  7:48 u-wrede
  2007-11-14 18:51 ` Mojca Miklavec
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: u-wrede @ 2007-11-14  7:48 UTC (permalink / raw)
  To: ntg-context

Hallo
I use MikeTex TeXnicCenter for writing Context with Lilypond.

When I try this:

\usemodule[lilypond]

\starttext
There are some notes \lilypond{\relative{bes a c b}} embedded in this line.
\stoptext

then I get this:

This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5) (preloaded format=cont-en 2007.11.11)  14 NOV 2007 08:28
entering extended mode
**C:/LaTeX1.tex \emergencyend
(C:\LaTeX1.tex

ConTeXt  ver: 2007.09.28 16:52 MKII  fmt: 2007.11.11  int: english/english

language        : language en is active
system          : cont-new loaded
("C:\Programme\MiKTeX 2.5\tex\context\base\cont-new.tex"
systems         : beware: some patches loaded from cont-new.tex
("C:\Programme\MiKTeX 2.5\tex\context\base\cont-new.mkii")
("C:\Programme\MiKTeX 2.5\tex\context\base\cont-mtx.tex"))
system          : cont-old loaded
("C:\Programme\MiKTeX 2.5\tex\context\base\cont-old.tex"
loading         : Context Old Macros
)
system          : cont-fil loaded
("C:\Programme\MiKTeX 2.5\tex\context\base\cont-fil.tex"
loading         : Context File Synonyms
)
system          : cont-sys.rme loaded
("C:\Programme\MiKTeX 2.5\tex\context\user\cont-sys.rme"
("C:\Programme\MiKTeX 2.5\tex\context\base\type-tmf.tex")
("C:\Programme\MiKTeX 2.5\tex\context\base\type-siz.tex")
("C:\Programme\MiKTeX 2.5\tex\context\base\type-one.tex")
("C:\Programme\MiKTeX 2.5\tex\context\base\type-akb.tex"))
bodyfont        : 12pt rm is loaded
language        : patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex
nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3
 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi
:texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec-
>13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec
->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded
specials        : tex,postscript,rokicki loaded
system          : LaTeX1.top loaded
(C:\LaTeX1.top
specials        : loading definition file tpd
("C:\Programme\MiKTeX 2.5\tex\context\base\spec-tpd.tex"
specials        : loading definition file fdf
("C:\Programme\MiKTeX 2.5\tex\context\base\spec-fdf.tex"
("C:\Programme\MiKTeX 2.5\tex\context\base\spec-fdf.mkii"))
specials        : fdf loaded
)
specials        : fdf,tpd loaded
)
systems         : system commands are disabled
system          : module lilypond loaded
("C:\Programme\MiKTeX 2.5\tex\context\lilypond\t-lilypond.tex"
loading         : LilyPond module
) (C:\LaTeX1.tuo) (C:\LaTeX1.tuo) (C:\LaTeX1.tuo) (C:\LaTeX1.tuo)
(C:\LaTeX1.tuo) (C:\LaTeX1.tuo) (C:\LaTeX1.tuo) (C:\LaTeX1.tuo) (C:\LaTeX1.tuo)
(C:\LaTeX1.tuo) ("C:\Programme\MiKTeX 2.5\tex\context\base\sort-lan.tex"
loading         : Context Sorting Macros (languages)
("C:\Programme\MiKTeX 2.5\tex\context\base\sort-lan.mkii")) (C:\LaTeX1.tuo)
(C:\LaTeX1.tuo)
systems         : begin file LaTeX1 at line 3
! Bad number (18).
\dodostartlilypond ...lily!figures ]\fi \ifeof 18 
                                                  \expanded {\installprogram...
l.4 ... some notes \lilypond{\relative{bes a c b}}
                                                   embedded in this line.
? 

I would be nice, to get some help

Thank You
Ulrich

--
This message was sent on behalf of u-wrede@t-online.de at openSubscriber.com
http://www.opensubscriber.com/messages/ntg-context@ntg.nl/topic.html
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Context and Lilypond on Miketex with TeXnicCenter
  2007-11-14  7:48 Context and Lilypond on Miketex with TeXnicCenter u-wrede
@ 2007-11-14 18:51 ` Mojca Miklavec
       [not found]   ` <002a01c82a76$b68e3660$2002a8c0@ulrichng56x0gw>
  2007-11-14 20:57 ` Henning Hraban Ramm
  2007-11-19 17:28 ` u-wrede
  2 siblings, 1 reply; 6+ messages in thread
From: Mojca Miklavec @ 2007-11-14 18:51 UTC (permalink / raw)
  To: u-wrede, mailing list for ConTeXt users; +Cc: Patrick Gundlach

On 11/14/07, u-wrede@t-online.de wrote:
> Hallo
> I use MikeTex TeXnicCenter for writing Context with Lilypond.
>
> When I try this:
>
> \usemodule[lilypond]
>
> \starttext
> There are some notes \lilypond{\relative{bes a c b}} embedded in this line.
> \stoptext
>
> then I get this:
...

I don't have MikTeX here, but this looks silghtly suspicios to me:

http://www.ctan.org/tex-archive/systems/win32/miktex/tm/packages/
context-lilypond.cab	2005-12-30

as well as:
http://www.ctan.org/tex-archive/macros/context/contrib/t-lilypond/

For Ulrich: does it work if you replace
    C:\Programme\MiKTeX 2.5\tex\context\lilypond\t-lilypond.tex
with
    http://dl.contextgarden.net/modules/t-lilypond/tex/context/third/t-lilypond.tex
?

(I had some minor problems with that, like non-optimal formatting, but
at least it compiled OK.)

Independent of that I need to ask the CTAN people about details
(automatic updating of modules etc.).

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Context and Lilypond on Miketex with TeXnicCenter
  2007-11-14  7:48 Context and Lilypond on Miketex with TeXnicCenter u-wrede
  2007-11-14 18:51 ` Mojca Miklavec
@ 2007-11-14 20:57 ` Henning Hraban Ramm
  2007-11-15  1:31   ` Aditya Mahajan
  2007-11-19 17:28 ` u-wrede
  2 siblings, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm @ 2007-11-14 20:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2007-11-14 um 08:48 schrieb u-wrede@t-online.de:

> I use MikeTex TeXnicCenter for writing Context with Lilypond.

I don't know if t-lilypond will work on Windows at all.
You need:
- a rather recent version of ConTeXt (yours seems ok)
- a rather recent version of pdfTeX (dito)
- latest version of t-lilypond (from contextgarden)
- LilyPond 2.10.x (previous or 2.11 versions don't work at the moment!)

Try a \startlilypond ... \stoplilypond block instead of inline  
\lilypond{} - the latter is never tested and won't probably work at all.

Try if you can call lilypond and pstopdf on the commandline.

I don't understand why you name your file LaTeX, but that shouldn't  
cause any error.
I'd never put any files in C-root, either (depending on your Windows  
version, TeX might be prohibited to write there).



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Context and Lilypond on Miketex with TeXnicCenter
  2007-11-14 20:57 ` Henning Hraban Ramm
@ 2007-11-15  1:31   ` Aditya Mahajan
  0 siblings, 0 replies; 6+ messages in thread
From: Aditya Mahajan @ 2007-11-15  1:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 14 Nov 2007, Henning Hraban Ramm wrote:

> Am 2007-11-14 um 08:48 schrieb u-wrede@t-online.de:
>
>> I use MikeTex TeXnicCenter for writing Context with Lilypond.
>
> I don't know if t-lilypond will work on Windows at all.

I remember testing t-lilypond on Windows and it worked properly (that is 
I got some output from the examples in the source. I don't know music 
notation, so I do not know if the result was correct) as long as you have 
lilypond and ghostscript in PATH

Aditya (who has happly moved to linux)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Context and Lilypond on Miketex with TeXnicCenter
       [not found]   ` <002a01c82a76$b68e3660$2002a8c0@ulrichng56x0gw>
@ 2007-11-19 11:01     ` Mojca Miklavec
  0 siblings, 0 replies; 6+ messages in thread
From: Mojca Miklavec @ 2007-11-19 11:01 UTC (permalink / raw)
  To: Ulrich Wrede; +Cc: mailing list for ConTeXt users

On 11/19/07, Ulrich Wrede wrote:
> I use file=t-lilypond      version=2007.09.02. I think this is the
> latest one.
>
> From the log file:
> ------------------------------------------------------------
> system          : module lilypond loaded
> ("C:\Programme\MiKTeX 2.5\tex\context\lilypond\t-lilypond.tex"
> loading         : LilyPond module
> -----------------------------------------------------------
> LilyPond is found and loaded I think.
> But this error message is still there
> ------------------------------------------------------------
> ! Bad number (18).
> \dodostartlilypond ...lily!figures ]\fi \ifeof 18
>                                                   \expanded
> {\installprogram...
> l.32 \stoplilypond
> ------------------------------------------------------------
>
> Perhaps it has something to do with \write 18

Yes, it indeed seems so.

> This comment is written in t-lypond.tex
>
> %D If \type{\ifeof18} creates an error for you, your pdfetex is too old.
> %D just change it to \iftrue then.  (\type{\ifeof18} checks whether
> \type{\write18}
> %D is disabled.)
> %D
> The last changes of my pdfetex  16. November 2007, 11:02:39

pdfeTeX has been replaced by pdfTeX (pdfeTeX is only a symlink). It's
not the file date which matters, but the version (pdfTeX --version).
Wiki claims that some things have changed in pdfTeX 1.30, and MikTeX
site claims that MikTeX 2.5 uses 1.30.6, so theoretically it should
work, but who knows.

Also:
"The availability of MiKTeX 2.5 ends some time in the not so distant
future: as of a fixed date it will not be possible to install packages
from the remote package repository."

> If I right, metapost is using the same mechanism as lilypond.

Metapost/metafun uses some workarounds (i.e.: metapost works even when
write18 is disabled). There are multiple ways to check if write18 is
disabled (some functionality to check that has only beed added
recently to pdfTeX, so it's quite possible that you have an old
pdfTeX, or, it's quite possible that MikTeX behaves slightly
differently - http://www.ctan.org/tex-archive/macros/latex/contrib/gnuplottex/
has some \ifmiktex switches in the source code, although I'm not sure
if they make any sense apart from checking if one should use "touch"
or "echo" to write into file).

So I would suggest you to try two things:
- try to follow the instructions to enable write18:
    http://wiki.contextgarden.net/Windows_Installation#write18
    http://wiki.contextgarden.net/write18
- try to do what the file says: change all occurencies of \ifeof18 to
\iftrue (or \iffalse - depending on whether write18 is enabled or
not), since it might be that your pdfTeX doesn't support the current
syntax, or it might be that something else weird is happening.

I have no MikTeX here at the moment, so I cannot try, but on a
completely unrelated subject: I remember that while I was stil trying
to enable that module on windows (at the time when it came to
existance), lilypond didn't run properly unless called with full path
(i.e.: one had to call C:\programs\lilypond\bin\lilypond.exe, since
calling only "lilypond" didn't work). Lilypond developers said that
they didn't know how to fix that, but I hope that it has been resolved
in the meantime.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Context and Lilypond on Miketex with TeXnicCenter
  2007-11-14  7:48 Context and Lilypond on Miketex with TeXnicCenter u-wrede
  2007-11-14 18:51 ` Mojca Miklavec
  2007-11-14 20:57 ` Henning Hraban Ramm
@ 2007-11-19 17:28 ` u-wrede
  2 siblings, 0 replies; 6+ messages in thread
From: u-wrede @ 2007-11-19 17:28 UTC (permalink / raw)
  To: ntg-context

Hallo

I have updatet my system to Miketex 2.6 The compilation with lilyponds works without error-message.

Now there is another problem.

I can't compile on
C:\Dokumente und Einstellungen\Ulrich Wrede\Eigene Dateien
The path is splitting in

processing dokument 'Dokumente'

processing dokument 'und'

an so on.

If i compile on C:\ root everything works but the outpput is on 
C:\Dokumente und Einstellungen\Ulrich Wrede\Eigene Dateien.
So at least the pdf document is not created.

There is:

LaTeX2-lilypond-1-1.eps
LaTeX2-lilypond-1-1.pdf

with the notes.

but no LateX2.pdf with the notes.

Ulrich








--
This message was sent on behalf of u-wrede@t-online.de at openSubscriber.com
http://www.opensubscriber.com/message/ntg-context@ntg.nl/7987328.html
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-19 17:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-14  7:48 Context and Lilypond on Miketex with TeXnicCenter u-wrede
2007-11-14 18:51 ` Mojca Miklavec
     [not found]   ` <002a01c82a76$b68e3660$2002a8c0@ulrichng56x0gw>
2007-11-19 11:01     ` Mojca Miklavec
2007-11-14 20:57 ` Henning Hraban Ramm
2007-11-15  1:31   ` Aditya Mahajan
2007-11-19 17:28 ` u-wrede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).