3 votes

How to detect pgfkeysnovalue with csname?

If you really need to distinguish between key={} and key, I wouldn't use pgfkeys. l3keys provides ready-made items of various kinds which you can use to distinguish such cases. In particular \...
cfr's user avatar
  • 199k
2 votes
Accepted

How to detect pgfkeysnovalue with csname?

Instead of building some tests to check whether there was a value or not (be it via pgfkeys's \pgfkeysnovalue or L3's \c_novalue_tl) you could as well use a key=value parser which allows you to define ...
Skillmon's user avatar
  • 60.7k
1 vote

How to detect pgfkeysnovalue with csname?

Here, I just changed the test: \ifdefstring{\tempi}{\pgfkeysnovalue}{YES}{NO} to something more direct, to see if \tempi is empty. \ifx\tempi\empty YES \else NO \fi Here is the MWE: \documentclass[...
Steven B. Segletes's user avatar
1 vote

Storing comma separated entries in a list and print them using pgfkeys, pgffor, etoolbox

I wouldn't ask ChatGPT, but not because I already know a simpler solution: the LaTeX answers given by the machine are usually wrong (or, at least, uselessly complicated). You can manage any number of ...
egreg's user avatar
  • 1.1m

Only top scored, non community-wiki answers of a minimum length are eligible