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.
1
vote
1answer
32 views
XML with Listings: Different colors for attributes and elements
How can I make every attribute name in color X and every element name in color Y without adding keywords and stuff?
What I did so far:
\lstdefinelanguage{myXML}
{
morestring=[b]",
...
5
votes
0answers
23 views
parsing bbl file to an xml file from within pdflatex while typesetting
As editor of a journal I need to translate the bibliography, in a bbl file, into part of an xml file (for potential submission to cross-ref). It seems best done on the fly by pdfLaTeX so I can also ...
3
votes
0answers
76 views
XML or other markup to LaTeX?
In my university project I am doing software testing - planning, implementation, evaulation. All test documents have the format:
General information
Test categories
Test cases
Test implementation ...
1
vote
2answers
80 views
Configure Minted Color XML
I'm using minted package for code listing, however I don't like some of the colors too much. Is it possible to configure these colors? For example, When I display the colors to view XML color, the ...
10
votes
3answers
286 views
Front end software for editors
The editors and typesetters at my organization are not very computer savvy, so I don't think they would be interested in editing in LaTeX or XML directly. However, we are interested in pursuing a ...
7
votes
1answer
265 views
ConTeXt mkIV and XML: how do you define a self-closing tag with no content to pass?
I am using TEI Lite, and trying to typeset with ConTeXt. TEI Lite defines <divGen type='toc' /> to signal the Table of Contents, which in ConTeXt is \completecontents
Now I am trying this:
...
6
votes
2answers
291 views
ConTeXt style/environment files for setting TEI?
Is there a repository of styles for typesetting XML, specifically TEI XML markup, using ConTeXt?
I've been googling now for a week or so trying to dig up as much information as possible about ...
5
votes
0answers
72 views
Using XMLTeX to typeset OpenDocument Text
I know that XMLTeX has already been used to typeset TEI documents, but has anyone publicly worked on a set of environment files and stylesheets to typeset OpenDocument Text? I have been looking for ...
5
votes
4answers
398 views
Latex not data driven enough, Embed XML+XSLT?
Ok, so I've been using Lyx for about a year now. I haven't really dug too deep in to the LaTex/Tex side of things.
I've a little more experience with XML + XSLT.
It has a nice seperation of Data from ...
4
votes
1answer
245 views
Including XML file into LaTeX
I am using LaTeX for very first time and have very basic knowledge about it. I am using the template from here to write my thesis. I am using Ubuntu 12.04.
When I try to include a small XML file in ...
3
votes
2answers
286 views
Someone knows a xml2tex converter?
I've already Googled it, without concrete success. So, I'd like to know if someone knows a converter from XML to TeX. Something "simple" as latex2rtf.
2
votes
1answer
845 views
How to render XML tag brackets bold with listings package?
I'm currently using the listings package to render my XML snippets. The default XML language settings recognize elements, attribute and text properly and my style is set to render tag names bold, ...
5
votes
2answers
344 views
Latex to XML using pdflatex
I am writing Latex to XML. While compiling pdflatex we generate a xml file using \immediate\write{text} in tagged commands. But how can i get normal text to XML file. Can any one explain with samples.
...
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 ...
11
votes
1answer
355 views
Embedding extended XMP metadata into a PDF file
I am preparing a thesis paper for submission into an electronic library database. Our institution cooperates with the British Library that uses their EThOS system to harvest the papers from the local ...
4
votes
2answers
455 views
Can DITA be rendered to PDF via LaTeX rather than XSL-FO?
(Typing "DITA" and "LaTeX" into Google is NSFW, but this is a genuine question!)
I'm a technical writer rather than coder, but I'd appreciate a coder's answer.
DITA is a maturing standard for ...
8
votes
1answer
360 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, ...
8
votes
7answers
1k views
Want a TeX to XML or MathML converter
Is there a TeX engine that converts a TeX document to MathML or XML directly the way PDFTeX converts text input to PDF?
I am familiar with some converters that transform a subset of TeX into ...
1
vote
1answer
353 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}
...
5
votes
1answer
701 views
XML syntax highlighting does not work
How do I make comments highlighted in the form:
<!-- ======= Processing Root tag ======= -->
. This is not working.
\documentclass[11pt]{scrartcl}
\usepackage{listings, color}
...
6
votes
1answer
317 views
What are the advantages of using ConTeXt's XML?
I have discovered quite a number of documents at the PRAGMA ADE Web page, showing how to create documents using an XML system. Much of the documents show features, such as tables, which appear, at ...
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 ...
2
votes
1answer
374 views
TeXnicCenter typing macros
Sometimes my LaTeX document gets long and messy, and so it's hard for me to look through and find what I want. When I program, I usually have a macro in my IDE that creates a separator of comments to ...
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" ...
7
votes
3answers
505 views
Best way to write an xml tag
I'm writing a document about an XML schema, and I will be talking a lot of times about that <tag1> or that other <tag2>. Since I'm only mentioning them and not printing a whole XML file, ...
3
votes
1answer
220 views
How can I convert a TeX document to Texinfo format?
I have a straight TeX document, and I'd like to produce from it a Texinfo document. Does there exist a tool that does this, or a set of guidelines? TeX and Texinfo seem to be closely related, so it ...
4
votes
1answer
252 views
Including transformed XML
I need to include a transformed XML document into my LaTeX source. Transformation is specified inside the XML via XSLT. I recently started using LaTeX and I have bib database in XML. However, this XML ...
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 ...
15
votes
2answers
959 views
Writing a technical book, structuring first then layout later possible?
I want to write a Technical Book that eventually should go to Lulu.com for publishing, so I have to stick to certain strict rules about page sizes and layout.
I'm currently looking for a way to focus ...
7
votes
1answer
2k views
XML highlighting - different style for attributes
I need to highlight syntax in my LaTeX presentation, so i've found this answer:
XML syntax highlighting
\lstdefinelanguage{XML}
{
morestring=[b]",
morestring=[s]{>}{<},
...
6
votes
2answers
1k views
Breaking long lines using latex with minted and pygments
Since Acrobat obviously isn't able to convert XML to PDF from command line, I'm trying to achieve it using LaTeX.
I found the minted package doing a quite good (and simple) job since it uses pygments ...
