XML (Extensible Markup Language) is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards.
16
votes
3answers
12k views
XML syntax highlighting
I use the following code to include some XML code:
\lstset{language=XML}
\begin{lstlisting}
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" ...
9
votes
6answers
874 views
Is there some typesetting system that uses XML notation?
Is there some typesetting system that uses XML for notation? This is no offense, but I don't like to type \emph{This \emph{text} is important} despite the fact that there are editors that can do it ...
8
votes
1answer
361 views
Listings package does not break
The following code does not break even though the breaklines and breakatwhitespace is set:
\lstset{
language=XML,
numbers=left,
numberstyle=\tiny\color{gray},
stepnumber=1, ...
1
vote
1answer
354 views
Hightlight an XML code beamer
To hightlight an XML code I have refer to XML syntax highlighting, so I write:
\documentclass[10pt]{beamer}
\usepackage{listings}
\usepackage{color}
\definecolor{gray}{rgb}{0.4,0.4,0.4}
...
3
votes
1answer
292 views
How to escape xml code?
How to escape this kind of expression and make in typewritter font?
I added $ dollars to both ends, it did work - warnings dissapear. But text became italic of unknown font and it doesn't jump on ...
0
votes
1answer
224 views
Any tricks for using the currvita style with tex4ht?
TeX4ht doesn't quite understand the currvita style's cvlist environment. It appears that cvlist takes the heading as an argument, typesets this heading into an \sbox, and uses the sbox inside the ...