summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/lua-physical/physical.lua
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/latex/lua-physical/physical.lua')
-rwxr-xr-x[-rw-r--r--]macros/luatex/latex/lua-physical/physical.lua52
1 files changed, 51 insertions, 1 deletions
diff --git a/macros/luatex/latex/lua-physical/physical.lua b/macros/luatex/latex/lua-physical/physical.lua
index 3bbbc00efe..2af9d7677a 100644..100755
--- a/macros/luatex/latex/lua-physical/physical.lua
+++ b/macros/luatex/latex/lua-physical/physical.lua
@@ -1 +1,51 @@
-return require((...) .. '.physical-init') \ No newline at end of file
+--[[
+
+lua-physical
+
+Author: Thomas Jenni
+Version: 1.0.2
+Date: 2020-09-07
+
+License: MIT
+
+Copyright (c) 2020 Thomas Jenni
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+]]--
+
+-- Source: http://kiki.to/blog/2014/04/12/rule-5-beware-of-multiple-files/
+
+local Dimension = require('physical-dimension')
+local Unit = require('physical-unit')
+local Quantity = require('physical-quantity')
+local Number = require('physical-number')
+
+require('physical-definition')
+
+local Data = require('physical-data')
+
+local m = {
+ Dimension = Dimension,
+ Unit = Unit,
+ Number = Number,
+ Quantity = Quantity,
+ Data = Data
+}
+
+return m \ No newline at end of file