|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Inline book reference infoHello all
I have this: <para> John Holt said: </para> <blockquote> <para> "Of course, a child may not know what he may need to know in ten years (who does?), but he knows, and much better than anyone else, what he wants and needs to know right now, what his mind is ready and hungry for. If we help him, or just allow him, to learn that, he will remember it, use it, build on it." </para> <para> - <citetitle pubwork="book">Teach Your Own: a hopeful path for education</citetitle> (Brightlingsea: Lighthouse Books, 1981, p. 60) </para> </blockquote> Technically I suspect it's a bit wrong really to have the attribution inside the blockquote, but I'm happy with it as a separate paragraph in the same colours as the blockquote. (and I'm the only one who's ever likely to see this markup, so while I personally would like it to make sense, it's not going to break anything to have it technically wrong :-) ) What I'm not happy with yet is the default font for the publisher, publishing year and page number. Is there a wrapper which would fit neatly around all of those and produce an HTML class tag by which I could address it from a CSS stylesheet? because I'd like them - including the brackets - to come out a bit smaller than the rest of it. I've looked briefly through lots of things like biblioref and reference and bibliosource. But they all either seem to be for completely different things or else they say "Processing expectations: Suppressed. Many of the elements in this wrapper may be used in presentation, but they are not generally printed as part of the formatting of the wrapper. It merely serves to identify where they occur." So not sure if there is a thing and I'm missing it through unfamiliarity, or if there just isn't one. Thanks in advance for any clues! Jennifer -- www.uncharted-worlds.org/blog/ --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscribe@... For additional commands, e-mail: docbook-help@... |
|
|
RE: Inline book reference infoJennifer,
I was not 100% sure whether you want to have an element around everything or just around the publishing information after the citetitle. If it's the former, you can put a blockquote inside a para, which would let you have a surrounding para, which could have a role attribute you could use to generate the HTML class atribute you need.. If it's the latter, there are a couple of ways you can go. First of all, you can put the attribution element directly inside the blockquote, which is preferable to putting a para with a citetitle inside. Then, you might find elements inside attribution that would do what you need. If not, you can always put text inside a phrase element and give the phrase a role attribute you can use to generate the HTML class attribute you need. Hope that helps. Dick Hamilton --------------------------------- XML Press XML for Technical Communicators http://xmlpress.net (970) 231-3624 > -----Original Message----- > From: Jennifer Moore [mailto:jennifer@...] > Sent: Saturday, August 22, 2009 1:12 PM > To: docbook@... > Subject: [docbook] Inline book reference info > > > Hello all > > I have this: > > <para> > John Holt said: > </para> > > <blockquote> > <para> > "Of course, a child may not know what he may need to know in ten > years (who does?), but he knows, and much better than anyone > else, what > he wants and needs to know right now, what his mind is ready > and hungry > for. If we help him, or just allow him, to learn that, he > will remember > it, use it, build on it." > </para> > <para> > - <citetitle pubwork="book">Teach Your Own: a hopeful path for > education</citetitle> (Brightlingsea: Lighthouse Books, 1981, p. 60) > </para> > </blockquote> > > Technically I suspect it's a bit wrong really to have the attribution > inside the blockquote, but I'm happy with it as a separate > paragraph in > the same colours as the blockquote. (and I'm the only one who's ever > likely to see this markup, so while I personally would like > it to make > sense, it's not going to break anything to have it > technically wrong :-) ) > > What I'm not happy with yet is the default font for the publisher, > publishing year and page number. Is there a wrapper which would fit > neatly around all of those and produce an HTML class tag by which I > could address it from a CSS stylesheet? because I'd like them - > including the brackets - to come out a bit smaller than the > rest of it. > > I've looked briefly through lots of things like biblioref and > reference > and bibliosource. But they all either seem to be for completely > different things or else they say "Processing expectations: > Suppressed. > Many of the elements in this wrapper may be used in presentation, but > they are not generally printed as part of the formatting of > the wrapper. > It merely serves to identify where they occur." > > So not sure if there is a thing and I'm missing it through > unfamiliarity, or if there just isn't one. > > Thanks in advance for any clues! > > Jennifer > > -- > www.uncharted-worlds.org/blog/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-unsubscribe@... > For additional commands, e-mail: docbook-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscribe@... For additional commands, e-mail: docbook-help@... |
|
|
Re: Inline book reference infoHi Dick & everyone
> I was not 100% sure whether you want to have an element > around everything or just around the publishing information > after the citetitle. > If it's the latter, there are a couple of ways you can go. > First of all, you can put the attribution element directly > inside the blockquote, which is preferable to putting a para > with a citetitle inside. > > Then, you might find elements inside attribution that would > do what you need. If not, you can always put text inside a > phrase element and give the phrase a role attribute you can > use to generate the HTML class attribute you need. A "phrase" with a role will do the trick nicely. (and probably come in handy for some other things too - I hadn't spotted that tag before.) Thanks! Jennifer -- www.uncharted-worlds.org/blog/ --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscribe@... For additional commands, e-mail: docbook-help@... |
| Free embeddable forum powered by Nabble | Forum Help |