ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Buffers (gone) in MK IV (was: MK IV & Lilypond)
@ 2007-08-21 11:24 Mojca Miklavec
  2007-08-21 11:51 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Mojca Miklavec @ 2007-08-21 11:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

On 8/21/07, David Wooten wrote:
> Greetings all,
>
> Has anyone had any luck getting the lilypond module to work with mkiv/
> luatex engine? It fails for me (works fine with mkii/pdftex). I can
> send along some log info if others have found it to work.

Hans has mentioned several times that buffers are not going to be
written to files with luaTeX any more. This has a weird consequence on
many modules which relied exactly on that trick.

Short example of what goes wrong:

\starttext

\startbuffer[a]
Hello world!
\stopbuffer
\typebuffer[a]

%\executesystemcommand{dosomethingwith \jobname-a.tmp}
\stoptext

The problem is that MK II created a file \jobname-a.tmp and lilypond
module processed exactly that file further. In MK IV, that file is not
created any more (you can check that by running the above example with
--lua first and then with pdfTeX again. Only in the second case a file
[whateverthefilename]-a.tmp is created.)

Lilypond module relied on that "feature" (I would rather call it
dirty-but-very-useful-trick).

Hans, what's the current general recipe for this kind of [mis]use of buffers?

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

end of thread, other threads:[~2007-08-26  8:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-21 11:24 Buffers (gone) in MK IV (was: MK IV & Lilypond) Mojca Miklavec
2007-08-21 11:51 ` Hans Hagen
2007-08-21 22:53   ` Mojca Miklavec
2007-08-22  8:05     ` Buffers (gone) in MK IV Hans Hagen
2007-08-25 18:49     ` Buffers (gone) in MK IV (was: MK IV & Lilypond) David Wooten
2007-08-26  8:35       ` Mojca Miklavec

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).