From: Juergen Spitzmueller Date: Mon, 29 Jan 2018 08:09:51 +0000 (+0100) Subject: Add Bibliography to the Outliner. X-Git-Tag: 2.3.0~95 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=48f1b52004a86e7a181eb8974c61cc2aac3f8174;p=features.git Add Bibliography to the Outliner. Fixes: #11001, #7724. (cherry picked from commit fc2d8238dc5e589220e68766975b5438f1e57251) --- diff --git a/lib/layouts/IEEEtran.layout b/lib/layouts/IEEEtran.layout index c0f7cf0be8..52b867af10 100644 --- a/lib/layouts/IEEEtran.layout +++ b/lib/layouts/IEEEtran.layout @@ -363,6 +363,7 @@ Style Bibliography Series Bold Size Larger EndFont + TocLevel 1 End diff --git a/lib/layouts/aguplus.inc b/lib/layouts/aguplus.inc index 00b20978e8..57ebab331c 100644 --- a/lib/layouts/aguplus.inc +++ b/lib/layouts/aguplus.inc @@ -176,6 +176,7 @@ Style Bibliography Series Bold Size Huge EndFont + TocLevel 1 End diff --git a/lib/layouts/agutex.layout b/lib/layouts/agutex.layout index c1c4aadff0..eacc73eac5 100644 --- a/lib/layouts/agutex.layout +++ b/lib/layouts/agutex.layout @@ -227,5 +227,6 @@ Style Bibliography Series Bold Size Larger EndFont + TocLevel 1 End diff --git a/lib/layouts/amsbook.layout b/lib/layouts/amsbook.layout index 8ed4eb92fa..4655168b61 100644 --- a/lib/layouts/amsbook.layout +++ b/lib/layouts/amsbook.layout @@ -116,6 +116,10 @@ Input amsdefs.inc # Unwanted styles from the includes NoStyle Verse +Style Bibliography + TocLevel 0 +End + # Chapter is _not_ prepended # JSpitz: this seems to be not true (anymore?) #Style Section diff --git a/lib/layouts/amsdefs.inc b/lib/layouts/amsdefs.inc index b73df9efbc..3820739bc7 100644 --- a/lib/layouts/amsdefs.inc +++ b/lib/layouts/amsdefs.inc @@ -225,4 +225,5 @@ Style Bibliography Size Normal Shape Smallcaps EndFont + TocLevel 1 End diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout index 14d7df16d3..ff8046ad54 100644 --- a/lib/layouts/beamer.layout +++ b/lib/layouts/beamer.layout @@ -1125,6 +1125,7 @@ Style Bibliography Series Bold Size Larger EndFont + TocLevel 1 End diff --git a/lib/layouts/book.layout b/lib/layouts/book.layout index 058098c1f5..17c4a4b383 100644 --- a/lib/layouts/book.layout +++ b/lib/layouts/book.layout @@ -26,4 +26,5 @@ Style Bibliography Series Bold Size Huge EndFont + TocLevel 0 End diff --git a/lib/layouts/cl2emult.layout b/lib/layouts/cl2emult.layout index f6281372f4..0dadd2af7d 100644 --- a/lib/layouts/cl2emult.layout +++ b/lib/layouts/cl2emult.layout @@ -125,6 +125,7 @@ Style Bibliography Series Bold Size Larger EndFont + TocLevel 1 End diff --git a/lib/layouts/egs.layout b/lib/layouts/egs.layout index 6d786d6327..ac53e616dd 100644 --- a/lib/layouts/egs.layout +++ b/lib/layouts/egs.layout @@ -595,6 +595,7 @@ Style Bibliography LabelFont Series Bold EndFont + TocLevel 1 End diff --git a/lib/layouts/elsarticle.layout b/lib/layouts/elsarticle.layout index 685f3681af..42e86fec1f 100644 --- a/lib/layouts/elsarticle.layout +++ b/lib/layouts/elsarticle.layout @@ -308,8 +308,8 @@ Style Bibliography LatexType Bib_Environment LatexName thebibliography Category BackMatter - NextNoIndent 1 - ToggleIndent Never + NextNoIndent 1 + ToggleIndent Never LeftMargin MM ParSkip 0.4 ItemSep 0 @@ -317,13 +317,14 @@ Style Bibliography BottomSep 0.7 ParSep 0.5 Align Block - AlignPossible Block, Left + AlignPossible Block, Left LabelType Bibliography LabelString "References" - LabelBottomSep 1.2 + LabelBottomSep 1.2 LabelFont Series Bold Size Larger EndFont + TocLevel 1 End diff --git a/lib/layouts/ijmpc.layout b/lib/layouts/ijmpc.layout index 7da5ab9f3d..38b43131e1 100644 --- a/lib/layouts/ijmpc.layout +++ b/lib/layouts/ijmpc.layout @@ -467,4 +467,5 @@ Style Bibliography Series Bold Size Larger EndFont + TocLevel 1 End diff --git a/lib/layouts/ijmpd.layout b/lib/layouts/ijmpd.layout index 3d638825b2..c3835b828b 100644 --- a/lib/layouts/ijmpd.layout +++ b/lib/layouts/ijmpd.layout @@ -480,4 +480,5 @@ Style Bibliography Series Bold Size Larger EndFont + TocLevel 1 End diff --git a/lib/layouts/iopart.layout b/lib/layouts/iopart.layout index c49002ef1f..3ff99ef7b6 100644 --- a/lib/layouts/iopart.layout +++ b/lib/layouts/iopart.layout @@ -287,6 +287,7 @@ Style "Bibliography (plain)" Series Bold Size Larger EndFont + TocLevel 1 End diff --git a/lib/layouts/jasatex.layout b/lib/layouts/jasatex.layout index 53f4d76b61..4c1f46e80c 100644 --- a/lib/layouts/jasatex.layout +++ b/lib/layouts/jasatex.layout @@ -288,5 +288,6 @@ Style Bibliography Series Bold Size Larger EndFont + TocLevel 1 End diff --git a/lib/layouts/kluwer.layout b/lib/layouts/kluwer.layout index 761272f943..9fed36753d 100644 --- a/lib/layouts/kluwer.layout +++ b/lib/layouts/kluwer.layout @@ -366,4 +366,5 @@ Style References Size Normal Series Bold EndFont + TocLevel 1 End diff --git a/lib/layouts/llncs.layout b/lib/layouts/llncs.layout index b7eded2f2a..0787825b15 100644 --- a/lib/layouts/llncs.layout +++ b/lib/layouts/llncs.layout @@ -287,6 +287,7 @@ Style Bibliography LabelFont Series Bold EndFont + TocLevel 0 End diff --git a/lib/layouts/memoir.layout b/lib/layouts/memoir.layout index ea7061ed3d..d37248dbc2 100644 --- a/lib/layouts/memoir.layout +++ b/lib/layouts/memoir.layout @@ -269,6 +269,7 @@ Style Bibliography Series Bold Size Huge EndFont + TocLevel 0 End diff --git a/lib/layouts/moderncv.layout b/lib/layouts/moderncv.layout index f9a509b046..afcfd1e115 100644 --- a/lib/layouts/moderncv.layout +++ b/lib/layouts/moderncv.layout @@ -519,6 +519,7 @@ Style Bibliography Size Larger Family Sans EndFont + TocLevel 1 End Style Recipient diff --git a/lib/layouts/mwbk.layout b/lib/layouts/mwbk.layout index dd2b04d2b5..13e3a5b0ed 100644 --- a/lib/layouts/mwbk.layout +++ b/lib/layouts/mwbk.layout @@ -27,6 +27,7 @@ Style Bibliography Series Bold Size Huge EndFont + TocLevel 0 End diff --git a/lib/layouts/powerdot.layout b/lib/layouts/powerdot.layout index 49ad9149a2..4c3e37edf8 100644 --- a/lib/layouts/powerdot.layout +++ b/lib/layouts/powerdot.layout @@ -371,6 +371,7 @@ Style Bibliography LabelType Bibliography LabelString "" LabelBottomSep 0 + TocLevel 1 End ### diff --git a/lib/layouts/recipebook.layout b/lib/layouts/recipebook.layout index ff732e7a61..fd2a5faa11 100644 --- a/lib/layouts/recipebook.layout +++ b/lib/layouts/recipebook.layout @@ -51,6 +51,7 @@ Style Bibliography Series Bold Size Largest EndFont + TocLevel 0 End Preamble diff --git a/lib/layouts/report.layout b/lib/layouts/report.layout index 49dea8e758..75f180b8a8 100644 --- a/lib/layouts/report.layout +++ b/lib/layouts/report.layout @@ -17,4 +17,5 @@ Style Bibliography Series Bold Size Huge EndFont + TocLevel 0 End diff --git a/lib/layouts/scrbook.layout b/lib/layouts/scrbook.layout index 4b04c85c51..8c363cc083 100644 --- a/lib/layouts/scrbook.layout +++ b/lib/layouts/scrbook.layout @@ -34,4 +34,5 @@ Style Bibliography Series Bold Size Largest EndFont + TocLevel 0 End diff --git a/lib/layouts/scrreprt.layout b/lib/layouts/scrreprt.layout index a8377d9c60..bf4884a2e2 100644 --- a/lib/layouts/scrreprt.layout +++ b/lib/layouts/scrreprt.layout @@ -16,4 +16,5 @@ Style Bibliography Series Bold Size Largest EndFont + TocLevel 0 End diff --git a/lib/layouts/siamltex.layout b/lib/layouts/siamltex.layout index d3afc4b1ef..a0f4565bb3 100644 --- a/lib/layouts/siamltex.layout +++ b/lib/layouts/siamltex.layout @@ -348,6 +348,7 @@ Style Bibliography Size Normal Shape Smallcaps EndFont + TocLevel 1 End NoStyle Chapter diff --git a/lib/layouts/simplecv.layout b/lib/layouts/simplecv.layout index dbfe819eed..88a452f43a 100644 --- a/lib/layouts/simplecv.layout +++ b/lib/layouts/simplecv.layout @@ -164,4 +164,5 @@ Style Bibliography LabelFont Size Tiny EndFont + TocLevel 1 End diff --git a/lib/layouts/stdstruct.inc b/lib/layouts/stdstruct.inc index be8fbb4118..b323cf37ea 100644 --- a/lib/layouts/stdstruct.inc +++ b/lib/layouts/stdstruct.inc @@ -81,4 +81,5 @@ Style Bibliography span.bibitemlabel:before { content: "["; } span.bibitemlabel:after { content: "] "; } EndHTMLStyle + TocLevel 1 End diff --git a/lib/layouts/svcommon.inc b/lib/layouts/svcommon.inc index 707b3b8003..3b1ea043ab 100644 --- a/lib/layouts/svcommon.inc +++ b/lib/layouts/svcommon.inc @@ -593,6 +593,7 @@ Style Bibliography LabelFont Series Bold EndFont + TocLevel 0 End Style Description diff --git a/lib/layouts/tufte-book.layout b/lib/layouts/tufte-book.layout index 7955c7b473..d034386dd2 100644 --- a/lib/layouts/tufte-book.layout +++ b/lib/layouts/tufte-book.layout @@ -267,4 +267,5 @@ Style Bibliography Series Bold Size Huge EndFont + TocLevel 0 End diff --git a/lib/layouts/tufte-handout.layout b/lib/layouts/tufte-handout.layout index 74e92924ef..c78d4138dc 100644 --- a/lib/layouts/tufte-handout.layout +++ b/lib/layouts/tufte-handout.layout @@ -73,3 +73,7 @@ Style Abstract Size Large EndFont End + +Style Bibliography + TocLevel 1 +End