-
Notifications
You must be signed in to change notification settings - Fork 2
Installing #7
Comments
Unfortunately it seems that it isn't. After adding the file I get another Travis build error: $ ./build.sh
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
...
(./ocgx2.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3names.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty))
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3basics.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3expan.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3tl.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3seq.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3int.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3quark.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3prg.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3clist.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3token.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3prop.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3msg.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3file.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3skip.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3keys.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3fp.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3box.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3coffins.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3color.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3luatex.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3candidates.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
! Undefined control sequence.
l.151 \sys_if_engine_xetex:T
{
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on Paper.log. |
Ah I see that ocgx2.sty has |
After adding ocgx2.sty and ocgbase.sty, I'm still getting an error:
|
Using texlive texlive-latex3 and texlive-latex-extra on Trusty. |
It's using pdfTeX as shown in this build output. |
I found this: latex3/latex3@d230e78#diff-ec781ddf43396a57dd5e8997241927c7R288 There are other results for \sys_if_engine_xetex:T on that page, but that one looks like it is the most relevant with the gset option. This is the latest version: There are 5 results for \sys_if_engine_xetex:T in that latest version, and https://github.com/latex3/latex3/blob/master/l3trial/l3benchmark/l3benchmark.dtx#L301 uses gset. I don't know why you're using |
In your file:
|
Well, LaTeX packages may depend on other packages and even more, they may require a minimum version of such a dependency. Instead of using an old frozen or split up TeX distro as they are usually provided by Linux distributions such as Ubuntu (TL-2013, see above), it is much safer to download the current vanilla TeXLive distribution from CTAN and to install it into the |
Is it sufficient to just add ocgx2.sty to the same directory as the
.tex
file, for most intents and purposes?The text was updated successfully, but these errors were encountered: