summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lpdf-pde.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-11-16 22:58:54 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-11-16 22:58:54 +0100
commit91379fa891f786d5e25909680b0d62933e581bd0 (patch)
tree87bdc4487eb0899ee13808dc509bd9a84c88859c /tex/context/base/mkxl/lpdf-pde.lmt
parenta1b3f047bf4bc1043366fc8556099cda37e83dab (diff)
downloadcontext-91379fa891f786d5e25909680b0d62933e581bd0.tar.gz
2021-11-16 22:35:00
Diffstat (limited to 'tex/context/base/mkxl/lpdf-pde.lmt')
-rw-r--r--tex/context/base/mkxl/lpdf-pde.lmt10
1 files changed, 7 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/lpdf-pde.lmt b/tex/context/base/mkxl/lpdf-pde.lmt
index 4483510d0..0732529dd 100644
--- a/tex/context/base/mkxl/lpdf-pde.lmt
+++ b/tex/context/base/mkxl/lpdf-pde.lmt
@@ -362,10 +362,14 @@ some_reference = function(r,document)
elseif kind == array_object_code then
cached = some_array(object,document)
elseif kind == stream_object_code then
+ -- optionally not cached
cached = some_stream(object,b,document)
- else
- cached = { kind, object, b, c }
- -- really cache this?
+ else -- if kind == string_object_code then
+ return object
+-- return some_string(object[2],object[3])
+-- else
+-- cached = { kind, object, b, c }
+-- -- really cache this?
end
document.__cache__[objnum] = cached
document.__xrefs__[cached] = objnum