fixed section in toc
This commit is contained in:
parent
8d00ef14d4
commit
25fc8b5480
1 changed files with 13 additions and 11 deletions
|
@ -84,17 +84,19 @@ public class Speech_MongoDB_Impl extends Speech_File_Impl implements Speech {
|
|||
public String toTeX() {
|
||||
StringBuilder tex = new StringBuilder();
|
||||
|
||||
tex.append("\\section*{Rede ")
|
||||
.append(this.getSpeechKey())
|
||||
.append("/")
|
||||
.append(getAgendaTitle(this.getSessionId(), this.getAgendaItemId()))
|
||||
.append(" von ")
|
||||
.append(this.getSpeakerName())
|
||||
.append(" (")
|
||||
.append(this.getFraction())
|
||||
.append(") vom ")
|
||||
.append(getSessionDateTime(this.getSessionId()))
|
||||
.append("}\n");
|
||||
String speechTitle = "Rede " +
|
||||
this.getSpeechKey() +
|
||||
"/" +
|
||||
getAgendaTitle(this.getSessionId(), this.getAgendaItemId()) +
|
||||
" von " +
|
||||
this.getSpeakerName() +
|
||||
" (" +
|
||||
this.getFraction() +
|
||||
") vom " +
|
||||
getSessionDateTime(this.getSessionId());
|
||||
|
||||
tex.append("\\section*{").append(speechTitle).append("}\n");
|
||||
tex.append("\\addcontentsline{toc}{section}{").append(speechTitle).append("}\n");
|
||||
|
||||
tex.append("$$SPEAKERINFO$$\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue