Flowfram パッケージを更新した後、Flowfram が 1 つのフローフレームから別のフローフレームに移行しない

Flowfram パッケージを更新した後、Flowfram が 1 つのフローフレームから別のフローフレームに移行しない

今日、別の問題のため、TeX ディストリビューションを 2013 年 9 月頃の TL13 ディストリビューションから TL14 ディストリビューション (最新) に更新しました。

更新後、 は宣言flowframの 1 つを無視し\newflowframeflowfram以前の宣言を模倣した 3 列レイアウトを引き続き使用します。 これは、 を使用した参考文献でのみ発生するようですnatbib

次のコード:

\documentclass{article}
\usepackage[margin=2cm]{geometry}
\usepackage{flowfram}
\usepackage{lipsum}
\usepackage{kantlipsum}
\usepackage[bitstream-charter]{mathdesign}
\usepackage[square, numbers, sort]{natbib}
\usepackage{hyperref}

\newflowframe[1,2]{\dimexpr\textwidth/3-2\columnsep/3}{\textheight}{0pt}{0pt}
\newflowframe[1,2]{\dimexpr\textwidth/3-2\columnsep/3}{\textheight}{\dimexpr\textwidth/3-2\columnsep/3+\columnsep}{0pt}
\newflowframe[1,2]{\dimexpr\textwidth/3-2\columnsep/3}{\textheight}{\dimexpr2\textwidth/3-4\columnsep/3+2\columnsep}{0pt}

\newflowframe[3]{\textwidth}{\textheight}{0pt}{0pt}% or \newflowframe*[>2]{\textwidth}{\textheight}{0pt}{0pt}

\begin{document}
\tolerance=4000

When considering the EoL phase, it's desirable to initially consider the shortest possible cycles of energy, namely reuse, and in closing consider the largest possible cycle, which would be recycling. Case studies in the UK have mapped the waste problem to comprise as much as 15 million discarded mobile phones each year\citep{website:fonebak}. Large scale reuse brings problems, however. A variety of problems arise when considering reuse of mobile phones, such as their low residual value, their small size or the complexity of channels through which they are distributed\citep{ends1997}. Furthermore, a case study reveals most private customers prefer to give mobile phones away\citep{ends2000}, making the previously mentioned legislation of EPR a considerably hard task to achieve. Currently, manufacturers, retails and mobile phone operators. Figures from Foneback\citep{website:fonebak} suggest this to be inadequate. One suggestion would be to promote horizontal collaboration between competitors\citep{canning2006}. Coercion among competitors puts forward a problem in the same fashion as that of renewable energy in the industry sector, namely the problem of managing and putting constraints on collective goods: to promote a change, everybody has to invest into renewable energy. So even though competitors would want to make a change, that change hits a threshhold. A consequence of such constraints is a hit to the economy as we know it now, which inherently forces a gradual change. One recommendation would be to develop a mathematical model, determining how steep this gradual change would have to be to compensate for the need for change currently. Removing a such barrier would be vital to success of reuse practices as we know them now.

\lipsum[1-8]
\cleardoublepage
\small
\bibliographystyle{unsrtnat}
\bibliography{paper}
\end{document}

いくつかの bib エントリを使用すると、実際に参考文献がタイプセットされます。

@misc{website:fonebak,
  title = {Fonebak - Facts},
  url = {http://www.fonebak.com/},
  note = {(accessed 28-9-2014)},
  year = {2014}
}

@REPORT{ends1997,
    author = {Environmental Data Services (ENDS)},
    title = {Take back schemes launched for mobile phones},
    issue = {264},
    year = {1997},
    month = {January}
}

@REPORT{ends2000,
    author = {Environmental Data Services (ENDS)},
    title = {Compliance scheme envisaged for mobile phone recycling},
    issue = {304},
    year = {2000},
    month = {May}
}

@ARTICLE{canning2006,
    author = {Louise Canning},
    title = {Rethinking market connections: mobile phone recovery, reuse and recycling in the {UK}},
    journal = {Journal of Business \& Industrial Marketing},
    volume = {21},
    issue = {5},
    year = {2006},
    pages = {320--329}
}

これらのファイルは両方とも、次のリンクから入手することもできます:(zipパッケージ

先ほど宣言した 1 列レイアウトのフローフレーム ( \newflowframe[3]{\textwidth}{\textheight}{0pt}{0pt}% or \newflowframe*[>2]{\textwidth}{\textheight}{0pt}{0pt}) は (一見) 無視されます。代わりに、3 列レイアウトのタイプセットが続行されます。

http://i.imgur.com/Y2ZKF8G.png

以前は、出力は単純に私が宣言したレイアウトに従っていました。次のようなものでした (メイン ドキュメントから - 当然ながら、もう結果を模倣することはできません)。

http://i.imgur.com/8UWfRU8.png?1

答え1

これは、リスト環境が幅の異なる 2 つのフロー フレームにまたがるときに発生する問題を修正するために必要なバグ修正の望ましくない副作用です。問題を示す最小限の例を次に示します。

\documentclass{article} 

\usepackage{flowfram}
\usepackage{lipsum}

\twocolumn[1,2]
\onecolumn[>2]

\begin{document}

\lipsum[1-10]
\clearpage
\lipsum[1]

\begin{itemize}
 \item \lipsum*[2]
\end{itemize}

\end{document}

この問題はリスト環境にのみ影響し、参考文献がこれらの環境の 1 つにあるため、これがドキュメントの問題の原因です。リスト環境の前にを挿入することで修正できます\linewidth\columnwidth。例:

\documentclass{article} 

\usepackage{flowfram}
\usepackage{lipsum}

\twocolumn[1,2]
\onecolumn[>2]

\begin{document}

\lipsum[1-10]
\clearpage
\lipsum[1]

\linewidth\columnwidth

\begin{itemize}
 \item \lipsum*[2]
\end{itemize}

\end{document}

サンプル文書の場合は、\linewidth\columnwidthの前にを置きます\bibliography

編集: このバグを修正し、バージョン 1.17 を CTAN にアップロードしました。配布版に組み込むには数日かかる可能性があります。

関連情報