tex4ebook 带有列表包

tex4ebook 带有列表包

以下文件在使用时运行良好pdflatex,但在转换为时无法运行epub。它也没有显示任何错误。lstlistings缩进也不正确。如何解决这个问题?

tex4ebook -a debug -f epub3 -x filename.tex

\providecommand{\pgfsyspdfmark}[3]{}
\providecommand\Author[1]{#1\def\Author{#1}}
\documentclass{acm-book}
\usepackage{balance}
\usepackage{amsmath}
\usepackage{booktabs,hyperref,listings,xcolor,colortbl}
\usepackage[inactive]{fancytooltips}
\usepackage{wrapfig}
\usepackage{afterpage}
\usepackage{makeidx}

\begin{document}

\chapter*{Preface}

Furthermore, legacy software systems are notoriously difficult to replace. As noted 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. US Social Security Administration still dependencies on legacy software further entrenches its use. Other systems used by the US government have software sub-systems.

\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. There's also been work on the evolved.

\lstset{
    language=[1974]Cobol,
    deletekeywords={COBOL}
    }
\begin{lstlisting} [numbers=left]
//COBUCLG  JOB (001),'COBOL BASE TEST',
//             CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1)
//BASETEST EXEC COBUCLG                                                     
//COB.SYSIN DD *                                                                
 00000* VALIDATION OF BASE COBOL INSTALL                                    
 01000 IDENTIFICATION DIVISION.                                             
 01100 PROGRAM-ID. 'HELLO'.                                                 
 02000 ENVIRONMENT DIVISION.                                                
//LKED.SYSLIB DD DSNAME=SYS1.COBLIB,DISP=SHR                        
//            DD DSNAME=SYS1.LINKLIB,DISP=SHR
//GO.SYSPRINT DD SYSOUT=A                                                   
//                                                                              
\end{lstlisting}

When reusing existing software, it is wise to evaluate the relevance of the techniques and assumptions that were used in building that original software. This book focuses on software as a technology and how it has evolved over time. We will look at the trends, important innovations, and events, as well as the ever-broadening world of software.

\end{document}

我遇到了错误Chrome。请查找附件。

在此处输入图片描述

相关内容