mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
* recognize \addsec instead of \addsect in outline \addsec is the correct name used by KOMA-Script, \addsect was a typo and is removed. COPYBARA_INTEGRATE_REVIEW=https://github.com/overleaf/overleaf/pull/954 from japm48:patch-2 11934c71f2a387f99187edff1a0ad78790ea969a * Fix test for addsec(t) Co-authored-by: japm48 <japm48@users.noreply.github.com> GitOrigin-RevId: 634cef54d9d097b10700fabb05187a1af7b27375
This commit is contained in:
@@ -5,7 +5,7 @@ const COMMAND_LEVELS = {
|
||||
chapter: 30,
|
||||
addchap: 30,
|
||||
section: 40,
|
||||
addsect: 40,
|
||||
addsec: 40,
|
||||
subsection: 50,
|
||||
subsubsection: 60,
|
||||
paragraph: 70,
|
||||
|
||||
@@ -15,7 +15,7 @@ describe('OutlineParser', function () {
|
||||
\\chapter{Chapter}
|
||||
\\addchap{Chapter 2}
|
||||
\\section{Section 1}
|
||||
\\addsect{Section 1b}
|
||||
\\addsec{Section 1b}
|
||||
\\subsection{Subsection}
|
||||
\\subsubsection{Subsubsection}
|
||||
\\section{Section 2}
|
||||
|
||||
Reference in New Issue
Block a user