-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<milestone>/@unit causes invalid FO #334
Comments
What do you think should happen with a milestone element in FO? The current transformation doesn't handle it at all; the question is whether anything should appear in the output for milestone, or it should just be ignored. Also, could you provide a full TEI file which demonstrates the problem? (As simple as possible.) |
I think it should just be ignored. I don’t believe there is any generic way to display a milestone. |
There is probably no generic way to display a milestone, but it might be
useful to have the option, or it might be output with a type element [Page:
7] or just [7] since a common use is to indicate pages in a paper edition.
?
…--elli
On Fri, Nov 16, 2018 at 12:17 PM Joey Takeda ***@***.***> wrote:
I think it should just be ignored. I don’t believe there is any generic
way to display a milestone.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#334 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABwP5bwMKJ5tYL7HookIfxBTod4yC713ks5uvvM4gaJpZM4WgJ0G>
.
|
The usual would be to display the value of |
Hi Martin, I didn't see the request for the sample file--apologies. Here is the sample TEI file (attached but also embedded here):
|
Stylesheets group discussed this 2018-11-19. A bugfix will be added by @Syd, and when the fallout from that has been dealt with (if there is any), this ticket can be closed. If anyone thinks there should be processing for milestone, cb, and gb, please raise a ticket explaining exactly what the output should look like. |
milestone/@unit
causes the output FO in the TEI to PDF transformation to be invalid. The@unit
value just gets spit out as text.This sample TEI:
becomes this bit of FO after being transformed:
I've tested with the oXygen built in frameworks and the fo.xsl stylesheet (https://raw.githubusercontent.com/TEIC/Stylesheets/dev/fo/fo.xsl) and both have the same invalidity:
which causes this error in the transformation scenario in oXygen:
The text was updated successfully, but these errors were encountered: