Reputation
223
Next privilege 250 Rep.
View close votes
Badges
1 2 6
Newest
 Yearling
Impact
~13k people reached

  • 0 posts edited
  • 0 helpful flags
  • 13 votes cast
Nov
30
awarded  Yearling
Sep
30
comment What are the differences between latexmk and rubber?
To add some news: Rubber v1.2 was released on 2015-06-24. It seems however that for Ubuntu, 1.2 will not be included in 15.04, but 15.10 and further. For more information, see the launchpad of Rubber.
Jul
31
awarded  Famous Question
Dec
11
awarded  Notable Question
Jul
8
awarded  Popular Question
May
23
awarded  Nice Question
Oct
3
revised Get current “section” name without label
Added update about solution.
Oct
3
awarded  Scholar
Oct
3
accepted Get current “section” name without label
Oct
3
comment Get current “section” name without label
Jup, that works. Thank you.
Oct
3
comment Get current “section” name without label
I'm using memoir too, but in my document, \rightmark contains the section before the current section...
Oct
3
comment Get current “section” name without label
I tried your solution in my main document and I didn't work. Then I realized, that I'm using class memoir. Apparently, this breaks your solution. Do you have any idea why?
Oct
3
revised Get current “section” name without label
Edit documentclass to memoir.
Oct
3
comment Get current “section” name without label
When trying to compile your MWE, I get the following error: > \@chapter=macro: [...] l.11 \show\@chapter Commenting the line \show\@chapter solves the compilation error, but I don't know if it breaks something in your idea.
Oct
3
comment Get current “section” name without label
Well, it is true that your example breaks * commands. I tried to find some guides on how to redefine a section command, but I wasn't really successful. Do you know a "How To" for redefining section commands or similar?
Oct
3
awarded  Supporter
Oct
3
comment Get current “section” name without label
What do you mean with: You probably would want to deal with optional arguments to sectioning commands in a better way?
Oct
3
awarded  Student
Oct
3
comment Get current “section” name without label
To my current knowledge, it is only possible to use nameref in combinations with labels. Is there some other way? Like receiving a reference from header numbering? This way, one could get the reference and plug it into nameref: \nameref{\getrefofnumber{\thechapter}}
Oct
3
awarded  Editor