Code Monkey home page Code Monkey logo

unicode-latex's People

Contributors

dependabot[bot] avatar matklad avatar ojsheikh avatar sgryjp avatar tscholl2 avatar varkor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

unicode-latex's Issues

doesn't seem to work in interactive shells

When trying to insert a Unicode character in an interactive Julia REPL, it inserts it instead into a source code buffer.

Reproduce:

  • open a Julia source file
  • start a REPL (e.g., by evaluating something with Alt-Return)
  • switch to the REPL by clicking in it
  • select Insert Unicode Character from the palette
  • the character gets inserted in the source file, not the REPL

Subscripts

How come subscripts don't work ?

Neither of the following work

\alpha_1312
\alpha\_32

opt-in to "workspace trust" settings to work in "restricted mode"

Currently, this extension is disabled if the workspace is in "restricted mode":

image

As mentioned on stackoverflow, ideally the extension can indicate whether it is safe to run in restricted mode. This is also echoed by the [vscode docs]:

Most extensions run code on your behalf and could potentially do harm. Some extensions have settings that could cause them to act maliciously if configured to run an unexpected executable. For this reason, extensions that have not explicitly opted into Workspace Trust are disabled by default in Restricted Mode.

See the Workspace Trust Extension Guide for how to do it.

Since this extension is just tab completions, it should be safe to run when editing untrusted files, no?

not working in python and julia

I am new to VSC but have installed this and extensions for python and julia.

When I open a new document, I can get \alpha to because the green symbol.

However, when I save the file as test.py or test.jl, then I can't get \alpha to become the symbol

Any advice?

Insert, rather than replace, symbols

When I'm inserting a symbol using autocompletion (the behaviour is correct for inserting from the menu), and my cursor is like this: start|end, then I trigger an autocomplete (e.g. \sigma), the resulting word is startΣ|, rather than startΣ|end, which can be annoying (especially as this happens for symbols like brackets, not just word characters).

Is there any way to change this behaviour?

Building pdf problem after replace latex symbols

After I use the command "Unicode: Replace LaTeX", all the replaced symbols caused a problem when building the PDF file, following with the message:
Package inputenc Error: Unicode character ... not set up for use with LaTeX
How can I fix this?
Thanks in advance for your support

Create releases

It would be great to have the releases tags created so people may install it through vsix when using non Microsoft products.

Allow users to add new characters

For instance, I constantly need to use to call a certain library API I need, but that's not available; \triangleright is taken by , a different character.

Feature Request: Option to use automatically use the first option if additional characters won't change the top result

For example, if I want \lambda, I want to only need to type as may starting characters so as to distinguish it from other possibilities.

So, I'd only need to type \lam and then the extension will activate with a λ, without me checking the dropdown and hitting tab.

This might not be suitable for people using the fuzzy matching (rather than "starts with"), so this new functionality should be available as an option.

There may be nuances to this feature request that I have not thought of. So, please let's discuss them.

My overall aim is to reduce cognitive load when writing latex and to be able to type as fast as possible.

\varphi and \phi are switched

In the code editor, \varphi gives ϕ and \phi gives φ. In LaTeX however, it is the opposite, eg. \phi gives ϕ and \varphi gives φ. This can be kind of annoying when plotting, since the phi symbol in the code and the plot are different.

I would suggest switching \varphi to give φ in the editor and \phi to give ϕ, to be consistent with LaTeX notation.

Improving order of symbols

  • Sort recently-used symbols to the top of the list
  • If there is a direct match (e.g. circ), use that rather than something else (e.g. ocirc).
  • Take case into account.

Edit: the last two issues seem to have been addressed in a recent version of VS Code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.