===========================================================
o Fixed LaTeX special characters
+o Added test for lists
Version 0.8 - Jul 26, 2019
===========================================================
guide.txt : $(XMLS) ../text.xsl
../xp ../text.xsl guide.xml > guide.txt
-check:
+validate:
xmllint --noout --xinclude --loaddtd --noent --schema ../doc.xsd guide.xml
# xmllint --noout --valid $(XMLS)
guide.txt : $(XMLS) ../text.xsl
../xp ../text.xsl guide.xml > guide.txt
-check:
+validate:
xmllint --noout --xinclude --loaddtd --noent --schema ../doc.xsd guide.xml
# xmllint --noout --valid $(XMLS)
-TESTS = basic title titlepage sections toc paragraph specialchars
+TESTS = basic title titlepage sections toc paragraph lists specialchars
clean-local:
rm -f *.html *.tex *.aux *.dvi *.pdf
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-TESTS = basic title titlepage sections toc paragraph specialchars
+TESTS = basic title titlepage sections toc paragraph lists specialchars
all: all-am
.SUFFIXES:
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
+lists.log: lists
+ @p='lists'; \
+ b='lists'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
specialchars.log: specialchars
@p='specialchars'; \
b='specialchars'; \
--- /dev/null
+#!/bin/bash
+
+./check lists
+
+exit $?
--- /dev/null
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta charset="utf-8"/>
+ <link rel="stylesheet" type="text/css" href="main.css"/>
+ <title>xmldoc lists check</title>
+ <style type="text/css">
+ .center
+ {
+ text-align : center ;
+ }
+ table.docinfo
+ {
+ margin-left : 10% ;
+ margin-right : 10% ;
+ border-style : solid ;
+ }
+ th
+ {
+ border-style : solid ;
+ border-width : thin ;
+ }
+ h3.toc
+ {
+ margin-left : 2em ;
+ }
+ pre.example
+ {
+ border : solid ;
+ padding-bottom : 1em ;
+ }
+ span.red
+ {
+ color : red ;
+ }
+ span.green
+ {
+ color : green ;
+ }
+ span.blue
+ {
+ color : blue ;
+ }
+ span.cyan
+ {
+ color : cyan ;
+ }
+ span.magenta
+ {
+ color : magenta ;
+ }
+ span.yellow
+ {
+ color : yellow ;
+ }
+ span.orange
+ {
+ color : orange ;
+ }
+ span.violet
+ {
+ color : violet ;
+ }
+ span.purple
+ {
+ color : purple ;
+ }
+ span.brown
+ {
+ color : brown ;
+ }
+ span.pink
+ {
+ color : pink ;
+ }
+ span.olive
+ {
+ color : olive ;
+ }
+ span.black
+ {
+ color : black ;
+ }
+ span.darkgray
+ {
+ color : darkgray ;
+ }
+ span.gray
+ {
+ color : gray ;
+ }
+ span.lightgray
+ {
+ color : lightgray ;
+ }
+ span.white
+ {
+ color : white ;
+ }
+ </style>
+ </head>
+ <body>
+
+ <div class="titlepage">
+ <h1 class="titlepage">xmldoc lists check</h1>
+ </div>
+
+ <h1>1 <a id="CH1"/>Check 3 kinds of lists</h1><ul>
+ <li>
+ The itemize element
+ </li>
+ <li>
+ creates bulleted lists
+ <ul>
+ <li>
+ and can be nested
+ </li>
+ </ul>
+ </li>
+ </ul><ol>
+ <li>
+ The enumerate element
+ </li>
+ <li>
+ creates numbered lists
+ <ol>
+ <li>
+ and can also be nested
+ </li>
+ </ol>
+ </li>
+ </ol><dl>
+ <dt>first item</dt><dd>
+ The description element
+ </dd>
+ <dt>second item</dt><dd>
+ creates lists with description tags
+ <dl>
+ <dt>nested item</dt><dd>
+ and can be nested
+ </dd>
+ </dl>
+ </dd>
+ </dl>
+
+ <hr/></body>
+</html>
--- /dev/null
+
+\documentclass[a4paper]{book}
+\usepackage{xcolor}
+\usepackage{graphics}
+\usepackage{latexsym}
+\usepackage{marvosym}
+\begin{document}
+
+
+
+ \begin{titlepage}
+
+
+ \begin{center}
+ \sffamily\bfseries\LARGE{xmldoc lists check}
+ \end{center}
+
+
+ \end{titlepage}
+
+
+
+ \chapter{Check 3 kinds of lists}
+
+\begin{itemize}
+
+
+\item
+ The itemize element
+
+
+\item
+ creates bulleted lists
+
+\begin{itemize}
+
+
+\item
+ and can be nested
+
+
+\end{itemize}
+
+
+
+\end{itemize}
+
+\begin{enumerate}
+
+
+\item
+ The enumerate element
+
+
+\item
+ creates numbered lists
+
+\begin{enumerate}
+
+
+\item
+ and can also be nested
+
+
+\end{enumerate}
+
+
+
+\end{enumerate}
+
+\begin{description}
+
+
+\item[first item]
+ The description element
+
+
+\item[second item]
+ creates lists with description tags
+
+\begin{description}
+
+
+\item[nested item]
+ and can be nested
+
+
+\end{description}
+
+
+
+\end{description}
+
+
+
+\end{document}
--- /dev/null
+<?xml version="1.0"?>
+
+<doc style="main.css">
+
+ <book>
+
+ <titlepage>
+ <title>xmldoc lists check</title>
+ </titlepage>
+
+ <chapter>
+ <heading>Check 3 kinds of lists</heading>
+
+ <itemize>
+ <item>
+ The itemize element
+ </item>
+ <item>
+ creates bulleted lists
+ <itemize>
+ <item>
+ and can be nested
+ </item>
+ </itemize>
+ </item>
+ </itemize>
+
+ <enumerate>
+ <item>
+ The enumerate element
+ </item>
+ <item>
+ creates numbered lists
+ <enumerate>
+ <item>
+ and can also be nested
+ </item>
+ </enumerate>
+ </item>
+ </enumerate>
+
+ <description>
+ <item tag='first item'>
+ The description element
+ </item>
+ <item tag='second item'>
+ creates lists with description tags
+ <description>
+ <item tag='nested item'>
+ and can be nested
+ </item>
+ </description>
+ </item>
+ </description>
+
+ </chapter>
+
+ </book>
+
+</doc>