« first day (3074 days earlier)      last day (1863 days later) » 

4:59 AM
user image
3
Should this be considered a nice number?
The comma seperates the number into two palindromic parts :)
 
 
2 hours later…
6:59 AM
This could be interesting for people inhere.
 
7:19 AM
Text of @mickep's link:
> Nearly 20 years into the new millennium, we have decided to freeze the development of ConTeXt MkIV as well as luatex and are undertaking today a new project. A core team will as of today be working on the next version: luatex 2.0, a streamlined flavor of your favorite tool. Stay tuned for further information.
 
@mickep An Earthshaking Announcement. Looks like Hans is going to create iTeX *ding* *ding*
 
@mickep (Just kidding) Why this announcement is released on April 1st? It can cause confusion.
 
@HenriMenke Hehe :)
@JouleV Well, we'll see :)
 
7:36 AM
@JouleV It's probably not an April fools joke, because Hans has been talking about this before.
 
@HenriMenke My feeling too
 
Hi, the 90s joke on sx was funny for a while, but gets quite annoying to me. It appears again on all sx and after deactivating it reoccurs too after a while. Has anyone a solution already? I tried to block the java script, but missed the right .js file.
 
8:16 AM
@JonasStein "for a while" == "some infinitesimally small amount it seems it stays off if you click the clock thing enough times, but it's a pain that you need to do it on every site
 
@HenriMenke ooh bells
@JosephWright oh
Happy fools thingy april stuff
 
8:36 AM
@JonasStein Oh, I who thought it was just their latest "refinements". I was hoping to be able to keep the unicorns!
 
@mickep ooh-nicorns
 
@PauloCereda At which ooh-niversity did you defend?
 
@mickep ooh a pattern
This is getting complicated
 
@mickep I didn't see the unicorns. Where are they?
 
@UlrikeFischer Oh, there is only one. I have to make the browser the full width of the screen to see it (in a question).
 
8:54 AM
@mickep Ah found it. It was hidden behind the question. I had to reduce the zoom to see it - looks as if you have to be young and have good eyes to see a unicorn ...
 
@UlrikeFischer Ohh, they were thinking about the kids! :)
 
9:53 AM
@DavidCarlisle regarding the message by Benjamin on the mailing list: Why is the catcode of the first character in a non-expandable o-type scanning fixed in the first place?
 
@Skillmon because you need to look at the first token to see if it is [ and that means tokenizing the character
 
@DavidCarlisle does \futurelet fix the catcode?
 
@Skillmon it is fixed before futurelet really gets started, it is comparing tokens.
 
@DavidCarlisle yep, \futurelet seems to fix catcodes :(
@DavidCarlisle I wasn't aware of this, very interesting (and unfortunately might be quite limiting).
 
10:26 AM
@Skillmon you can not \let something to a character, only to a character token.
 
10:44 AM
@Skillmon Yes, of course: \futurelet requires reading two tokens, the first of which should be a control sequence.
 
@JonasStein @DavidCarlisle @egreg if we have a meeting in ten minutes how do we have it?
 
@UlrikeFischer I think so
 
@JosephWright ? does that mean skype or not?
 
@UlrikeFischer Not sure we resolved that ...
@UlrikeFischer Probably we will try Skype I think
 
@JosephWright ok, I have it started and now I hope that I find whatever buttons I need ;-)
 
10:53 AM
@JosephWright better send an email round I guess
 
11:10 AM
@egreg I clearly underestimated the versatility of \futurelet and thinking about it, it must've been this way, don't know why I thought it might not tokenize it.
 
@Skillmon come the revolution catcode changes mid document will be banned:-)
 
@DavidCarlisle why would you ban those? It enhances the versatility (though there are a lot of issues where users don't understand why they can't use this or that in an argument of that or this).
 
11:32 AM
@Skillmon because they just cause problems and there is almost always a better way (for example for the & you could have it active always but \let to a halign-& then to make it be defined to something else you can just \let it without meaning the entire environment can no longer be used in the argument of another command.
 
Good morning to all users into chat.
@marmot You're a superhero with TikZ. I wouldn't have done the same thing after a year. But can you create anything with TikZ or are there limitations? I use adobe illustrator to create this kind of figures, but I assure you with a lot of sincerity that you are a champion. But even at basketball are you so good? But how long does it take you to create such a long code? I'm curious :-)
 
@Sebastiano Often, I ask myself the same, regarding @marmot 's TikZ skills.
 
yo'
@PauloCereda too complicated for a duck? So maybe ducklipated?
 
@yo' Good morning
@JouleV Please can you see this image?
@AlexG He's impressive. Superlative.
@AlexG marmot answers a lot of questions in 15 minutes. @marmot
 
11:53 AM
@Sebastiano It seems @marmot prepares answers before the questions come up.
 
@Sebastiano I edited my answer.
@Sebastiano You already knew that marmot is a magician.
 
12:13 PM
@DavidCarlisle but doesn't this have the possibility to break other stuff?
A new one for the weird errors: ./plottikz.tex:619: Package pgfkeys Error: Boolean parameter of key '/tikz/grid' must be 'true' or 'false', not 'false'. I am going to ignore it.
 
@Skillmon I'd guess that the given value is in a macro, so it's being seen as \foo but when writing the message is getting expanded ...
 
@JosephWright nope, it wasn't.
@JosephWright I haven't found the error, yet.
 
@Skillmon Hmm, odd then
 
@Skillmon that's why there has to be a revolution first, that is a major update where some things break, but actually it might be safer than you expect, already last year's utf-8 change made half the characters active by default when they were not previously, and very little broke.
 
@DavidCarlisle I'm thinking of many of the weird TikZ things and stuff.
 
12:16 PM
@JosephWright that or catcodes again. (when was that revolution due...)
 
@DavidCarlisle but what do we do with @?
 
@AlexG @JouleV But he makes them in the pot that Merlin the wizard used to use? :-)
 
