« first day (315 days earlier)      last day (1488 days later) » 

2:28 AM
@CarLaTeX and then @samcarter_is_at_topanswers.xyz rewrites the code a little bit to make it generic :)
 
 
3 hours later…
5:21 AM
@JouleVisattopanswers.xyz Should we ask a feature request? :)
 
 
2 hours later…
7:49 AM
@CarLaTeX Yes, of course :) As TikZ itself is a generic package, I see no reason why tikzducks can't become generic.
 
Hi @TeXnician! Welcome!
 
 
3 hours later…
11:13 AM
@CarLaTeX someone eating pineapple pizza us clearly not a credible resource :)
@JouleVisattopanswers.xyz I see a tiny problem in making it generic: @samcarter does not know context :)
Anyone here who knows context and could make a mwe?
 
 
1 hour later…
12:15 PM
@samcarter_is_at_topanswers.xyz Clearly!
@samcarter_is_at_topanswers.xyz I don't know it, too
 
12:52 PM
10
A: Creating a ConTeXt/LaTeX hybrid module

AdityaYou can check for some macros that is defined only in LaTeX or ConTeXt. For example, ConTeXt defines \contextformat and \contextversion which hopefully should not be defined by a LaTeX package. Similarly LaTeX defines \documentclass which is not defined by any ConTeXt module. However, a better ...

@samcarter_is_at_topanswers.xyz @JouleV doesn't know either :) But after Googling I found this, which may be pretty useful
 
 
2 hours later…
3:08 PM
Videocall ^^^
 
 
2 hours later…
5:30 PM
@samcarter_is_at_topanswers.xyz Nor I, so I am quite struggling with it --- but given that ducks know tikz, you can use this:
\ifpgfutil@format@is@latex
    %% LaTeX formats
\else\ifpgfutil@format@is@plain
    % Plain formats
\else\ifpgfutil@format@is@context
    % ConTeXt formats
\fi\fi\fi
I am always breaking context in circuitikz... till somebody notices that. But it's hard to write generic things. Even font selection is completely different...
 

« first day (315 days earlier)      last day (1488 days later) »