Skip to content

Commit 8acb984

Browse files
committed
issue doxygen#11565 subpages named with capital letters are not found by LaTeX
1 parent 20f8e3d commit 8acb984

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/docnode.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,10 @@ DocRef::DocRef(DocParser *parser,DocNodeVariant *parent,const QCString &target,c
747747
m_refType = Section;
748748
}
749749
m_isSubPage = pd && pd->hasParentPage();
750-
if (secLevel!=SectionType::Page || m_isSubPage) m_anchor = sec->label();
750+
if (secLevel!=SectionType::Page || m_isSubPage)
751+
{
752+
m_anchor = pd ? pd->getOutputFileBase() : sec->label();
753+
}
751754
m_sectionType = sec->type();
752755
//printf("m_text=%s,m_ref=%s,m_file=%s,type=%d\n",
753756
// qPrint(m_text),qPrint(m_ref),qPrint(m_file),m_refType);

0 commit comments

Comments
 (0)