Pygments lexer for SQL PL
SQL PL (SQL Procedural Language) is the DB2 implementation of ANSI SQL/PSM. This module extends the SqlLexer lexer of Pygments to support more keywords of SQL PL.
Installation
Use the following commands to install the package:
$ cd pygments-sql-pl-lexer $ [sudo] python setup.py install
Check if the lexer is present
Simply grep the output of the following command for sqlpl.:
$ pygmentize -L lexers | grep sqlpl
Use the lexer in LaTeX
Replace <language> with sqlpl:
\begin{minted}{<language>}
<code>
\end{minted}
For example:
\begin{minted}[linenos=true,frame=single]{sqlpl}
--#SET TERMINATOR @
CREATE OR REPLACE MODULE project @
\end{minted}
produces
Release files for pygments-sql-pl-lexer 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygments-sql-pl-lexer-0.3.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygments_sql_pl_lexer-0.3-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 5.7 kB
Release files / pygments-sql-pl-lexer-0.3.tar.gz
| Download URL | pygments-sql-pl-lexer-0.3.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc72c60d60044125a9f502cbbac1a13f4a0bb0bb6e6082a1dd378a48a26523c3
|
|
BLAKE2b-256 checksum How to use checksums |
f9b32ba67ead825f590196679dbda1adbbfed7c7798a50a5fa7edefea5941886
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pygments_sql_pl_lexer-0.3-py2-none-any.whl
| Download URL | pygments_sql_pl_lexer-0.3-py2-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
7b4ba5d739c876e63266623df58ef96a04cdcb184af93c35df57ed4fbaa37484
|
|
BLAKE2b-256 checksum How to use checksums |
43aeac6d0b60be89d470983d61fee1232666ac25069e3625e379933842bfbc29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |