Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Franck Pommereau
/
pytex
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Franck Pommereau
2017-04-24 09:30:24 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4cc079400bbb9bdff010993d01a832ce2dd938c5
4cc07940
1 parent
54b91315
improved doc, fixed errors
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
README.md
README.md
View file @
4cc0794
...
...
@@ -55,7 +55,17 @@ instead of `@` (or any other character). For instance:
tex("@@@+@@@", "x", char="+") => @@@x@@@
So, string
`s`
is not escaped for LaTeX special characters, only the
`args`
are.
`args`
are. Other predefined Python functions are:
*
`pygmentize(path, include=True, inline=False)`
: typesets the
content of file
`path`
that is expected to be Python code, and it
outputs a LaTeX file that is included in main source if
`include=True`
, either inline or displayed depending on
`inline`
argument. If Pygments is not installed, the source code is used
verbatim.
*
`escape(text)`
: returns a copy if string
`text`
in which every
LaTeX special character has been properly escaped.x
*
Two more LaTeX commands are available:
...
...
Please
register
or
login
to post a comment