ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* improve bad habits deduplicate redundant defined values
@ 2021-09-15  6:40 juh via ntg-context
  2021-09-15  6:59 ` Hans Hagen via ntg-context
  2021-09-16  8:09 ` Denis Maier via ntg-context
  0 siblings, 2 replies; 8+ messages in thread
From: juh via ntg-context @ 2021-09-15  6:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: juh


[-- Attachment #1.1: Type: text/plain, Size: 1436 bytes --]

Dear all,

these are quite general questions but here they come.

I defined modular styles for an organisation so that we can use
different layouts with the same look and feel but still have many
options to change things in a special document. I have styles for
colors, fonts which are used everywhere but also styles for heads that
are only used in legal context and other heads-styles used in other
contexts.  This works brilliant. I can even overwrite styles for one
document only.  I'd like to name this a cascading approach.

While doing this I learned a lot and changed the way the style files are
organised from time to time. 

Currently I start with colors and fonts. Then comes the page dimension
definitions, makeups, headers and footers, headlines, the toc styles,
lists and tables. 

Does anyone has a similar approach with a strong opinion how to organise
the cascade?  

While working on this I often found that I defined something twice,
because I forgot to delete a setup-command in a newly structured file. 

Is there a way to test this? Can I grep for a warning in the log files
to find these duplicates? 

Mit freundlichen Grüßen
Jan Ulrich Hasecke


-- 
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de



[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] 8+ messages in thread

end of thread, other threads:[~2021-09-18 17:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15  6:40 improve bad habits deduplicate redundant defined values juh via ntg-context
2021-09-15  6:59 ` Hans Hagen via ntg-context
2021-09-16  8:09 ` Denis Maier via ntg-context
2021-09-17  8:36   ` Jan Ulrich Hasecke via ntg-context
2021-09-18 12:57     ` Denis Maier via ntg-context
2021-09-18 13:52       ` Jan Ulrich Hasecke via ntg-context
2021-09-18 14:16       ` Hans Hagen via ntg-context
2021-09-18 17:48       ` Henning Hraban Ramm via ntg-context

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).