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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

40 17 Miscellaneous\pageparbreak\footfudgefiddle\morenoexp<strong>and</strong>sLaTeX has a reputation for putting things in the wrong margin after a pagebreak. The <strong>eledmac</strong> package does nothing <strong>to</strong> improve the situation — in fact itjust makes it more obvious if numbered text crosses a page (or column) boundary<strong>and</strong> the numbers are meant <strong>to</strong> flip from side <strong>to</strong> side. Try <strong>and</strong> keep the numbers inthe same margin all the time. Another aspect of TeX’s page breaking mechanismis that when numbering lines by the page, the first few numbers after a page breakmay continue as though the lines were still on the previous page.If you can’t resist flipping the numbers or numbering by the page, then youmight find that judicious use of \pageparbreak may help if numbering goes awryacross a page (or column) break. It tries <strong>to</strong> force TeX in<strong>to</strong> partitioning the currentparagraph in<strong>to</strong> two invisibly joined paragraphs with a page break between them.Insert the comm<strong>and</strong> between the last word on one page <strong>and</strong> the first word onthe next page. If later you change something earlier in the document the naturalpage break may be in a different place, <strong>and</strong> you will have <strong>to</strong> adjust the locationof \pageparbreak accordingly.For paragraphed footnotes TEX has <strong>to</strong> estimate the amount of space required.If it underestimates this then the notes may get <strong>to</strong>o long <strong>and</strong> run off the bot<strong>to</strong>mof the text block. \footfudgefiddle can be increased from its default 64 (say <strong>to</strong>68) <strong>to</strong> increase the estimate. You have <strong>to</strong> use \renewcomm<strong>and</strong> for this, like:\renewcomm<strong>and</strong>{\footfudgefiddle}{68}Help, suggestions <strong>and</strong> corrections will be gratefully received.17.2 Use with other packagesBecause of <strong>eledmac</strong>’s complexity it may not play well with other packages. Inparticular <strong>eledmac</strong> is sensitive <strong>to</strong> comm<strong>and</strong>s in the arguments <strong>to</strong> the \edtext <strong>and</strong>\*footnote macros (this is discussed in more detail in section 22, <strong>and</strong> in particularthe discussion about \no@exp<strong>and</strong>s <strong>and</strong> \morenoexp<strong>and</strong>s). You will have <strong>to</strong> seewhat works or doesn’t work in your particular case.It is possible that <strong>eledmac</strong> <strong>and</strong> the hyperref package may work <strong>to</strong>gether. Ihave not tried this combination but past experience with hyperref suggests thatcooperation is unlikely; hyperref changes many LaTeX internals <strong>and</strong> <strong>eledmac</strong> doesthings that are not normally seen in LaTeX.If you want <strong>to</strong> use the option bot<strong>to</strong>m of the footmisc package, you must loadthis package before the <strong>eledmac</strong> package.You can define the macro \morenoexp<strong>and</strong>s <strong>to</strong> modify macros that you callwithin \edtext. Because of the way <strong>eledmac</strong> numbers the lines the arguments <strong>to</strong>\edtext can be processed more than once <strong>and</strong> in some cases a macro should onlybe processed once. One example is the \colorbox macro from the color package,which you might use like this:... \edtext{\colorbox{mycolor}{lemma}}{\Afootnote{...\colorbox...}}If you actually try this 18 you will find LaTeX whinging ‘Missing { inserted’,18 Re<strong>port</strong>ed by Dirk-Jan Dekker in the CTT thread ‘Incompatibility of “color” package’ on2003/08/28.

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

Saved successfully!

Ooh no, something went wrong!