ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* List of Symbols/Abbreviations/Glosses with more then two entries
@ 2019-06-12 15:37 Thomas Welter
  2019-10-11 18:20 ` Thomas Welter
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Welter @ 2019-06-12 15:37 UTC (permalink / raw)
  To: ntg-context

The synonym "sym" defined by \definesynonyms[sym][syms][\symdesc] can take 2 entries by default:

\sym[<RefName>]{<ShortName>}{<LongName>}

For theses and whitepapers in the natural sciences and in engineering it is needed to introduce another entry for the unit:

\sym[<RefName>]{<ShortName>}{<Unit>}{<LongName>} (<-- This does of course not compile, take it as a feature request)

e.g. 

\sym[Salpha]{\alpha\ }{$[W~m^{-2}~K^{-1}]$}{Heat Transfer Coefficient}

where 

\sym[Salpha]{\alpha\ }{$[W~m^{-2}~K^{-1}]$ Heat Transfer Coefficient}

cannot be a good workaround since \symdesc{Salpha} should not include the unit. And of course I want the unit entry to be in a separate column when calling \placelistofsynonyms[sym]

In LaTeX I accomplished this with glossaries and glossary-mcols. Is there some neat trick to get this behaviour "the ConTeXt way" (maybe with some Lua + *.aux)? 

The next step would be to define the table headers of the list of symbols such as "Symbol \NC Unit \NC Description"...

Thanks in advance and kind regards,

Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-11 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-12 15:37 List of Symbols/Abbreviations/Glosses with more then two entries Thomas Welter
2019-10-11 18:20 ` Thomas Welter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).