NAME
MakeWeb - A Text-to-HTML Converter.
SYNOPSIS
perl makeweb.pl input.txt output.html
INPUT EXAMPLE
*Section One
-(
Hello!
-)
*Section Two
-[
- Item
- Item
- Item
-]
OUTPUT EXAMPLE
Hello!
GENERAL COMMANDS
COMMENT
;comment string (; must be placed on the first column)
VERBATIM
|verbatim string
-|string containing <, >, ", &, ...
EMPHASIS
!strong
FILE INCLUSION
-include=filename
SECTION HEADING
MakeWeb Hook commands HTML
*string <-h1begin>string<-h1end> string
-*string <-h2begin>string<-h2end> string
--*string <-h3begin>string<-h3end> string
CONTENTS COMMANDS
-contents
-detailcontents
TIME
-localtime
DEBUG
-print_define
LIST COMMANDS
UNORDERED LIST COMMANDS
MakeWeb Hook commands HTML
-[ <-ulbegin>
- item <-libegin>item<-liend> - item
- item <-libegin>item<-liend> - item
- item <-libegin>item<-liend> - item
-] <-ulend>
ORDERED LIST COMMANDS
MakeWeb Hook commands HTML
-< <-olbegin>
- item <-libegin>item<-liend> - item
- item <-libegin>item<-liend> - item
- item <-libegin>item<-liend> - item
-> <-olend>
DESCRIPTION LIST COMMANDS
MakeWeb Hook commands HTML
=[ <-dlbegin>
- word <-dtbegin>word<-dtend> - word
description <-ddbegin>description<-ddend> - description
- word <-dtbegin>word<-dtend> - word
description <-ddbegin>description<-ddend> - description
- word <-dtbegin>word<-dtend> - word
description <-ddbegin>description<-ddend> - description
=] <-dlend>
PARAGRAPH COMMANDS
-( ... -) <-pbegin> ... <-pend>
--( ... --) <-prebegin> ... <-preend>
---( ... ---) <-prebegin> ... <-preend> with escape
=( ... =) <-display_pbegin> ... <-display_pend>
==( ... ==) <-display_prebegin> ... <-display_preend>
===( ... ==) <-display_prebegin> ... <-display_preend> with escape
-(( ... -)) <-blockquote_pbegin> ... <-blockquote_pend>
--(( ... --)) <-blockquote_prebegin> ... <-blockquote_preend>
---(( ... ---)) <-blockquote_prebegin> ... <-blockquote_preend> with escape
=(( ... =)) <-display_blockquote_pbegin> ... <-display_blockquote_pend>
==(( ... ==)) <-display_blockquote_prebegin> ... <-display_blockquote_preend>
===(( ... ===)) <-display_blockquote_prebegin> ... <-display_blockquote_preend> with escape
-mycommand( ... -mycommand) <-mycommand_pbegin> ... <-mycommand_pend>
--mycommand( ... --mycommand) <-mycommand_prebegin> ... <-mycommand_preend>
---mycommand( ... ---mycommand) <-mycommand_prebegin> ... <-mycommand_preend> with escape
=mycommand( ... =mycommand) <-display_mycommand_pbegin> ... <-display_mycommand_pend>
==mycommand( ... ==mycommand) <-display_mycommand_prebegin> ... <-display_mycommand_preend>
===mycommand( ... ===mycommand) <-display_mycommand_prebegin> ... <-display_mycommand_preend> with escape
=< ... => <-display_divbegin> ... <-display_divend>
=mycommand< ... =mycommand> <-mycommand_divbegin> ... <-mycommand_divend>
COMMAND DEFINITION
ONE-LINE
-mycommand=some string
MULTI-LINE
-begin=mycommand
first line
second line
third line
-end=mycommand
CONDITIONAL COMMANDS
-if ... -endif cannot nest.
-if=html
...
-endif=html
-if=latex
...
-endif=latex
INLINE COMMANDS
MakeWeb Escape Hook commands HTML
<-command> - - (Expand -command)
<> no <-embegin> ... <-emend> ...
<*strong*> no <-strongbegin> ... <-strongend> ...
<|var_name|> yes <-varbegin> ... <-varend> ...
<%key sequence%> yes <-kbdbegin> ... <-kbdend> ...
<{code fragment}> yes <-codebegin> ... <-codeend> ...
<"filename"> yes <-filenamebegin> ... <-filenameend> ...
<-myclass> no <-myclass_spanbegin> ... <-myclass_spaneend> ...
AUTHOR
Copyright (C) 1996-2001 Hiroshi Yuki.
hyuki@hyuki.com
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
SEE ALSO
MakeWeb Home Page
http://www.hyuki.com/makeweb/
TODO
- LaTeX output.
- Entity reference (< to <) conversion is not valid in LaTeX.
- Plain text output.
- -contents must exist in only outmost level.
- doc: -contents is for file.
- doc: Expansion timing and Version 4.0.
- doc:
- doc: <<...>>
- doc: <|...|>
- doc: <%...%>
- doc: <{...}>
- doc: <"...">
- doc: <-myclass< ... >>
- ID uniqness check.
-
-