blefloch / latex-morewrites

Always room for a new write
6 stars 0 forks source link

\closein does \wlog, which messes up stream numbers #11

Closed blefloch closed 7 years ago

blefloch commented 7 years ago

u-fischer points out in issue #10 that the following breaks at the \closein command.

\RequirePackage{morewrites} 
\newread\myread 
\openin\myread=test.txt 
\closein\myread 

The explanation is that morewrites' \closein calls the original \newread, which calls \wlog, writing to the log file. That log file writing uses the same internal variable to hold the stream number as is used by morewrites' \closein.

blefloch commented 7 years ago

Fixed by dropping support for \read streams in 2017-04-19 version.