473,386 Members | 1,741 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Docbook: marking variables

Greetings,

what is the correct way to mark a variable using Docbook? I do not mean
the name of a variable from some program code. There is <varname> for
this. I mean something like:

Let n be the number of files. ...

I'd like to mark the 'n' somehow. In LaTeX one would do $n$.

Thanks!

Lasse

--
Those who do not understand Unix
are condemned to reinvent it, poorly.
-- Henry Spencer, 1987.
Jun 17 '06 #1
1 1183
Lasse Kliemann wrote:
Greetings,

what is the correct way to mark a variable using Docbook? I do not mean
the name of a variable from some program code. There is <varname> for
this. I mean something like:

Let n be the number of files. ...

I'd like to mark the 'n' somehow. In LaTeX one would do $n$.


If your document is going to be converted to LaTeX for typesetting,
then <varname lang="TeX">n</varname> should be enough for a stylesheet
to pick it up and turn it into \(n\) or $n$, and the description of
it as a variable seems adequate. But you could also turn on MathML
in DocBook and then I believe use <inlineequation>, although it is
probably too cumbersom for a simple reference to a single variable.

///Peter
--
XML FAQ: http://xml.silmaril.ie/
Jun 18 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dr. Laurence Leff | last post by:
I am having trouble doing the basics with xmlto on Redhat to convert DocBook XML into the various files. I believe the problem is the first line on the files: Here is starter file (notes.xml):...
2
by: Simon Strandgaard | last post by:
I am trying to understand how to create a 'catalog.xml' file for my docbook-xml documents. If I understand correct a local catalog.xml file can both avoid hardcoding in makefiles (portability),...
3
by: ZJT | last post by:
What are the ways and corresponding tools to transform a docbook document to a pdf document? Thanks a lot!
2
by: Jacky | last post by:
On Windows 2000, with OpenJade 1.3.1, and the DocBook sgml/XML DTD 4.2 from sourceforge. I can use OpenJade 1.3.1 to generate an rtf document from a DocBook sgml document. But it failed from a...
2
by: Yarco | last post by:
I'm learning for docbook under win32. I download: openjade-1_3_1-2-bin docbook-xml-4.4 docbook-dsssl-1.79 ldp.dsl And then copy all openjade bin\ to win32 system\, and then create a directory...
7
by: mike p. | last post by:
I have a docbook xml file, and am using standard docbook 1.61.3 xsl stylesheets to do xhtml transform. Transform works fine when using MSXML. When I try to do the following using asp.net 1.1: ...
3
by: Otmar Ganahl | last post by:
Hi! In my application I transform a docbook file to a html view using the webcontrol "Xml" (with a xsl).It works fine, except the using of the tag "fileref" in the docbook-file will cause an...
2
by: Joseph Kesselman | last post by:
Since the recent "Docbook on Windows" question brought this up... I did a bit of checking on the current status of these schemas, what they're intended for and how they interrelate. IBM's Robert...
1
by: tthunder | last post by:
Hi @all, I have a very simple use case here, but I cannot get any answer. I want to publish/provide a customized XSL Stylesheet for DocBook Users. The stylesheet defines variables for the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.