Josef-Friedrich / luakeys

LuaTeX package to parse key value options in Lua only, like keyval, kvsetkeys, kvoptions, xkeyval, pgfkeys but in Lua

Home Page:https://www.ctan.org/pkg/luakeys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: change delimiter from comma

kalekje opened this issue · comments

Although I appreciate that it's unconventional, I think the ability to change the delimiter from a comma to something else (semicolon; comes to mind) would be helpful.

Thank you for your request. A semicolon as a delimiter is in my opinion not unconventional

Great--i haven't seen it be used in LaTeX, but I think it would help, especially if users have a lot of commas in their values to avoid wrapping in quotes each time. I think from a coding perspective it shouldn't be too challenging to implement

I have added these options:

  opts = {
    group_begin = '{',
    group_end = '}',
    list_separator = ',',
    assignment_operator = '=',
    quotation_begin = '"',
    quotation_end = '"'
  },

I have just uploaded version 0.8.0 to CTAN