Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide easy way to reference figures in other documents #3

Open
humburg opened this issue Jun 27, 2016 · 1 comment
Open

Provide easy way to reference figures in other documents #3

humburg opened this issue Jun 27, 2016 · 1 comment

Comments

@humburg
Copy link
Owner

humburg commented Jun 27, 2016

Currently the only way to refer to a figure in a different document, whether it is a child, sibling or parent, is to explicitly link to the corresponding anchor in that document. It would be nice to have a shorthand for this, especially if it could make use of the automatic figure numbering.

@humburg
Copy link
Owner Author

humburg commented Jul 6, 2016

This is at least partially addressed by #6. With these changes it is now possible to link to Figures and Tables in child documents using the same function used for intra-document references (i.e. figRef and tabRef respectively).

This still doesn't work for links to documents that aren't dependencies of the current document. The reason for this is that the current implementation relies on an index of figures and tables that is generated for each file as it is being processed. This requires the link target to be processed before the referencing document and that is only guaranteed for dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant