Re: [NTG-context] Context and Lilypond on Miketex with TeXnicCenter

2007-11-19 Thread Mojca Miklavec
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
___


[NTG-context] help about the EXAMPLE framework

2007-11-19 Thread Fabrice Gaudier - CEA/DEN/SFME
Hello,

I'ld like using the tex client/server (called in the past exampler ) 
described in the wiki page http://wiki.contextgarden.net/Cont-exa.zip.

But the document http://www.pragma-ade.com/general/manuals/ex-gui.pdf
is not uptodate because  I don't find the exampler ruby script.
I find the script wwwserver, I miss a step to install this tool properly.

Have you an uptodate document  which explained how to install and use 
these application.

Best regards,

Fabrice gaudier

___
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
___


[NTG-context] Gentium Basic/Book

2007-11-19 Thread Joel C. Salomon
How difficult would it be to adapt the typescript for Gentium (at
http://wiki.contextgarden.net/TypeScripts) to use the new Gentium
Basic for headings  Gentium Book Basic for text weights (both have
Roman, Bold Roman, Italic,  Bold Italic) -- but with reverting to
Gentium for characters that aren't in the Basic fonts?

--Joel
___
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
___


Re: [NTG-context] Gentium Basic/Book

2007-11-19 Thread Joel C. Salomon
Guess I asked for too much at once.

I've downloaded the Gentium Basic/Basic Book set of fonts from
http://scripts.sil.org/Gentium_basic, and I'd like to use them with
ConTeXt.  I ran texfont (with the command line texfont
--fontroot=c:\users\chesky\programs\context\tex\texmf-local
--sourcepath=... --vendor=sil --collection=gentium --makepath
--install), and now running texexec on the newly generated
texnansi-sil-gentium.tex produces some sort of glyph list.

Now I'm trying to adapt the typescript from
http://wiki.contextgarden.net/TypeScripts for the new set of fonts.
(I intend to use only utf-8 input files, if that matters any.)  I'd
like to use Gentium Basic as the titling font and Gentium Book Basic
as the text font, with regular, italic, bold,  bold-italic all
available in the normal fashion.  But I find I don't know what I'm
doing.

Has anyone yet tried to use the new fonts with ConTeXt?

--Joel
___
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
___


Re: [NTG-context] Gentium Basic/Book

2007-11-19 Thread Hans Hagen
Joel C. Salomon wrote:
 Guess I asked for too much at once.
 
 I've downloaded the Gentium Basic/Basic Book set of fonts from
 http://scripts.sil.org/Gentium_basic, and I'd like to use them with
 ConTeXt.  I ran texfont (with the command line texfont
 --fontroot=c:\users\chesky\programs\context\tex\texmf-local
 --sourcepath=... --vendor=sil --collection=gentium --makepath
 --install), and now running texexec on the newly generated
 texnansi-sil-gentium.tex produces some sort of glyph list.
 
 Now I'm trying to adapt the typescript from
 http://wiki.contextgarden.net/TypeScripts for the new set of fonts.
 (I intend to use only utf-8 input files, if that matters any.)  I'd
 like to use Gentium Basic as the titling font and Gentium Book Basic
 as the text font, with regular, italic, bold,  bold-italic all
 available in the normal fashion.  But I find I don't know what I'm
 doing.
 
 Has anyone yet tried to use the new fonts with ConTeXt?

these are open type fonts ... use luatex or xetex ...

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Gentium Basic/Book

2007-11-19 Thread Mojca Miklavec
On 11/19/07, Joel C. Salomon wrote:
 Guess I asked for too much at once.

 I've downloaded the Gentium Basic/Basic Book set of fonts from
 http://scripts.sil.org/Gentium_basic, and I'd like to use them with
 ConTeXt.  I ran texfont (with the command line texfont
 --fontroot=c:\users\chesky\programs\context\tex\texmf-local
 --sourcepath=... --vendor=sil --collection=gentium --makepath
 --install), and now running texexec on the newly generated
 texnansi-sil-gentium.tex produces some sort of glyph list.

Rather than using texfont (half-broken anyway), use XeTeX or LuaTeX.

(If you're using MikTeX and are willing to upgrade to MikTeX 2.7, you
can process your documents with texexec --xtx filename; if you're
using the standalone ConTeXt, you can process it with --xtx or
--lua.)

Depending on whether you want to install those fonts or keep them in
the tree there are slightly different approaches, but this should work
for both LuTeX and XeTeX if you keep your files in the working
directory or in texmf/fonts/opentype/...[somewhere here]...

\starttypescript[serif][gentium-basic]
\definefontsynonym[GentiumBasic]  [file:GenBasR] [features=default]
\definefontsynonym[GentiumBasicItalic][file:GenBasI] [features=default]
\definefontsynonym[GentiumBasicBold]  [file:GenBasB] [features=default]
\definefontsynonym[GentiumBasicBoldItalic][file:GenBasBI][features=default]
\stoptypescript

\starttypescript[serif][gentium-basic][name]
\definefontsynonym[Serif]  [GentiumBasic]
\definefontsynonym[SerifItalic][GentiumBasicItalic]
\definefontsynonym[SerifBold]  [GentiumBasicBold]
\definefontsynonym[SerifBoldItalic][GentiumBasicBoldItalic]
\stoptypescript

\definetypeface[mygentium][rm][serif][gentium-basic][default]

\setupbodyfont[mygentium,13pt]


I don't know how you plan to mix those fonts, but reverting to
another typeface in case a glyph is missing is a bad idea in this
particular case, at least in my opinion (although it's conditionally
doable) - how are you going to handle missing characters in bold
typeface?

One possibility would be to use:
- Gentium for Roman  Italic
- Gentium Basic for Bold  Bold Italic (and hope that you won't need
any special characters for titles)

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
___


Re: [NTG-context] Context and Lilypond on Miketex with TeXnicCenter

2007-11-19 Thread u-wrede
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 [EMAIL PROTECTED] 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
___