Flowfram не переходит из одного flowframe в другой после обновления пакета flowframe

Flowfram не переходит из одного flowframe в другой после обновления пакета flowframe

Сегодня я обновил свой дистрибутив TeX из-за другой проблемы с дистрибутива TL13, выпущенного примерно в сентябре 2013 года, до дистрибутива TL14 (самого последнего).

После обновления flowframигнорирует одно из моих \newflowframeобъявлений, заставляя flowframпродолжать использовать имитированную трехколоночную компоновку из более ранних объявлений. Похоже, это происходит только с моей библиографией, использующей 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}

С некоторыми записями-бибами, так что он фактически набирает библиографию:

@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-пакет)

Ранее объявленный одноколоночный макет flowframe ( \newflowframe[3]{\textwidth}{\textheight}{0pt}{0pt}% or \newflowframe*[>2]{\textwidth}{\textheight}{0pt}{0pt}) (по-видимому) игнорируется. Вместо этого он продолжает верстать трехколоночный макет:

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

Раньше вывод просто подчинялся объявленному мной макету, что-то вроде этого (из основного документа — очевидно, я больше не могу имитировать результат):

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

решение1

Это нежелательный побочный эффект исправления ошибки, которое было необходимо для исправления проблемы, когда среды списка охватывали два фрейма потока разной ширины. Вот минимальный пример, иллюстрирующий проблему:

\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}

Проблема касается только среды списка, и поскольку библиография находится в одной из этих сред, это и есть причина проблемы в вашем документе. Вы можете исправить это, вставив \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. Может потребоваться несколько дней, чтобы попасть в дистрибутивы.

Связанный контент