texlive[72163] trunk: digestif (1sep24)
commits+karl at tug.org
commits+karl at tug.org
Sun Sep 1 22:48:18 CEST 2024
Revision: 72163
https://tug.org/svn/texlive?view=revision&revision=72163
Author: karl
Date: 2024-09-01 22:48:17 +0200 (Sun, 01 Sep 2024)
Log Message:
-----------
digestif (1sep24)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/digestif/digestif.texlua
trunk/Master/texmf-dist/doc/support/digestif/INSTALL.md
trunk/Master/texmf-dist/doc/support/digestif/LICENSE.md
trunk/Master/texmf-dist/doc/support/digestif/README.md
trunk/Master/texmf-dist/doc/support/digestif/bin/digestif
trunk/Master/texmf-dist/scripts/digestif/digestif.texlua
trunk/Master/texmf-dist/scripts/digestif/digestif.zip
Modified: trunk/Build/source/texk/texlive/linked_scripts/digestif/digestif.texlua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/digestif/digestif.texlua 2024-09-01 20:47:05 UTC (rev 72162)
+++ trunk/Build/source/texk/texlive/linked_scripts/digestif/digestif.texlua 2024-09-01 20:48:17 UTC (rev 72163)
@@ -1,4 +1,7 @@
#!/usr/bin/env texlua
+-- Remove relative directories from package path
+package.path = package.path:gsub("%f[^\0;]%.[^;]*", ""):gsub(";+", ";"):gsub("^;", ""):gsub(";$", "")
+package.cpath = package.cpath:gsub("%f[^\0;]%.[^;]*", ""):gsub(";+", ";"):gsub("^;", ""):gsub(";$", "")
-- Use an invalid directory name in order not to allow kpse to search
-- in the current directory.
os.setenv("TEXMFDOTDIR", package.config:find("^\\") and "NUL" or "/dev/null")
Modified: trunk/Master/texmf-dist/doc/support/digestif/INSTALL.md
===================================================================
--- trunk/Master/texmf-dist/doc/support/digestif/INSTALL.md 2024-09-01 20:47:05 UTC (rev 72162)
+++ trunk/Master/texmf-dist/doc/support/digestif/INSTALL.md 2024-09-01 20:48:17 UTC (rev 72163)
@@ -59,12 +59,12 @@
--------------------------------
For an installation depending only on the `texlua` interpreter from
-LuaTeX (which already includes all other dependencies except cjson),
+LuaTeX (which bundles all dependencies except the optional cjson),
create a zip file containing `digestif/*.lua` and `data/*.tags` (no
subdirectories), place it anywhere kpathsearch will find it and use
the `bin/digestif.texlua` executable script. For instance:
- zip -j digestif.zip digestif/*.lua tags/*.tags
+ zip -j digestif.zip digestif/*.lua data/*.tags
install -Dt $TEXMF/scripts digestif.zip
install bin/digestif.texlua $PREFIX/bin/digestif
Modified: trunk/Master/texmf-dist/doc/support/digestif/LICENSE.md
===================================================================
--- trunk/Master/texmf-dist/doc/support/digestif/LICENSE.md 2024-09-01 20:47:05 UTC (rev 72162)
+++ trunk/Master/texmf-dist/doc/support/digestif/LICENSE.md 2024-09-01 20:48:17 UTC (rev 72163)
@@ -119,6 +119,20 @@
Adapted from the LaTeX2e Unofficial Reference Manual, which can be found at
https://latexref.xyz/.
+natbib.sty.tags:
+
+ Copyright 1993-2010 Patrick W Daly
+
+ This file may be distributed and/or modified under the conditions of the
+ LaTeX Project Public License, either version 1.3 of this license or (at
+ your option) any later version. The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+ and version 1.3 or later is part of all distributions of LaTeX version
+ 2005/12/01 or later.
+
+ Adapted from the natbib package documentation, which can be found at
+ https://ctan.org/pkg/natbib
+
pgf.tags:
Copyright 2007-2013 Till Tantau
Modified: trunk/Master/texmf-dist/doc/support/digestif/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/support/digestif/README.md 2024-09-01 20:47:05 UTC (rev 72162)
+++ trunk/Master/texmf-dist/doc/support/digestif/README.md 2024-09-01 20:48:17 UTC (rev 72163)
@@ -2,7 +2,7 @@
========
<p align="center">
-<a href="https://app.travis-ci.com/astoff/digestif"><img src="https://app.travis-ci.com/astoff/digestif.svg?branch=main" alt="Build Status"></a>
+<a href="https://github.com/astoff/digestif/actions/workflows/test.yml"><img src="https://github.com/astoff/digestif/actions/workflows/test.yml/badge.svg"></a>
<a href="https://ctan.org/pkg/digestif"><img alt="CTAN" src="https://img.shields.io/ctan/v/digestif?color=blue"></a>
<a href="https://luarocks.org/modules/astoff/digestif"><img alt="LuaRocks" src="https://img.shields.io/luarocks/v/astoff/digestif?color=blue"></a>
</p>
@@ -12,8 +12,6 @@
documentation, code navigation, and related functionality to any text
editor that speaks the LSP protocol.
-<p align="center"><img src="https://raw.githubusercontent.com/astoff/digestif/images/screenshot.gif" alt="Madatory GIF"></p>
-
Features
--------
@@ -20,10 +18,14 @@
- Completion for commands, environments, key-value options (for
instance, TikZ options), cross-references and citations.
+ <p align="center"><img src="https://raw.githubusercontent.com/astoff/digestif/images/completion.png"></p>
+
- Popup help messages, including command signature and documentation.
For the best results, make sure you have the [LaTeX reference
manual][latexref] installed as an [info node][info-issues].
+ <p align="center"><img src="https://raw.githubusercontent.com/astoff/digestif/images/help.png"></p>
+
- Find definition and references to labels and citations.
- Document outline.
@@ -37,13 +39,17 @@
- Digestif is fuzzy! For citations, it tries an exact match against
the BibTeX identifier and a fuzzy match against author and title.
- In the GIF above, the user types `groalhom`, which matches
+ In the picture below, the user typed `groalhom`, which matches
**Gro**thendieck's “Sur quelques points d'**al**gébre
**hom**ologique”; selecting this inserts the BibTeX identifier
- `Tohoku`. Similarly, for cross-references, Digestif tries an exact
- match against the label and a fuzzy match against the text around
- the label.
+ `Tohoku`.
+ <p align="center"><img src="https://raw.githubusercontent.com/astoff/digestif/images/cite.png"></p>
+
+ Similarly, for cross-references, Digestif tries an exact match
+ against the label and a fuzzy match against the text around the
+ label.
+
- Support for LaTeX, ConTeXt, plain TeX, DocTeX (`.dtx` files) and
Texinfo.
@@ -112,6 +118,10 @@
See instructions [here](https://github.com/neoclide/coc.nvim/wiki/Language-servers#latex).
+### Sublime Text with the [LSP](https://packagecontrol.io/packages/LSP) package
+
+See instructions [here](https://lsp.sublimetext.io/language_servers/#digestif).
+
### Other editors
It shouldn't be hard to set up other editors to use Digestif. Please
Modified: trunk/Master/texmf-dist/doc/support/digestif/bin/digestif
===================================================================
--- trunk/Master/texmf-dist/doc/support/digestif/bin/digestif 2024-09-01 20:47:05 UTC (rev 72162)
+++ trunk/Master/texmf-dist/doc/support/digestif/bin/digestif 2024-09-01 20:48:17 UTC (rev 72163)
@@ -1,2 +1,5 @@
#!/usr/bin/env lua
+-- Remove relative directories from package path
+package.path = package.path:gsub("%f[^\0;]%.[^;]*", ""):gsub(";+", ";"):gsub("^;", ""):gsub(";$", "")
+package.cpath = package.cpath:gsub("%f[^\0;]%.[^;]*", ""):gsub(";+", ";"):gsub("^;", ""):gsub(";$", "")
require "digestif.langserver".main(arg)
Modified: trunk/Master/texmf-dist/scripts/digestif/digestif.texlua
===================================================================
--- trunk/Master/texmf-dist/scripts/digestif/digestif.texlua 2024-09-01 20:47:05 UTC (rev 72162)
+++ trunk/Master/texmf-dist/scripts/digestif/digestif.texlua 2024-09-01 20:48:17 UTC (rev 72163)
@@ -1,4 +1,7 @@
#!/usr/bin/env texlua
+-- Remove relative directories from package path
+package.path = package.path:gsub("%f[^\0;]%.[^;]*", ""):gsub(";+", ";"):gsub("^;", ""):gsub(";$", "")
+package.cpath = package.cpath:gsub("%f[^\0;]%.[^;]*", ""):gsub(";+", ";"):gsub("^;", ""):gsub(";$", "")
-- Use an invalid directory name in order not to allow kpse to search
-- in the current directory.
os.setenv("TEXMFDOTDIR", package.config:find("^\\") and "NUL" or "/dev/null")
Modified: trunk/Master/texmf-dist/scripts/digestif/digestif.zip
===================================================================
(Binary files differ)
More information about the tex-live-commits
mailing list.