# pyradium
[![Build Status](https://github.com/johndoe31415/pyradium/actions/workflows/CI.yml/badge.svg)](https://github.com/johndoe31415/pyradium/actions/workflows/CI.yml)
This is a tool which takes XML input that describes a presentation and renders
it into a presentation HTML. It borrows ideas from LaTeX-beamer but also
combines the flexible way of creating visually appealing documents using
HTML/CSS. it In particular, the features are:
* Input the slide content in machine-readable form, no WYSIWYG. This is like
LaTeX-beamer, but pyradium uses XML as input format. This allows for
version controlled presentation input data as well.
* Acronyms, automatic table of contents, cross-references, LaTeX equations
are all supported.
* Delegation of scripts that generate content for inclusion. For example, a
'crypto helper' can be programmed as an external script that allows writing
slides that only specify input data, cipher and key. Then the ciphertext is
automatically computed and errors on the slides are avoided.
* Syntax highlighting of code or terminal output (using pygments).
* Output is easily customizable: HTML and CSS are used as the underlying
technologies. Creation of new slide templates is simple (e.g., a
three-column design or a "quote" slide template).
* Use the advantages of HTML and ECMAScript to provide features like
presentation feedback: Make it easy for people to report typos and general
feedback about the presentation. Make submission of that info as easy as
possible (low entry barrier). Also it records which git revsion was used to
typeset the document so I know exactly if I've already fixed an issue or not if
it gets reported multiple times.
## Installation
pyradium is available on PyPi, so installation is as easy as
```
$ pip3 install pyradium
```
For usage of LaTeX formulas, you need pdflatex and ImageMagick. For SVG
rendering you need Inkscape. For plotting of graphs, you need gnuplot. To
render Graphviz graphs (e.g., a DAG) you need Graphviz installed. To use
continuous building, pyradium relies on the inotifytools:
```
# apt-get install texlive texlive-latex-extra ghostscript imagemagick inkscape gnuplot inotify-tools graphviz fontconfig qrencode
```
If you want to use spellchecking of your presentations, you need to install
[LanguageTool](https://languagetool.org/download/) as well.
## History
pyradium has been previously known as pybeamer (in reference to LaTeX-beamer),
but has been renamed because a different project under that name exists on
PyPi. It started out as pybeamer in 2015 as a pet project of mine that I've
never published, but it has since been completely rewritten.
## Example
You can view an example of a presentation [here](https://johndoe31415.github.io/pyradium-docs/).
The source for that presentation can be found [here](https://github.com/johndoe31415/pyradium/tree/master/examples).
## Input Documents
You can see an example XML file in the [examples/
subdirectory](https://github.com/johndoe31415/pyradium/tree/master/examples).
XML namespaces are used to distinguish tags which are renderer commands, i.e.,
which have some special interpretation. All other content is essentially pure
HTML.
## Display
You can view the presentation in a browser. Hitting "g" lets you goto a
specific slide while pressing "f" starts the full-screen view. Note that the
full-screen view uses [the CSS "zoom" property](https://caniuse.com/?search=zoom)
which is supported by pretty much every browser except for Firefox. On Firefox,
you can still full-screen a presentation but have to zoom manually in. There exists
a more than a decade old Firefox [issue for this](https://bugzilla.mozilla.org/show_bug.cgi?id=390936)
but it appears that this is deliberately not implemented.
## Third-Party Components
There are three external components that pyradium uses:
* The default template "Antonio" is adapted from
[Jimena Catalina at SlideCarnival](https://www.slidescarnival.com/antonio-free-presentation-template/84).
It is licensed under CC-BY 4.0.
* The font Fira Sans is included, from the [Google Fonts Project](https://fonts.google.com/specimen/Fira+Sans).
It is licensed under the OFL.
* The font Latin Modern Mono is included, from [GUST](http://www.gust.org.pl/projects/e-foundry/latin-modern).
It is licensed under the GUST font license.
All third party licenses can be found in the [licenses/ subdirectory](https://github.com/johndoe31415/pyradium/tree/master/licenses)
subdirectory. Additionally, detailed attribution information is also provided
as part of the template itself in the `configuration.json` file of the
respective template. For example, [this](https://github.com/johndoe31415/pyradium/blob/master/pyradium/templates/antonio/configuration.json)
is the configuration file of the "antonio" template.
## Simple Usage
First, you have to create a presentation. For this example, we'll use the
`example.xml` that is provided. Firstly, it needs to be rendered:
```
$ ./pyradium.py render -I examples/sub/ examples/example.xml rendered/
```
You'll notice that the `-I` parameter defines a subdirectory that is searched
for files. This is a feature of pyradium as well (it allows you to distribute
and organize large presentation into multiple files you can then combine into
one). Once it's rendered, you can create a web server to serve it:
```
$ ./pyradium.py serve rendered/
Serving: http://127.0.0.1:8123
```
Now simply redirect your browser there and enjoy the view.
## Complex Usage
There are of course more options to choose from. Read the help pages to learn
more. To get an overview over the available facilities:
```
$ ./pyradium.py --help
usage: ./pyradium.py [command] [options]
HTML presentation renderer
Available commands:
render Render a presentation
showstyleopts Show all options a specific style permits
serve Serve a rendered presentation over HTTP
acrosort Sort an acryonym database
purge Purge the document cache
hash Create a hash of a presentation and all dependencies to
detect modifications
dumpmeta Dump the metadata dictionary in JSON format
spellcheck Spellcheck an XML presentation file
dictadd Add false-positive spellcheck errors to the dictionary
version: pyradium v0.0.6rc0
Options vary from command to command. To receive further info, type
./pyradium.py [command] --help
```
Each facility has its own help page. The `render` facility, for example:
```
$ ./pyradium.py render --help
usage: ./pyradium.py render [--image-max-dimension pixels] [-I path]
[-R path:uripath] [--template-dir path] [-t name]
[-o key=value] [-g width x height] [-r]
[--collapse-animation] [-i filename] [-j filename]
[-e {interactive,timer,info,pygments,acronyms}]
[-d {interactive,timer,info,pygments,acronyms}]
[-l] [--re-render-watch path] [-f] [-v] [--help]
infile outdir
Render a presentation
positional arguments:
infile Input XML file of the presentation.
outdir Output directory the presentation is put into.
optional arguments:
--image-max-dimension pixels
When rendering imaages, specifies the maximum
dimension they're downsized to. The lower this value,
the smaller the output files and the lower the
quality. Defaults to 1920 pixels.
-I path, --include-dir path
Specifies an additional include directory in which,
for example, images are located which are referenced
from the presentation. Can be issued multiple times.
-R path:uripath, --resource-dir path:uripath
Specifies the resource directory both as the actual
deployment directory and the URI it has when serving
the presentation. By default, the deployment directory
of resources is identical to the output directory and
the uripath is '.'.
--template-dir path Specifies an additional template directories in which
template style files are located. Can be issued
multiple times.
-t name, --template-style name
Template style to use. Defaults to antonio.
-o key=value, --style-option key=value
Pass template-style specific options to the renderer.
Must always be in the form of "key=value", but what
keys are permissible depends on the chosen style. Use
the 'showstyleopts' command to find out what is
supported for a given template.
-g width x height, --geometry width x height
Slide geometry, in pixels. Defaults to 1280x720.
-r, --remove-pauses Ignore all pause directives and just render the final
slides.
--collapse-animation Do not render animations as multiple slides, just show
one complete slide.
-i filename, --index-filename filename
Gives the name of the presentation index file.
Defaults to index.html. Useful if you want to render
multiple presentations in one subdirectory.
-j filename, --inject-metadata filename
Gives the option to inject metadata into the
presentation. Must point to a JSON filename and will
override the respective metadata fields of the
presentation. Useful for changing things like the
presentation date on the command line.
-e {interactive,timer,info,pygments,acronyms}, --enable-presentation-feature {interactive,timer,info,pygments,acronyms}
Enable a specific presentation feature. Can be one of
interactive, timer, info, pygments, acronyms and can
be given multiple times.
-d {interactive,timer,info,pygments,acronyms}, --disable-presentation-feature {interactive,timer,info,pygments,acronyms}
Disable a specific presentation feature. Can be one of
interactive, timer, info, pygments, acronyms and can
be given multiple times.
-l, --re-render-loop Stay in a continuous loop, re-rendering the
presentation if anything changes.
--re-render-watch path
By default, all include files and the template
directory is being watched for changes. This option
gives additional files or directories upon change of
which the presentation should be re-rendered.
-f, --force Overwrite files in destination directory if they
already exist.
-v, --verbose Increase verbosity. Can be specified more than once.
--help Show this help page.
```
## Spellchecking slides
You can easily spellcheck slides when you have LanguageTool installed. It can
either start the Java server itself (then, pyradium needs the path to the
`languagetool-server.jar` binary) or you can start the server yourself and just
pass a pointer to the URI to pyradium.
Since the former case is easier, we'll show it here:
```
$ pyradium spellcheck -j ~/lt/languagetool-server.jar presentation.xml
Slide 4 content [line 46, col 53] "each": Possible typo: you repeated a word (suggest each)
Slide 4 content [line 49, col 75] "cURL": Possible spelling mistake found. (suggest curl or Carl or cure)
Slide 4 content [line 49, col 81] "Botan": Possible spelling mistake found. (suggest Botany or Wotan or OTAN)
Slide 5 content [line 56, col 64] "gz": Possible spelling mistake found. (suggest go or GB or GHz)
Slide 6 content [line 66, col 90] "testcases": Possible spelling mistake found. (suggest test cases)
Slide 13 content [line 166, col 32] "monoalphabetic": Possible spelling mistake found.
Slide 17 content [line 205, col 51] "undesireable": Possible spelling mistake found. (suggest undesirable)
```
You can also generate a vim errorfile so that you can easily go through all the
mistakes in vi:
```
$ pyradium spellcheck -j ~/lt/languagetool-server.jar -m vim -o errfile.vim presentation.xml
```
Then you can start vi to correct mistakes:
```
$ vi -q errfile.vim
```
There is also a more powerful variant of errorfile, but that is incompatible
with the default patterns in vi; you'll have to create a custom errorfile
format for it to work with vi. However, it contains additional metadata that
allows you to later on also add false positives to a dictionary.
To create such an extended vi errorfile, use:
```
$ pyradium spellcheck -j ~/lt/languagetool-server.jar -m evim -o errfile.evim presentation.xml
```
You can also specify that automatically vi should be opened on that errorfile
with the correct parameters:
```
$ pyradium spellcheck -j ~/lt/languagetool-server.jar -m evim --vim -o errfile.evim presentation.xml
```
Alternatively, you can specify the pattern yourself on the command line:
```
$ vi -c ':set errorformat=%[A-Za-z0-9/+=]%\\\\+::%f::%l::%c::%m' -c ':cf errfile.evim'
```
If false positives remain, you can edit the errorfile itself and remove all entries that were not legit (i.e., so that the errorfile only contains false positives). Then you can simply
```
$ pyradium dictadd errfile.evim
Finding 13 of 17:
"Vigenère": Possible spelling mistake found.
Offense: > Vigenère <
[A]dd word to dictionary
Add word to [g]lobal dictionary (for all languages, e.g., names)
Add specific [c]ontext to dictionary
Jump to [p]previous finding
Do [n]othing with this match (default)
Your choice:
```
It then asks for each offense to which dictionary it should be added. The
dictionary file is `~/.config/pyradium/dictionary.json`.
## vim Integration
By copying the file `xml_pyradium.xml` to
`~/.vim/after/ftplugin/xml_pyradium.vim` vim gains a pyradium menu (when
editing pyradium XML files) over which templates can be easily inserted and
specific keybdindings (e.g., Ctrl-Shift-B for bold, Ctrl-Shift-I for italics,
Ctrl-Shift-A for links, etc.):
```
$ mkdir -p ~/.vim/after/ftplugin/ && cp xml_pyradium.vim ~/.vim/after/ftplugin/xml_pyradium.vim
```
## Configuration file
You can set a global pyradium JSON configuration file in
`~/.config/pyradium/configuration.json`. Currently, this only allows to specify
a default LanguageTool installation (either a JAR filename or a URI to use).
Example:
```json
{
"spellcheck": {
"jar": "/opt/LanguageTool-6.0/languagetool-server.jar"
}
}
```
## License
pyradium is licensed under the GNU GPL-3.
Raw data
{
"_id": null,
"home_page": "https://github.com/johndoe31415/pyradium",
"name": "pyradium",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "latex,presentation,template,html",
"author": "Johannes Bauer",
"author_email": "joe@johannes-bauer.com",
"download_url": "https://files.pythonhosted.org/packages/9f/dc/4e82ed120218d6609b397c4dafdca6f9880de11ad9dd398d2600077ae85d/pyradium-0.0.16.tar.gz",
"platform": null,
"description": "# pyradium\n[![Build Status](https://github.com/johndoe31415/pyradium/actions/workflows/CI.yml/badge.svg)](https://github.com/johndoe31415/pyradium/actions/workflows/CI.yml)\n\nThis is a tool which takes XML input that describes a presentation and renders\nit into a presentation HTML. It borrows ideas from LaTeX-beamer but also\ncombines the flexible way of creating visually appealing documents using\nHTML/CSS. it In particular, the features are:\n\n * Input the slide content in machine-readable form, no WYSIWYG. This is like\n LaTeX-beamer, but pyradium uses XML as input format. This allows for\n version controlled presentation input data as well.\n * Acronyms, automatic table of contents, cross-references, LaTeX equations\n are all supported.\n * Delegation of scripts that generate content for inclusion. For example, a\n 'crypto helper' can be programmed as an external script that allows writing\n slides that only specify input data, cipher and key. Then the ciphertext is\n automatically computed and errors on the slides are avoided.\n * Syntax highlighting of code or terminal output (using pygments).\n * Output is easily customizable: HTML and CSS are used as the underlying\n technologies. Creation of new slide templates is simple (e.g., a\n three-column design or a \"quote\" slide template).\n * Use the advantages of HTML and ECMAScript to provide features like\n presentation feedback: Make it easy for people to report typos and general\n feedback about the presentation. Make submission of that info as easy as\n possible (low entry barrier). Also it records which git revsion was used to\n typeset the document so I know exactly if I've already fixed an issue or not if\n it gets reported multiple times.\n\n## Installation\npyradium is available on PyPi, so installation is as easy as\n\n```\n$ pip3 install pyradium\n```\n\nFor usage of LaTeX formulas, you need pdflatex and ImageMagick. For SVG\nrendering you need Inkscape. For plotting of graphs, you need gnuplot. To\nrender Graphviz graphs (e.g., a DAG) you need Graphviz installed. To use\ncontinuous building, pyradium relies on the inotifytools:\n\n```\n# apt-get install texlive texlive-latex-extra ghostscript imagemagick inkscape gnuplot inotify-tools graphviz fontconfig qrencode\n```\n\nIf you want to use spellchecking of your presentations, you need to install\n[LanguageTool](https://languagetool.org/download/) as well.\n\n## History\npyradium has been previously known as pybeamer (in reference to LaTeX-beamer),\nbut has been renamed because a different project under that name exists on\nPyPi. It started out as pybeamer in 2015 as a pet project of mine that I've\nnever published, but it has since been completely rewritten.\n\n## Example\nYou can view an example of a presentation [here](https://johndoe31415.github.io/pyradium-docs/).\nThe source for that presentation can be found [here](https://github.com/johndoe31415/pyradium/tree/master/examples).\n\n## Input Documents\nYou can see an example XML file in the [examples/\nsubdirectory](https://github.com/johndoe31415/pyradium/tree/master/examples).\nXML namespaces are used to distinguish tags which are renderer commands, i.e.,\nwhich have some special interpretation. All other content is essentially pure\nHTML.\n\n## Display\nYou can view the presentation in a browser. Hitting \"g\" lets you goto a\nspecific slide while pressing \"f\" starts the full-screen view. Note that the\nfull-screen view uses [the CSS \"zoom\" property](https://caniuse.com/?search=zoom)\nwhich is supported by pretty much every browser except for Firefox. On Firefox,\nyou can still full-screen a presentation but have to zoom manually in. There exists\na more than a decade old Firefox [issue for this](https://bugzilla.mozilla.org/show_bug.cgi?id=390936)\nbut it appears that this is deliberately not implemented.\n\n## Third-Party Components\nThere are three external components that pyradium uses:\n\n * The default template \"Antonio\" is adapted from\n [Jimena Catalina at SlideCarnival](https://www.slidescarnival.com/antonio-free-presentation-template/84).\n It is licensed under CC-BY 4.0.\n * The font Fira Sans is included, from the [Google Fonts Project](https://fonts.google.com/specimen/Fira+Sans). \n It is licensed under the OFL.\n * The font Latin Modern Mono is included, from [GUST](http://www.gust.org.pl/projects/e-foundry/latin-modern).\n It is licensed under the GUST font license.\n\nAll third party licenses can be found in the [licenses/ subdirectory](https://github.com/johndoe31415/pyradium/tree/master/licenses)\nsubdirectory. Additionally, detailed attribution information is also provided\nas part of the template itself in the `configuration.json` file of the\nrespective template. For example, [this](https://github.com/johndoe31415/pyradium/blob/master/pyradium/templates/antonio/configuration.json)\nis the configuration file of the \"antonio\" template.\n\n## Simple Usage\nFirst, you have to create a presentation. For this example, we'll use the\n`example.xml` that is provided. Firstly, it needs to be rendered:\n\n```\n$ ./pyradium.py render -I examples/sub/ examples/example.xml rendered/\n```\n\nYou'll notice that the `-I` parameter defines a subdirectory that is searched\nfor files. This is a feature of pyradium as well (it allows you to distribute\nand organize large presentation into multiple files you can then combine into\none). Once it's rendered, you can create a web server to serve it:\n\n```\n$ ./pyradium.py serve rendered/\nServing: http://127.0.0.1:8123\n```\n\nNow simply redirect your browser there and enjoy the view.\n\n## Complex Usage\nThere are of course more options to choose from. Read the help pages to learn\nmore. To get an overview over the available facilities:\n\n```\n$ ./pyradium.py --help\nusage: ./pyradium.py [command] [options]\n\nHTML presentation renderer\n\nAvailable commands:\n render Render a presentation\n showstyleopts Show all options a specific style permits\n serve Serve a rendered presentation over HTTP\n acrosort Sort an acryonym database\n purge Purge the document cache\n hash Create a hash of a presentation and all dependencies to\n detect modifications\n dumpmeta Dump the metadata dictionary in JSON format\n spellcheck Spellcheck an XML presentation file\n dictadd Add false-positive spellcheck errors to the dictionary\n\nversion: pyradium v0.0.6rc0\n\nOptions vary from command to command. To receive further info, type\n ./pyradium.py [command] --help\n```\n\nEach facility has its own help page. The `render` facility, for example:\n\n```\n$ ./pyradium.py render --help\nusage: ./pyradium.py render [--image-max-dimension pixels] [-I path]\n [-R path:uripath] [--template-dir path] [-t name]\n [-o key=value] [-g width x height] [-r]\n [--collapse-animation] [-i filename] [-j filename]\n [-e {interactive,timer,info,pygments,acronyms}]\n [-d {interactive,timer,info,pygments,acronyms}]\n [-l] [--re-render-watch path] [-f] [-v] [--help]\n infile outdir\n\nRender a presentation\n\npositional arguments:\n infile Input XML file of the presentation.\n outdir Output directory the presentation is put into.\n\noptional arguments:\n --image-max-dimension pixels\n When rendering imaages, specifies the maximum\n dimension they're downsized to. The lower this value,\n the smaller the output files and the lower the\n quality. Defaults to 1920 pixels.\n -I path, --include-dir path\n Specifies an additional include directory in which,\n for example, images are located which are referenced\n from the presentation. Can be issued multiple times.\n -R path:uripath, --resource-dir path:uripath\n Specifies the resource directory both as the actual\n deployment directory and the URI it has when serving\n the presentation. By default, the deployment directory\n of resources is identical to the output directory and\n the uripath is '.'.\n --template-dir path Specifies an additional template directories in which\n template style files are located. Can be issued\n multiple times.\n -t name, --template-style name\n Template style to use. Defaults to antonio.\n -o key=value, --style-option key=value\n Pass template-style specific options to the renderer.\n Must always be in the form of \"key=value\", but what\n keys are permissible depends on the chosen style. Use\n the 'showstyleopts' command to find out what is\n supported for a given template.\n -g width x height, --geometry width x height\n Slide geometry, in pixels. Defaults to 1280x720.\n -r, --remove-pauses Ignore all pause directives and just render the final\n slides.\n --collapse-animation Do not render animations as multiple slides, just show\n one complete slide.\n -i filename, --index-filename filename\n Gives the name of the presentation index file.\n Defaults to index.html. Useful if you want to render\n multiple presentations in one subdirectory.\n -j filename, --inject-metadata filename\n Gives the option to inject metadata into the\n presentation. Must point to a JSON filename and will\n override the respective metadata fields of the\n presentation. Useful for changing things like the\n presentation date on the command line.\n -e {interactive,timer,info,pygments,acronyms}, --enable-presentation-feature {interactive,timer,info,pygments,acronyms}\n Enable a specific presentation feature. Can be one of\n interactive, timer, info, pygments, acronyms and can\n be given multiple times.\n -d {interactive,timer,info,pygments,acronyms}, --disable-presentation-feature {interactive,timer,info,pygments,acronyms}\n Disable a specific presentation feature. Can be one of\n interactive, timer, info, pygments, acronyms and can\n be given multiple times.\n -l, --re-render-loop Stay in a continuous loop, re-rendering the\n presentation if anything changes.\n --re-render-watch path\n By default, all include files and the template\n directory is being watched for changes. This option\n gives additional files or directories upon change of\n which the presentation should be re-rendered.\n -f, --force Overwrite files in destination directory if they\n already exist.\n -v, --verbose Increase verbosity. Can be specified more than once.\n --help Show this help page.\n```\n\n\n## Spellchecking slides\nYou can easily spellcheck slides when you have LanguageTool installed. It can\neither start the Java server itself (then, pyradium needs the path to the\n`languagetool-server.jar` binary) or you can start the server yourself and just\npass a pointer to the URI to pyradium.\n\nSince the former case is easier, we'll show it here:\n\n```\n$ pyradium spellcheck -j ~/lt/languagetool-server.jar presentation.xml\nSlide 4 content [line 46, col 53] \"each\": Possible typo: you repeated a word (suggest each)\nSlide 4 content [line 49, col 75] \"cURL\": Possible spelling mistake found. (suggest curl or Carl or cure)\nSlide 4 content [line 49, col 81] \"Botan\": Possible spelling mistake found. (suggest Botany or Wotan or OTAN)\nSlide 5 content [line 56, col 64] \"gz\": Possible spelling mistake found. (suggest go or GB or GHz)\nSlide 6 content [line 66, col 90] \"testcases\": Possible spelling mistake found. (suggest test cases)\nSlide 13 content [line 166, col 32] \"monoalphabetic\": Possible spelling mistake found.\nSlide 17 content [line 205, col 51] \"undesireable\": Possible spelling mistake found. (suggest undesirable)\n```\n\nYou can also generate a vim errorfile so that you can easily go through all the\nmistakes in vi:\n\n```\n$ pyradium spellcheck -j ~/lt/languagetool-server.jar -m vim -o errfile.vim presentation.xml\n```\n\nThen you can start vi to correct mistakes:\n\n```\n$ vi -q errfile.vim\n```\n\nThere is also a more powerful variant of errorfile, but that is incompatible\nwith the default patterns in vi; you'll have to create a custom errorfile\nformat for it to work with vi. However, it contains additional metadata that\nallows you to later on also add false positives to a dictionary.\n\nTo create such an extended vi errorfile, use:\n\n```\n$ pyradium spellcheck -j ~/lt/languagetool-server.jar -m evim -o errfile.evim presentation.xml\n```\n\nYou can also specify that automatically vi should be opened on that errorfile\nwith the correct parameters:\n\n```\n$ pyradium spellcheck -j ~/lt/languagetool-server.jar -m evim --vim -o errfile.evim presentation.xml\n```\n\nAlternatively, you can specify the pattern yourself on the command line:\n\n```\n$ vi -c ':set errorformat=%[A-Za-z0-9/+=]%\\\\\\\\+::%f::%l::%c::%m' -c ':cf errfile.evim'\n```\n\nIf false positives remain, you can edit the errorfile itself and remove all entries that were not legit (i.e., so that the errorfile only contains false positives). Then you can simply\n\n```\n$ pyradium dictadd errfile.evim\nFinding 13 of 17:\n\"Vigen\u00e8re\": Possible spelling mistake found.\nOffense: > Vigen\u00e8re <\n [A]dd word to dictionary\n Add word to [g]lobal dictionary (for all languages, e.g., names)\n Add specific [c]ontext to dictionary\n Jump to [p]previous finding\n Do [n]othing with this match (default)\nYour choice: \n```\n\nIt then asks for each offense to which dictionary it should be added. The\ndictionary file is `~/.config/pyradium/dictionary.json`.\n\n## vim Integration\nBy copying the file `xml_pyradium.xml` to\n`~/.vim/after/ftplugin/xml_pyradium.vim` vim gains a pyradium menu (when\nediting pyradium XML files) over which templates can be easily inserted and\nspecific keybdindings (e.g., Ctrl-Shift-B for bold, Ctrl-Shift-I for italics,\nCtrl-Shift-A for links, etc.):\n\n```\n$ mkdir -p ~/.vim/after/ftplugin/ && cp xml_pyradium.vim ~/.vim/after/ftplugin/xml_pyradium.vim\n```\n\n## Configuration file\nYou can set a global pyradium JSON configuration file in\n`~/.config/pyradium/configuration.json`. Currently, this only allows to specify\na default LanguageTool installation (either a JAR filename or a URI to use).\nExample:\n\n```json\n{\n\t\"spellcheck\": {\n\t\t\"jar\": \"/opt/LanguageTool-6.0/languagetool-server.jar\"\n\t}\n}\n```\n\n## License\npyradium is licensed under the GNU GPL-3.\n",
"bugtrack_url": null,
"license": "gpl-3.0",
"summary": "Creating HTML presentations with LaTeX-ish features from XML source",
"version": "0.0.16",
"project_urls": {
"Download": "https://github.com/johndoe31415/pyradium/archive/0.0.16.tar.gz",
"Homepage": "https://github.com/johndoe31415/pyradium"
},
"split_keywords": [
"latex",
"presentation",
"template",
"html"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9fdc4e82ed120218d6609b397c4dafdca6f9880de11ad9dd398d2600077ae85d",
"md5": "4a7db58e534838ed07637d4e5b11a438",
"sha256": "bf22943f6de5efbf7c20707e31cd49711da189230f5648fa887f345003eacc56"
},
"downloads": -1,
"filename": "pyradium-0.0.16.tar.gz",
"has_sig": false,
"md5_digest": "4a7db58e534838ed07637d4e5b11a438",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 559773,
"upload_time": "2023-06-21T20:58:17",
"upload_time_iso_8601": "2023-06-21T20:58:17.619642Z",
"url": "https://files.pythonhosted.org/packages/9f/dc/4e82ed120218d6609b397c4dafdca6f9880de11ad9dd398d2600077ae85d/pyradium-0.0.16.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-21 20:58:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "johndoe31415",
"github_project": "pyradium",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyradium"
}