revert default Scribble Latex output to use longtable
svn: r9121 original commit: f833112489eebdf678c4d2bde4c3b0cd189a1b1b
This commit is contained in:
parent
ab02db1252
commit
400abfcb29
|
@ -220,7 +220,9 @@
|
|||
(if boxed?
|
||||
(format "{~a\\begin{picture}(1,0)\\put(0,0){\\line(1,0){1}}\\end{picture}}~a\n\\nopagebreak\n"
|
||||
"\\setlength{\\unitlength}{\\linewidth}"
|
||||
"\n\n")
|
||||
(if (equal? tableform "supertabular")
|
||||
"\\supertabline"
|
||||
"\n\n"))
|
||||
"")
|
||||
tableform
|
||||
opt
|
||||
|
@ -285,13 +287,15 @@
|
|||
null)
|
||||
|
||||
(define/override (render-blockquote t part ri)
|
||||
(printf "\n\n\\begin{quote}\n")
|
||||
(parameterize ([current-table-mode (list "blockquote" t)])
|
||||
(for-each (lambda (e)
|
||||
(render-flow-element e part ri #f))
|
||||
(blockquote-paragraphs t)))
|
||||
(printf "\n\n\\end{quote}\n")
|
||||
null)
|
||||
(let ([kind (or (blockquote-style t)
|
||||
"quote")])
|
||||
(printf "\n\n\\begin{~a}\n" kind)
|
||||
(parameterize ([current-table-mode (list "blockquote" t)])
|
||||
(for-each (lambda (e)
|
||||
(render-flow-element e part ri #f))
|
||||
(blockquote-paragraphs t)))
|
||||
(printf "\n\n\\end{~a}\n" kind)
|
||||
null))
|
||||
|
||||
(define/override (render-other i part ri)
|
||||
(cond
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
\usepackage{graphicx}
|
||||
\usepackage{hyperref}
|
||||
\renewcommand{\rmdefault}{ptm}
|
||||
\usepackage{supertabular}
|
||||
\usepackage{longtable}
|
||||
\usepackage[htt]{hyphenat}
|
||||
\usepackage[usenames,dvipsnames]{color}
|
||||
\hypersetup{bookmarks=true,bookmarksopen=true,bookmarksnumbered=true}
|
||||
|
@ -74,6 +74,12 @@
|
|||
\newcommand{\preDoc}{\sloppy}
|
||||
\newcommand{\postDoc}{}
|
||||
|
||||
\newenvironment{leftindent}{\begin{quote}}{\end{quote}}
|
||||
\newenvironment{insetpara}{\begin{quote}}{\end{quote}}
|
||||
|
||||
\newenvironment{supertabular}{\begin{longtable}}{\end{longtable}\vspace{-3ex}}
|
||||
\newcommand{\supertabline}{\vspace{-2ex}}
|
||||
|
||||
% Scribble then generates the following:
|
||||
%
|
||||
% \begin{document}
|
||||
|
|
Loading…
Reference in New Issue
Block a user