Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687706 - dev-texlive/texlive-latexextra-2019 - Error in exsheets.sty
Summary: dev-texlive/texlive-latexextra-2019 - Error in exsheets.sty
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-06-09 08:28 UTC by Martin Zwicknagl
Modified: 2019-06-24 14:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for exsheets.sty in texlive-latexextra (exsheets.sty.patch,743 bytes, patch)
2019-06-09 08:28 UTC, Martin Zwicknagl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Zwicknagl 2019-06-09 08:28:02 UTC
Created attachment 579314 [details, diff]
Patch for exsheets.sty in texlive-latexextra

When using the texlive package exsheets in a latex document, I get the following error:

in Line 2794 LaTeX3 Error: Variant form 'n' deprecated for base form(LaTeX3) single token argument. ...ariant:Nn \__exsheets_blank_skip:N { n }

According to
https://tex.stackexchange.com/questions/469570/issue-after-tl-update-2019-01-10-related-exsheets-and-latex3/469607

The following patch to solves the problem:


--- /usr/share/texmf-dist/tex/latex/exsheets/exsheets.sty	2017-02-11 00:30:33.000000000 +0100
+++ /tmp/exsheets.sty	2019-06-09 10:13:30.917543183 +0200
@@ -2760,7 +2760,7 @@
       }
   }
   
-\cs_new_protected:Npn \__exsheets_blank_skip:N #1
+\cs_new_protected:Npn \__exsheets_blank_skip:n #1
   {
     \bool_if:NTF \l__exsheets_blank_width_bool
       { \dim_set:Nn \l__exsheets_tmpa_dim {#1} }
@@ -2791,7 +2791,7 @@
       }
       { \exsheets_write_blank:n { \skip_horizontal:N \l__exsheets_tmpa_dim } }
   }
-\cs_generate_variant:Nn \__exsheets_blank_skip:N { n }
+\cs_generate_variant:Nn \__exsheets_blank_skip:n { n, V }
 
 % the following code from Heiko Oberdieck in d.c.t.t served as inspiration
 % and basis for the \blank command:
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-06-09 14:31:21 UTC
Well, xsim is better here, so we probably have to get rid of exsheets for now
Comment 2 Martin Zwicknagl 2019-06-09 20:56:36 UTC
Hello Mikle, 
you are right, xsim is better than exsheets.

BUT for compatibility (I have a lot of files depending on exsheets) exsheets has to be supported.

We do not have do abandon exsheets by now --- see my patch.

Thanks, Martin
Comment 3 Larry the Git Cow gentoo-dev 2019-06-24 14:21:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9663606f52800daf15bf2c51d484534ee0dda2c9

commit 9663606f52800daf15bf2c51d484534ee0dda2c9
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2019-06-24 14:20:15 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2019-06-24 14:21:09 +0000

    dev-texlive/texlive-latexextra: fix exsheets macro syntax
    
    Closes: https://bugs.gentoo.org/687706
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11

 .../texlive-latexextra/files/exsheets-syntax.patch   | 20 ++++++++++++++++++++
 .../texlive-latexextra-2019-r2.ebuild                |  5 +++--
 2 files changed, 23 insertions(+), 2 deletions(-)