Closed gour closed 3 years ago
I believe this is related to a change in the call signature for org-export-custom-protocol-maybe
with version 9.4 of Org. This should work org version 9.4 or later. Can you confirm your org version?
I believe this is related to a change in the call signature for
org-export-custom-protocol-maybe
with version 9.4 of Org. This should work org version 9.4 or later. Can you confirm your org version? Heh, another reason to move to Doom in order to not be bothered about updates. :-)
Updated to 9.4.5 and now I get the following:
context demo.mkiv
resolvers | formats | executing runner 'run luametatex format': /home/gour/opt/lmtx/tex/texmf-linux-64/bin/luametatex --jobname="demo" --fmt=/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./demo.mkiv" --c:input="./demo.mkiv" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/gour/opt/lmtx/tex/texmf-linux-64/bin"
fonts > beware: no fonts are loaded yet, using 'lm mono' in box
system >
system > ConTeXt ver: 2021.03.27 19:09 LMTX fmt: 2021.3.28 int: english/english
system >
system > 'cont-new.mkxl' loaded
open source > level 1, order 1, name '/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > beware: some patches loaded from cont-new.mkiv
close source > level 1, order 1, name '/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > files > jobname 'demo', input './demo.mkiv', result 'demo'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 1, order 2, name './demo.mkiv'
modules > 'vim' is not found
system > error: invalid parent subsubsubsubsubsubsubsubsubsubsubsubsubsubsection for subsubsubsubsubsubsubsubsubsubsubsubsubsubsectionNoToc, subsubsubsubsubsubsubsubsubsubsubsubsubsubsection defined too (best check it)
system > error: invalid parent subsubsubsubsubsubsubsubsubsubsubsubsubsubsection for subsubsubsubsubsubsubsubsubsubsubsubsubsubsectionNoToc, subsubsubsubsubsubsubsubsubsubsubsubsubsubsection defined too (best check it)
system > error: invalid parent subsubsubsubsubsubsubsubsubsubsubsubsubsubsectionnumber for subsubsubsubsubsubsubsubsubsubsubsubsubsubsectionNoTocnumber, subsubsubsubsubsubsubsubsubsubsubsubsubsubsectionnumber defined too (best check it)
system > error: invalid parent subsubsubsubsubsubsubsubsubsubsubsubsubsubsection for subsubsubsubsubsubsubsubsubsubsubsubsubsubsectionNoToc, subsubsubsubsubsubsubsubsubsubsubsubsubsubsection defined too (best check it)
publications > no file 'bib.bib'
tex error > tex error on line 45 in file ./demo.mkiv: Undefined control sequence
<recently read> \definevimtyping
<line 3.45> \definevimtyping
[OrgInlineSrcJavascript]
35 metadata:date={2021-01-07},
36 letter:foldmarks={stop},
37 letter:withbackaddress={start}]
38 \language[en]
39 %===============================================================================
40 % Define Environments and Commands
41 %===============================================================================
42
43 % Turn on interaction to make links work
44 \setupinteraction[state=start]
45 >> \definevimtyping[OrgInlineSrcJavascript]
46 [syntax=javascript,escape=command]
47 \definevimtyping[OrgBlkSrcJavascript]
48 [syntax=javascript,escape=command]
49
50 \definevimtyping[OrgInlineSrcHtml]
51 [syntax=html,escape=command]
52 \definevimtyping[OrgBlkSrcHtml]
53 [syntax=html,escape=command]
54
55 \definevimtyping[OrgInlineSrcCss]
The control sequence at the end of the top line of your error message was never
\def'ed. You can just continue as I'll forget about whatever was undefined.
mtx-context | fatal error: return code: 256
Here is the line:
45 >> \definevimtyping[OrgInlineSrcJavascript]
and I note modules > 'vim' is not found
above?
The new ConTeXt (LMTX) doesn't ship with modules by default. Modules can be installed by following the instructions in the ConTeXt garden wiki. In case these instructions move, I'm copying them below
# Transfer all modules from the ConTeXt Garden.
#
# No -p (--perms) is given to rsync, because, as of 2020-06-06, many
# files (e.g. all files in
# modules/t-letter/tex/context/third/letter/style) would come out
# world-writeable, which may pose a significant security risk on a
# multi-user system.
#
# The --chmod=D755,F644 may not be necessary. However, as of
# 2020-06-06, without it files come out with executable bits set.
rsync -rltsv --new-compress --delete --chmod=D755,F644 \
rsync://contextgarden.net/minimals/current/modules/ \
modules
# Recreate tex/texmf-modules as an empty directory. WARNING: This
# assumes that you have nothing but modules from ConTeXt Garden in
# tex/texmf-modules.
rm -rf tex/texmf-modules
mkdir -p tex/texmf-modules
# Create the union of all modules in tex/texmf-modules.
for module in modules/* ; do
rsync -rlts --exclude=/VERSION ${module}/ tex/texmf-modules
done
# Update the ConTeXt LMTX distribution. Alternatively, if you do not
# want to do that, you have to run mtxrun --generate.
sh ./install.sh
I've also fixed some bad relative paths in the demo file in 17dcdf3f60962c3ae9f5516cb13396e13ecff8f6 and with the header/footer in 0ea7e74236135d63d013eccaeffd0d3934e48b83 . 5bfb3745a9683ce47565b9f475434be8f4316056 fixes some issues with bibliographies and tables of enumerable items as well.
The new ConTeXt (LMTX) doesn't ship with modules by default. Modules can be installed by following the instructions in the ConTeXt garden wiki. In case these instructions move, I'm copying them below
Thank you.
I've also fixed some bad relative paths in the demo file in 17dcdf3 and with the header/footer in 0ea7e74 . 5bfb374 fixes some issues with bibliographies and tables of enumerable items as well.
Now I get the following:
structures > bookmark: Example Blocks
structure > sectioning > subsubsubsection @ level 6 : 0.0.2.2.2.9 -> \OrgHeadline [Text={Example Blocks}]
tex error > tex error on line 2127 in file ./demo.mkiv: Undefined control sequence
<line 3.2127> \startOrgExampleEnumerationEmtpy
2117
2118
2119
2120 \startsubsubsubsection[title={\OrgHeadline
2121 [Text={Example Blocks}]},
2122 list={Example Blocks},
2123 marking={Example Blocks},
2124 bookmark={Example Blocks},
2125 reference={sec:org70db66a}]
2126
2127 >> \startOrgExampleEnumerationEmtpy
2128 [reference={orgd94dcc2}]
2129 \startOrgExample
2130 var beer = 99;
2131 while (beer > 0) {
2132 var verse = [
2133 beer + " bottles of beer on the wall,",
2134 beer + " bottles of beer!",
2135 "Take one down, pass it around",
2136 (beer - 1) + " bottles of beer on the wall!"
2137 ].join("\n");
The control sequence at the end of the top line of your error message was never
\def'ed. You can just continue as I'll forget about whatever was undefined.
mtx-context | fatal error: return code: 256
That should have been fixed on e3b990880b899ae05c6c40b1b3d0ed5536cc32f3. Which version are you on?
Something's not adding up - the text startOrgExampleEnumerationEmtpy
does not appear in 5bfb3745a9683ce47565b9f475434be8f4316056.
Something's not adding up - the text
startOrgExampleEnumerationEmtpy
does not appear in 5bfb374.
Tried few times - cloning repo from the scratch, re-installed lmtx and moved examples
to other directory and still get the same error. Inluding examples
repo...
examples.tar.gz
Any idea?
The issue is a typo in ox-context.el
that's been corrected in later commits. If you're not replacing that exact file, it won't fix the issue. Also, you could be having a problem if you haven't restarted Emacs since getting the latest ox-context.el
. Just to be certain, could you grep for startOrgExampleEnumerationEmtpy
in your install directory if that doesn't help?
My bad...I was pulling latest repo, but forgot to call/load it within Emacs. :blush:
Now, I have another problem:
[...]
tex error > tex error on line 4603 in file ./demo.mkiv:
lua error:
registered function call [881]: [string "/home/gour/opt/lmtx/tex/texmf-context/tex/con..."]:902: missing number, treated as zero
stack traceback:
[C]: in function 'tex.sp'
[string "/home/gour/opt/lmtx/tex/texmf-context/tex/con..."]:902: in function <[string "/home/gour/opt/lmtx/tex/texmf-context/tex/con..."]:836>
[C]: in function 'lpeg.match'
[string "/home/gour/opt/lmtx/tex/texmf-context/tex/con..."]:929: in function <[string "/home/gour/opt/lmtx/tex/texmf-context/tex/con..."]:921>
(...tail calls...)
4593
4594 \startsubsubsubsubsubsubsubsubsubsubsubsubsubsubsectionNoToc[title={\OrgHeadline
4595 [Todo={TODO},
4596 Priority={B},
4597 Text={Check Inline Task},
4598 Tags={tag1}]},
4599 list={Check Inline Task},
4600 marking={Check Inline Task},
4601 bookmark={Check Inline Task},
4602 reference={sec:orgf3afb4f}]
4603 >>
4604 \OrgPlanning[
4605 DeadlineString={DEADLINE:},
4606 DeadlineTime={\date[d=31,m=01,y=2021]},
4607 ScheduledString={SCHEDULED:},
4608 ScheduledTime={\date[d=31,m=01,y=2021]},]
4609 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor
4610 tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et, mattis
4611 eget, convallis nec, purus. Cum sociis natoque penatibus et magnis dis
4612 parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vitae dolor.
4613 Nullam tristique diam non turpis. Cras placerat accumsan nulla. Nullam rutrum.
mtx-context | fatal error: return code: 256
Try a (require 'org-inlinetask)
in your config file. It's not enabled by default, so the inline task header is getting parsed as a subsubsubsubsubsubsubsubsubsubsubsubsubsubsection
, which is more levels of nesting than ConTeXt can handle.
Try a
(require 'org-inlinetask)
in your config file. It's not enabled by default, so the inline task header is getting parsed as asubsubsubsubsubsubsubsubsubsubsubsubsubsubsection
, which is more levels of nesting than ConTeXt can handle.
Finally!!
It looks great and it will keep me busy studying it for some time. ;)
Great! Thank you for your patience as the first user :)
Hello,
I'm trying
demo.org
, but after modifying paths for included docs, I get the following:Any hint?