https://github.com/nicolas-heigvd/qgis-python-plugin
https://github.com/nicolas-heigvd/qgis-python-plugin
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nicolas-heigvd/qgis-python-plugin
- Owner: nicolas-heigvd
- Created: 2018-09-06T12:11:05.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-05T07:34:51.000Z (over 1 year ago)
- Last Synced: 2025-04-08T22:42:21.650Z (9 months ago)
- Language: TeX
- Size: 2.53 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# qgis-python-plugin
## 0. Prerequisites
A full LaTeX distribution, with bibtex and pdflatex. Evince is used as the default PDF viewer.
## 1. Instructions
To clone this repo, create anywhere on a linux OS a `command.sh` file with this content and execute it:
```
git clone https://github.com/nicolas-heigvd/qgis-python-plugin.git
```
Then run thoses commands in the given order:
```
pdflatex 20240904_introduction_creation_plugin_python_qgis3_NBC.tex
bibtex 20240904_introduction_creation_plugin_python_qgis3_NBC.aux
pdflatex 20240904_introduction_creation_plugin_python_qgis3_NBC.tex
pdflatex 20240904_introduction_creation_plugin_python_qgis3_NBC.tex
```
To visualize the resulting *.pdf file:
```
evince 20240904_introduction_creation_plugin_python_qgis3_NBC.pdf
```
Or simple execute `./compile.sh`.
## 2. Troubleshooting
Depending on your LaTeX configuration, you might see an error message like:
```
Package ifplatform Warning:
shell escape is disabled, so I can only detect \ifwindows.
) (/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.sty
(/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.tex))
(/usr/share/texlive/texmf-dist/tex/latex/framed/framed.sty))
! Package minted Error: You must invoke LaTeX with the -shell-escape flag.
See the minted package documentation for explanation.
Type H for immediate help.
...
l.42
?
```
if that's the case, you can add the `--shell-escape` option to the call of `pdflatex`:
`pdflatex --shell-escape ${file}.tex`