diff options
Diffstat (limited to 'src/latexdocvisitor.cpp')
-rw-r--r-- | src/latexdocvisitor.cpp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index ab2ee83..8cbefc0 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -909,14 +909,23 @@ void LatexDocVisitor::visitPre(DocParamList *pl) m_t << "} "; } m_t << "{\\em "; - QStrListIterator li(pl->parameters()); - const char *s; + //QStrListIterator li(pl->parameters()); + //const char *s; + QListIterator<DocNode> li(pl->parameters()); + DocNode *param; bool first=TRUE; - for (li.toFirst();(s=li.current());++li) + for (li.toFirst();(param=li.current());++li) { if (!first) m_t << ","; else first=FALSE; m_insideItem=TRUE; - filter(s); + if (param->kind()==DocNode::Kind_Word) + { + visit((DocWord*)param); + } + else if (param->kind()==DocNode::Kind_LinkedWord) + { + visit((DocLinkedWord*)param); + } m_insideItem=FALSE; } m_t << "}]"; |