Skip to content
TeXPrinter is a Kotlin application designed for the sole purpose of printing threads from TeX.SX, a free, community driven Q&A for users of TeX, LaTeX, ConTeXt, and related typesetting systems. TeX.SX is a part of the Stack Exchange network of Q&A websites. This is a mirror repository.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.gitlab-ci.yml
CHANGELOG.md
LICENSE.md
README.md
build.gradle.kts
settings.gradle.kts

README.md

TeXPrinter

Current stable version: current versionDownload TeXPrinter
Development version: build status

The application

TeXPrinter is a Kotlin application designed for the sole purpose of printing threads from TeX.SX, a free, community driven Q&A for users of TeX, LaTeX, ConTeXt, and related typesetting systems. TeX.SX is a part of the Stack Exchange network of Q&A websites.

TeXPrint currently can print threads to the following formats: PDF and (La)TeX.

The PDF output is provided by the iText library. It's a quick option if you don't intend to customize the output. If the thread has images, they are embedded in the final result.

The TeX option is recommended if you want to format the code the way you like it. It basically uses the article style, the listings package and a pretty straightforward approach. If the thread has images, they are downloaded to the current directory and correctly referenced in the document. Of course, you need to compile it.

Please note that only the main TeX.SX website is supported.

Highlights of Yummy pastéis (v3.0)

  • Huge performance boost due to upgrade of the PDF library
  • Completely rewritten in Kotlin for better maintenance and user experience.
  • Polished UI using JavaFX
  • New minimum system requirement: Java 8

System requirements and Installation

TeXPrinter ships as a JAR with dependencies (recommended download) and as ZIP file (JAR and a library folder with dependencies). If you are using Java 8 it should run out of the box. On Linux you might need to install the openjfx package of your distribution.

Should you be one of the Java 11 users please note that you will be required to invoke the JAR file with additional arguments as done in our build file. We strongly recommend to use the stable Java 8 build for now. Hence, we do not provide the (expert) guide for executing TeXPrinter on Java 11.

TeXPrinter does not need to be installed. Simply download the JAR file and execute it.

License

This application is licensed under the New BSD License. I want to call your attention to the fact that the New BSD License has been verified as a GPL-compatible free software license by the Free Software Foundation, and has been vetted as an open source license by the Open Source Initiative.

Building the application

TeXPrinter uses Gradle, so with any Java development configuration (JDK 8 or higher) you should be good to go. Please note that as JavaFX is used you are required to have it included in your JDK.

Our typical test cases involve posts 101, 1319 and 57141.

You can’t perform that action at this time.