/usr/share/racket/pkgs/slatex/slatex-wrap.scrbl is in racket-common 6.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | #lang scribble/doc
@(require scribble/manual
(for-label scheme/base
slatex/slatex-wrapper))
@(define latex @exec{latex})
@(define pdflatex @exec{pdf-latex})
@(define slatex @exec{slatex})
@title{SLaTeX Wrapper}
@defmodule[slatex/slatex-wrapper]
To use SLaTeX as a standalone program, either drag your
@filepath{.tex} file onto SLaTeX (on Windows or MacOS X), or type
@exec{slatex file} in a command shell.
@emph{NOTE:} If you compile your @filepath{.tex} file without using
@exec{slatex} (i.e., by using @exec{slatex -n} and then using @exec{latex}
directly), then your @envvar{TEXINPUTS} environment variable must contain
a reference to the directory in which the most recent version of
@filepath{slatex.sty} lives. That file resides by default in the @filepath{slatex}
collection of the main installation.
In addition to the SLaTeX tools, this collection contains a parallel
set of PDF-SLaTeX tools, which are identical except that they
call @pdflatex rather than @|latex|. In particular, there is now a
launcher called (PDF-SLaTeX/pdf-slatex).
@deftogether[(
@defproc[(slatex (filename string?)) boolean?]
@defproc[(pdf-slatex (filename string?)) boolean?])]{
Accepts a string naming a file and runs @slatex and @latex on the
file. It calls @racket[filename->latex-filename] on @racket[filename].
@racket[pdf-slatex] is like @racket[slatex] except that it calls
@pdflatex rather than @latex, and produces PDF output instead of PS
output.}
@defproc[(slatex/no-latex (filename string?)) void?]{
Runs @slatex on the file named by @racket[filename], without calling
@|latex|. That is, it only processes the @filepath{.tex} file to
produce the @filepath{.Z} files. It calls
@racket[filename->latex-filename] on @racket[filename].}
@deftogether[(
@defproc[(latex (filename string?)) boolean?]
@defproc[(pdf-latex (filename string?)) boolean?])]{
Runs @latex on the file named by @racket[filename]. It calls
@racket[filename->latex-filename] on @racket[filename].
@racket[pdf-latex] is like @racket[latex] except that it calls
@pdflatex rather than @latex, and produces PDF output instead of PS
output.}
@defproc[(filename->latex-filename (filename string?)) string?]{
Accepts a filename and, if that file exists, it returns it. If the
filename appended with the suffix @filepath{.tex} exists, that
filename is returned. Otherwise, an exception is raised.}
|