103 reputation
16
bio website
location
age
visits member for 2 years
seen Aug 29 at 14:10

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
Oct
3
comment Get current “section” name without label
Thanks. I added my intent and some examples including a MWE.
Oct
3
revised Get current “section” name without label
Added second notice about labels.
Oct
3
asked Get current “section” name without label