Debian Codegraph @

texmf-dist/doc/latex/nicetext/README

raw
1
2 README for the NICETEXT bundle
3
4 Minimal Markup for Documenting, Text Filtering, ...
5
6 (c) 2009-2015 Uwe Lueck http://contact-ednotes.sty.de.vu
7
8
9 == General Idea ==
10
11 The NICETEXT bundle supports "minimal" markup syntax for rather
12 simple kinds of text. The code you type should show little more
13 characters than are printed, though you get LaTeX quality. We
14 try to do away with backslashes, technical terms, and curly
15 braces (clumsy to type ... - "syntactic sugar").
16
17 Main focus is easy documentation of LaTeX packages.
18 Preprocessing by Perl or so is replaced by TeX macros
19 (reviving/generalizing the `docstrip' idea), including
20 expandable, safe, correct string substitution and typographical
21 enhancements of plain text for LaTeX input.
22
23
24 == Packages ==
25
26 `wiki.sty' addresses general kinds of texts. `niceverb.sty' is
27 made for documenting LaTeX packages. `niceverb.sty' especially
28 offers [almost-]WYSIWIG for meta-variables (macro arguments)
29 and for referring to commands (and their syntax) in footnotes,
30 section titles etc. E.g., to get the syntax description
31
32 \foo[<opt-arg>]{<mand-arg>}
33 you just type
34 \foo[<opt-arg>]{<mand-arg>}
35 !-)
36
37 `fifinddo.sty' provides basic setup for text filtering,
38 especially string substitution. `makedoc.sty' extends it to
39 provide a simple script language for transforming plain text
40 package files into LaTeX input files [manual!?]. One LaTeX run
41 can perform preprocessing and typesetting.
42
43
44 == Comparisons ==
45
46 One source of inspiration is the markup syntax of editing
47 Wikipedia pages. `wiki.sty' of the bundle offers something
48 similar as a LaTeX front-end for italics, boldface, sectioning,
49 and certain list-like environments. This is also similar to
50 `easylatex',
51
52 http://www.ctan.org/pkg/easylatex
53
54 which is more powerful and uses Perl. NICETEXT, by contrast,
55 consists just of LaTeX packages, working on any TeX
56 installation [!? note restrictions in `fifinddo.pdf'].
57 Cf. also preprocessor packages `txt2tex' and `txt2latex'.
58
59 Regarding "self-documentation," there is a difference to
60 current `\DocInput', similar ideas are in `gmdoc' and
61 `lineno.sty', see `niceverb.pdf' and `makedoc.pdf'. Standard
62 `doc.sty' and `contrib' extensions of it are rather avoided.
63
64 There are several *LaTeX macro* packages for processing text or
65 databases or for editing TeX's input stream while typesetting
66 -- see `fifinddo.pdf'. What seems to be new here is
67 *expandable string substitution* and safe, correct detection of
68 substrings -- discussed in `fifinddo.pdf'.
69
70
71 == Documentation ==
72
73 `fifinddo.pdf' describes `fifinddo.sty', typeset from
74 `fifinddo.tex'. `makedoc.pdf' describes `makedoc.sty', typeset
75 from `makedoc.tex'. `mdoccheat.pdf' is a list of script
76 commands, typeset from `mdocchea.tex'. `niceverb.pdf' describes
77 `niceverb.sty', typeset from `niceverb.tex'. Typesetting them
78 anew (for customizing printout) requires `makedoc.cfg',
79 `mdoccorr.cfg', and the *.sty files.
80
81 `wikicheat.pdf' is a one-page manual of `wiki.sty'. The file
82 `wiki.sty' contains additional documentation as plain text.
83 Note that certain features must be activated by commands in the
84 document environment.
85
86 `FILEs.txt' describes all the files contained in the bundle in one
87 line for each. Some descriptions too much for a line:
88
89 * SrcFILEs.txt describes TeX source files (macros, documentation)
90 together with their most recent version strings and revision
91 dates.
92
93 * nicetext.RLS summarizes each upload/release in a line or a
94 little more. With the `typeoutfileinfo' package, the command
95 line
96
97 typeoutfileinfo nicetext.RLS
98
99 produces a display of the most recent release that has been
100 installed on your system. `latexfileversion' and `ltxfileinfo'
101 probably provide a similar feature.
102
103
104 == Templates/Dialogue ==
105
106 txt to TeX functionality through \MakeDocCorrectHook can be
107 tried and applied with templates `fdtxttex.tpl' and
108 `makedoc.tpl' and in a dialogue started by running
109 `fdtxttex.tex'. Running `copyfile.tex', you get a dialogue
110 for "compressing" blank lines or text encoding conversion.
111
112 `substr.tex' should typeset the version of Harald Harders'
113 `substr.sty' next at your TeX installation. `arseneau.tex'
114 should typeset documentation of a few packages by Donald
115 Arseneau. MY results are `substr.pdf' and `arseneau.pdf'.
116
117
118 == License ==
119
120 Copying, distributing, modifying, using the files of the
121 `nicetext' bundle are allowed under the terms of the
122 LaTeX Project Public License, either version 1.3a or any later
123 version, the latest version is at
124
125 http://www.latex-project.org/lppl.txt
126
127 There is NO WARRANTY, and you must CARE indeed with `fifinddo'
128 and `makedoc', they will OVERWRITE existing files without
129 warning (because their main purpose is updating).
130
131 The bundle is AUTHOR-MAINTAINED in the sense of the LPPL.
132
133 Copyright (C) 2009-2012 Uwe Lueck,
134
135 http://www.contact-ednotes.sty.de.vu
136
137 Please report bugs, problems, and suggestions via the previous
138 web form.
139
140
141 == Installing/Required ==
142
143 `makedoc.sty' requires the `moreverb' package from
144
145 CTAN:/macros/latex/contrib/moreverb
146
147 You find the latest public version of the NICETEXT bundle at
148
149 http://mirror.ctan.org/macros/latex/contrib/nicetext/
150
151 A TDS version `nictext.tds.zip' is available at
152
153 http://mirror.ctan.org/install/macros/latex/contrib/
154
155
156 ________________________________
157 [This file 2015/11/09 Uwe Lueck]