From 42dd5f5cfadb65f20280a3ad04ffc72a05780b4a Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 9 Mar 2018 13:30:52 +0100 Subject: [PATCH] tex2lyx: chapterbib support (cherry picked from commit af6933c06f603beca3d8684f56217243cbff1f94) --- src/tex2lyx/Preamble.cpp | 3 +++ src/tex2lyx/TODO.txt | 11 ++++------- status.23x | 2 ++ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index f86576ce3c..48dc8d69b6 100644 --- a/src/tex2lyx/Preamble.cpp +++ b/src/tex2lyx/Preamble.cpp @@ -1100,6 +1100,9 @@ void Preamble::handle_package(Parser &p, string const & name, else if (name == "bibtopic") h_use_bibtopic = "true"; + else if (name == "chapterbib") + h_multibib = "child"; + else if (name == "hyperref") handle_hyperref(options); diff --git a/src/tex2lyx/TODO.txt b/src/tex2lyx/TODO.txt index 63cd21e576..fc4bb994c7 100644 --- a/src/tex2lyx/TODO.txt +++ b/src/tex2lyx/TODO.txt @@ -32,6 +32,9 @@ Format LaTeX feature LyX feature 332 ? InsetGraphics groupId 343 ? \use_default_options 358 custom bibtex command \bibtex_command + Maybe via the + % !BIB program = + comment understood by some TeX editors 358 custom makeindex command \index_command 363 horizontal longtable alignment InsetTabular 364 branch file name suffix \filename_suffix @@ -55,8 +58,6 @@ Format LaTeX feature LyX feature 443 unicode-math.sty InsetMath* 445 URW Classico LaTeX font \font_sans uop \renewcommand{\sffamily}{uop} -446 Optional and required arguments InsetArgument - now numbered by order 448 451 beamer overlay arguments InsetArgument \command, \begin{env} @@ -69,7 +70,6 @@ Format LaTeX feature LyX feature \end{overprint} 455 beamer frametitle command \begin_layout FrameTitle \frametitle[short]{long} -456 memoir: \epigraph{text}{source} layout Epigraph, InsetArgument 457 automatic stackrel loading \use_package stackrel 459 beamer: \begin{frame}, \begin_layout Frame \begin{frame}[plain], \begin_layout PlainFrame @@ -99,14 +99,11 @@ Format LaTeX feature LyX feature 523 CJK Quote Styles InsetQuote - cjk (corner brackets) \begin_inset Quotes j.. - cjkangle (angle brackets) \begin_inset Quotes k.. -526 - Plural and capitalized refstyles InsetRef +526 Plural and capitalized refstyles InsetRef 533 Multibib support \begin{btUnit}...\end{btUnit} \multibib {none|part|chapter|section|subsection} (if a part, chapter, section etc. follows the \begin...) -534 Chapterbib support - \usepackage{chapterbib} \multibib child diff --git a/status.23x b/status.23x index b13eaf517f..d77a58e14d 100644 --- a/status.23x +++ b/status.23x @@ -23,6 +23,8 @@ What's new - Add support for biblatex. +- Add support for chapterbib. + * USER INTERFACE