Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Expand name of unicode function as latex in docs #10

Open
Carreau opened this issue Oct 4, 2014 · 4 comments
Open

Expand name of unicode function as latex in docs #10

Carreau opened this issue Oct 4, 2014 · 4 comments

Comments

@Carreau
Copy link

Carreau commented Oct 4, 2014

Not sure how to do it, but something that would look like that would be usefull to know how to type these.
capture d ecran 2014-10-04 a 15 35 24

For example above, it is hard to know if it is a \notin or a \in\not

@jiahao
Copy link
Member

jiahao commented Oct 4, 2014

Documentation for tab-completion was added in JuliaLang/julia#8479, but not exactly at the level of integration you have in mind probably.

@Carreau
Copy link
Author

Carreau commented Oct 4, 2014

Yes, thanks, I was aware of the above page. I forgot to mention, but having these aka \... is also helpfull to search :-)
Anyway that's just a proposal / feature request.

I dived into sphinx, but gave up as I don't really find how to modify the generated HTML easily, and it will probably need a way to access the unicode<->tex map which is a bit annoying.

@jiahao
Copy link
Member

jiahao commented Oct 4, 2014

In principle we could inherit HTML doc writer class and customize it to keep track of unicode characters it encounters and inject the tab-completions at the end of a paragraph... sounds like a lot of work though, and possibly another good use case for pyjulia :)

@Carreau
Copy link
Author

Carreau commented Oct 4, 2014

Yes, I suppose. I was (almost) considering javascript onload. Pretty easy to target the right dom element with jquery. I would need to export the julia charmap in json, but doable.

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

No branches or pull requests

2 participants