Posts

Showing posts with the label LaTeX

tex2pdf: TeX Viewer Online - Compile LaTeX to PDF in Your Browser

Image
tex2pdf is a free, static web app that compiles LaTeX and shows the result as a PDF entirely inside your browser. There is no account, no install, no server, and nothing is uploaded. You drop in a .tex file and get a PDF back. It works by running busytex, a WebAssembly build of TeX Live, in a Web Worker. Your files are written into an in-memory filesystem, compiled locally, and the resulting PDF is rendered with PDF.js. Because everything runs client side, your document never leaves your machine. You can upload a single .tex file, several files together (figures, .bib, .cls), or a .zip of a whole project. It auto-detects the main file, runs BibTeX when a .bib is present, and offers two engines: XeLaTeX (the default, most reliable in the browser) and pdfLaTeX. A live timer and progress bar show loading and compilation. The site also bundles small client-side tools that load only when opened: a code beautifier and syntax highlighter, a file and PDF comparison (diff) tool, and a local...

Where to Publish Your Research for Free: One Platform per Content Type

Image
When you want to share your research with the world for free, the trick is matching each type of output to the platform built for it. Posting a dataset to a preprint server, or a manuscript to a code host, only makes your work harder to find and cite. Here is a simple map: one well-established, free, public platform for each kind of academic content. Free Platforms for Public Academic Content One go-to tool for each type of research output arXiv Preprints — un-reviewed manuscripts Zenodo Datasets — raw research data ResearchGate Academic papers — author PDFs PubPub Open journals — academic HTML & rich text Figshare Supplementary media — figures & charts GitHub Research software — code & scripts OSF Study protocols — pre-registrations Protocols.io Lab methodologies — step-by-step recipes Wikiversity Open courseware — lecture notes & slides DSpace Institutional output — theses & dissertations Eve...

Remove Active Content (Links) from a LaTeX PDF Using Ghostscript

Image
Terminal — flatten a LaTeX PDF $ gs -dNOPAUSE -sDEVICE=pdfwrite \\ -sOUTPUTFILE=NEW_FILE.pdf -dBATCH in.pdf Processing pages 1 through 3. Page 1 ... Page 2 ... Page 3 NEW_FILE.pdf active links removed A PDF produced from LaTeX often carries "active" content: clickable hyperlinks, internal cross-reference links, bookmarks, and sometimes form fields or embedded JavaScript. When you need a flat, static PDF for printing, archiving, or submitting to a system that rejects interactive elements, the simplest reliable tool is Ghostscript. This tutorial shows how to strip that active content by re-distilling the file through Ghostscript's pdfwrite device. Step 1: Install Ghostscript On macOS, install it with Homebrew: brew install ghostscript On Debian or Ubuntu use sudo apt install ghostscript ; on most Linux distributions Ghostscript is packaged as ghostscript and provides the gs command. Step 2: Re-distill the PDF Run the source PDF back through Ghostscript...

Rename Algorithm to Procedure in LaTeX

Image
If you want to change the section name from Algorithm to Procedure, you just need to use the \floatname command while the code remains unchanged. The code for an algorithm: \begin{algorithm} \caption{Test}   \begin{algorithmic}[1]     \State Hello!   \end{algorithmic} \end{algorithm} Output: Now to change the label, add the following command before \begin{document} . \floatname{algorithm}{Procedure} The code remains the same. Output: This LaTeX tip relabels floats produced by the algorithm package from Algorithm to Procedure using the \floatname command, without changing the algorithm body itself. It is handy when a venue or style guide expects a particular caption label. The same \floatname approach works for renaming other float types too.

375 Mime Types for Microsoft IIS (C#)

Image
File Extension Mime Type .323 text/h323 .3g2 video/3gpp2 .3gp2 video/3gpp2 .3gp video/3gpp .3gpp video/3gpp .aac audio/aac .aaf application/octet-stream .aca application/octet-stream .accdb application/msaccess .accde application/msaccess .accdt application/msaccess .acx application/internet-property-stream .adt audio/vnd.dlna.adts .adts audio/vnd.dlna.adts .afm application/octet-stream .ai application/postscript .aif audio/x-aiff .aifc audio/aiff .aiff audio/aiff .appcache text/cache-manifest .application application/x-ms-application .art image/x-jg .asd application/octet-stream .asf video/x-ms-asf .asi application/octet-stream .asm text/plain .asr video/x-ms-asf .asx video/x-ms-asf .atom application/atom+xml ...