Code Monkey home page Code Monkey logo

Comments (10)

eoma avatar eoma commented on July 29, 2024

Could you add a text sample (a minimum working example)?

from ox-latex-subfigure.

eoma avatar eoma commented on July 29, 2024

At least, if you use the latest available version ox-latex-subfigure, which version of emacs and org-mode are you using? This information could could be useful in order to reproduce the issue.

from ox-latex-subfigure.

 avatar commented on July 29, 2024

Minimal working example from the readme produces the error as well: no latex export.
Message:
if: Search failed: "\\\\
?"

Org mode version 9.0.1 (9.0.1-elpaplus @ /home/mcg/.emacs.d/elpa/org-plus-contrib-20161118/)

#+LATEX_HEADER: \usepackage{subcaption}
#+NAME: fig:hello
#+CAPTION: Use figure/subfigure instead of tabular, remember to set =:environment=
#+ATTR_LATEX: :environment subfigure :width 0.4\textwidth :align c
| [[/Desktop/figure_1.png]] | <fig:hello_subfigure> tttttt |
| zzzzz | [[
/Desktop/figure_1.png]] |

from ox-latex-subfigure.

eoma avatar eoma commented on July 29, 2024

I am not able to reproduce, even with a clean .emacs.d and only use-package and org-mode installed.

from ox-latex-subfigure.

 avatar commented on July 29, 2024

from ox-latex-subfigure.

 avatar commented on July 29, 2024

from ox-latex-subfigure.

eoma avatar eoma commented on July 29, 2024

Ah, sorry for the late update. The solution is to remove inserted (top|mid|bottom)rules before collapsing
multiline rows to single line rows. I will push a solution later today.

from ox-latex-subfigure.

eoma avatar eoma commented on July 29, 2024

Take a look at #8 and see if that fixes the issue.

from ox-latex-subfigure.

linktohack avatar linktohack commented on July 29, 2024

Thanks @eoma for the PR.

from ox-latex-subfigure.

 avatar commented on July 29, 2024

Fixed, perfect! Thank you very much.

Closed...

from ox-latex-subfigure.

Related Issues (13)

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.