This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] How to indicate code snippets in Docbook?


Sorry for this newbie question. I'm trying to learn this stuff as I write. I'm a bit stumped on how to specify inline code snippets and set-apart (separate "paragraph") code examples.

In HTML, I would use <code>a[i]</code> and

<pre>
  public void foo() {
  }
</pre>

for these roles. What's the nearest Docbook equivalent?

Bob Foster


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]