summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/ltximg/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/ltximg/README.md')
-rw-r--r--Master/texmf-dist/doc/support/ltximg/README.md30
1 files changed, 18 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/support/ltximg/README.md b/Master/texmf-dist/doc/support/ltximg/README.md
index 2f56e3b6409..a04221a2310 100644
--- a/Master/texmf-dist/doc/support/ltximg/README.md
+++ b/Master/texmf-dist/doc/support/ltximg/README.md
@@ -8,11 +8,11 @@ to image formats in individual files using `ghostscript` and `poppler-utils`. Ge
with only extracted environments and other with environments converted to `\includegraphics`.
## Syntax
-```
+```bash
$ ltximg [<compiler>] [<options>] [--] <input file>.<tex|ltx>
```
## Usage
-```
+```bash
$ ltximg --latex [<options>] <file.tex>
$ ltximg --arara [<options>] <file.tex>
$ ltximg [<options>] <file.tex>
@@ -20,19 +20,19 @@ $ ltximg <file.tex>
```
If used without `[<compiler>]` and `[<options>]` the extracted environments are converted to `pdf` image format
and saved in the `/images` directory using `pdflatex` and `preview` package. Relative or absolute `paths` for files
-and directories is not supported and if the last `[<options>]` take a list separated by commas you need `--` at the end.
+and directories is not supported. If the last `[<options>]` take a *list separated by commas*, you need `--` at the end.
## Default environments extract
-```
+```bash
pspicture tikzpicture pgfpicture psgraph postscript PSTexample
```
## Options
-```
+```bash
[default]
-h, --help Display command line help and exit [off]
-l, --license Display GPL license and exit [off]
--v, --version Display current version (v1.5) and exit [off]
+-v, --version Display current version (1.6) and exit [off]
-t, --tif Create .tif files using ghostscript [gs]
-b, --bmp Create .bmp files using ghostscript [gs]
-j, --jpg Create .jpg files using ghostscript [gs]
@@ -48,6 +48,8 @@ and directories is not supported and if the last `[<options>]` take a list separ
-m <integer>, --margin <integer>
Set margins for pdfcrop [0]
--imgdir <dirname> Set name of directory to save images [images]
+--zip Compress files generated in .zip format [off]
+--tar Compress files generated in .tar.gz format [off]
-o <filename>, --output <filename>
Create output file [off]
--verbose Verbose printing [off]
@@ -75,14 +77,14 @@ and directories is not supported and if the last `[<options>]` take a list separ
--deltenv <env1,...> Delete environments in output file [empty]
```
## Example
-```
+```bash
$ ltximg --latex -e -p --srcenv --imgdir=mypics -o test-out test-in.ltx
```
-```
+```bash
$ ltximg --latex -ep --srcenv --imgdir mypics -o test-out test-in.ltx
```
Create a `/mypics` directory whit all extracted environments converted to
- image formats(`.pdf`, `.eps`, `.png`), individual files whit source code (`.tex`)
+ image formats (`.pdf`, `.eps`, `.png`), individual files whit source code (`.tex`)
for all extracted environments, a file `test-out.ltx` whit all environments converted to `\includegraphics`
and file `test-in-fig-all.tex` with only the extracted environments using
`latex>dvips>ps2pdf` and `preview` package for `<input file>` and `pdflatex`
@@ -90,9 +92,13 @@ $ ltximg --latex -ep --srcenv --imgdir mypics -o test-out test-in.ltx
## Documentation
For full documentation use:
-```
+```bash
$ texdoc ltximg
```
+ For recreation all documentation use:
+```bash
+$ arara ltximg-doc.dtx
+```
## Licence
This program is free software; you can redistribute it and/or modify it under the terms of the GNU
@@ -105,8 +111,8 @@ License for more details.
## Author
-Written by Pablo González L <pablgonz@yahoo.com>, last update 2018-04-12.
+Written by Pablo González L <pablgonz@yahoo.com>, last update 2019-07-13.
## Copyright
-Copyright 2013 - 2018 by Pablo González L
+Copyright 2013 - 2019 by Pablo González L