12.07.2015 Views

eledmac A presumptuous attempt to port EDMAC, TABMAC and ...

eledmac A presumptuous attempt to port EDMAC, TABMAC and ...

eledmac A presumptuous attempt to port EDMAC, TABMAC and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

38 17 Miscellaneous15 Quotation environmentsThe quotation <strong>and</strong> quote environment can be used so that same definition/noteappears both inside <strong>and</strong> outside a numbered section. The typographical consequenceswill resemble the outside numbered sections, based on the styles of thebook class. However, if you use a package that redefines these environments, theseredefinitions won’t be available inside the numbering section. You must open thequotation environments inside a \start-\pend block, not outside.In some case, you don’t want these environments be redefined in numberedsection. You can load the package with the option noquotation <strong>to</strong> prevent thisredefinition.16 Page breaks\ledpb\lednopbEledmac <strong>and</strong> eledpar break pages au<strong>to</strong>matically. However, you may sometimeswant <strong>to</strong> either force page breaks or prevent them. The packages provide twomacros:• \ledpb adds a page break.• \lednopb prevents a page break, by adding one line <strong>to</strong> the current page ifneeded.\ledpbsetting\lednopbinversetrueThese comm<strong>and</strong>s have effect only at the second run.These two comm<strong>and</strong>s take effect at the beginning of line in which they arecalled. For example, if you call \ledpb at l. 444, the l. 443 will be at the p. n,<strong>and</strong> the l. 444 at the p. n + 1. However you can change the behavior, <strong>and</strong> decidethey will have effect after the end of the line, adding \ledpbsetting{after} atthe beginning of your file (better: in your preamble). With the previous example,the l. 444 will be at the p. n <strong>and</strong> the l. 445 will be at the p. n + 1.If you are using eledpar <strong>to</strong> typeset parallel pages you must use \lednopb onboth sides in the two corresponding lines. This is especially im<strong>port</strong>ant when youare using stanzas; otherwise the pages will run out of sync. You can also decide <strong>to</strong>prevent page breaks between two lines of a long verse. To do this, use nopbinversewhen loading package, or add \lednopbinversetrue in the beginning of your file(better: in your preamble). This feature works only with verse of 2 lines, notmore. It works at the third run, or at fourth run with eledpar. By default, whena long verse runs normally between two pages, a page break will be placed at thebeginning of the verse. However, if you have addedledpbsetting{after}, thepage break will be placed at the end of the long verse, <strong>and</strong> the page containingthe long verse will have one extra line.17 Miscellaneous\extensioncharsWhen the package assembles the name of the auxiliary file for a section, it prefixes\extensionchars <strong>to</strong> the section number. This is initially defined <strong>to</strong> be

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!