Thanks, Hiroaki. That works, and seems to have the same effect in this case
as simply replacing \contpiece with \startpiece: preserves the key change
warning before the page turn, properly indents the second page, and resets
the bar numbering. Are you saying there is something different?

> -----Original Message-----
> From: TeX-Music <tex-music-bounces+dsimons=roadrunner....@tug.org>
> On Behalf Of Hiroaki MORIMOTO
> Sent: Tuesday, December 28, 2021 6:04 AM
> To: Werner Icking Music Archive <tex-music@tug.org>
> Subject: Re: [Tex-music] Indentation
> 
> Hi Don,
> 
> How about "\barno\startbarno\Contpiece" instead of "\contpiece" ?
> 
> ==========
> D:\lcpb>diff -u1 lcpb.tex lcpb_modified.tex
> --- lcpb.tex    Tue Dec 28 22:52:10 2021
> +++ lcpb_modified.tex   Tue Dec 28 22:54:20 2021
> @@ -49,3 +49,3 @@
>  \vfill\eject%
> -\interstaff{10.0}\contpiece
> +\interstaff{10.0}\barno\startbarno\Contpiece
>  \generalmeter{\meterfrac{2}{4}}%
> ==========
> 
> (\startpiece internally calls \piece@begina, where \barno is set to
> \startbarno.  The value of \startbarno is set to 1 in usual at
musixtex.tex 1.32
> line 2171.)
> 
> 
> Best regards,
> Hiroaki
> 
> 
> ----- Original Message -----
> > From: <dsim...@roadrunner.com>
> > To: "'Werner Icking Music Archive'" <tex-music@tug.org>
> > Date: Mon, 27 Dec 2021 21:02:17 -0800
> > Subject: Re: [Tex-music] Indentation
> >
> >
> > No, because using "M" removes the key change warning before the page
> turn.
> >
> > > -----Original Message-----
> > > From: TeX-Music <tex-music-
> bounces+dsimons=roadrunner....@tug.org>
> > > On Behalf Of a...@telenet.be
> > > Sent: Monday, December 27, 2021 8:36 PM
> > > To: 'Werner Icking Music Archive' <tex-music@tug.org>
> > > Subject: Re: [Tex-music] Indentation
> > >
> > > Is this also a possibility?
> > > Andre
> > > ==============
> > > 1 1 4 4 4 4 0 0
> > > 2 6 20 .1
> > >
> > > t
> > > .\
> > > g04 g | g g | g g RD /
> > > %\\\let\holdcont\contpiece\def\contpiece{\startpiece\let\contpiece\h
> > > oldc
> > > ont}
> > > \
> > > K+0+1
> > > L4P2Mi.1
> > > m2424
> > > g24 g g g g g /
> > > ===========
> > >
> > > -----Oorspronkelijk bericht-----
> > > Van: TeX-Music <tex-music-bounces+avr=telenet...@tug.org> Namens
> > > dsim...@roadrunner.com
> > > Verzonden: maandag 27 december 2021 17:41
> > > Aan: 'Werner Icking Music Archive' <tex-music@tug.org>
> > > Onderwerp: Re: [Tex-music] Indentation
> > >
> > > Thanks, Hiroaki. I didn't know about \Contpiece either. But after my
> > > post,
> > I
> > > figured out that \startpiece also does the job. And now I realize
> > > that for
> > my
> > > purpose I wanted the bar numbering also to be reset to 1, which
> > \startpiece
> > > does. So to do it in PMX, you can use the redefinition trick:
> > >
> > > ===========================================
> > > 1 1 4 4 4 4 0 0
> > > 2 6 20 .1
> > >
> > > t
> > > .\
> > > g04 g | g g | g g RD /
> > > \\\let\holdcont\contpiece\def\contpiece{\startpiece\let\contpiece\ho
> > > ldcon
> > > t}\
> > > K+0+1
> > > L4P2
> > > m2424
> > > g24 g g g g g /
> > > ============================================
> > >
> > > --Don
> > >
> > > > -----Original Message-----
> > > > From: TeX-Music <tex-music-
> > > bounces+dsimons=roadrunner....@tug.org>
> > > > On Behalf Of Hiroaki MORIMOTO
> > > > Sent: Monday, December 27, 2021 6:21 AM
> > > > To: Werner Icking Music Archive <tex-music@tug.org>
> > > > Subject: Re: [Tex-music] Indentation
> > > >
> > > > Hi Don,
> > > >
> > > > Possibly, \Contpiece instead of \contpiece ??
> > > >
> > > > I found it in musixtex.tex 1.32 line 2231-2236 and musixdoc.pdf
> > > > Version
> > > 1.32a
> > > > Chapter 14; but this is the first time I've known the existence of
> > > \Contpiece...
> > > >
> > > > Best regards,
> > > > Hiroaki
> > > >
> > > >
> > > > ----- Original Message -----
> > > > > From: <dsim...@roadrunner.com>
> > > > > To: "'Werner Icking Music Archive'" <tex-music@tug.org>
> > > > > Date: Sun, 26 Dec 2021 17:30:33 -0800
> > > > > Subject: [Tex-music] Indentation
> > > > >
> > > > >
> > > > > Can anyone suggest a simple modification, either to the PMX
> > > > > source (see
> > > > > below) or by modifying the resulting TeX (attached), to cause
> > > > > the first system on the 2nd page to be indented exactly the same
> > > > > as the first one in the first page.
> > > > >
> > > > > --Don Simons
> > > > >
> > > > > PMX source:
> > > > > ===========================
> > > > > 1 1 4 4 4 4 0 0
> > > > > 2 6 20 .1
> > > > >
> > > > > t
> > > > > .\
> > > > > g04 g | g g | g g RD /
> > > > > K+0+1
> > > > > m2424
> > > > > g24 g g g g g /
> > > > > ==========================
> > > > >
> > > > >
> > > > >
> > > > > ----- inline -----
> > > > > -------------------------------
> > > > > TeX-music@tug.org mailing list
> > > > > If you want to unsubscribe or look at the archives, go to
> > > > > https://tug.org/mailman/listinfo/tex-music
> > > >
> > > > -------------------------------
> > > > TeX-music@tug.org mailing list
> > > > If you want to unsubscribe or look at the archives, go to
> > > > https://tug.org/mailman/listinfo/tex-music
> > >
> > > -------------------------------
> > > TeX-music@tug.org mailing list
> > > If you want to unsubscribe or look at the archives, go to
> > > https://tug.org/mailman/listinfo/tex-music
> > >
> > > -------------------------------
> > > TeX-music@tug.org mailing list
> > > If you want to unsubscribe or look at the archives, go to
> > > https://tug.org/mailman/listinfo/tex-music
> >
> > -------------------------------
> > TeX-music@tug.org mailing list
> > If you want to unsubscribe or look at the archives, go to
> > https://tug.org/mailman/listinfo/tex-music
> 
> -------------------------------
> TeX-music@tug.org mailing list
> If you want to unsubscribe or look at the archives, go to
> https://tug.org/mailman/listinfo/tex-music

-------------------------------
TeX-music@tug.org mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music

Reply via email to