Quantcast
Channel: How can I remove trailing \par when reading a file and writing the output to the log? - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by egreg for How can I remove trailing \par when reading a file and...

A simple solution is to use catchfile:\listfiles\documentclass{article}\usepackage{regexpatch}% use for \xapptocmd\usepackage{atveryend}% Add support for...

View Article



Answer by David Carlisle for How can I remove trailing \par when reading a...

I'm not sure I understand the question but\def\readtolog#1{% LOGIC NEEDED TO REMOVE TRAILING \par \openin\customfile=#1\relax {\endlinechar-1 \loop\unless\ifeof\customfile \read\customfile to\fileline...

View Article

How can I remove trailing \par when reading a file and writing the output to...

I put together a macro to write the contents of an external file to the log output. Unfortunately, I always read out the trailing \par that LaTeX adds when reading files. How do I test for this and...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>