|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
docbook with style infoI have to reproduce some documents that don't necessarily make any
sense from a consistent style viewpoint. Is there anything like docbook but that allows one to include style information right in the main document. It should produce xml fo. e.g. <para><bold>This</bold> appears in bold.</para> Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscribe@... For additional commands, e-mail: docbook-help@... |
|
|
RE: docbook with style infoYes:
<para><emphasis role="bold">This</emphasis> appears in bold.</para> You can also do role="underline" and role="strikethrough" (or customize the template <xsl:template match="emphasis"> in inline.xsl if you need more). David > -----Original Message----- > From: A. Black [mailto:xuvt99@...] > Sent: Monday, October 12, 2009 10:30 AM > To: docbook@... > Subject: [docbook] docbook with style info > > I have to reproduce some documents that don't necessarily > make any sense from a consistent style viewpoint. Is there > anything like docbook but that allows one to include style > information right in the main document. It should produce xml fo. > > e.g. > > <para><bold>This</bold> appears in bold.</para> > > Thanks. > > --------------------------------------------------------------------- > 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: docbook with style infoThanks (and also thanks to Marvin).
Does there exist such a stylesheet as you mention already available off-the-shelf with all the style elements such as bold, underline, italics, colors, fonts, font sizes, etc. already built in and not just italics, bold and strikethrough? Surely I can't be the first person with this problem. On Mon, Oct 12, 2009 at 11:34 AM, David Cramer <dcramer@...> wrote: > Yes: > > <para><emphasis role="bold">This</emphasis> appears in bold.</para> > > You can also do role="underline" and role="strikethrough" (or customize > the template <xsl:template match="emphasis"> in inline.xsl if you need > more). > > David > >> -----Original Message----- >> From: A. Black [mailto:xuvt99@...] >> Sent: Monday, October 12, 2009 10:30 AM >> To: docbook@... >> Subject: [docbook] docbook with style info >> >> I have to reproduce some documents that don't necessarily >> make any sense from a consistent style viewpoint. Is there >> anything like docbook but that allows one to include style >> information right in the main document. It should produce xml fo. >> >> e.g. >> >> <para><bold>This</bold> appears in bold.</para> >> >> Thanks. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: docbook-unsubscribe@... >> For additional commands, e-mail: docbook-help@... >> >> > -- The Palpable Prostate http://palpable-prostate.blogspot.com/2008/02/contents.html --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscribe@... For additional commands, e-mail: docbook-help@... |
|
|
Re: docbook with style infoWell, bold and strong are supported, and the default formatting for
emphasis is italic (or em). There is also documentation for how to customize this further. See Bob Stayton's excellent DocBook XSL book: http://www.sagehill.net/docbookxsl/CustomInlines.html http://www.sagehill.net/docbookxsl/UsingCSS.html Fonts are handled differently: http://www.sagehill.net/docbookxsl/PrintCustomEx.html#RootProperties http://www.sagehill.net/docbookxsl/AddFont.html#ConfigureFonts Best regards, --Scott Hudson Senior XML Architect http://www.flatironssolutions.com A. Black wrote: > Thanks (and also thanks to Marvin). > > Does there exist such a stylesheet as you mention already available > off-the-shelf with all the style elements such as bold, underline, > italics, colors, fonts, font sizes, etc. already built in and not just > italics, bold and strikethrough? Surely I can't be the first person > with this problem. > > On Mon, Oct 12, 2009 at 11:34 AM, David Cramer <dcramer@...> wrote: >> Yes: >> >> <para><emphasis role="bold">This</emphasis> appears in bold.</para> >> >> You can also do role="underline" and role="strikethrough" (or customize >> the template <xsl:template match="emphasis"> in inline.xsl if you need >> more). >> >> David >> >>> -----Original Message----- >>> From: A. Black [mailto:xuvt99@...] >>> Sent: Monday, October 12, 2009 10:30 AM >>> To: docbook@... >>> Subject: [docbook] docbook with style info >>> >>> I have to reproduce some documents that don't necessarily >>> make any sense from a consistent style viewpoint. Is there >>> anything like docbook but that allows one to include style >>> information right in the main document. It should produce xml fo. >>> >>> e.g. >>> >>> <para><bold>This</bold> appears in bold.</para> >>> >>> Thanks. >>> >>> --------------------------------------------------------------------- >>> 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: docbook with style infoThanks. I own Stayton's book and it was after reading the relevant
sections that I thought I would ask if anyone has already prepared a stylesheet with the indicated functionality. If the answer is no then certainly I will look into those sections more but am still hoping it exists. On Mon, Oct 12, 2009 at 12:15 PM, Scott Hudson <scott.hudson@...> wrote: > Well, bold and strong are supported, and the default formatting for emphasis > is italic (or em). > > There is also documentation for how to customize this further. See Bob > Stayton's excellent DocBook XSL book: > > http://www.sagehill.net/docbookxsl/CustomInlines.html > http://www.sagehill.net/docbookxsl/UsingCSS.html > > Fonts are handled differently: > http://www.sagehill.net/docbookxsl/PrintCustomEx.html#RootProperties > http://www.sagehill.net/docbookxsl/AddFont.html#ConfigureFonts > > Best regards, > > --Scott Hudson > Senior XML Architect > http://www.flatironssolutions.com > > > A. Black wrote: >> >> Thanks (and also thanks to Marvin). >> >> Does there exist such a stylesheet as you mention already available >> off-the-shelf with all the style elements such as bold, underline, >> italics, colors, fonts, font sizes, etc. already built in and not just >> italics, bold and strikethrough? Surely I can't be the first person >> with this problem. >> >> On Mon, Oct 12, 2009 at 11:34 AM, David Cramer <dcramer@...> wrote: >>> >>> Yes: >>> >>> <para><emphasis role="bold">This</emphasis> appears in bold.</para> >>> >>> You can also do role="underline" and role="strikethrough" (or customize >>> the template <xsl:template match="emphasis"> in inline.xsl if you need >>> more). >>> >>> David >>> >>>> -----Original Message----- >>>> From: A. Black [mailto:xuvt99@...] >>>> Sent: Monday, October 12, 2009 10:30 AM >>>> To: docbook@... >>>> Subject: [docbook] docbook with style info >>>> >>>> I have to reproduce some documents that don't necessarily >>>> make any sense from a consistent style viewpoint. Is there >>>> anything like docbook but that allows one to include style >>>> information right in the main document. It should produce xml fo. >>>> >>>> e.g. >>>> >>>> <para><bold>This</bold> appears in bold.</para> >>>> >>>> Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscribe@... For additional commands, e-mail: docbook-help@... |
|
|
RE: docbook with style infoA point to consider: one of the benefits of using DocBook is that you can mark up your content semantically. So instead of doing <b>error.log</b> you can do <filename>error.log</filname>. That way, when, as often happens, your company is bought by some larger company and it turns out that the style at the new company is to make filenames monospace, you can just change your customization layer and have the old content immediately have the formatting of the new company. I only use the emphasis element when I <emphasis>really</emphasis> want to emphasize some point. Otherwise, I try to use something more semantic.
David > -----Original Message----- > From: A. Black [mailto:xuvt99@...] > Sent: Monday, October 12, 2009 1:08 PM > To: Scott Hudson > Cc: docbook@... > Subject: Re: [docbook] docbook with style info > > Thanks. I own Stayton's book and it was after reading the > relevant sections that I thought I would ask if anyone has > already prepared a stylesheet with the indicated > functionality. If the answer is no then certainly I will > look into those sections more but am still hoping it exists. > > On Mon, Oct 12, 2009 at 12:15 PM, Scott Hudson > <scott.hudson@...> wrote: > > Well, bold and strong are supported, and the default formatting for > > emphasis is italic (or em). > > > > There is also documentation for how to customize this > further. See Bob > > Stayton's excellent DocBook XSL book: > > > > http://www.sagehill.net/docbookxsl/CustomInlines.html > > http://www.sagehill.net/docbookxsl/UsingCSS.html > > > > Fonts are handled differently: > > http://www.sagehill.net/docbookxsl/PrintCustomEx.html#RootProperties > > http://www.sagehill.net/docbookxsl/AddFont.html#ConfigureFonts > > > > Best regards, > > > > --Scott Hudson > > Senior XML Architect > > http://www.flatironssolutions.com > > > > > > A. Black wrote: > >> > >> Thanks (and also thanks to Marvin). > >> > >> Does there exist such a stylesheet as you mention already > available > >> off-the-shelf with all the style elements such as bold, underline, > >> italics, colors, fonts, font sizes, etc. already built in and not > >> just italics, bold and strikethrough? Surely I can't be the first > >> person with this problem. > >> > >> On Mon, Oct 12, 2009 at 11:34 AM, David Cramer > <dcramer@...> wrote: > >>> > >>> Yes: > >>> > >>> <para><emphasis role="bold">This</emphasis> appears in > bold.</para> > >>> > >>> You can also do role="underline" and role="strikethrough" (or > >>> customize the template <xsl:template match="emphasis"> in > inline.xsl > >>> if you need more). > >>> > >>> David > >>> > >>>> -----Original Message----- > >>>> From: A. Black [mailto:xuvt99@...] > >>>> Sent: Monday, October 12, 2009 10:30 AM > >>>> To: docbook@... > >>>> Subject: [docbook] docbook with style info > >>>> > >>>> I have to reproduce some documents that don't > necessarily make any > >>>> sense from a consistent style viewpoint. Is there anything like > >>>> docbook but that allows one to include style information > right in > >>>> the main document. It should produce xml fo. > >>>> > >>>> e.g. > >>>> > >>>> <para><bold>This</bold> appears in bold.</para> > >>>> > >>>> Thanks. > > --------------------------------------------------------------------- > 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@... |
| Free embeddable forum powered by Nabble | Forum Help |