DOCBOOK-APPS: Re: Producing fontified C on HTML otuput
/ Jaime Irving Dávila Latorre [EMAIL PROTECTED] was heard to say: | I'm not sure if I got right this idea, because if I put some sort of | markup on the source code, it will be presented verbatim (because the | programlisting will be around the pre-processed code) on the html | output. Do I need to twist my personal stylesheets so that the output of | programlisting won't be processed verbatim? Perhaps. If you just want to make keywords (for example) italic, but you don't mind the verbatim font, you can use things like this: programlisting some emphasiskeyword/emphasis in this line /programlisting If you want a non-verbatim font, you've got a much harder task ahead of you because it'll be very difficult to get the horizontal alignment right with a proportional font. In fact, I think you'll have to use...ugh...tables to do it. Be seeing you, norm -- Norman Walsh [EMAIL PROTECTED] | The things we have most longed for http://www.oasis-open.org/docbook/ | do not happen; or if they do, it Chair, DocBook Technical Committee | is never at the time nor under the | circumstances when they could have | made us happiest.--La Bruy\`ere
DOCBOOK-APPS: Re: Producing fontified C on HTML otuput
El mar, 21-05-2002 a las 11:42, Norman Walsh escribió: / Jaime Irving Dávila Latorre [EMAIL PROTECTED] was heard to say: [...] | Is there a way to tweak the stylesheets to produce this kind of html | output? Is there another way to accomplish this? Tweak the sourcecode. Run it through some sort of pre-processor that marks up the things you want highlighted. I'm not sure if I got right this idea, because if I put some sort of markup on the source code, it will be presented verbatim (because the programlisting will be around the pre-processed code) on the html output. Do I need to twist my personal stylesheets so that the output of programlisting won't be processed verbatim? Thanks a lot Be seeing you, norm -- Norman Walsh [EMAIL PROTECTED] | All along the untrodden paths of http://www.oasis-open.org/docbook/ | the future, I can see the Chair, DocBook Technical Committee | footprints of an unseen hand.--Sir | Boyle Roche
DOCBOOK-APPS: Re: Producing fontified C on HTML otuput
/ Jaime Irving Dávila Latorre [EMAIL PROTECTED] was heard to say: [...] | Is there a way to tweak the stylesheets to produce this kind of html | output? Is there another way to accomplish this? Tweak the sourcecode. Run it through some sort of pre-processor that marks up the things you want highlighted. Be seeing you, norm -- Norman Walsh [EMAIL PROTECTED] | All along the untrodden paths of http://www.oasis-open.org/docbook/ | the future, I can see the Chair, DocBook Technical Committee | footprints of an unseen hand.--Sir | Boyle Roche
Re: DOCBOOK-APPS: Re: Producing fontified C on HTML otuput
`cat -n' works (on Linux). --- Vladimir Vladimir G. Ivanovichttp://leonora.org/~vladimir 2770 Cowper St. [EMAIL PROTECTED] Palo Alto, CA 94306-2447 +1 650 678 8014 NW == Norman Walsh [EMAIL PROTECTED] writes: NW / Jaime Irving Dávila Latorre [EMAIL PROTECTED] was heard to say: Is there a way to tweak the stylesheets to produce this kind of html output? Is there another way to accomplish this? NW Tweak the sourcecode. Run it through some sort of pre-processor that NW marks up the things you want highlighted.
DOCBOOK-APPS: Re: Producing fontified C on HTML otuput
/ Vladimir G. Ivanovic [EMAIL PROTECTED] was heard to say: | `cat -n' works (on Linux). I thought more than line-numbers was desired. If all you want is line numbers, you can just turn on linenumbering on the programlisting in question. Be seeing you, norm -- Norman Walsh [EMAIL PROTECTED] | Some people can stay longer in an http://www.oasis-open.org/docbook/ | hour than others can in a week Chair, DocBook Technical Committee |