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
vote
0answers
53 views

How to color numbers in certain parts of a lstlisting

So, I'm a student and my teacher posted this kind of "how to make XML look cool in LaTeX". We were using it in class but I noticed some errors. For example, when printing numbers inside the labels ...
3
votes
1answer
116 views

Pretty printing DTDs (Document Type Declaration)

I want to include a didactic, compact view of a DTD (Document Type Declaration) in my texts. DTDs are used to define the set of tags and attributes of a XML/SGML document -- some sort of a grammar of ...
4
votes
1answer
57 views

How to add caption correctly in listing?

I have two blocks lstlisting and another listing as follows: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{inconsolata} \usepackage{color} \definecolor{pblue}{rgb}{0.13,0.13,1} ...
3
votes
1answer
75 views

How to display the symbol dollar $ correctly?

I have a minted block as follows: \documentclass{article} \usepackage{minted} \usepackage{listings} \begin{document} \begin{listing}[ht] \begin{minted}{xml} <plugin> ...
2
votes
1answer
87 views

How to properly number between lstlisting and listing the same latex file?

I'm having trouble with the legend of the lstlisting and listing the latex file when I reference them both are appearing as listing 1. How do I display the number of correctly caption for listing 1 ...
1
vote
0answers
88 views

Jabref (biblatex) to Excel (xml) [closed]

I would like to export my database with a lot of customized entry type from Jabref to Excel. I did not manage to open correctly csv files in Excel, but xml works great. Now, I want to choose the ...
6
votes
0answers
114 views

Use ConTeXt to turn EPUB into PDF

Because ConTeXt is good at manipulating XML, it would seem likely that it is also good at handling EPUB, since this is essentially a zipped collection of HTML and CSS files. I am wondering if there ...
3
votes
1answer
157 views

Why convert TeX to XML before compilation to PDF?

When I received the proof for my latest paper submission I found the following explanatory text in the proof: Please note that as part of the production process, [the journal] converts all ...
0
votes
0answers
24 views

Insert XML code to paper [duplicate]

I use the following set to insert xml code to paper \usepackage{listings} \usepackage{color} \definecolor{gray}{rgb}{0.4,0.4,0.4} \definecolor{darkblue}{rgb}{0.0,0.0,0.6} ...
2
votes
0answers
54 views

ConTeXt: Table header as section in TOC (while parsing xml to pdf with xmlflush)

I would like to use the header of a table as a section for the TOC (while parsing an XML to pdf) \startxmlsetups xml:table \page[yes] \dorecurse{3}{ \bTABLE[frame=on,split=no] ...
6
votes
0answers
233 views

Framemaker to LaTeX

I'm a software person who has been tasked with moving a few thousand pages of documentation for a piece of legacy software online. The documentation is all in Adobe Framemaker and yes, there are lots ...
1
vote
1answer
136 views

How do I convert MathML characters to XML in texmath? [closed]

I'm in the process of converting LaTeX to MathML in PHP. texmath is the command line tool through which the conversion process can be done. Latex file: \mathbf{f} = (f_{1}, f_{2})^{\prime} ...
0
votes
0answers
200 views

Convert latex equations to mathml

Currently I'm in the process of converting latex to xml using PHP. I faced a difficulties in converting latex equations to mathml. Is there any way to convert equations to mathml. I need like command ...
0
votes
1answer
153 views

How to convert Latex entities to hex value?

I'm in the process of converting latex to xml. So, I need to convert latex entities into hex value. I thought to convert from latex entities to html to hex entities or can it be done directly from ...
0
votes
0answers
131 views

XML and LaTeX, including figures PGF plots

I am about to submit an article to a scientific journal. This journal provides some guidelines for those who want to submit the work in LaTeX. Requirements, however, are quite restrictive: Do not ...
1
vote
0answers
53 views

Someone knows a xml2bibtex or other *2bibtex converters?

I have a database of the books in a BookCat (.mdb-format), but now I want to convert BookCat-database into bibtex, but BookCat can not export directly into bibtex but only into xml. So, I need ...
3
votes
0answers
105 views

xmltex more attributes in element

I am just working on my graduating thesis, when I making a new latex style for typesetting legal XML documents. I have my new latex style, which is overworked [article] with new commands and source ...
0
votes
0answers
114 views

How to change Latexml DTD to NLM DTD 3.0?

Am converting latex files to xml using latexml. The xml file which is created by latexml DTD is plain XML file. I need NLM DTD 3.0 in latexml for the conversion of tex files to xml. So is there any ...
0
votes
1answer
216 views

Including both XML code and Java code in a document using lstlisting package

I am writing a document which has both java and xml codes, I managed to highlight my java code but unfortunately I was unable to do the same with xml, so far I have tried more than one way either by ...
4
votes
1answer
491 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
96 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 ...
2
votes
2answers
191 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
128 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
474 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
76 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
38 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
110 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
163 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 ...
5
votes
1answer
404 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
231 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
356 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 ...
9
votes
1answer
108 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
126 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
344 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
338 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
481 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 ...
2
votes
2answers
730 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
105 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
126 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
291 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
547 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
3answers
180 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 ...
25
votes
0answers
665 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 ...
7
votes
1answer
8k 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
2k 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
588 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
3k 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
773 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
1k 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
1k 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} ...