-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use pgfkeys instead of kvoptions #43
Comments
Hi William, actually I can’t tell why I decided to use Regarding this I’d close your request, okay? Regards, |
Hi Tobias, I think that \documentclass{article}
\usepackage{menukeys}
\begin{document}
hello
\end{document} The error message is clearly related to
Thanks, Robert |
Yes. I know, but unfortunately I have no spare time to fix this issue at the moment … |
Yes. I know, but unfortunately I have no spare time to fix this issue at the moment …
I understand, thank you for your answer. Meanwhile, I noticed that compiling with `--nonstopmode` gives the expected ouput—I can live with this! Besides, `catoptions` may be the culprit.
|
Yes. However |
Yes. `catoptions` is a huge problem in the new LaTeX version.
However `--nonstopmode` doesn’t solves this it just hides the error in a log file ;-)
Yes, I know, I just wanted to recompile part I. of a book which compiled a couple of days ago, and unfortunately this had to be done before Monday....
What has to be done for part II. remains to be seen!
|
For what it's worth, commenting out line 4342 of --- /usr/local/texlive/2020/texmf-dist/tex/latex/catoptions/catoptions.sty 2014-08-30 23:38:44.000000000 +0200
+++ catoptions.sty 2020-10-05 08:31:58.703138854 +0200
@@ -4342,7 +4342,7 @@
\robust@def*\BeforeStartOfDocument{\grightaddtocs\cpt@beforestartdoc}
\new@def*\cpt@beforestartdoc{}
\gleftaddtocs\document{%
- \endgroup
+ %\endgroup
\let\BeforeStartOfDocument\@firstofone
\cpt@beforestartdoc
\let\BeforeStartOfDocument\@notprerr |
Good to know. Thanks! |
@ralessi two things (and I hope this doesn't sound unfriendly; it isn't meant unfriendly, I promise):
|
@Skillmon Yes, I confirm the issue is gone, thank you for your help. Regarding your second point, I may have mistakenly inserted a comment here instead of opening a new issue. I did that because @tweh mentioned the many problems he encountered with `catoptions` earlier. And since this package was obvioulsy the culprit of `menukeys` not working anymore, I thought this was a good place to mention one more reason to drop it. I had no idea this might lead to confusion.
Sorry.
|
@ralessi no harm done. I just have to ignore the parts in this thread not about |
@Skillmon Thank you. And by the way (even though off topic), I am a great admirer of `expkv-*` which I used exclusively in `ekdosis`. Switching to `expkv` is planned for my other packages too. So thanks twice!
|
Since some parts of |
@tweh Before making a final decision about the used key=value frontend, I'd like to port more things to LaTeX3 (you mentioned in some other thread that you intended to do so). I'd say that then the decision isn't that pressing, but we have to have at least parts of it in But we could have coding options and parsing options through |
I’m fine with any solution ;-) as a first thought I’d say that using only one frontend would be better but since |
I'll have to make myself more familiar with the code, and certainly have to port more things to LaTeX3 (if that's an end-goal for upcoming releases) before I can make an educated decision here. I hope to find a bit of time this weekend to start tackling this. |
I wanted to port the whole package to L3 for a long time but didn’t had the time. However I was thinking about a more or less complete reimplementation with a new frontend for styles etc., since the current interface isn’t pretty well … |
Hi there,
Since your package makes high use of Tikz and the latter is using pgfkeys internally, I was wondering why not use that keyvalue implementation instead of kvoptions you are currently using. This would require to remove that package from the requirement list (I checked pfdkeys is actually loaded when compiling your package :( ) and I think pgfkeys is easier to use and more featureful than kvoptions.
What do you think of this? Personally I have learned pgfkeys in a few hours using the pgfkeys manual included in the one from the TIKZ.
In LaTeX, there are several keyvalues implementations. If you want to have a good overview of the available implementation, this (small, only 13 pages) article is a must read.
Regards,
The text was updated successfully, but these errors were encountered: