abenori / jlreq

Other
125 stars 18 forks source link

縦書き&二段組の時に脚注に改行があるとエラーになる #73

Closed ghost closed 3 years ago

ghost commented 3 years ago

クラスオプションに tatetwocolumn を同時に渡した場合に限り、脚注(\footnote)中に改行があるとエラーになります。

% tate もしくは twocolumn を外せばエラーはない
\documentclass[lualatex, paper=a7, tate, twocolumn]{jlreq}
\begin{document}
あ\footnote{い

う}
\end{document}

Error message

Runaway argument?
{\jlreq@restore@original@footnotes \footnotetext [1]{い
! Paragraph ended before \jlreq@footnote@delayfootnote was complete.
<to be read again> 
\par 

Version

lualatex: LuaHBTeX, Version 1.12.0 (TeX Live 2020) jlreq.cls: 2020/12/29

abenori commented 3 years ago

abenori_dev 03258b9 で直しました.

ghost commented 3 years ago

エラーが出ていた手元のソースがコンパイルできるようになりました。 ご対応をありがとうございます。