Skip to main content

Replace Latex snippets with unicode

Project description

README

Purpose

Latex to Unicode conversion intended for use in Vim

Set up

Depending on your Python3 installation, one of these should work assuming that the directory where Pip installs executable files (e.g. in Linux: $HOME/.local/bin) is in your $PATH

pip3 install --user vim_unitex
pip install vim_unitex

Add this (or something similar to suit your taste) to your .vimrc:

function Unitex()
    let s = input("Latex: ")
    return system('tex2unicode "' . s . '"')
endfunction

inoremap <leader>t <C-R>=Unitex()<C-M>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vim_unitex-0.0.1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vim_unitex-0.0.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file vim_unitex-0.0.1.tar.gz.

File metadata

  • Download URL: vim_unitex-0.0.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for vim_unitex-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d7476dff0a3126c1c228d98c73c5cf7b193133a0fd1ff51b951dd7949f5a8dce
MD5 a9c9d3792fa97d330650ba24517ef7fa
BLAKE2b-256 c530dbcbb5c8dc0353e41e31e4f4427a00a443fcf23e5fb07e0b966a401e803c

See more details on using hashes here.

File details

Details for the file vim_unitex-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: vim_unitex-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for vim_unitex-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0946ff542c179f0b6e9f26395667b143efa30a2bb448219fbbcbe9799869b53c
MD5 9d661c1942fcd0fab6c1494ca25bb3cd
BLAKE2b-256 90cb812a6e792ecf0529fd9086bb3fca29516cec29c161554e189f330912356b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page