texjporg / tex-jp-build

Minimum source repository to build Japanese TeX processing tools
23 stars 6 forks source link

pbibtex.ch: do not break at white_space after Jchar #132

Closed aminophen closed 2 years ago

aminophen commented 2 years ago

https://github.com/texjporg/pbibtex-manual/issues/1 に対する修正案です。

%#!ptex
% https://github.com/texjporg/pbibtex-manual/issues/1
\input btxmac

\let\mbox = \hbox

\bibliography{\jobname}
\bibliographystyle{plain}

\nocite{*}

\end
% for pbibtex
@misc{title-author-j,
  author = "作者不詳",
  title = "寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無 寿限無",
}

@misc{long-title-author-j,
  author = "どこかの誰か",
  title = "とてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとてもとても長い タイトル",
}

@misc{title-author,
  author = "Really Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Author",
  title = "Very very very very very very very very very very very very very very very very very very very very very very very very very very long title",
}

@misc{long-title-author,
  author = "Really Long Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaauthor",
  title = "Titleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee too",
}

pBibTeX (2021)

20220208-pbib2021

pBibTeX 修正後

20220208-pbib2022

行分割を減らす方向の修正ですから,欧文の文献データベースには影響しませんし,pBibTeX → upBibTeX での修正も不要だと考えています。

aminophen commented 2 years ago

(u)pBibTeX

明日の時点で特に問題なさそうなら,マージして svn にコミットします。バージョン j0.34 とします。