mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.tutorial
git-svn-id: svn://ultimatepp.org/upp/trunk@11252 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0b1982b985
commit
d780f708b1
2 changed files with 3 additions and 2 deletions
|
|
@ -24,6 +24,7 @@ void Section(const String& title)
|
|||
{
|
||||
String lbl = AsString(++major);
|
||||
String text = String().Cat() << lbl << "." << ' ' + TrimBoth(title);
|
||||
lbl = "Chapter_" + lbl;
|
||||
qtf << "[s6;:" << lbl << ": " << text << "&]";
|
||||
minor = 0;
|
||||
toc << "&[A3^" << lbl << "^ " << text << "]&";
|
||||
|
|
@ -45,7 +46,7 @@ void FlushDoc(String& docblock)
|
|||
|
||||
docblock = AsString(major) + "." + AsString(++minor) + ' ' + TrimBoth(docblock.Mid(1));
|
||||
style = minor == 1 ? "[s2;" : "[s2;H4";
|
||||
lbl = AsString(major) + "_" + AsString(minor);
|
||||
lbl = "Section_" + AsString(major) + "_" + AsString(minor);
|
||||
style << ":" << lbl << ":";
|
||||
title = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue