How to convert LaTeX
to JATS XML
using Make4HT
? I have using PdfLaTeX
. I have using TeXLive 2022
and Windows 10
.
In the Command/Terminal i have used:
make4ht -a debug -u Sample.TeX
My MWE is:
\providecommand{\pgfsyspdfmark}[3]{}
\documentclass{acm-book}
\usepackage{showframe}
\usepackage{balance}
\usepackage{amsmath}
\usepackage{booktabs,hyperref,listings,xcolor,colortbl}
\usepackage[inactive]{fancytooltips}
\usepackage{wrapfig}
\usepackage{afterpage}
\usepackage{makeidx}
\hypersetup{
pdftitle={A Technical History},
pdfauthor={W. Trcy -- Rose-Hulman, IN, USA},
pdfkeywords={Morgan \& Claypool},%
}
\newcommand\BookSeries[1]{#1}
\newcommand\BookAffil[1]{#1}
\newcommand\HalfTitle[1]{#1}
\newcommand\Author[1]{#1}
\newcommand\Affiliation[1]{#1}
\definecolor{titlecolor}{cmyk}{0, 0.7808, 0.4429, 0.1412}
\begin{document}
\frontmatter
\BookSeries{Embracing Interference Systems}
\BookAffil{Gollakota Shyamnath, \textit{University of Washington}\\
2014}
\title{Software}
\HalfTitle{A Technical History}
\Author{\hyperref[KWT]{\textbf{Kim W. Tracy}}\\[2pt]
\Affiliation{Rose-Hulman Institute of Technology, IN, USA}}
\maketitle
\mainmatter
\chapter*{Preface}
\addtocontents{toc}{\protect\contentsline {chapter}{\color{titlecolor}Preface}{\bfseries\thepage}{page.\thepage}}
Software professionals and students are focused on creating \textit{new} technologies involving software. As a result, many may view software history as not directly relevant to their work or studies.
\markboth{Preface}{Preface}
Furthermore, legacy software systems are notoriously difficult to replace. As noted in \hyperlink{Charette:2020}{Charette} [\hyperlink{Charette:2020}{2020}] and as experienced by this author as a chief information officer, legacy systems take considerable effort and money to replace and tend to be built upon, rather than replaced. So, those working on systems for complex organizations are likely to have to deal with these existing software systems. \hyperlink{Charette:2020}{Charette} [\hyperlink{Charette:2020}{2020}] also cites examples such as the US Social Security Administration still dependencies on legacy software further entrenches its use. Other systems used by the US government have software sub-systems [\hyperlink{Charette:2020}{Charette 2020}].
\begin{quote}
But we [historians] remain largely ignorant about the origins and development of the dynamic processes running on those devices [computers], but primarily they will be histories of software.
\end{quote}
In the last couple of decades, software has gotten attention as a distinct topic from computer history. In particular there are wide-scoping works on the software industry (such as \hyperlink{CampbellKelly:2003}{CampbellKelly} [\hyperlink{CampbellKelly:2003}{2003}] and \hyperlink{Cortada:2012}{Cortada} [\hyperlink{Cortada:2012}{2012}]) (such as \hyperlink{Ensmenger:2010}{Ensmenger} [\hyperlink{Ensmenger:2010}{2010}]). There's also been work on the evolved (such as \hyperlink{Mahoney:2011}{Mahoney} [\hyperlink{Mahoney:2011}{2011}].
\section*{Use of the Book}\pdfbookmark[1]{Use of the Book}{Preface:UseoftheBook}
\addtocontents{toc}{\protect\contentsline {section}{\hskip28.5pt\noindent{Use of the Book}}{\rmfamily\bfseries\thepage}{page.\thepage}}
These two chapters introduce the overall issues and ways that the history of software is approached in this book. Chapters~\hyperref[chap:3]{3} to \hyperref[chap:8]{8} are meant to stand by themselves, with Chapters \hyperref[chap:3]{3} to \hyperref[chap:7]{7} covering software topics that are foundational in nature, generally closer to the system level. It is anticipated that later editions or volumes will add chapters related to higher-level software history such as artificial intelligence, graphics, security, enterprise applications, among others. Chapter~\hyperref[chap:8]{8} summarizes the lessons learned from earlier chapters and is intended to solidify the goals of the course.
Additional resources are available online at \href{http://software-history.net/}{software-history.net}.
\section*{Acknowledgments}\pdfbookmark[1]{Acknowledgments}{preface:Acknowledgments}
\addtocontents{toc}{\protect\contentsline {section}{\hskip28.5pt\noindent{Acknowledgments}}{\rmfamily\bfseries\thepage}{page.\thepage}}
Undoubtedly, this work does not contain every important detail about software or its development. The intent is to cover the most important details for students of software technology. Certainly, entire books could be written on each of the chapters included here or even on single topics, and some have been written.
\end{document}
It's showing undefined control sequence
error when using make4ht
. But when running pdflatex
it's not showing any error. How to rectify this?
acm-book.cls
class?1. Files and Templates for Authors
.LaTeX to JATS XML Conversion
. I'll study and develop to convert JATS XML. Thanking you in advance.