Comments (4)
@mtiley is the incorrect reference resolving to the nearest reference in the references.bib
file? It is an issue that the incorrect reference is getting adding rather than throwing an error that it cannot resolve the reference. This is likely a sphinx
translator
issue? @chrisjsewell is the AST
correct for the parser
?
from myst-parser.
@mmcky I don't think so -- Yuna will be doing some more testing tomorrow.
This is the .bib file I was using (had to change to .txt to upload): references.txt
from myst-parser.
Update: I have replicated the problem in a project (files here) without myst-parser
(only sphinxcontrib.bibtex
) as an extension. Seems to be an issue with (or feature of) sphinxcontrib-bibtex and not introduced by myst-parser after all -- so I think this issue can be closed.
Discussion here mcmtroffaes/sphinxcontrib-bibtex#62 and here mcmtroffaes/sphinxcontrib-bibtex#52
The problem appears to be fixed in rST by adding a :filter: docname in docnames
option to the bibliography directive so that only citations in that particular document appear in the bibliography. I can't get this to work in MyST at the moment but will play around with it a bit more.
from myst-parser.
@mtiley ok I'll close this issue for now then, and if you do uncover a discrepancy, please open another issue and, if possible, a PR with a minimal working example; in a similar fashion to what I did in #97 (adding to https://github.com/ExecutableBookProject/MyST-Parser/tree/master/tests/test_sphinx)
from myst-parser.
Related Issues (20)
- Anchor links to other markdown files produces " WARNING: local id not found in doc..." HOT 8
- DOC BUG: Content child 1 and Content child 2 pages look off HOT 1
- Warning "local id not found in doc" in translated docs since MyST-parser 0.19.0 HOT 4
- Add an extension to support GitHub alerts HOT 2
- Linking to documentation heading
- Numbered headings (for example starting with 1.) are not translated with Sphinx HOT 1
- `parsed-literal` does not preserve code-highlighting HOT 2
- Typo in the documentation
- Open external URLs in a new tab HOT 2
- Create a new release to capture the docutils warnings fixes HOT 2
- Cannot link to RST sections since 0.17.0 HOT 4
- 404 Page not found on "MyST - Markedly Structured Text - Parser" page HOT 1
- inline attribute on hyperlink disappears in LaTeX (but is there in HTML) HOT 1
- Line braks doesn't work. HOT 2
- third occurence of heading with the same title cannot be referenced, `[myst.xref_missing]` HOT 1
- No longer a canonical way to parse a simple snippet HOT 4
- Emit include-read event HOT 1
- Message "inconsistent footnote references in translated message...." HOT 1
- WARNING: 'myst' cross-reference target not found: 'level-4-header-title' [myst.xref_missing] HOT 4
- Equation label of math not work before `make clean` when math_numfig=True HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from myst-parser.