Open jonasmalacofilho opened 7 years ago
Some additional details...
Reference types and generation:
\ref
type can be num
, name
or page
page
would refer: (pdf) page number; (html) section name (which is the equivalent to a page)num
+ name
num
onlynum
onlynum
onlypage
\ref{volume.marketing}
=> Volume 3 (Communications and Marketing)
\ref{section.conclusion}
=> Section 4.7
\ref[page]{chapter.demand-analysis:figure.representation-of-study-area-for-analysis}
=> Estimating Demand with a Public Transport Model
(web) or page 112
(pdf)\rangeref{chapter.demand-analysis}{chapter.traffic-impact-assessment}
=> Chapters 4 (Demand Analysis) to 8 (Traffic Impact Assessment)
\rangeref[num]{chapter.demand-analysis}{chapter.traffic-impact-assessment}
=> Chapters 4 to 8
Context based resolution:
\ref
appears
\ref{section.conclusion}
might resolve differently depending on the contextchapter.demand-analysis:section.conclusion
O(1)
time
I had hoped to push something functional by Xmas, but I ended up working on the new server...
Still, I'm opening the pull request as is to get the tests to run (and to track the development).
\id{<id>}
:\ref[<optional type>]{<id>}
and\rangeref[<optinal type>]{<id>}