Raff --
I put a bunch (more) comments on the poster in today's agenda under
"Notes to Raff". They don't belong in the meeting minutes, though, so
as soon as you have acted on them (or ignored them), please delete.
Thanks.
Hi Council,
Here's a first online version of RomaJS for you to play with!
http://mith.us/romajs/
What's missing, but will be there before the conference:
- apply changes to element content model
- revert to source
- list classes as well as elements and allow to choose what to show
- start over button
Known issues:
- you *should* be able to refresh a page without losing data, but I've
struggled to setup the server to do rewrites properly. If we set up a
docker wrapper for roma, we should get that properly sorted out. If you get
lost, go back to http://mith.us/romajs/members and that should work and
keep your data loaded.
- stylesheets tests are failing. I fixed the tests related to odd2json, but
a bunch more are now failing for reasons that seem totally unrelated to me?
Will keep investigating but appreciate any help council can provide!
- I've been developing in the latest Firefox build and latest Chrome build.
IE will not work, but Edge should.
The plan to Japan:
- the sooner we can catch big issues the better, but I expect to keep on
coding until the very last minute
Finally, thanks to Peter for setting up a dev OxGarage which is essential
for this demo :)
Looking forward to all the bugs.
Raff
See <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/2/display/redirect>
------------------------------------------
[...truncated 38.75 KB...]
rm test.xml.docx.document
../bin/teitodocx test6.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test6.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test6.xml.docx> (tei to docx) using profile default
Warning: XML resolver not found; external catalogs will be ignored
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 7 seconds
unzip -p test6.xml.docx word/document.xml | xmllint --format - > test6.xml.docx.document
if [ 0 -ne 1 ]; \
then diff test6.xml.docx.document expected-results/test6.xml.docx.document; fi
rm test6.xml.docx.document
../bin/teitodocx testnotes1.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert testnotes1.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testnotes1.xml.d…> (tei to docx) using profile default
Warning: XML resolver not found; external catalogs will be ignored
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 7 seconds
unzip -p testnotes1.xml.docx word/document.xml | xmllint --format - > testnotes1.xml.docx.document
if [ 0 -ne 1 ]; \
then diff testnotes1.xml.docx.document expected-results/testnotes1.xml.docx.document; fi
rm testnotes1.xml.docx.document
java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testoucscourses.xml ../profiles/default/p4/from.xsl > testoucscoursesp5.xml
../bin/teitodocx --profile=oucscourses testoucscoursesp5.xml testoucscourses.xml.docx
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert testoucscoursesp5.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testoucscourses.…> (tei to docx) using profile oucscourses
Warning: XML resolver not found; external catalogs will be ignored
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 6 seconds
rm testoucscourses.xml.docx testoucscoursesp5.xml
BUILD: testing from-docx
../bin/docxtotei test-indexes.docx temp.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test-indexes.docx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml> (docx to tei) using profile default
[echo] using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx…>
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
xmllint --format temp.xml | perl cleanup.pl > test-indexes.xml && rm temp.xml
java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test-indexes.xml
if [ 0 -ne 1 ]; \
then diff test-indexes.xml expected-results/test-indexes.xml; fi
../bin/docxtotei test11.docx temp.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test11.docx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml> (docx to tei) using profile default
[echo] using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx…>
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 7 seconds
xmllint --format temp.xml | perl cleanup.pl> test11.xml && rm temp.xml
java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test11.xml
if [ 0 -ne 1 ]; \
then diff test11.xml expected-results/test11.xml; fi
../bin/docxtotei --profile=sciencejournal test11.docx temp.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test11.docx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml> (docx to tei) using profile sciencejournal
[echo] using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/sciencejourn…>
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 7 seconds
xmllint --format temp.xml | perl cleanup.pl> test11a.xml && rm temp.xml
if [ 0 -ne 1 ]; \
then diff test11a.xml expected-results/test11a.xml; fi
../bin/docxtotei test19.docx temp.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test19.docx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml> (docx to tei) using profile default
[echo] using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx…>
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
xmllint --format temp.xml | perl cleanup.pl > test19.xml && rm temp.xml
java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test19.xml
if [ 0 -ne 1 ]; \
then diff test19.xml expected-results/test19.xml; fi
../bin/docxtotei test18.docx temp.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test18.docx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml> (docx to tei) using profile default
[echo] using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx…>
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
xmllint --format temp.xml | perl cleanup.pl > test18.xml && rm temp.xml
java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test18.xml
if [ 0 -ne 1 ]; \
then diff test18.xml expected-results/test18.xml; fi
../bin/docxtotei test39.docx temp.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test39.docx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml> (docx to tei) using profile default
[echo] using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx…>
Warning: XML resolver not found; external catalogs will be ignored
[xslt] docx conversion issue: unable to handle picture here, no embed or link
[xslt] WARN: Possible confusion on where these captions belong: [[Figure 2 Two images, side by side]] and [[Figure 3 Two images one above the other]]
[xslt] WARN: Possible confusion on where these captions belong: [[Table 1 A Simple table]] and [[Table 2 A more complex table with multi columns]]
BUILD SUCCESSFUL
Total time: 7 seconds
xmllint --format temp.xml | perl cleanup.pl > test39.xml && rm temp.xml
if [ 0 -ne 1 ]; \
then diff test39.xml expected-results/test39.xml; fi
../bin/docxtotei hyperlinktest.docx temp.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert hyperlinktest.docx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml> (docx to tei) using profile default
[echo] using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx…>
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
xmllint --format temp.xml | perl cleanup.pl > hyperlinktest.xml && rm temp.xml
if [ 0 -ne 1 ]; \
then diff hyperlinktest.xml expected-results/hyperlinktest.xml; fi
../bin/docxtotei --profile=transcription test-rtf2tei.docx temp.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test-rtf2tei.docx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml> (docx to tei) using profile transcription
[echo] using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/transcriptio…>
Warning: XML resolver not found; external catalogs will be ignored
[xslt] STRIP TP
BUILD SUCCESSFUL
Total time: 6 seconds
xmllint --format temp.xml | perl cleanup.pl > test-rtf2tei.xml && rm temp.xml
if [ 0 -ne 1 ]; \
then diff test-rtf2tei.xml expected-results/test-rtf2tei.xml; fi
../bin/docxtotei --profile=transcription test29.docx temp.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test29.docx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml> (docx to tei) using profile transcription
[echo] using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/transcriptio…>
Warning: XML resolver not found; external catalogs will be ignored
[xslt] docx conversion issue: unable to handle picture here, no embed or link
[xslt] WARN: Possible confusion on where these captions belong: [[Figure 1: An included image]] and [[Figure 2. An embedded .xslx graph, doesn’t work yet.]]
[xslt] WARN: Possible confusion on where these captions belong: [[Table 1 A Simple table]] and [[Table 2 A bit more Complex table]]
BUILD SUCCESSFUL
Total time: 7 seconds
xmllint --format temp.xml | perl cleanup.pl > test29.xml && rm temp.xml
if [ 0 -ne 1 ]; \
then diff test29.xml expected-results/test29.xml; fi
../bin/docxtotei --profile=tei test37.docx temp.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test37.docx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml> (docx to tei) using profile tei
[echo] using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/tei/docx/fro…>
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
xmllint --format temp.xml | perl cleanup.pl > test37.xml && rm temp.xml
if [ 0 -ne 1 ]; \
then diff test37.xml expected-results/test37.xml; fi
../bin/docxtotei --profile=tei test40.docx temp.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test40.docx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml> (docx to tei) using profile tei
[echo] using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/tei/docx/fro…>
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
xmllint --format temp.xml | perl cleanup.pl > test40.xml && rm temp.xml
if [ 0 -ne 1 ]; \
then diff test40.xml expected-results/test40.xml; fi
BUILD: testing xlsx
../bin/xlsxtotei test.xlsx test.xlsx.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test.xlsx to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.xlsx.xml> (xlsx to tei) using profile default
[echo] Convert using <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/xlsx…>
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 2 seconds
if [ 0 -ne 1 ]; \
then diff test.xlsx.xml expected-results/test.xlsx.xml; fi
BUILD: testing rdf
java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test12.rdf test12.xml ../profiles/default/rdf/to.xsl
if [ 0 -ne 1 ]; \
then diff test12.rdf expected-results/test12.rdf; fi
BUILD: testing text
../bin/teitotxt test14.xml test.text
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test14.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.text> (tei to txt) using profile default
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 4 seconds
if [ 0 -ne 1 ]; \
then diff test.text expected-results/test.text; fi
(cd ..; make names)
make[2]: Entering directory '<http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/'>
java -jar lib/saxon9he.jar -it:main tools/getnames.xsl > names.xml
make[2]: Leaving directory '<http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/'>
BUILD: testing odt
../bin/teitoodt test.xml
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.xml.odt> (tei to odt) using profile default
[echo] Converting <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.xml> into <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.xml.odt>
Warning: XML resolver not found; external catalogs will be ignored
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 6 seconds
unzip -t test.xml.odt > test.xml.odt.listing
unzip -o -q test.xml.odt content.xml
xmllint --format content.xml > content.xml.odt.listing
if [ 0 -ne 1 ]; \
then diff test.xml.odt.listing expected-results/test.xml.odt.listing; fi
5c5,13
< testing: Configurations2/accelerator/current.xml OK
---
> testing: Configurations2/floater/ OK
> testing: Configurations2/images/ OK
> testing: Configurations2/images/Bitmaps/ OK
> testing: Configurations2/menubar/ OK
> testing: Configurations2/popupmenu/ OK
> testing: Configurations2/progressbar/ OK
> testing: Configurations2/statusbar/ OK
> testing: Configurations2/toolbar/ OK
> testing: Configurations2/toolpanel/ OK
7d14
< testing: META-INF/manifest.xml OK
8a16,18
> testing: Thumbnails/ OK
> testing: Configurations2/accelerator/current.xml OK
> testing: META-INF/manifest.xml OK
24d33
< testing: Thumbnails/ OK
31,39d39
< testing: Configurations2/floater/ OK
< testing: Configurations2/images/ OK
< testing: Configurations2/images/Bitmaps/ OK
< testing: Configurations2/menubar/ OK
< testing: Configurations2/popupmenu/ OK
< testing: Configurations2/progressbar/ OK
< testing: Configurations2/statusbar/ OK
< testing: Configurations2/toolbar/ OK
< testing: Configurations2/toolpanel/ OK
Makefile:261: recipe for target 'test-odt' failed
make[1]: *** [test-odt] Error 1
make[1]: Leaving directory '<http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test'>
Makefile:104: recipe for target 'test' failed
make: *** [test] Error 2
Build step 'Execute shell' marked build as failure
Archiving artifacts
Dear all (Peter in particular),
does oxgarage2.tei-c.org use released Stylesheets, or does it use the dev
branch? Is there any oxgarage out there that uses the dev Stylesheets?
RomaJS relies on a JSON transformation that I'm still tweaking, though I
may be able to do a release before the conference if need be.
Thoughts?
Thanks,
Raff
Dear Council,
Here is a first draft of the poster on RomaJS. I need to get it printed
next Friday the 31st, so comments are encouraged from now until then. We
could also talk about it briefly at the conference call on Thursday if
there's room on the agenda.
https://drive.google.com/file/d/1XSG0AYHKTlWySSxhx-2S-r6uVY__K2Ez/view?usp=…
A couple of notes:
- the QR codes go nowhere. The latest version is not online yet as I will
continue working on it this week. However, I will try and put a working
version online tomorrow to give you to opportunity to test it before Japan.
- the screenshots will be re-done before Friday as I will be cleaning up a
few things on the interface.
- in order to more easily bring the poster with me, I'll actually print it
on two landscape A1 sheets, so I cannot place content in the middle
(currently the cut is right above the light blue belt with the icons).
One last thing to consider: would it be OK to move the repository to TEIC?
I look forward to your comments and suggestions! I can also provide
indesign files on request.
All best,
Raff