summaryrefslogtreecommitdiff
path: root/mod/tex/context/third/rst/rst_setups.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2013-06-03 18:55:29 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2013-06-03 18:55:29 +0200
commit624597b9a1dcc821a2d6b2ad000f134f75f5ef96 (patch)
tree7ecb11877b7e50ff83d51ba219418ac18f0aa5fe /mod/tex/context/third/rst/rst_setups.lua
parent8b4ba148701a4a73819e49ba10b56a7125545d2c (diff)
downloadcontext-rst-624597b9a1dcc821a2d6b2ad000f134f75f5ef96.tar.gz
fix single-line image directives
Diffstat (limited to 'mod/tex/context/third/rst/rst_setups.lua')
-rw-r--r--mod/tex/context/third/rst/rst_setups.lua14
1 files changed, 13 insertions, 1 deletions
diff --git a/mod/tex/context/third/rst/rst_setups.lua b/mod/tex/context/third/rst/rst_setups.lua
index de70d4b..7dd8161 100644
--- a/mod/tex/context/third/rst/rst_setups.lua
+++ b/mod/tex/context/third/rst/rst_setups.lua
@@ -4,7 +4,7 @@
-- USAGE: called by rst_parser.lua
-- DESCRIPTION: Complement to the reStructuredText parser
-- AUTHOR: Philipp Gesang (Phg), <phg42.2a@gmail.com>
--- CHANGED: 2013-03-26 23:55:20+0100
+-- CHANGED: 2013-06-03 18:52:29+0200
--------------------------------------------------------------------------------
--
@@ -361,5 +361,17 @@ function optional_setups.citator ()
return cit
end
+function optional_setups.image ()
+ local image = [[
+
+%---------------------------------------------------------------%
+% images %
+%---------------------------------------------------------------%
+\setupexternalfigure[location={local,global,default}]
+
+]]
+ return image
+end
+
return optional_setups