Building (e.g. TEI All schema)
Can someone explain to me like I’m an idiot how to use the Stylesheets to generate, say, a TEI All schema using the Guidelines specs? I’m afraid the documentation doesn’t give me enough to go on. I thought I understood it, but I don’t. My understanding is that you use the transformtei script, but what inputs do you give it? Thanks, Hugh
I've you're on a NIX*-y machine, you should be able to use: bin/teitorelaxng tei_all.odd and get something called tei_all.odd.relaxng. teitorelaxng is just a symlink to transformtei, which supplies (through its own name) the required parameters. Very clever indeed, Mr Rahtz is. Cheers, Martin On 15-05-25 12:50 PM, Hugh Cayless wrote:
Can someone explain to me like I’m an idiot how to use the Stylesheets to generate, say, a TEI All schema using the Guidelines specs? I’m afraid the documentation doesn’t give me enough to go on. I thought I understood it, but I don’t. My understanding is that you use the transformtei script, but what inputs do you give it?
Thanks, Hugh
I have a follow up question: how can I generate the *guidelines* of a
customization? ie whatever I put in <body>?
I know that ./teitohtml --odd custom.odd will do a decent job, but it also
includes all of the schemaspec in massive tables. Is there a parameter I'm
missing, or should I be using a different script altogether?
Raff
On May 25, 2015 4:00 PM, "Martin Holmes"
I've you're on a NIX*-y machine, you should be able to use:
bin/teitorelaxng tei_all.odd
and get something called tei_all.odd.relaxng.
teitorelaxng is just a symlink to transformtei, which supplies (through its own name) the required parameters. Very clever indeed, Mr Rahtz is.
Cheers, Martin
On 15-05-25 12:50 PM, Hugh Cayless wrote:
Can someone explain to me like I’m an idiot how to use the Stylesheets to generate, say, a TEI All schema using the Guidelines specs? I’m afraid the documentation doesn’t give me enough to go on. I thought I understood it, but I don’t. My understanding is that you use the transformtei script, but what inputs do you give it?
Thanks, Hugh
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 That bothered me as well. The only solution I found was to temporarily comment out the schemaSpec (from the source ODD). Best Peter Am 25.05.2015 um 22:05 schrieb Raffaele Viglianti:
I have a follow up question: how can I generate the *guidelines* of a customization? ie whatever I put in <body>?
I know that ./teitohtml --odd custom.odd will do a decent job, but it also includes all of the schemaspec in massive tables. Is there a parameter I'm missing, or should I be using a different script altogether?
Raff On May 25, 2015 4:00 PM, "Martin Holmes"
wrote: I've you're on a NIX*-y machine, you should be able to use:
bin/teitorelaxng tei_all.odd
and get something called tei_all.odd.relaxng.
teitorelaxng is just a symlink to transformtei, which supplies (through its own name) the required parameters. Very clever indeed, Mr Rahtz is.
Cheers, Martin
On 15-05-25 12:50 PM, Hugh Cayless wrote:
Can someone explain to me like I’m an idiot how to use the Stylesheets to generate, say, a TEI All schema using the Guidelines specs? I’m afraid the documentation doesn’t give me enough to go on. I thought I understood it, but I don’t. My understanding is that you use the transformtei script, but what inputs do you give it?
Thanks, Hugh
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived -----BEGIN PGP SIGNATURE-----
iQEcBAEBAgAGBQJVY4N1AAoJEJclm6G69Xq22GYIAIF8lE6VUV1ndVu6DN3vt0/9 sPOlXC9qG/+MNAFJPKl9Q3rbXcs6iUoMKtfSP7I10c+WOeoBsvT6mnyE/lCZHe0W oKsonsyW0mzVw3cV6pJIS8HAKQY/zIwT+dN4G7TuXBHVic9uUi+30JOfNYZvST3c SVl4bngi+RGcAud0JD6Jm1RqHRyesDp3usRXc31tKPi2xoUSll6/23dxeRAeoTiI bFz01F8ESfUS+/u590iuR+nUBjtv1ouDT5cfIlwu4RUA/vqvkzBo8klOGtCSVvzK MNy00TuJCHRt7IjK5AOGEbw/g100InbjPwyN/Vv0oyjf4jkLFZtpIDyGlfkL/sg= =GMRt -----END PGP SIGNATURE-----
Would it ever make sense to do that? You'd have a lot of links in your Guidelines to specs that didn't exist. I think if you were going to do this, you'd probably want to pre-process your ODD source, not only to delete the schemaSpec, but also to replace <gi>s and <att>s and things that would result in broken links. Cheers, Martin On 15-05-25 01:17 PM, Peter Stadler wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
That bothered me as well. The only solution I found was to temporarily comment out the schemaSpec (from the source ODD).
Best Peter
Am 25.05.2015 um 22:05 schrieb Raffaele Viglianti:
I have a follow up question: how can I generate the *guidelines* of a customization? ie whatever I put in <body>?
I know that ./teitohtml --odd custom.odd will do a decent job, but it also includes all of the schemaspec in massive tables. Is there a parameter I'm missing, or should I be using a different script altogether?
Raff On May 25, 2015 4:00 PM, "Martin Holmes"
wrote: I've you're on a NIX*-y machine, you should be able to use:
bin/teitorelaxng tei_all.odd
and get something called tei_all.odd.relaxng.
teitorelaxng is just a symlink to transformtei, which supplies (through its own name) the required parameters. Very clever indeed, Mr Rahtz is.
Cheers, Martin
On 15-05-25 12:50 PM, Hugh Cayless wrote:
Can someone explain to me like I’m an idiot how to use the Stylesheets to generate, say, a TEI All schema using the Guidelines specs? I’m afraid the documentation doesn’t give me enough to go on. I thought I understood it, but I don’t. My understanding is that you use the transformtei script, but what inputs do you give it?
Thanks, Hugh
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived -----BEGIN PGP SIGNATURE-----
iQEcBAEBAgAGBQJVY4N1AAoJEJclm6G69Xq22GYIAIF8lE6VUV1ndVu6DN3vt0/9 sPOlXC9qG/+MNAFJPKl9Q3rbXcs6iUoMKtfSP7I10c+WOeoBsvT6mnyE/lCZHe0W oKsonsyW0mzVw3cV6pJIS8HAKQY/zIwT+dN4G7TuXBHVic9uUi+30JOfNYZvST3c SVl4bngi+RGcAud0JD6Jm1RqHRyesDp3usRXc31tKPi2xoUSll6/23dxeRAeoTiI bFz01F8ESfUS+/u590iuR+nUBjtv1ouDT5cfIlwu4RUA/vqvkzBo8klOGtCSVvzK MNy00TuJCHRt7IjK5AOGEbw/g100InbjPwyN/Vv0oyjf4jkLFZtpIDyGlfkL/sg= =GMRt -----END PGP SIGNATURE-----
What if I wanted to generate guidelines similarly to the official
guidelines? ie one HTML per chapter + separated pages for the schemaSpec?
What is the main process that takes care of that? Can it be customized to
be used with my customization's guidelines?
Raff
On Mon, May 25, 2015 at 6:32 PM, Martin Holmes
Would it ever make sense to do that? You'd have a lot of links in your Guidelines to specs that didn't exist. I think if you were going to do this, you'd probably want to pre-process your ODD source, not only to delete the schemaSpec, but also to replace <gi>s and <att>s and things that would result in broken links.
Cheers, Martin
On 15-05-25 01:17 PM, Peter Stadler wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
That bothered me as well. The only solution I found was to temporarily comment out the schemaSpec (from the source ODD).
Best Peter
Am 25.05.2015 um 22:05 schrieb Raffaele Viglianti:
I have a follow up question: how can I generate the *guidelines* of a customization? ie whatever I put in <body>?
I know that ./teitohtml --odd custom.odd will do a decent job, but it also includes all of the schemaspec in massive tables. Is there a parameter I'm missing, or should I be using a different script altogether?
Raff On May 25, 2015 4:00 PM, "Martin Holmes"
wrote: I've you're on a NIX*-y machine, you should be able to use:
bin/teitorelaxng tei_all.odd
and get something called tei_all.odd.relaxng.
teitorelaxng is just a symlink to transformtei, which supplies (through its own name) the required parameters. Very clever indeed, Mr Rahtz is.
Cheers, Martin
On 15-05-25 12:50 PM, Hugh Cayless wrote:
Can someone explain to me like I’m an idiot how to use the
Stylesheets to generate, say, a TEI All schema using the Guidelines specs? I’m afraid the documentation doesn’t give me enough to go on. I thought I understood it, but I don’t. My understanding is that you use the transformtei script, but what inputs do you give it?
Thanks, Hugh
--
tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-----BEGIN PGP SIGNATURE-----
iQEcBAEBAgAGBQJVY4N1AAoJEJclm6G69Xq22GYIAIF8lE6VUV1ndVu6DN3vt0/9 sPOlXC9qG/+MNAFJPKl9Q3rbXcs6iUoMKtfSP7I10c+WOeoBsvT6mnyE/lCZHe0W oKsonsyW0mzVw3cV6pJIS8HAKQY/zIwT+dN4G7TuXBHVic9uUi+30JOfNYZvST3c SVl4bngi+RGcAud0JD6Jm1RqHRyesDp3usRXc31tKPi2xoUSll6/23dxeRAeoTiI bFz01F8ESfUS+/u590iuR+nUBjtv1ouDT5cfIlwu4RUA/vqvkzBo8klOGtCSVvzK MNy00TuJCHRt7IjK5AOGEbw/g100InbjPwyN/Vv0oyjf4jkLFZtpIDyGlfkL/sg= =GMRt -----END PGP SIGNATURE-----
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
If you wanted to do something like what EpiDoc does, but without having to totally roll your own Guidelines, I could see this being useful. It wouldn’t work for the prose at all unless you edited your own version, but I could see it for the reference parts.
On May 26, 2015, at 9:58 , Raffaele Viglianti
wrote: What if I wanted to generate guidelines similarly to the official guidelines? ie one HTML per chapter + separated pages for the schemaSpec? What is the main process that takes care of that? Can it be customized to be used with my customization's guidelines?
Raff
On Mon, May 25, 2015 at 6:32 PM, Martin Holmes
wrote: Would it ever make sense to do that? You'd have a lot of links in your Guidelines to specs that didn't exist. I think if you were going to do this, you'd probably want to pre-process your ODD source, not only to delete the schemaSpec, but also to replace <gi>s and <att>s and things that would result in broken links.
Cheers, Martin
On 15-05-25 01:17 PM, Peter Stadler wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
That bothered me as well. The only solution I found was to temporarily comment out the schemaSpec (from the source ODD).
Best Peter
Am 25.05.2015 um 22:05 schrieb Raffaele Viglianti:
I have a follow up question: how can I generate the *guidelines* of a customization? ie whatever I put in <body>?
I know that ./teitohtml --odd custom.odd will do a decent job, but it also includes all of the schemaspec in massive tables. Is there a parameter I'm missing, or should I be using a different script altogether?
Raff On May 25, 2015 4:00 PM, "Martin Holmes"
wrote: I've you're on a NIX*-y machine, you should be able to use:
bin/teitorelaxng tei_all.odd
and get something called tei_all.odd.relaxng.
teitorelaxng is just a symlink to transformtei, which supplies (through its own name) the required parameters. Very clever indeed, Mr Rahtz is.
Cheers, Martin
On 15-05-25 12:50 PM, Hugh Cayless wrote:
Can someone explain to me like I’m an idiot how to use the
Stylesheets to generate, say, a TEI All schema using the Guidelines specs? I’m afraid the documentation doesn’t give me enough to go on. I thought I understood it, but I don’t. My understanding is that you use the transformtei script, but what inputs do you give it?
Thanks, Hugh
--
tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-----BEGIN PGP SIGNATURE-----
iQEcBAEBAgAGBQJVY4N1AAoJEJclm6G69Xq22GYIAIF8lE6VUV1ndVu6DN3vt0/9 sPOlXC9qG/+MNAFJPKl9Q3rbXcs6iUoMKtfSP7I10c+WOeoBsvT6mnyE/lCZHe0W oKsonsyW0mzVw3cV6pJIS8HAKQY/zIwT+dN4G7TuXBHVic9uUi+30JOfNYZvST3c SVl4bngi+RGcAud0JD6Jm1RqHRyesDp3usRXc31tKPi2xoUSll6/23dxeRAeoTiI bFz01F8ESfUS+/u590iuR+nUBjtv1ouDT5cfIlwu4RUA/vqvkzBo8klOGtCSVvzK MNy00TuJCHRt7IjK5AOGEbw/g100InbjPwyN/Vv0oyjf4jkLFZtpIDyGlfkL/sg= =GMRt -----END PGP SIGNATURE-----
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
Mr. Rahtz is a very clever chap indeed. I think though, that the Github Stylesheets repo needs some documentation on how to use this stuff. I suggest we either greatly expand the README.md or add a new USAGE.md document linked from it. The README should explain what’s there and how to use it.
On May 25, 2015, at 16:00 , Martin Holmes
wrote: I've you're on a NIX*-y machine, you should be able to use:
bin/teitorelaxng tei_all.odd
and get something called tei_all.odd.relaxng.
teitorelaxng is just a symlink to transformtei, which supplies (through its own name) the required parameters. Very clever indeed, Mr Rahtz is.
Cheers, Martin
On 15-05-25 12:50 PM, Hugh Cayless wrote:
Can someone explain to me like I’m an idiot how to use the Stylesheets to generate, say, a TEI All schema using the Guidelines specs? I’m afraid the documentation doesn’t give me enough to go on. I thought I understood it, but I don’t. My understanding is that you use the transformtei script, but what inputs do you give it?
Thanks, Hugh
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
Some documentation on all of this gets created by the build process and copied to http://www.tei-c.org/release/doc/tei-xsl/ . But I agree that it's hard to understand. I've started documenting a few points at http://wiki.tei-c.org/index.php/Tei-xsl#Documentation , but moving into a .md file, where people would expect to find it, is the way to go. --Kevin On 5/26/15 8:03 AM, Hugh Cayless wrote:
Mr. Rahtz is a very clever chap indeed. I think though, that the Github Stylesheets repo needs some documentation on how to use this stuff. I suggest we either greatly expand the README.md or add a new USAGE.md document linked from it. The README should explain what’s there and how to use it.
On May 25, 2015, at 16:00 , Martin Holmes
wrote: I've you're on a NIX*-y machine, you should be able to use:
bin/teitorelaxng tei_all.odd
and get something called tei_all.odd.relaxng.
teitorelaxng is just a symlink to transformtei, which supplies (through its own name) the required parameters. Very clever indeed, Mr Rahtz is.
Cheers, Martin
On 15-05-25 12:50 PM, Hugh Cayless wrote:
Can someone explain to me like I’m an idiot how to use the Stylesheets to generate, say, a TEI All schema using the Guidelines specs? I’m afraid the documentation doesn’t give me enough to go on. I thought I understood it, but I don’t. My understanding is that you use the transformtei script, but what inputs do you give it?
Thanks, Hugh
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
We are expecting typical 'summery' weather. Wednesday-Thursday will be warm and moist, temperatures 60-85 F (15-30 C or 302 K!), with thunderstorms likely late. Friday and Saturday may dry out and cool down to 50-70 F (10-21 C). http://www.wunderground.com/q/zmw:48105.1.99999?sp=KMIANNAR33 pfs -- Paul Schaffner Digital Library Production Service PFSchaffner@umich.edu | http://www.umich.edu/~pfs/
Sorry to say that after running all the hoops in both directions, I finally determined that the only way to obtain the preferential hotel rates quoted was for the University to pay the hotel on a purchase order as a lump sum, and then be in turn reimbursed by the TEI. So that is what we will do. I.e., those who wished to pay their own hotel bill won't be able to. In fact, no indvidual person should pay anything. I should point out that this covers only the things that the University is prepared by policy to pay for, i.e. room rate, breakfast if included (which it is), ordinary fees and taxes. No meals charged to the room, room service, etc. pfs -- Paul Schaffner Digital Library Production Service PFSchaffner@umich.edu | http://www.umich.edu/~pfs/
Thanks Paul. I'm sure that makes your life more complicated, but ours simpler. :-) Cheers, Martin On 15-05-26 06:29 AM, Paul Schaffner wrote:
Sorry to say that after running all the hoops in both directions, I finally determined that the only way to obtain the preferential hotel rates quoted was for the University to pay the hotel on a purchase order as a lump sum, and then be in turn reimbursed by the TEI. So that is what we will do. I.e., those who wished to pay their own hotel bill won't be able to. In fact, no indvidual person should pay anything.
I should point out that this covers only the things that the University is prepared by policy to pay for, i.e. room rate, breakfast if included (which it is), ordinary fees and taxes. No meals charged to the room, room service, etc.
pfs
There is some documentation, actually. To build it you need to run make doc in the Stylesheets directory; then you'll find index.xml in the Documentation folder. If you then run teitohtml Documentation/index.xml, you'll get index.xml.html, which is a pretty good piece of documentation. There's probably a better way to do this, but I don't really know what it is. Cheers, Martin On 15-05-26 06:03 AM, Hugh Cayless wrote:
Mr. Rahtz is a very clever chap indeed. I think though, that the Github Stylesheets repo needs some documentation on how to use this stuff. I suggest we either greatly expand the README.md or add a new USAGE.md document linked from it. The README should explain what’s there and how to use it.
On May 25, 2015, at 16:00 , Martin Holmes
wrote: I've you're on a NIX*-y machine, you should be able to use:
bin/teitorelaxng tei_all.odd
and get something called tei_all.odd.relaxng.
teitorelaxng is just a symlink to transformtei, which supplies (through its own name) the required parameters. Very clever indeed, Mr Rahtz is.
Cheers, Martin
On 15-05-25 12:50 PM, Hugh Cayless wrote:
Can someone explain to me like I’m an idiot how to use the Stylesheets to generate, say, a TEI All schema using the Guidelines specs? I’m afraid the documentation doesn’t give me enough to go on. I thought I understood it, but I don’t. My understanding is that you use the transformtei script, but what inputs do you give it?
Thanks, Hugh
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
participants (6)
-
Hugh Cayless
-
Kevin Hawkins
-
Martin Holmes
-
Paul Schaffner
-
Peter Stadler
-
Raffaele Viglianti