Convert a file with a LaTeX tabular to Excel
Project description
Convert a LaTeX tabular file to an xls file
Description
With this tool you can convert LaTeX tabular files to Excel
Installation
Install the tool by:
pip install tabular2xls
In case you want to include CBS color definitions, install with:
pip install tabular2xls[cbs]
or, alternatively, install the cbsplotlib package yourself:
pip install cbsplotlib
Usage
Run the following command:
tabular2xls tabular_file.tex
where the .tex file is a file containing a LaTeX tabular which is converted to an Excel file
Full Help
Get the full help by running:
tabular2xls.exe --help
which gives the following output:
usage: tabular2xls [-h] [--version] [--output_filename OUTPUT_FILENAME] [--output_directory OUTPUT_DIRECTORY] [--search_and_replace [SEARCH_AND_REPLACE ...]] [-v] [-vv] [--multi_index] [--encoding ENCODING] FILENAME Tool to convert latex tabulars into xls files positional arguments: FILENAME Tabular file name options: -h, --help show this help message and exit --version show program's version number and exit --output_filename OUTPUT_FILENAME Name of the xls output file. Must have extension .xlsx --output_directory OUTPUT_DIRECTORY Name of the output directory. If not given, it is determined by the output file name --search_and_replace [SEARCH_AND_REPLACE ...] Search en Replace patterns in case you want to change strings.By default, cdots en ast are replaced by . and * vervangen, respectively -v, --verbose set loglevel to INFO -vv, --debug set loglevel to DEBUG --multi_index Force a multiindex data frame --encoding ENCODING Set the encoding of the text file. Default is utf-8
Note
This project has been set up using PyScaffold 4.0.1. For details and usage information on PyScaffold see https://pyscaffold.org/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tabular2xls-0.4.6.tar.gz
.
File metadata
- Download URL: tabular2xls-0.4.6.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0466cdee6813c98960e4c6aab8e481059b9ed10f960117f086579acd93a544f |
|
MD5 | 5302ceec0542323e5a470e394496e4c3 |
|
BLAKE2b-256 | 3c4c7c290acc0f6ef7676867dc1429fc0c460f1202be8d41a66cbb98b79e15eb |
File details
Details for the file tabular2xls-0.4.6-py2.py3-none-any.whl
.
File metadata
- Download URL: tabular2xls-0.4.6-py2.py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ec16bb9cc53fb9a663160338514dcf75c989be61125526434628a6dc25e6781 |
|
MD5 | 64fa8c5aae5ffd7513853365457b427d |
|
BLAKE2b-256 | fa8fd8136f684b241d646913ad42cd985097a8bcfc6e6844ba28646060905401 |