Cross-References¶
MergDown2TeX adds bidirectional navigation between citations.
How it works¶
graph LR
A[Text] -->|↑| B[Citation]
B -->|↓| C[Bibliography]
Features¶
Bidirectional arrows¶
In text:
In bibliography:
Navigation¶
- Click ↑ in text → Jump to citation in bibliography
- Click ↓ in bibliography → Jump to citation in text
Implementation¶
Text navigation¶
Bibliography navigation¶
Configuration¶
Enable/disable¶
Arrow style¶
Options:
- ↑↓ (default)
- ↗↙
- →←
Example¶
Input¶
---
title: "Research Paper"
bibliography: references.bib
---
# Introduction
This paper cites @smith2020.
# Bibliography
Output¶
\documentclass[12pt]{report}
\usepackage{cite}
\usepackage{hyperref}
\title{Research Paper}
\begin{document}
\section{Introduction}
This paper cites \citep{smith2020}... \hyperlink{smith2020}{↑}
\bibliographystyle{plain}
\bibliography{references}
\end{document}
In references.bib:
Troubleshooting¶
Arrows not appearing¶
Error:
Solution:
- Check citationNavigation: true in YAML
- Verify hyperref package is loaded
- Run pdflatex 3 times
Links not working¶
Error:
Solution:
- Check citation key matches
- Verify hyperref package is loaded
- Rebuild PDF
Next steps¶
- Citations - Citation features
- Configuration - Customize settings
- Compilation - PDF/DOCX options