File: README

package info (click to toggle)
txt2tags 2.5-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,264 kB
  • ctags: 471
  • sloc: python: 2,461; lisp: 414; ruby: 347; xml: 96; php: 95; sh: 83; makefile: 26
file content (78 lines) | stat: -rw-r--r-- 1,957 bytes parent folder | download | duplicates (2)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Txt2tags README file
---------------------
http://txt2tags.sf.net


Txt2tags is a document generator. It reads a text file with
minimal markup as **bold** and //italic// and converts it
to the following formats:

  - HTML
  - XHTML
  - SGML
  - LaTeX
  - Lout
  - Man page
  - Wikipedia
  - Google Code Wiki
  - DokuWiki
  - MoinMoin
  - MagicPoint
  - PageMaker
  - Plain text

You can use it as a Web component (PHP), as a GUI application
(windows and buttons) or as a command line program.

For more information, please visit the program website at
http://txt2tags.sf.net
 
-------------------------------------------------------------

Quick sample for the command line usage:

1. Write a text file like this (leave 1st line blank):

   = Hello =
   I'm a robot. You're my **master**!
   [smile.jpg]

2. Run this command:

   txt2tags --target html --no-headers file.t2t

3. The result is:

   <H1>Hello</H1>
   <P>
   I'm a robot. You're my <B>master</B>!
   <IMG ALIGN="middle" SRC="smile.jpg" BORDER="0" ALT="">
   </P>

-------------------------------------------------------------

Txt2tags package structure:

  ChangeLog             Changes from previous versions
  COPYING               The GPL License contents
  README                This file
  TODO                  Things to do in future versions
  txt2tags              The program itself
                        (the only required file to run)
  doc/                  Documentation
  extras/               Syntax files and utilities
  po/                   Program translation files
  samples/              Sample file converted to all targets
  samples/img           "Powered by" button and other images
  samples/css           Sample CSS files for HTML and XHTML
  samples/module        Examples: txt2tags as a Python module
  test/                 The txt2tags test suite

-------------------------------------------------------------

Author: Aurelio Jargas - http://aurelio.net