Below you will find pages that utilize the taxonomy term “Python”
Study on an example of integration between Python and LaTeX
- Subject of this article.
- Description of the steps without using Python.
- Python file content.
- Program analysis.
- Source in LaTeX generated by Python.
- To try the program.
Subject of this article.
I am not a computer scientist but I have been using LaTeX for over ten years to write court documents. Only a few months ago I started to follow some tutorials on programming with Python.
A Python program to copy text from various PDFs and collect it into a single document in Markdown language.
1. Subject of this article.
The goal is to generate a simple program to collect the text contained in various PDFs generated directly from word processing programs and insert the various fragments into a single document in Markdown language by separating the fragments with second-level headings corresponding to the name of the source documents.
Reducing the size of single or multiple PDF documents in GNU/Linux Bash and Python
Abstract: Compression of PDF documents is a useful technique to reduce the space occupied by these files and facilitate their transmission and storage. In this article, starting from a page devoted to compressing single PDFs, I present two methods for compressing multiple PDF documents. The reference page is as follows: “Linux shell script to reduce PDF file size (simple verification required to enter) and allows you to operate on single PDFs in command-line bash code in the GNU/Linux terminal. Based on the previous one, I tried to extend the procedure to operate on multiple PDFs. In the end I present a simple application in Python with graphical interface. I admit that I asked for some help from ChatGPT and Copilot.