You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if it's in the scope of this plugin, but I'd like to reference other chapter from within my document. For example:
chapter
p Lorem ipsum dolar <referencetype="chapter"to="my-other-chapter">see this chapter</reference> sit amet.
...
chapter
h1 My other chapter
The to attribute references to a slugified version of the title. Which is easy to use, but not very stable.. If the title changes, the reference breaks. This can be solved by using labels:
chapter
h1(label='my-chapter') My other chapter
So that the to attribute becomes: to="my-chapter". This could also be used for referencing things like tables and figures.
Also see LaTeX Labels for the LaTeX approach. What are your thoughts on this?
The text was updated successfully, but these errors were encountered:
Thanks for your support! I don't think this is within the scope of this plugin, but I do agree it is an awesome idea. Currently I am working on a plugin for referencing to inline tables and figures, but due to the lack of time, the development is going very slow. What do you think, should I put this reference in the plugin for inline references to tables and figures, or should a seperate plugin be created?
The name of this plugin is very general. references could be anything. So not quite sure how to handle this. Maybe change the name of this plugin to something with APA-references or reference-list? dmp-labels could be a good name for inline (table and figure) labelling/referencing.
I'm not sure if it's in the scope of this plugin, but I'd like to reference other chapter from within my document. For example:
The
to
attribute references to a slugified version of the title. Which is easy to use, but not very stable.. If the title changes, the reference breaks. This can be solved by using labels:So that the
to
attribute becomes:to="my-chapter"
. This could also be used for referencing things like tables and figures.Also see LaTeX Labels for the LaTeX approach. What are your thoughts on this?
The text was updated successfully, but these errors were encountered: