Re: [TeX-music] Can't get extract to work with plain TeX.

2002-05-21 Thread Bernhard Lang

On Sun, 19 May 2002, Don Simons wrote:

 Can anyone see why the extract is screwing up the page layout (width, font,
 and indentation)? If I comment it out, the page is centered differently
 (properly) and the width is constant like it should be.

Looking in musixtex.tex you'll find the following lines (from line 36 on)

 \ifx\undefined\documentstyle % - []plain.tex
   \parindent0pt
   \hoffset-15.4mm
   \voffset-10mm
   \hsize190mm
   \vsize260mm
 \fi

Adding \def\documentstyle{} to the top of your extract solves the problem
of page format/centering. The margins come out like you've coded it in the
example. I didn't investigate further the font changing, but I guess it is
something similar. The easiest way to solve this would be first to \input
musixtex and then to set the actual font (That's what you are doing in PMX
generated TeX input files, I guess, when you first \input musixtex.tex and
afterwards pmx.tex)

regards
  Bernhard

___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



Re: [TeX-music] Can't get extract to work with plain TeX.

2002-05-20 Thread Andre Van Ryckeghem

Perhaps musixtex redefines the line lenght?

I tried accollades:

{\input musixtex
...
\endextract % terminate excerpt
}%


The output is in that case very normal

Andre

- Original Message -
From: Don Simons [EMAIL PROTECTED]
To: TeX-Music [EMAIL PROTECTED]
Sent: Monday, May 20, 2002 5:19 AM
Subject: [TeX-music] Can't get extract to work with plain TeX.


 Can anyone see why the extract is screwing up the page layout (width,
font,
 and indentation)? If I comment it out, the page is centered differently
 (properly) and the width is constant like it should be.

 ===
 \hsize6.5in
 \vsize9in
 \font\twelverom=cmr12
 \twelverom
 Blabla blabla blabla. Blabla blabla blabla blabla blabla blabla blabla
 blabla blabla blabla. Blabla blabla blabla blabla blabla blabla blabla.
 %
 % Extract copied from musixdoc
 {\input musixtex
 \parindent10mm
 \instrumentnumber{1} % a single instrument
 \setname1{Piano} % whose name is Piano
 \setstaffs1{2} % with two staffs
 \generalmeter{\meterfrac44}% 4/4 meter chosen
 \startextract % starting real score
 \Notes\ibu0f0\qb0{cge}\tbu0\qb0g|\hl j\en
 \Notes\ibu0f0\qb0{cge}\tbu0\qb0g|\ql l\sk\ql n\en
 \bar
 \Notes\ibu0f0\qb0{dgf}|\qlp i\en
 \notes\tbu0\qb0g|\ibbl1j3\qb1j\tbl1\qb1k\en
 \Notes\ibu0f0\qb0{cge}\tbu0\qb0g|\hl j\en
 \endextract % terminate excerpt
 }%
 Blabla blabla blabla. Blabla blabla blabla blabla blabla blabla blabla
 blabla blabla blabla. Blabla blabla blabla blabla blabla blabla blabla.
 \bye
 ===

 --Don Simons

 ___
 TeX-music mailing list
 [EMAIL PROTECTED]
 http://sunsite.dk/mailman/listinfo/tex-music


___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



Re: [TeX-music] Can't get extract to work with plain TeX.

2002-05-20 Thread Stanislav Kneifl

 Thanks Andre.  Maybe it's time for me to switch over to MikTeX.  emtex gave
 a TeX capacity exceeded error.  But it did work with my test setup of
 MikTeX.
 
 This surprises me, because I thought the TeX capacity (whatever it is) was
 a fixed, platform-independent number.  I recall reading something about
 Knuth requiring that certain aspects of the guts of TeX never be changed by
 anyone except him.


TeX capacity defines the amount of main TeX memory - for storing the 
contents of all pending boxes, for example. There is no need to make it 
platform independent - there are applications demanding a lot of memory 
and others running on a low-powered machines. Besides, changing this 
number is allowed without recompilation in most implementations, usually 
even without creating a new format.

It would be very disturbing for D.E.Knuth to change the TeX parameters 
each time the size of average computer's memory increases :-)

Stanislav.

___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music