summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-12-07 23:32:34 +0000
committerKarl Berry <karl@freefriends.org>2012-12-07 23:32:34 +0000
commitdd0cc7705d2c78ed2f7c6a7b9afe96e0aa48b9e1 (patch)
treec512e7818a5ef38734e04dfcc43d48e21cf8820c
parentca94651714aa4fc2f0ce2f363011b2deda254885 (diff)
spelling 0.2 (6dec12)
git-svn-id: svn://tug.org/texlive/trunk@28464 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/lualatex/spelling/CHANGES27
-rw-r--r--Master/texmf-dist/doc/lualatex/spelling/README5
-rw-r--r--Master/texmf-dist/doc/lualatex/spelling/spelling-doc.pdfbin89987 -> 89685 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/spelling/spelling-doc.tex2
-rwxr-xr-xMaster/texmf-dist/scripts/spelling/spelling-recurse.lua2
-rwxr-xr-xMaster/texmf-dist/scripts/spelling/spelling-stage-1.lua2
-rwxr-xr-xMaster/texmf-dist/scripts/spelling/spelling-stage-2.lua2
-rwxr-xr-xMaster/texmf-dist/scripts/spelling/spelling-stage-3.lua2
-rwxr-xr-xMaster/texmf-dist/scripts/spelling/spelling-stage-4.lua2
-rw-r--r--Master/texmf-dist/tex/lualatex/spelling/spelling.sty10
10 files changed, 44 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/lualatex/spelling/CHANGES b/Master/texmf-dist/doc/lualatex/spelling/CHANGES
new file mode 100644
index 00000000000..168e44919ea
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/spelling/CHANGES
@@ -0,0 +1,27 @@
+This material is subject to the LaTeX Project Public License. See
+<http://www.latex-project.org/lppl/> for the details of that license.
+
+
+
+### v0.2 (2012-12-04)
+
+Fixes:
+
+ * File `spelling.lua` could not be found by LaTeX style file
+ ([GitHub issue 14][#14]).
+
+[#14]: https://github.com/sh2d/spelling/issues/14
+
+
+### v0.1 (2012-11-30)
+
+First upload to CTAN.
+
+
+
+<!--
+%%% Local Variables:
+%%% coding: utf-8
+%%% mode: markdown
+%%% End:
+-->
diff --git a/Master/texmf-dist/doc/lualatex/spelling/README b/Master/texmf-dist/doc/lualatex/spelling/README
index c6b8a9347a1..204b5471bd2 100644
--- a/Master/texmf-dist/doc/lualatex/spelling/README
+++ b/Master/texmf-dist/doc/lualatex/spelling/README
@@ -7,8 +7,8 @@ This material is subject to the LaTeX Project Public License. See
Package name: spelling
Summary description: Aid spell-checking LuaTeX documents.
-Version: v0.1
-Date: 2012-11-30
+Version: v0.2
+Date: 2012-12-04
License: [LPPL v1.3c](http://www.latex-project.org/lppl/lppl-1-3c.html)
Maintenance status: maintained
Current maintainer: Stephan Hennig, <sh2d@arcor.de>
@@ -46,6 +46,7 @@ _Happy TeXing!_
### File list
+ CHANGES
LICENSE
README
spelling.lua
diff --git a/Master/texmf-dist/doc/lualatex/spelling/spelling-doc.pdf b/Master/texmf-dist/doc/lualatex/spelling/spelling-doc.pdf
index ee8c4492c93..94a23f8a048 100644
--- a/Master/texmf-dist/doc/lualatex/spelling/spelling-doc.pdf
+++ b/Master/texmf-dist/doc/lualatex/spelling/spelling-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/spelling/spelling-doc.tex b/Master/texmf-dist/doc/lualatex/spelling/spelling-doc.tex
index 8d0d8a00af5..b2e45937316 100644
--- a/Master/texmf-dist/doc/lualatex/spelling/spelling-doc.tex
+++ b/Master/texmf-dist/doc/lualatex/spelling/spelling-doc.tex
@@ -59,7 +59,7 @@ basicstyle=\ttfamily,
\newcommand*{\lpie}{\latinphrase{i.\,e.}\xspace}
\begin{document}
\author{Stephan Hennig\thanks{sh2d@arcor.de}}
-\title{\pkg\thanks{This document describes the \pkg\ packgae v0.1.}}
+\title{\pkg\thanks{This document describes the \pkg\ packgae v0.2.}}
\maketitle
diff --git a/Master/texmf-dist/scripts/spelling/spelling-recurse.lua b/Master/texmf-dist/scripts/spelling/spelling-recurse.lua
index 273614d0e6c..f7df992bb74 100755
--- a/Master/texmf-dist/scripts/spelling/spelling-recurse.lua
+++ b/Master/texmf-dist/scripts/spelling/spelling-recurse.lua
@@ -18,7 +18,7 @@
--
-- @author Stephan Hennig
-- @copyright 2012 Stephan Hennig
--- @release version 0.1
+-- @release version 0.2
--
-- @trick Prevent LuaDoc from looking past here for module description.
--[[ Trick LuaDoc into entering 'module' mode without using that command.
diff --git a/Master/texmf-dist/scripts/spelling/spelling-stage-1.lua b/Master/texmf-dist/scripts/spelling/spelling-stage-1.lua
index a36c6fcf6b4..fba40b195e4 100755
--- a/Master/texmf-dist/scripts/spelling/spelling-stage-1.lua
+++ b/Master/texmf-dist/scripts/spelling/spelling-stage-1.lua
@@ -16,7 +16,7 @@
--
-- @author Stephan Hennig
-- @copyright 2012 Stephan Hennig
--- @release version 0.1
+-- @release version 0.2
--
-- @trick Prevent LuaDoc from looking past here for module description.
--[[ Trick LuaDoc into entering 'module' mode without using that command.
diff --git a/Master/texmf-dist/scripts/spelling/spelling-stage-2.lua b/Master/texmf-dist/scripts/spelling/spelling-stage-2.lua
index e22b40552b1..6f46654cb41 100755
--- a/Master/texmf-dist/scripts/spelling/spelling-stage-2.lua
+++ b/Master/texmf-dist/scripts/spelling/spelling-stage-2.lua
@@ -21,7 +21,7 @@
--
-- @author Stephan Hennig
-- @copyright 2012 Stephan Hennig
--- @release version 0.1
+-- @release version 0.2
--
-- @trick Prevent LuaDoc from looking past here for module description.
--[[ Trick LuaDoc into entering 'module' mode without using that command.
diff --git a/Master/texmf-dist/scripts/spelling/spelling-stage-3.lua b/Master/texmf-dist/scripts/spelling/spelling-stage-3.lua
index d7467abdf0e..bfb0c183e7c 100755
--- a/Master/texmf-dist/scripts/spelling/spelling-stage-3.lua
+++ b/Master/texmf-dist/scripts/spelling/spelling-stage-3.lua
@@ -25,7 +25,7 @@
--
-- @author Stephan Hennig
-- @copyright 2012 Stephan Hennig
--- @release version 0.1
+-- @release version 0.2
--
-- @trick Prevent LuaDoc from looking past here for module description.
--[[ Trick LuaDoc into entering 'module' mode without using that command.
diff --git a/Master/texmf-dist/scripts/spelling/spelling-stage-4.lua b/Master/texmf-dist/scripts/spelling/spelling-stage-4.lua
index 3850c94f884..ee71c03a081 100755
--- a/Master/texmf-dist/scripts/spelling/spelling-stage-4.lua
+++ b/Master/texmf-dist/scripts/spelling/spelling-stage-4.lua
@@ -19,7 +19,7 @@
--
-- @author Stephan Hennig
-- @copyright 2012 Stephan Hennig
--- @release version 0.1
+-- @release version 0.2
--
-- @trick Prevent LuaDoc from looking past here for module description.
--[[ Trick LuaDoc into entering 'module' mode without using that command.
diff --git a/Master/texmf-dist/tex/lualatex/spelling/spelling.sty b/Master/texmf-dist/tex/lualatex/spelling/spelling.sty
index c363e53c129..a060002fadf 100644
--- a/Master/texmf-dist/tex/lualatex/spelling/spelling.sty
+++ b/Master/texmf-dist/tex/lualatex/spelling/spelling.sty
@@ -11,7 +11,7 @@
%% See file README for more information.
%%
\ProvidesPackage{spelling}
- [2012/11/30 v0.1 Aid spell-checking (SH)]
+ [2012/12/04 v0.2 Aid spell-checking (SH)]
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
% Test for the LuaTeX engine.
\RequirePackage{ifluatex}
@@ -22,7 +22,13 @@
\fi
\RequirePackage{ifthen}
\RequirePackage{luatexbase}
-\directlua name {spelling}{dofile('spelling.lua')}
+% Load main Lua file.
+\directlua name {spelling}{
+ % The main Lua file is not a module, so we must pass a full path to
+ % `dofile`.
+ local f = kpse.find_file('spelling.lua', 'lua')
+ dofile(f)
+}
% Words are extracted after pages have been built. In lack of a proper
% Lua call-back, we're hooking into shipout from the LaTeX side.
\RequirePackage{atbegshi}