ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Show​Texdoc

by CareF ALL

A plugin for Sublime Text which helps to show LaTeX package documents

Details

Installs

  • Total 394
  • Win 219
  • Mac 81
  • Linux 94
Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Show Texdoc

by Lyu Ming [https://github.com/CareF]

Introduction

This is a Sublime Text package for showing the LaTeX package documents.

I develop and test the package under Sublime Text 3 and Windows 8 but I shall not use anything not supported by other platform. If anyone found it cannot run under Sublime Text 2 or other OS, please contact me.

I use TexLive 2014, and know nothing about other TeX distribution. This package requires the following two commands about TeX:

tlmgr list --only-installed
texdoc <package name>

Any distribution that supports these two commands should be supported by this package.

Version

  • v1.0.0: The first release that realize basic function of showing docs.

  • v1.0.4: Write log file about getting package list, helping future develop that supports other LaTeX distribution.

  • v2.0.0: New format of cache for better performance. Therefore you have to refresh the cache to make it run in a right way. Description of packages added in “mentioned in this document” command. Also, several bugs in multi-platform have been fixed. Unfortunately I was still told that there is some problem in support under Mac OS.

  • v2.1.0: Solve the multi platform path environment setting problem.

Usage

Before you use this package, you need to do the following things first:

  1. Configure the LaTeX path in Preferences - Package Setting - Show Texdoc - Settings - User. You may want to copy it from Settings - Default to get example setting and modify it accordingly.
  2. Refresh the installed packages list cache: press Ctrl+Shift+P to call the panel, run the command Show TeXdoc: refresh the list of installed packages and wait until task bar tells you succeeded.

Press Ctrl+Shift+P to call the panel, input show texdoc and choose from the 4 items.

  • Show TeXdoc mentioned in this document: This will scan the document in the active view and list all the packages mentioned.
  • Show TeXdoc from all packages installed: This will give all the packages installed in the local machine (acquired by tlmgr list command).
  • Show TeXdoc with user input: This will allow you to input a package name, which is equivalent to the shell command texdoc.
  • Show TeXdoc: refresh the list of installed packages: Searching for all packages installed is costly, so the list of packages is actually stored in Packages\ShowTexdoc\paclist.pcl as pickle binary. And this command will refresh the cache.

You need to run Show TeXdoc: refresh the list of installed packages at least once to get the cache!

Acknowledgment

Thanks Carl-Henrik Buschmann who gave feedback and helped me on testing the package