summaryrefslogtreecommitdiff
path: root/support/easydtx/edtx2dtx.1
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-10-12 03:04:15 +0000
committerNorbert Preining <norbert@preining.info>2023-10-12 03:04:15 +0000
commit1598205ade1602e324b7fd8e5410d1389eae7416 (patch)
tree65f81ef88c5a968e7141ffab7b210b7bf051a867 /support/easydtx/edtx2dtx.1
parent366cf31a771ded1f10860be3212058d48020398d (diff)
CTAN sync 202310120304
Diffstat (limited to 'support/easydtx/edtx2dtx.1')
-rw-r--r--support/easydtx/edtx2dtx.154
1 files changed, 54 insertions, 0 deletions
diff --git a/support/easydtx/edtx2dtx.1 b/support/easydtx/edtx2dtx.1
new file mode 100644
index 0000000000..34c0fe7f82
--- /dev/null
+++ b/support/easydtx/edtx2dtx.1
@@ -0,0 +1,54 @@
+.\" Automatically generated by Pandoc 3.0.1
+.\"
+.\" Define V font for inline verbatim, using C font in formats
+.\" that render this, and otherwise B font.
+.ie "\f[CB]x\f[]"x" \{\
+. ftr V B
+. ftr VI BI
+. ftr VB B
+. ftr VBI BI
+.\}
+.el \{\
+. ftr V CR
+. ftr VI CI
+. ftr VB CB
+. ftr VBI CBI
+.\}
+.TH "edtx2dtx" "1" "October 10, 2023" "edtx2dtx 0.1.0" "User Manual"
+.nh
+.SH NAME
+.PP
+edtx2dtx - Convert .edtx into .dtx
+.SH SYNOPSIS
+.PP
+\f[B]edtx2dtx\f[R] \f[I]filename.edtx\f[R] > \f[I]filename.dtx\f[R]
+.SH DESCRIPTION
+This utility wraps code chunks by a (commented and properly indented)
+.PP
+pair.
+A code chunk is any sequence of lines not introduced by a single
+(possibly indented) comment character (%); i.e.\ both non-commented
+lines and lines introduced by multiple comment characters count as code,
+and documentation lines may be indented.
+The part(s) of the file which should undergo conversion should be marked
+by a
+.PP
+pair (unlike in a .dtx, these lines need not immediately precede and
+follow the code, respectively).
+This convention allows for the driver to remain as is, and also makes it
+easy to paste a .dtx file into an .edtx, as using this utility on a .dtx
+does not change the file.
+.PP
+The utility furthermore replaces the first occurrence of
+\[lq].edtx\[rq], followed by an optional parenthesized note, with
+\[lq].dtx\[rq], plus the note on how the file was generated.
+.SH OPTIONS
+.TP
+\f[B]-h, --help\f[R]
+Show help and exit.
+.TP
+\f[B]-V, --version\f[R]
+Show the version number and exit.
+.SH SEE ALSO
+.PP
+easydoctex.el