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.

learn more… | top users | synonyms

-1
votes
0answers
46 views

Recommented Workflow: XML workflow in LaTeX [closed]

We have would like to develop XML Workflow in LaTeX Platform. Please suggest ConTeXT or XMLTeX or anything. Please provide the tutorials would be greatly appreciated.
3
votes
1answer
45 views

Problems with XML Syntax Highlighting

I want to highlight syntax in XML files. I found a nice definition from krlmlr which I changed to my needs. It works fine for Android's xml files: But the result of a xml file with values in ...
2
votes
0answers
52 views

Generating LaTeX reports from XML *without* external scripts

First of all, I apologize if this is pretty similiar in nature to my previous question: Reading and (custom) formatting a CSV (not \csvautotabular) I thought it would be better to separate the two ...
0
votes
0answers
46 views

How can I mimic the style of 'algorithm' in an 'lstlisting' environment? [closed]

In my LaTeX document, I have an algorithm added using algorithm and algorithmic: \documentclass{article} \usepackage{graphicx} \usepackage{apalike} \usepackage{setspace} \usepackage{amsmath} % ...
2
votes
2answers
78 views

Arabic font for Listing

Currently, I am using Listings package in order to insert my XML text in the document. For example the code: \begin{lstlisting} <Product Title="نوکیا" Type="گوشی"> \end{lstlisting} The ...
1
vote
0answers
33 views

XML style for Latex including Persian characters with some preferences

I am using the listings package to include some XML code in my document. Currently, I am using the following style: \lstset{ basicstyle=\ttfamily, columns=fullflexible, ...
6
votes
1answer
236 views

Does a (Lua) approach exist, to read XML data into a .tex file?

I am having a lot of data in .xml files which look like this: <DATA> <NAME="name" /> <VERSION="1" /> <VARIABLES> <TEST> <ELEMENT atr="0" ...
2
votes
1answer
63 views

Listings refuses to highlight identifiers such as 'intent–filter'. Why?

I have some xml code, which I want to look fine in my latexdocument. I am doing it this way: \documentclass[12pt]{scrartcl} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} ...
1
vote
0answers
27 views

Can I use Writer2LaTeX and the `mla-paper` style together?

I use LibreOffice 4.1.3.x, and have had success using a patched version of Writer2LaTex with documents created in LibreOffice Writer. I want to create a (sub?)filter for Writer2LaTeX that allows me ...
1
vote
1answer
47 views

How can I have a hyphenated XML tag in a listing?

Consider the following valid XML according to http://stackoverflow.com/a/1478623/1443496? \documentclass{article} \usepackage{listings} \lstset{ language=xml, morekeywords=some-tag, } ...
1
vote
1answer
99 views

Why is lstlisting splitting my XML tags?

I have a little problem with this ambient. I have some XML to insert into my document and the thing that really bugs me is that the new line breaks a closing tag in two. I indicated to the environment ...
4
votes
1answer
167 views

Install plasTeX on Windows 7

PlasTeX is a free, open-source tool to process (La)TeX files and convert them to xHTML by default, but also docbook, text, and others. It is fully customizable. How do I install plasTeX on Windows ...
4
votes
1answer
174 views

Color lines in source code that is embedded in LaTeX

I am looking for a way to mark some lines in a source code sample that will be integrated into my LaTeX code. I already found solutions to embed source code and have syntax highlighting like this ...
1
vote
1answer
125 views

How to format xml?

Hi I use the following LaTeX to ouput xml format data, however, there is no space before each line. \documentclass{minimal} \usepackage{etex}, \begin{document} \medskip {\small\noindent ...
8
votes
1answer
91 views

How to omit the last four lines of a sample code in listing

I am using the listings package to include xml samples in the documentation I am writing. I am aware of the firstline and lastline attributes \lstinputlisting[firstline=4,lastline=24]{example.xml} ...
2
votes
1answer
109 views

Convert TeX to XDoc

I am rather new in this forum, so that I hope you will be patient in case of naive question. I would like to know if any of you is aware of ready-made tools to convert a TeX document into a XDoc. So ...
3
votes
1answer
233 views

Creating Excel documents with LaTeX

I've been using an own class with some commands for writing exams in my classes (I'm a teacher). In this, I use a rather complex point system (why I do this is kind of irrelevant) with 9 different ...
1
vote
1answer
197 views

How to create a citation graph using Bibtex and XML

I would like to include a citation graph for all the citations in my bibliography. My question is how to parse the graph file (in XML format), replacing the \cite{...} keys with the correct number ...
15
votes
1answer
351 views

Leveraging a dynamic preamble to generate multiple output formats

Background The diagram below shows an architecture for generating books using a dynamic preamble. The top part of the image shows the database relations between a book theme and its preamble. The top ...
1
vote
2answers
299 views

Import elements of XML-Files in LyX/Latex

I have a software which creates XML-Files with a structure looking like this: <model> <dims> <dim type="attr" name="foo"> <def>Insert Definition of the Dimension ...
6
votes
1answer
87 views

How to output environment content to a file while enclosing content by a box?

This is the source: \documentclass{article} \begin{document} \begin{obj}{name-of-obj} This is a test code. \begin{equation} a < b \end{equation} \end{obj} \end{document} I want to enclose the ...
5
votes
0answers
93 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 ...
1
vote
1answer
163 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]", ...
7
votes
1answer
382 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
115 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 ...
15
votes
0answers
308 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
1answer
3k 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 ...
6
votes
2answers
1k 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. ...
11
votes
3answers
451 views

Front end software for people doing editing and typesetting of articles

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 ...
10
votes
1answer
2k 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, ...
12
votes
1answer
542 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
801 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 ...
1
vote
1answer
847 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} ...
6
votes
1answer
2k 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} ...
5
votes
2answers
1k 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.
8
votes
1answer
424 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 ...
4
votes
1answer
477 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 ...
6
votes
4answers
605 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 ...
2
votes
1answer
843 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 ...
7
votes
3answers
794 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, ...
2
votes
1answer
1k 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, ...
3
votes
1answer
339 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
319 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 ...
16
votes
2answers
1k 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 ...
0
votes
1answer
289 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 ...
8
votes
7answers
2k 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 ...
9
votes
2answers
3k 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]{>}{<}, ...
13
votes
6answers
1k 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 ...
29
votes
5answers
24k 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" ...
10
votes
2answers
2k 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 ...