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

Enhancement: Using LaTeX reference and cite commands inside Doconce #127

Open
ofenerci opened this issue Sep 1, 2017 · 0 comments
Open

Comments

@ofenerci
Copy link

ofenerci commented Sep 1, 2017

Hello,
The most struggle for someone transitioning from LaTeX to Doconce is typing Doconce commands. For example, I have previously used Vim-LaTeX (for Vim) and AucTeX (for Emacs), fell in love its many fast typing shortcuts. For example, AucTeX (and similarly Vim-LaTeX) has a package supporting for references, labels, citations,etc (called RefTeX in AucTeX)

With RefTeX, for instance, type C-c ) (reftex-reference) and this shows an outline of the document with all labels of a certain type (figure, equation,...) and some label context. Selecting a label inserts a \ref{label} macro into the original buffer.

I use many properties of AucTeX (shortcuts, inserting environments, etc.) in when typing Doconce commands but not for label and cite. It shouldn't have been a problem for DocOnce, If it would have used \label or \cite instead labelor cite. It is not problem remembering for someone how you labeled the equations in a few pages, but If you write a big document, it is problematic (still wondering, how late Prof. H.P. Langtangen and others achieved to write many books with DocOnce.)

So my question: Is there a possible way to use \label or \cite in DocOnce instead of label or cite? So I can use RefTeX's outlining features. It would be great help for someone who are already using Vim or Emacs.

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

No branches or pull requests

1 participant