-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
acmart-option: sigconf not working correctly #33
Comments
I've attempted the fix described in that discussion, but when rendering the template ended up with tables sitting in the center of the columns: @checkdgt Are you seeing the tables being rendered within the columns? Workaround implementation
Create a file % Workaround for longtable in two-column mode
% https://github.com/quarto-journals/acm/issues/33
% https://github.com/quarto-dev/quarto-cli/discussions/2786
\usepackage{float}
\makeatletter
\let\oldlt\longtable
\let\endoldlt\endlongtable
\def\longtable{\@ifnextchar[\longtable@i \longtable@ii}
\def\longtable@i[#1]{\begin{figure}[H]
\onecolumn
\begin{minipage}{0.5\textwidth}
\oldlt[#1]
}
\def\longtable@ii{\begin{figure}[H]
\onecolumn
\begin{minipage}{0.5\textwidth}
\oldlt
}
\def\endlongtable{\endoldlt
\end{minipage}
\twocolumn
\end{figure}}
\makeatother In yaml frontmatter, add: include-in-header:
- table_workaround.tex |
I was not able to fix that existing workaround, but I found another workaround that does work for me: jgm/pandoc#1023 (comment) |
@wjones127 thanks for pointing this out, I just double checked and I also have the funky tables in the layout. Thanks for the new workaround, I'll apply this locally and see how it pans out. |
Using a Pandoc filter that produces plain To use this, copy the Lua file and put this in the preemble: filters:
- table_workaround_filter.lua |
When I apply the option:
acmart-option: sigconf
Then the page switched to two column and shows an error with longtable.
I've applied the 'workaround' from here (quarto-dev/quarto-cli#2786) which seems to have rectified it, but mentioned this as an issue so it can hopefully be fixed for future users.
quarto version: 1.3.353
The text was updated successfully, but these errors were encountered: