Code Monkey home page Code Monkey logo

Comments (12)

tvercaut avatar tvercaut commented on July 18, 2024

I can't reproduce the error. Did you modify the template in any way?

from midllatextemplate.

casperdcl avatar casperdcl commented on July 18, 2024

No modifications. Fresh clone on Ubuntu 16.04 with a fresh full install of texlive2019.

from midllatextemplate.

tvercaut avatar tvercaut commented on July 18, 2024

I only have access to my mac so can't directly test your configuration.

I however just setup a basic CI integration for Ubuntu 16.04 Xenial and the build passed:
https://github.com/MIDL-Conference/MIDLLatexTemplate/runs/348729048
See the configuration here:

sudo: required
dist: xenial
before_install:
- sudo apt-get -qq update && sudo apt-get install -y --no-install-recommends texlive-full
script:
- pdflatex -interaction=nonstopmode -halt-on-error *.tex

Is texlive-full a different package than texlive2019 on ubuntu?

For the record, I also cloned the repo in overleaf and it works fine there.

from midllatextemplate.

casperdcl avatar casperdcl commented on July 18, 2024

hmm I used https://tug.org/texlive/acquire-netinstall.html (i.e. http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz). I suppose I could use a docker container for compiling but the issue seems odd.

from midllatextemplate.

tvercaut avatar tvercaut commented on July 18, 2024

I don't have much ground to explore your particular issue. The CI now covers 3 OSes and 3 versions of texlive, all of which are building:
https://travis-ci.com/MIDL-Conference/MIDLLatexTemplate

I am closing this issue as it may be related to your instalation.

from midllatextemplate.

casperdcl avatar casperdcl commented on July 18, 2024

@tvercaut I can confirm the issue persists under texlive-2019. This is the default version currently installed using the recommended method (https://tug.org/texlive/acquire-netinstall.html) so it seems like an issue. It's likely upstream but I don't really have time to debug it.

In the meantime I can use texlive-2017. Let me know if anyone can compile under texlive-2019 or 2020.

from midllatextemplate.

tvercaut avatar tvercaut commented on July 18, 2024

I use texlive 2019 under mac without issue. This is reflected in travis CI. I was able to reproduce a similar issue to yours when using a miktex docker. It seems that an update (through tlmgr I guess in ubuntu) should fix your issues. What you get looks similar to latex3/latex2e#191

from midllatextemplate.

tvercaut avatar tvercaut commented on July 18, 2024

Note that your issue doesn't seem specific to our templates. You can try this mwe which also produces the bug with a miktex docker:

\documentclass[pmlr]{jmlr}

\usepackage{mwe} % to get dummy images

\title[Short Title]{Full Title of Article}

\begin{document}

\begin{figure}[htbp]
 % Caption and label go in the first argument and the figure contents
 % go in the second argument
\floatconts
  {fig:example}
  {\caption{Example Image}}
  {\includegraphics[width=0.5\linewidth]{example-image.pdf}}
\end{figure}

The  JMLR template provides many handy functionalities such as \verb|\figureref| to refer to a figure,
e.g. \figureref{fig:example}.

\end{document}

from midllatextemplate.

tvercaut avatar tvercaut commented on July 18, 2024

@nlessmann Sorry I missed your PR as I was mostly looking at this in between meetings. Nice to see there is a workaround.

Feel free to resolve the conflicts I introduced and push directly to the master branch as I don't have much time to work on this.

from midllatextemplate.

nlessmann avatar nlessmann commented on July 18, 2024

Will do. Didn't actually see this issue, only saw that there was a typo in the travis file and tried to fix that. But this is indeed exactly the error that showed up.

from midllatextemplate.

casperdcl avatar casperdcl commented on July 18, 2024

#5 fixes this for me. Note that tlmgr update --all doesn't fix this issue as of now (ubuntu texlive 2019).

from midllatextemplate.

tvercaut avatar tvercaut commented on July 18, 2024

It looks like this has been fixed upstream in version 1.25 of the jmlr package:
https://ctan.org/pkg/jmlr?lang=en
https://ctan.org/ctan-ann/id/[email protected]

from midllatextemplate.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.