You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While looking at #477, @dmj’s improved processing of @facs when generating ant copy-the-graphics tasks, a few things occurred to me:
I, for one, had almost no idea what the culprit program (tools/makegraphicsanttask.xsl) is for, who would call it when and why. Reading the code it looks like it reads in a TEI file and writes out an ANT project. But I should not have to read the source … where is this thing documented? (Or at least if I do read the source, the header comment should tell me.)
It (tools/makegraphicsanttask.xsl) only processes @facs attributes that are on <pb> elements. Since I do not know who is calling this program or why, I cannot say whether that is right or wrong, but it is certainly suspicious.
It seems to mess up if an image file is listed as just an absolute path reference, e.g. <pb facs="/tmp/path/to/page2.png"/> (the resulting copy/@file is empty).
It seems to mess up even worse if there is whitespace around an absolute path reference, e.g. <pb facs=" /tmp/path/to/page4.png"/>.
It does not seem to handle multiple values.
The text was updated successfully, but these errors were encountered:
sydb
changed the title
makegraphicsaznttask needs at least documentation, if not improvement
makegraphicsanttask needs at least documentation, if not improvement
Mar 23, 2021
JanelleJenstad
added
status: invalid
Not actually a bug; or perhaps an enhancement that most people wouldn't want
resp: StylesheetsGroup
Issue is suitable for the group-learning approach taken in the Stylesheets Coop Working Group.
status: Go
Council has decided the ticket should proceed.
and removed
resp: StylesheetsGroup
Issue is suitable for the group-learning approach taken in the Stylesheets Coop Working Group.
status: invalid
Not actually a bug; or perhaps an enhancement that most people wouldn't want
labels
Apr 20, 2021
This is set to status: Go to figure out what this program is for and who calls it. Until we know what it's for, we can't fix it. @MegJBrown Pls discuss with @sydb at your next standing mtg.
Stylesheets group looked at #495 and changed two little things
* reorder attributes to make it more readable (source->target)
* use `$F` instead of `@url`: this addresses the issue with the broken absolute path references for `@facs` attributes
Co-Authored-By: Syd Bauman <sydb@users.noreply.github.com>
Co-Authored-By: Elisa Beshero-Bondar <ebeshero@users.noreply.github.com>
Co-Authored-By: Martina Scholger <martina.scholger@uni-graz.at>
Co-Authored-By: MegJBrown <8483387+MegJBrown@users.noreply.github.com>
Co-Authored-By: Raffaele Viglianti <144770+raffazizzi@users.noreply.github.com>
Co-Authored-By: Hugh A. Cayless <philomousos@gmail.com>
While looking at #477, @dmj’s improved processing of
@facs
when generating ant copy-the-graphics tasks, a few things occurred to me:@facs
attributes that are on<pb>
elements. Since I do not know who is calling this program or why, I cannot say whether that is right or wrong, but it is certainly suspicious.<pb facs="/tmp/path/to/page2.png"/>
(the resultingcopy/@file
is empty).<pb facs=" /tmp/path/to/page4.png"/>
.The text was updated successfully, but these errors were encountered: