Closed tgraham-antenna closed 1 year ago
Generates:
<p>Papers
typically start on an odd-numbered, right-hand page: this could just follow from
right-hand pages being the ‘front’ of a leaf, or it could be a by-product of
single-article reprints of papers needing to start on a right-hand page.<span class="footnote" id="R_article1_para2_footnote1-fnote">Magazines and newspapers start articles as a two-page spread when it suits them, but in my limited experience, papers in journals and in conference proceedings do not start with a two-page spread.</span></p>
Can you provide a sample document that demonstrates this? On its own, that paragraph seems to format just fine as HTML:
and PDF:
The document is https://github.com/tgraham-antenna/MUK-proc/blob/css-proc/proceedings-css.xml, which XIncludes https://github.com/tgraham-antenna/MUK-proc/blob/css-proc/papers-2021/graham/paper.xml
If you want to regress and run Ant rather than Gradle, the command that I use with the css-proc
branch is:
ant -emacs -f build-xslTNG.xml gui.single
This expects the xslTNG
clone, with gradlew zipStage
having been run, in a sibling directory to MUK-proc
.
Interesting. A quick test from those sources also doesn't reproduce the problem. I can't imagine how it's related to XInclude, and yet...still investigating.
Nope, it's not XInclude.
Sigh. How do I make ant work, I wonder...
I've got the css-proc
branch, but there seem to be files missing:
ant -emacs -f build-xslTNG.xml gui.single
Buildfile: /Volumes/Projects/docbook/MUK-proc/build-xslTNG.xml
html.prep:
single.basename:
html.single.uptodate:
html.single:
css.prep:
BUILD FAILED
/Volumes/Projects/docbook/MUK-proc/build-xslTNG.xml:151: /Volumes/Projects/docbook/MUK-proc/xsl/img does not exist.
Total time: 0 seconds
If I just create xsl/img
to make that error go away, there's an error attempting to copy the dejavu
fonts.
Right. This is (another) bug in unwrap-paragraphs. I have to go out for a bit, but I'll try to fix this today.
There would have been a --recurse-submodules
to clone xsl
that I had forgotten about because I always started from an existing MUK-proc
clone and just added/pulled the css-proc
branch. The instructions in README.md
for working with the muk2019
branch should apply to the css-proc
branch.
Right. This is (another) bug in unwrap-paragraphs. I have to go out for a bit, but I'll try to fix this today.
I have enough to go on with, and you have done more than enough.
I need to shift the abstract
margins by 1pt, and then I really need to stop fiddling with the styles and actually write my paper and slides. I don't need to see the missing text nearly as much as I need to see the missing paper, so it's fine by me if you don't get to it today.
With the following paragraph, the text beginning "Graphics are..." does not appear in the HTML.