@Skillmon 11 in package code 12 (or perhaps 13) in documents (wher e\makeatletter in a preamble is "package code"
@Skillmon the main thing there is tikzmatrix and that, like the question on latex-l would definitely benefit from a globally active &
 
@DavidCarlisle sounds reasonable. Do you want us to only have characters of catcodes 0, 1, 2, 9, 10, 11 and 13?
@DavidCarlisle in tikzmatrix you can also use something else, like \& instead of & as a workaround.
 
@Skillmon sure but a system that doesn't need a workaround is better than one that does,
 
12:21 PM
@DavidCarlisle oh, forgot catcode 12 for numbers (or are those active, too)?
 
@Skillmon there isn't a firm plan just a long standing desire to make catcode changes mid document unneeded by offering alternatives. (verbatim is a special case and will always be needed, most likely)
 
@DavidCarlisle Ah, could be
 
@DavidCarlisle verbatim would then only need to change \ , { and }, if I'm not mistaken...
 
@Skillmon there are issues with the details, eg an active & \let to a normal one works in an \halign but an active 2 \let` to a normal one doesn't work in a number or length, you could have a active 2 \def to a normal 2 which works in a number but would expand so un-activating itself in a moving argument, so perhaps it needs to be \protected\def or .....
@Skillmon and space
 
@DavidCarlisle yes, forgot spaces (plus EOL).
I don't find the issue :(
 
12:26 PM
@Skillmon which might be he killer as if you make space globally active (which has been considered) you have to do all the "two spaces=one and spaces dropped after a macro name or at start of line" stuff "by hand" and it might be too slow.
 
@DavidCarlisle I don't think that's a good idea...
 
@Skillmon that's what people told us about changing the default to utf-8 :-)
 
@DavidCarlisle no, I think that was a good idea.
@JosephWright found the issue. The boolean was not yet defined and it seems \tikzset only tests wether \csname foo#1\endcsname exists.
 
@Skillmon we were warned that it would introduce major incompatibilities and bring the tex world to its end, but actually we had confidence in our testing regime, that in fact we did not break very much at all....
 
12:42 PM
@DavidCarlisle I think that most people were using [utf8] inputenc already, so what should it break so badly?
 
How does none get 20 points on here? I would actually reach a palindrome...
 
@daleif by answering a question?!
 
Do you get 20 by just answering?
I've never kept track
 
@daleif you get 10 for each upvote to an answer, 5 for each upvote on a question, 15 for an accepted answer, 2 for accepting an answer of your own question.
 
@Skillmon ahh, back to clicking
 
1:10 PM
user image
7
 
@daleif and you got my favourite (traditions being traditions).
 
@Skillmon oh just a few millions of pre-existing documents not using inputenc:-)
 
1:30 PM
@DavidCarlisle at Dante I met one of these users. When I asked him why he never realized that the ß doesn't work without inputenc, he said he always did input it as \ss to get around the problem ;-).
 
@UlrikeFischer this years Dante meeting?
 
@DavidCarlisle it is starting to look like an 1. april joke. They want to run context on a thermostat.
3
@Skillmon yes. last week. There are quite a lot people around still using latin1 files ...
 
@UlrikeFischer :( Some people...
 
@UlrikeFischer ER, yes, but the core message is true
 
1:47 PM
@JosephWright yes but after today it could get a bit difficult to separate the core from the joke ;-). And regarding thermostats: at Dante I had a nice talk with someone making scales and describing the problems to render arabic or indic scripts on a small display with only 16 pixels.
 
2:32 PM
@AlexG That's what crystal balls are for.
user image
3
^^^^ Where are @manooooh, @UlrikeFischer and @DavidPurton when we need them?
 
@marmot I don't know how to get behind the marmot so that you don't complain ;-)
 
@UlrikeFischer Why would I complain? Oh, I see, now the duck-to-marmot ratio is 4:2, is that what you mean?
 
yo'
@marmot did you mean the other David?
 
@marmot no, but as soon as I answer I'm before the marmot ...
 
@yo' No. Please have a look at the profile of the above-mentioned David. ;-)
 
2:42 PM
@marmot where is the duck-to-marmot-ratio 4:2, do you mean on the site in general? I think I didn't follow you guys in that discussion.
 
yo'
oh I see
 
@marmot -- you found it!
 
@barbarabeeton No, this is just a picture from back then, when I still had it.
 
3:12 PM
@UlrikeFischer Hans was serious
As expected ...
 
@JosephWright yes just saw it.
 
@UlrikeFischer Installing here
 
@JosephWright me too ;-)
 
@UlrikeFischer Working here
@UlrikeFischer Running our test suite (L3)
 
@JosephWright ? how?
 
3:21 PM
After more than a decade of mkiv and luatex it's time to move on to a new stage. After all, nowadays a ten-year old program is considered to be really old, especially for those who consider a manual typeset three years ago as an indication of lack of progress. Therefore: welcome to lua(meta)tex 2.00 and context lmtx, the follow up on luatex and mkiv, if you dare. It has many deep-down changes but aims to be a simple evolution.

The average user will probably not notice many differences but nevertheless, when you are in for something new, you can give it a try:
@UlrikeFischer Working on it .. l3build check -eluametatex -f with the path set correctly ... fingers crossed
@UlrikeFischer Hmm, not working just yet
 
@JosephWright oh, you think you can create a latex format with it?
 
@UlrikeFischer Probably ...
@UlrikeFischer Now, where does it need to go?
 
@JosephWright sorry?
 
@UlrikeFischer I wonder if Hans sees the irony that two of the first testers for his new engine are on the LaTeX team
@UlrikeFischer I'll have to work out where to put a .fmt file if I can get one to build
 
@JosephWright ;-) I just wondered about the same question ;-)
@JosephWright I seemed not to have gotten a setuptex.bat. Do you have one?
 
3:27 PM
@UlrikeFischer First step: install sources using l3build install --texmfhome C:\ConTeXt\tex\texmf-local
@UlrikeFischer I have setpath.bat
@UlrikeFischer It's not a very complex script
 
@JosephWright yes, but the installation messages on the terminal say that to initialize I should use setuptex.bat -- if it is a typo, it is typical ;-)
 
@UlrikeFischer Ah, I just skipped that and set the PATH from the command promp
@UlrikeFischer Well this is interesting!
C:\ConTeXt>luametatex --ini latex.ltx
This is LuaMetaTeX, Version 2.00.0  (INITEX)
! error:  (system): missing find_write_file callback
@UlrikeFischer I think I know where to put a format once I have one
 
Ohh, this will be interesting!
 
@UlrikeFischer I've mailed back ...
 
@JosephWright setting the path works (the old setuptex.bat did also set another variable, but the new context seems not to need it).
 
3:37 PM
@UlrikeFischer Yes: I tried in TeXworks just selecting the bin directory, but that's not working. Hopefully when it hits TL/MiKTeX ...
 
@JosephWright well as it is an external different texsystem you have to switch the path, that similar like switching between miktex and texlive, only selecting a bin is not enough, they need to find their other tools too.
@JosephWright no obvious documentation to be found.
 
3:57 PM
@UlrikeFischer Yes exactly: you can't just change the directory in TeXworks ... but I guess I could alter my system path so it's always first
@UlrikeFischer Sorted: changed my system-wide path so the ConTeXt install is first
@UlrikeFischer Did you see my mail to Hans?
 
@JosephWright I'm doing this in winedt with shortcuts (I'm switching between the texlive systems and miktex like this). My main problem with context is that it doesn't like my texmfcnf variable setting so I have to reset this too when using it.
@JosephWright yes. I'm not quite getting what is the problem here. It breaks with every file, loaded in ini mode. But the context format was created without problems.
 
@UlrikeFischer I can live with one ConTeXt set up or at least having to fiddle with the system path when I need to alter which is in use: unlike LaTeX, it's reasonable just to have the lasest one
@UlrikeFischer Exactly. So there must be some very early Lua
 
4:34 PM
@marmot I have seen the question of "Where are @manooooh, @UlrikeFischer and @DavidPurton when we need them?" :-)
@marmot Peraphs they are to play to basket :-)
 
4:49 PM
@JosephWright Oh, and now you also got an answer...
 
@mickep Yup
 
I wonder what good will come out of this. I hope that it will be something complete (i.e. something that works well if you want to write a rather complex book). I just got a feeling that it is not.
 
How '#' should be written in a pdf file.
 
@mickep What? You mean ConTeXt moving to it's own engine?
 
I think we better discuss stuff after April 1st, just to be sure. :)
 
5:00 PM
@JosephWright Indeed.
@PauloCereda It is a very serious joke if they actually put an extra version out. But I guess you are right.
 
@mickep :)
 
@PrabhjotSingh Usually \# in the source to render # in the PDF. Is this the question?
 
@AlanMunn No, no I wanted to write this ' ! '. Writing ! words get printed without spaces.
 
@PrabhjotSingh Sorry I don't understand. You want to know how to write a single character surrounded by spaces?
 
@UlrikeFischer It will last for one day only.
user image
2
I just discovered this from the source code of each SE question.
 
5:12 PM
@PrabhjotSingh Can you add an example of what you're doing. Just \documenclass{article}\begin{document} what you've tried here \end{document} should be enough.
 
I wrote following line.
\! I get words like this.
I got following line.
Igetwordslikethis
And I want to say Bonjour to all.
 
@PrabhjotSingh Show this in a document like I mentioned. I still don't know what you're doing. Is this a LaTeX document or something like MathJax?
 
\documentclass{article}
\begin{document}
\! I get words like this.
\end{document}
 
:49748282 \! is only valid in math mode
@PrabhjotSingh You don't get Igetwordslikethis, instead you get an error and should not look at the output
 
should I send a log file?
 
5:20 PM
@PrabhjotSingh Yes, as @samcarter says, you need to use $\!$ (although in this context it wouldn't make sense.) And if you use $\! I get words like this.$ which is what I suspect you did, yes, the spaces disappear because in math mode spaces are (basically) ignored.
@PrabhjotSingh If you want to use text inside math mode, load amsmath and use its \text{} macro.
 
@AlanMunn You are right. I entered $ and !.
 
@PrabhjotSingh So what exactly are you trying to do, and why do you think you need \! to do it?
 
@AlanMunn I wanted to write a .sh file. I have that in .sh. But I wanted to make this more visible. And you know This starts with #! /bin/sh
 
@PrabhjotSingh But then you should use one of the packages for formatting code. listings is the most common one, and then you could just input the file directly if you wanted.
 
@PrabhjotSingh -- That expression would more appropriately be set verbatim: \verb+#! /bin/sh+.
 
5:26 PM
@AlanMunn Could you please get me a answer related to listings.
 
57
Q: Syntax Coloring in LaTeX

MarkIs there any way to include Python code in a LaTeX file and automatically color its syntax? Is it possible to do syntax coloring with any other language? If yes what packages can I use to do that?

(This is not just about syntax coloring.)
 
@JosephWright what did he say? (I'm out and can't look)
 
Thanks @barbarabeeton @AlanMunn
This worked well. \verb+#! /bin/sh+.
alltt does it perfectly.
Otherwise I couldn't have slept today :-P.
I wrote a pdf today with OpenOffice writer. That has an option Export as pdf.
But That was like a Beamer pdf.
Now I can see the diifference.
 
5:47 PM
@UlrikeFischer Er, that only ConTeXt is likely to work ... usual issues
 
Thanks everyone who responded.
 
6:02 PM
Regarding this post, who are the "three top users that have left the site"? And what about the person being suspended...? Seems like a lot happened while I was AFK over the weekend. :-|
 
listing shows { and }. But alltt apckage failed to do that.
 
6:22 PM
@JosephWright wow.
 
6:59 PM
@Werner Three are mentioned in my answer to the question, namely, tex.meta.stackexchange.com/a/8210. (Of course, the OP might have potentially meant other users, such as Christian Hupfer.) But it happened not over the weekend, don't worry.
 
@user49915 Members there are still using the site. They visit the network in some way.
 
@Werner Some of them might visit the site as unrelated folks (e.g., they will have very likely searched for information here when arriving here via usual Google searches), but, in comparison to their activity before the design change, it is hardly noticeable and passive.
 
7:17 PM
@PrabhjotSingh yes of course alltt isn't verbatim so {} have the normal tex group meaning, use \{ to typeset { as usual.
 
@DavidCarlisle I added \usepackage{fancybox}. Now I have curly braces.
I am not even a member here.
 
@PrabhjotSingh you would have had an error from the \! after an error don't even look at the pdf. To get a ! use ! not \!
 
But most of people here respond. Thanks
This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017/Debian) (preloaded format=xelatex 2019.3.2) 2 APR 2019 00:53
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**1.tex
(./1.tex
LaTeX2e <2017-04-15>
Babel <3.18> and hyphenation patterns for 84 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
 
@PrabhjotSingh yes exactly ! Missing $ inserted. that is because \! is a math-mode command (a negative space). So the pdf output from that point on is not intended to be usable.
 
@DavidCarlisle you are absolutely right. Without errors. i got a pdf that reads "! I get words like this."
I wrote !. Not \!
@DavidCarlisle How can I change main font. I mean writing in geometry is posible?
 
7:30 PM
@PrabhjotSingh the log you show explains the missing spaces, \! is a math mode command do you get an error but if you dscide to scroll past the error then tex makes a recovery by Missing $ inserted. that is, it acts as if you had $\!.... that means that \! is no longer an error but all following worrds are in math mode so in math italic fonts and with no spaces.
@PrabhjotSingh it is best to ask questions in the main question and answer part of the site not here in chat. I do not understand your question, the geometry package is about setting page sizes, unrelated to fonts.
 
@DavidCarlisle "and with no spaces." Yes, That was very scary. I got your point.
 
8:14 PM
@JosephWright @DavidCarlisle Seen the rant about \smash in the TeX Live list?
 
@egreg About to read it
 
@egreg no, will look...
 
@egreg Ah, right: people expecting LaTeX to be plain TeX ...
 
@egreg Remember it is April 1.
 
@DavidCarlisle @JosephWright I find the hardwired 720bp very interesting. ;-)
 
9:10 PM
@marmot ^^^^ suppose we add a new arrow outside the \foreach, this arrow is orange. I guess that if we use your idea we will add to the list this arrow, but we are not respecting the order of colours
 
9:35 PM
I think you can consider this MWE, which is shorter than my previous MWE:
\documentclass{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{hyperref}
\usepackage[tikz]{ocgx2}
\usepackage{amssymb} % \checkmark
% check box command for layer switching
\newcommand\layerCheckBox[3]{%
% #1: switch id, if empty use #2 instead
% #2: layer ids to be toggled (space separated if multiple ids),
% #3: initial visibility
\resizebox{2ex}{!}{\ooalign{%
\switchocg{#1 #2}{$\square$}\cr%
\begin{ocg}{%
\ifx\nil#1\nil#2\else#1\fi%
}{%
\ifx\nil#1\nil#2\else#1\fi%
If preferred I can ask a question on the main site
@CarLaTeX ^^^^ any idea? :S
 
10:09 PM
@manooooh Ask a question on the main site
 
Oki
 
10:33 PM
@egreg if you had to write the vector v_1 using arrow, would you use \vec{v}_1?
 
@manooooh I would not write it with an arrow. ;-) But yes, the correct way is \vec{v}_1.
 
@egreg ok so we enter in a inconsistency. Let me explain:
 
@manooooh If you want to justify such a nefarious thing as \vec{v_1}, then do as you wish and never ask again. ;-)
 
[\vec{v}_1\qquad\overrightarrow{P_1P_2}]
 
@manooooh These are two different things.
 
10:40 PM
@egreg ^^^^ how can we be consistent? In the first example we are forgetting the subscript but when we need a long arrow we are covering it
 
@manooooh Just don't use arrows under any circumstance. I see no inconsistency, just traditional ways to typeset symbols.
 
@egreg no, they are vectors
@egreg I want to emphasize that they are vectors
 
@manooooh So you see a guy with an arrow on his head and he's a vector?
 
@egreg but that is not an answersible question You have to see what kind of notation he use
 
@manooooh Again, the complex numbers are a vector space over the reals. Now write every complex number with an arrow over the symbol. Be consistent.
 
10:42 PM
@egreg my teacher told us that a complex number is not a vector
 
@manooooh And the real numbers are a vector space over the rationals. Now start writing \vec{\pi}.
@manooooh Your teacher is wrong.
6
 
@manooooh Sorry, I am still completely lost. (1) You have a number of nodes, presumably given by \totalnodes or \totalnodes+1 (because the \foreach loop starts at 0). (2) The color is a something that is completely determined by the index (e.g. \X in the loop) and \totalnodes) (3) You have a loop that draws most, but not all arrows, in the list. Some you have to add by hand. There is some ocgx stuff that I do not really understand, but you give some arrows a label that allows you to ...
 
@manooooh Ask him/her what's a vector, then.
 
... control which arrows become invisible and so on.
Are these statements true? If so, what precisely is your question? (I never proposed to make the list longer, but to make list entries longer.)
 
@egreg you can represent any complex number with an arrow from the origin to it, but that does not mean that it is a vector
 
10:45 PM
@manooooh As @CarLaTeX suggested, it will help all of us a lot of time and efforts if you ask a clear and well-defined question on the main site.
 
11:02 PM
@manooooh Again: what is a vector? Unless you answer very precisely this question, you won't know what symbols should have an arrow over them. And no, there is no precise answer other than “a vector is an element of a vector space”.
@manooooh Anyway, this is irrelevant. I see no inconsistency in those notations above. They're equally bad, by the way.
Good night.
 

« first day (3074 days earlier)      last day (1863 days later) »