Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 25, 2019. It is now read-only.
/neotexPublic archive

latex live preview - plugin for neovim and vim 8

License

NotificationsYou must be signed in to change notification settings

donRaphaco/neotex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This plugin compileslatex filesasynchronously while edditing.

The PDF output gives alive preview of your document as you type.

You have the option tohighlight changes from the previous save using latexdiff.

Update: Now working on NeoVim and Vim 8

live preview of a latex document

Demo1 gif

live preview with latexdiff

Demo2 gif

Installation

Install using the plugin manager you like.

For examplevim-plug:

Plug'donRaphaco/neotex', {'for':'tex' }

Usage

For live previewing your latex file open the created PDF using a PDF viewer which supports auto reloading (I recommend zathura or evince).The PDF is created in the same folder where your latex file is stored.

Options

OptionDefaultDescription
g:neotex_enabled10 = always disabled, 1 = default off, 2 = default on
g:neotex_delay1000Update intervall in milliseconds
g:neotex_latexdiff0enable latexdiff
g:neotex_latexdiff_options-additional options for latexdiff
g:neotex_pdflatex_add_options-additional options for pdflatex (-jobname=<filname> and-interaction=nonstopmode is always set)
g:neotex_pdflatex_alternative-alternative for pdflatex (e.g.xelatex orlualatex)
g:neotex_subfile0experimental support for subfiles (#8) (latexdiff won't work if enabled!)

I also recommend settinglet g:tex_flavor = 'latex', which can prevent some issues. (see:h g:tex_flavor for information)

Commands

CommandDescription
:NeoTexCompile current buffer (asynchronously and without writing the file)
:NeoTexOnTurn live compilation on (for current buffer)
:NeoTexOffTurn live compilation off (for current bufffer)

Tipp

For better performance use aprecompiled preamble.

About

latex live preview - plugin for neovim and vim 8

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp