« first day (3336 days earlier)      last day (1584 days later) » 

3:03 AM
Is this bit in the PGF/TikZ manual correct? Pg 969 in my version.
\pgfkeys{/line cap/.is choice}
\pgfkeys{/line cap/round/.style={\pgfsetbuttcap}}
\pgfkeys{/line cap/butt/.style={\pgfsetroundcap}}
\pgfkeys{/line cap/rect/.style={\pgfsetrectcap}}
\pgfkeys{/line cap/rectangle/.style={/line cap=rect}}
...
\draw [/line cap=butt] ...
Was switching round and butt above intentional?
@HenriMenke ^^
 
 
2 hours later…
4:35 AM
@FaheemMitha I have no idea. Do really expect me to know from a snippet of code that I didn't write?
 
5:02 AM
@HenriMenke I don't know what you would know. No harm in asking.
I could file an issue, but it would likely to be nonsense.
 
@FaheemMitha That looks very similar
 
@HenriMenke Sure, but that was about something different.
That was related to a question I just asked on the site. marmot thinks the code should be changed. I have no idea about that.
 
 
2 hours later…
7:19 AM
@ShreevatsaR ooh
 
 
3 hours later…
10:40 AM
@UlrikeFischer interesting use of \@ifnextchar in the current kvdefinekeys:-)
@UlrikeFischer do you have a simple example of the Gray issue for xcolor? the patch is adding \XC@mod@gray{}% to \XC@cnv@gray but I'm trying to generate a natural looking failure but the test cases that fail all seem rather contrived (I want to report upstream)
 
6
Q: Gray color model not working

The RiddlerI am unable to set text color using the Gray color model from the xcolor package. The M(NW)E below results in an "Illegal unit of measure (pt inserted)" error: \documentclass[a4paper, 12pt]{article} \usepackage{xcolor} \begin{document} \textcolor[Gray]{10}{text} \end{document} Does anybod...

@DavidCarlisle ^^
 
@UlrikeFischer oops I was trying to be too complicated and looking at the ..convert... commands directly. Ah OK I'll try to construct an email
 
@DavidCarlisle I hadn't the time to really look at it, why is this complicated method with toks needed?
 
10:55 AM
@UlrikeFischer because the kernel \@ifnextchar saves the two branches in \def\reserved@[ab]{....}` so you need to double up the # but due to the call chain here the number of # doubling required seems a bit variable so simplest to do (what ltx@ifnextchar does, although not a documented difference) stick it in a token register so # is safe until used
 
 
2 hours later…
cis
12:47 PM
SageTeX.... Hurray... it works (nearly)

C:\Programme\SageMath8.9\runtime\bin\bash -l C:/Programme/SageMath8.9/runtime/opt/sagemath-8.9/sage sagebsp01.sagetex.sage

runs, BUT only if 'sagebsp01.sagetex.sage' is in Sage's Home-Path;
that' s C:\Users\ccc at mine.

Does anybody know how to change Sage's working folder temporarly?
 
1:20 PM
@cis At the risk of repeating myself: Have you tried using the path specification from the answer you linked to?
 
1:33 PM
@AlexG can you say me something about media9 and flash? Someone asked me what he should do in the next year, when adobe stops the support.
 
cis
1:51 PM
@TeXnician I don't know which path specification you mean... sry...
 
2:02 PM
@cis From that answer: "That raises the next issue which is that Cygwin expects when crossing drives to have a prefix /cygdrive/c for drive c: and /cygdrive/d for d: However by trimming the commands to the bone I eventually dropped all such problems". Did you try to convert your paths to paths that can be understood by the shell?
 
cis
@TeXnician I tested
C:\Programme\SageMath8.9\runtime\bin\bash -l
      C:/Programme/SageMath8.9/runtime/opt/sagemath-8.9/sage
          /cygdrive/c/Users/ccc/Desktop/Test/SageTeX/sagebsp01.sagetex.sage
But this does not work.
The normal way would be:

1) C:\Programme\SageMath8.9\runtime\bin\bash -l C:/Programme/SageMath8.9/runtime/opt/sagemath-8.9/sage

Now Sage-Shell is open...

2) cd /home/sage/Desktop/Test/SageTeX/

Now, my home is 'C:\Users\ccc\Desktop\Test\SageTeX'

3) load('sagebsp01.sagetex.sage')

Now it works in the correct folder 'C:\Users\ccc\Desktop\Test\SageTeX'



But if you want to have this in one rush. There is annother syntax in the cmd, which I do not know.....
 
 
2 hours later…
3:45 PM
@UlrikeFischer It will be supported until the end of 2020, that is, another year. I have no idea what it will be like in 2021. All I know is summarized here: tex.stackexchange.com/a/516102 and gitlab.com/agrahn/media9/issues/9
Perhaps the PDF 2.0 spec is more informative. But I don't have access to it, in particular to the section "Rich Media".
 
cis
@UlrikeFischer You are the only one here who does windows too. Please help me.
 
@cis few people will have sage here, why don't you ask in a sage forum (or on stack overflow)
 
4:13 PM
@cis I don't have and never had sage. I already told you what I would do in your place: Ask someone who knows it.
 
cis
@UlrikeFischer I did. https://ask.sagemath.org/question/49071/running-sage-89-from-command-line-windows/
I fear they won't can solve that.

If that works one day, I will made SageTeX world-famous! And you will all become a SageTeXer!
 
@ShreevatsaR Very nice article. There's definitely plenty of TeX documentation that only implements the reference manual type.
 
4:30 PM
@cis it's far more likely you get help there than here.
 
@DavidCarlisle @PhelypeOleinik seems not to know your nice list of packages ;-)
 
 
1 hour later…
5:49 PM
@UlrikeFischer Now I do ;-)
@UlrikeFischer I could have used Marcel's list in the luaotfload repo (with far less commits ;-)
 
@PhelypeOleinik ;-). But 6 commits is nothing. You should look at the commits when I uploaded chessboard and tried to setup travis: github.com/u-fischer/chessboard/commits/master
 
@UlrikeFischer Oh, wow. I see at some point you gave up on the commit messages :-)
 
Merge branch 'asdfasjkfdlas/alkdjf' into sdkjfls-final
4
@PhelypeOleinik ^^^
 
@UlrikeFischer LOL
 
cis
6:54 PM
@PauloCereda If arara has opened such a shell, could -the new- arara paste some things in it?
I know, the old version could not.
@StefanKottwitz Good evening. Willkommen bei meinem neusten Dauerbrenner "Automatisierung von SageTeX"
 
@cis Good evening! Already watching with popcorn.
2
 
cis
Yes, good idea.... it's worth to do that, like watching a show...
Mmh, I have an idea. Maybe asking on TeXWelt. @cgnieder is a big arara Pro...
 
@cis when I try to remember what I should know about Sage
 
cis
@StefanKottwitz I think this is more an OS-problem.
 
@cis I used Mathematica, Mathcad, Gap, don't remember about sage but I think I tested it
 
7:10 PM
@AlanMunn I think what's even worse is documentation that tries to be multiple things, unsuccessfully. For example, The TeXbook, if you ignore all the dangerous-bend/small-print sections, actually amounts to a thin book that would be a reasonable tutorial if you were a plain ("basic") TeX user circa 1980. But it's (IMO) awkward as a reference, at explaining, and as a howto -- everything is technically in there, but only if you already know where to look.
@AlanMunn Similarly we have the 1300-page pgfmanual that starts with some nice tutorials, has some explanation, and is also a reference, but put all together, tends to scare people away with its size (plus people are often looking for howtos).
 
cis
I like mathematica too and I hate the python-syntax; but I think Sage will become important for the future.
It is only hard to use or to run at this moment. But we could solve that.
 
@cis I am sorry, I really don't follow... :(
 
cis
Hehe, the new arara can do some crazy thinks, I read.
So I ask myself:
1. Could arara open a cmd / shell
2. Paste some comands in it and run them
3. Close the cmd / shell
 
7:47 PM
@cis that sounds a strange way of operating, why would you want the expense of a terminal window, just write the sage commands to a file and execute them, also why do you want to run sage from within TeX rather than just use sage before starting tex?
 
@ShreevatsaR Yes indeed. The TikZ manual is indeed imposing. But single type manuals can also be frustraing. One that comes to mind is biblatex which is purely a reference manual and could sorely use a how-to manual as well. But since everything is volunteer it's hard to change these things.
 
cis
The path is strange because I am finished with my Latin.

Otherwise, the standard way via a Sage shell is clear.

I want to determine automation.
 
8:12 PM
@ShreevatsaR I like the TikZ manual, but yes, it's daunting. It might work well if one had a wall length panel monitor like in those CSI type shows, where one can keep multiple pages open at once. I'm having to constantly flip back and forth.
 
@FaheemMitha The main frustrating thing about the TikZ manual is that the code fragments don't tell you which TikZ library needs to be loaded to use them. Adding one comment line to each would be a big help.
 
@AlanMunn there is/was an ongoing project to fix that as I recall.
 
@AlanMunn Someone should go through all those examples, and make them MWEs. You know, those things that people here love.
 
@FaheemMitha No, that's overkill.
 
There are probably also quite a lot of errors on there too. I seem to find a new one every time I look.
 
8:20 PM
@DavidCarlisle Really? That would be a good thing. I'd be happy to contribute some work there. @HenriMenke?
 
@AlanMunn Well, perhaps not \begin{document} and \end{document}. But I don't think it's overkill. That way, those examples could be automatically compiled to test them. Which would be a big help to users. It's done elsewhere.
 
@AlanMunn pinned issue at top of github.com/pgf-tikz/pgf/issues
 
Also, the odd line of explanation would not be amiss. Mostly the examples are quite good, but sometimes they are obscure.
 
@DavidCarlisle Thanks.
 
9:02 PM
@UlrikeFischer another day, another repo
 
@DavidCarlisle And why don't I get an invitation ????
 
@UlrikeFischer I thought you'd never ask
 
@DavidCarlisle Nooo, please don't break my CI again :'(
 
@HenriMenke not oberdiek this time (and it's not a public one:-)
 
9:07 PM
@DavidCarlisle ooh ;-).
 
@DavidCarlisle I uploaded PGF 3.1.5 to CTAN yesterday and I'm sure the bug reports will start rolling in, so if I have to fix regressions, I don't want to have to fix the CI at the same time.
@DavidCarlisle Will you complete the oberdiek split before TL2020?
@DavidCarlisle Also, are you going to split oberdiek entirely and remove it? That would actually be a good thing.
 
@HenriMenke it's done unless someone reports some bugs. I am done for a bit. The 40 something packages remaining are I think not so much used and unlikely to need updates so splitting doesn't help me so much and annoys people with minimal CI builds just as much. main focus now is on reducing the dependencies for hyperref 9ideally getting them down to no contrib packages at all)
@UlrikeFischer you got the invite?
 
@DavidCarlisle already accepted. Had you contact?
 
While on the topic of TikZ documentation, I think a bigger problem is that there's not much on mental models / how to approach thinking about a given task — e.g. (1) get a clear idea of what you want to draw, (2) mentally express / decompose it into nodes and paths that together will result in the picture you want, (3) then look into the shortcuts that TikZ gives you for drawing these.
At least, that's how I imagine it's done; usually most answers on this site to TikZ questions just draw the figure, without explaining the author's thinking from the moment of seeing the question to deciding how to do it in TikZ.
 
@UlrikeFischer no But rather than just send (another) email with general request for update, am about to send one with an explicit diff, saying "can you release this, or let us do it"
 
9:14 PM
@ShreevatsaR That would be a whole other book, and a big one. Also a very useful one, I agree.
 
@DavidCarlisle yes, that is probably better.
 
@ShreevatsaR Have you seen Chapter 7? pgf-tikz.github.io/pgfmanual-0095.svg
 
But it's generally true of software that they show you tools that you can use. They often don't show you how you can use them. At least, beyond a very minimal level.
 
@ShreevatsaR Also keep in mind that nobody ever reads the TikZ manual.
 
@HenriMenke Cool. Was that page auto-generated?
 
9:16 PM
@ShreevatsaR Instead people just come on TeX.SX and ask users here to draw it for them. Much more efficient in my opinion.
 
@HenriMenke I read it. I don't necessarily understand it.
 
I300 pages can be a bit hair-raising.
@HenriMenke Nice. Though I would have expected you to use Lua. That seems to be flavor of the decade.
 
@FaheemMitha I've already been thinking about splitting the manual into two PDFs. Tutorials and reference manual, but then you lose the nice hyperlink behaviour in code block.
 
@HenriMenke I do read it - but I have always problems to find the page about the |- and -| syntax as I never remember which search I used last time ;-(
 
9:18 PM
@FaheemMitha The build system is in Lua: github.com/pgf-tikz/pgf/blob/master/build.lua
 
@HenriMenke I think a tutorial could be a separate manual.
@HenriMenke Do you use PGF/TikZ professionally. Don't mean to be nosey - just wondering.
@HenriMenke Yes, I see. Is it working well for you.
 
@HenriMenke you should ask @DavidCarlisle - he is good at splitting
 
9:36 PM
Dec 16 at 11:42, by David Carlisle
@UlrikeFischer you are mean
@FaheemMitha I've generated over 50 repositories using l3build to build the ctan release in last few weeks.
 
There should have been a question mark at the end of that sentence.
 
@HenriMenke That chapter looks nice, but is not the kind of thing I was thinking about... to pick the latest ("active") TikZ question on the site: tex.stackexchange.com/questions/521103/… — the answer just says "you could define a pic", but nothing about how to go from the question to TikZ-world
Definitely very efficient to just post "please draw this for me" though :-)
 
@ShreevatsaR people should just do texdoc source2e and read chapter D
 
9:56 PM
@DavidCarlisle At least picture definitely doesn't have the problem of a too-long manual :)
 
@ShreevatsaR the commands are so intuitive that hardly any instruction is required.
 
@ShreevatsaR But that is just Schrödinger's cat-style answering. User Zarko has the same habit: tex.stackexchange.com/search?q=user%3A18189+%22like+this%22
 
@DavidCarlisle That's a good thing: with picture I can guess roughly how much effort will be needed, while with TikZ I have no idea whether something is going to be trivial or impossible
Another way of saying what I was saying earlier: for any drawing-by-writing-code, there are two parts:
(1) The part that is common regardless of whether you're using TikZ or Metapost or Asymptote (or picture too I guess)
(2) The part that's specific to TikZ/Metapost/Asymptote.
Think of them like design and implementation, or pseudocode and code. The former (1) is what would help the reader become self-sufficient, but answerers are eager to post (2).
 
@ShreevatsaR Yes, indeed. The reputation game system works really well for these type of questions on this site.
@FaheemMitha No, I'm mostly using ConTeXt with MetaFun nowadays. However, during my undergrad I drew all diagrams in my lecture notes first with PSTricks and later with TikZ.
 
@HenriMenke In that case, I would have thought it would be harder to stay motivated. It's easier when one uses the software oneself.
How do you find PGF/TikZ compares with MetaFun?
 
10:12 PM
@FaheemMitha Developing PGF/TikZ, i.e. writing TeX macros and thinking about expansion etc. is very different from using TikZ.
 
@HenriMenke I see.
 
@FaheemMitha Label are easier to place in TikZ, but MetaFun is several orders of magnitude faster.
 
@HenriMenke Any other differences? How about library functionality?
Is MetaFun significantly enhanced from MetaPost?
 
@FaheemMitha You can also properly nest pictures and there is an actual underlying type system with numeric, path, pair, picture, etc.
@FaheemMitha MetaFun doesn't have decorations.
 
@HenriMenke In MetaFun, you mean?
 
10:15 PM
@FaheemMitha MetaFun relates to MetaPost like LaTeX to TeX.
 
@HenriMenke Ah. So more user oriented? I see.
 
@FaheemMitha Yes, TikZ doesn't have any of that. There is the concept of a soft path but that is not accessible to the user.
@FaheemMitha No. MetaFun is a format for the MetaPost engine, just like LaTeX is a format for the TeX engine.
 
@HenriMenke Type systems are nice.
@HenriMenke I'm not sure how to translate that. 'format' is a TeX term, isn't it?
 
@FaheemMitha Yeah, say that again after you encountered one of MetaPost's type errors.
1
Q: What is a TeX format (e.g. LaTeX)?

Evan AadWhat is the meaning of the term "format", as used in the following comment I received to a question I posted on this forum: LaTeX3' isn't released as a format: perhaps you mean expl3? The answer I received to the above mentioned question also mentions this term: You can dump a format fr...

 
@HenriMenke Not so helpful then? No tracebacks?
 
10:17 PM
@FaheemMitha ^^^^
@FaheemMitha Yes, just like TeX.
 
@HenriMenke Not really that helpful. LaTeX is a collection of TeX macros. I already knew that. Is MetaFun a collection of MetaPost macros? Does MetaPost have macros, or just functions?
 
Oh, so it appears it does have macros.
 
10:36 PM
I'm sure the answer to this is obvious, but in
\pgfkeys
{
  /printdoctable/.is family, /printdoctable,
  default/.style =
  {
    assignlabel,
  },
  assignlabel/.is choice,
  % assignlabel/true/.code={\def\assignlabel{true}},
  % assignlabel/false/.code={\def\assignlabel{false}},
  assignlabel/true/.ecode={\edef\assignlabel{true}},
  assignlabel/false/.ecode={\edef\assignlabel{false}},
  assignlabel/.default={false},
}
The line:
assignlabel/true/.ecode={\edef\assignlabel{true}},
fails. The .code line doesn't. What's the problem with that line? It fails with either \def or \edef.
This seems too trivial to be worth asking on the site.
 
@FaheemMitha what do think "e" means hear? You are trying to expand a \def, that doesn't work.
 
@UlrikeFischer e stands for expanded.
@UlrikeFischer Is the ecode trying to expand everything inside, then?
 
@ShreevatsaR -- "awkward as a reference", which is one reason TeX by Topic was written. "only if you already know where to look", fortunately, Knuth was very receptive to suggestions for additions to the index; unfortunately, it's a bit too late for that now.
@ShreevatsaR -- A "combined" manual that I like very much is Kopka & Daly. It functions well as a tutorial, but also serves as a reference long after that point.
 
10:55 PM
I'm not clear what the issue is. IF there is an token in there that can't be expanded, is that a problem?
 
11:18 PM
@barbarabeeton The index is great; it's just that having to look at (say) five separate pages and understand the surrounding context etc., is a bit of work. Plus because the TeXbook tries to specify the behaviour of TeX completely down to the smallest detail, it sometimes has to explain rather obscure corner-cases, in words that aren't (cannot be) too clear.
 
11:47 PM
@FaheemMitha apart from the tikz aspect why \edef\assignlabel{true}? what do you expect edef to do here?
 
@ShreevatsaR -- I've been fortunate that I was Knuth's bug collector for many years. (That has now been turned over to Karl Berry.) So I was the beneficiary of additional explanation by both him and the knowledgeable "assistants" that he agreed to accept as bug-checkers. Not a perfect system, but the end result is, I believe, that the TeXbook is among the most reliably accurate manuals in existence. (It does help to be old enough to recognize some obscure references.)
 
@FaheemMitha exactly, .ecode={\edef\assignlabel{true}}, is \edef\internalcode{\edef\assignlabel{true}} so if \aasignlable is currently say false that is \def\internalcode{\edef false{true}} so you will get a syntax error on the \edef when you use the key.
 
@DavidCarlisle The same as \def?
 

« first day (3336 days earlier)      last day (1584 days later) »