« first day (872 days earlier)      last day (4051 days later) » 

leo
12:17 AM
:8607436
\documentclass{article}

\usepackage{etoolbox}
\usepackage{tikz}
\usepackage{ifthen}

\makeatletter
%% stores the list length for later use
\newcounter{listlengthregister}
\newcommand{\listlength}[1]{%
        \setcounter{listlengthregister}{0}%
        \forlistloop{%
                \stepcounter{listlengthregister}%
         \@gobble%
        }{#1}%
}

%% \handleitem{<handler>}{<index>}{<list macro>}
\newcounter{indexcounter}
\newcommand{\handleitem}[3]{%
	\setcounter{indexcounter}{0}%
	\forlistloop{%
I was trying to answer my own question
But my solution is very inefficient
it loops a lot of times over the given list
and it assumes that the user will provide the right data
 
@leo IIRC, my solution build a sequence of the already selected items and loops over that for avoiding repetitions, which seems similar. One could define macros with name based on the already chosen items, which might be faster. But there's to do \detokenize, so the speed might not improve too much.
 
Hi TeX experts, I want to know how to read character one by one, modify it and save back to an external file. See my question below.
0
Q: How to encrypt a text file with shift cipher algorithm?

Karl's studentsThe purpose of this question is to learn how to read character by character of a fetched line of characters, modify it and save back to another file. I can only give you a skeleton as follows, the remaining is beyond my knowledge. \documentclass{article} \usepackage{filecontents} \begin{filecon...

 
leo
I have not considered the "index out of bounds" case
@egreg Yes. My solution also avoid repetitions. There is a \addtolistifnotalreadyin command which use the \ifinlist command provided by etoolbox which is bad because it might work incorrectly if the items of the list are not strings
@Karl'sstudents interesting question :-)
anyway, it was funny try to solve it by my self
:-)
 
12:33 AM
@leo Thank you! :D
 
12:44 AM
Who is still awake here?
 
@Karl'sstudents it's easier to do do rot13 without reading character by character (and same is true of most other operations if you can avoid it)
 
@DavidCarlisle OK. I am trying to digest what is going on in your code. :D
@DavidCarlisle: It is more convenient if you add it at the end:
\section{plain.txt}
\input{plain.txt}

\section{encrypted.txt}
\input{encrypted.txt}

\section{reencrypted.txt}
\input{reencrypted.txt}
 
@Karl'sstudents I'm going to bed, feel free to add that to the code in my answer if it helps:-)
 
@DavidCarlisle OK. Thanks you for answering.
 
1:22 AM
Hi @Karl'sstudents aka Garbage Collector aka Adorable Creature. Just curious. How do you put frames on the pictures you post here? Do you do it with ImageMagick?
 
@hpesoj626 Yes. I use ImageMagick
 
Would you mind sharing the options? :-)
 
@hpesoj626 You can read my answer here: meta.tex.stackexchange.com/a/3156/19356 don't forget to upvote if it is useful for you. :D Hello Cebu!
 
@Karl'sstudents Thanks! Will do.
Have you been to Cebu?
 
@hpesoj626 Yes. Interesting!
 
1:25 AM
@Karl'sstudents What was interesting? When did you visit?
 
@hpesoj626 Several years ago, there are too many motorcycles like in malaysia, vietnam, indonesia. :D
 
@Karl'sstudents Yes. That was a very good observation. Southeast Asian countries seem to have a lot of them.
 
@hpesoj626 Yes. forgot to mention. Thailand also has too many motorcycles on the road. Traffic is very crowded , make me difficult to cross the road. :D
 
@Karl'sstudents lol. I almost got run down by those things a lot of times when I was a kid.
I mean the motorcycles
@Karl'sstudents Do you find the stools interesting, too?
 
This kind of chairs is also famous in east asia, mainly used in food street area.
 
1:33 AM
@Karl'sstudents en.wikipedia.org/wiki/Stool
@Karl'sstudents They are nasty for having the tendency to break after six months. :)
 
@hpesoj626 I thought you made a typo.
 
@Karl'sstudents Oh? Where?
 
@hpesoj626 This statement: "Do you find the stools interesting, too?"
I don't know the word stools, so I thought it is a typo of tools.
 
@Karl'sstudents "Stools" is the plural of "stool".
Ah. That explains it
@Karl'sstudents Nice chatting with you. Catch up with you next time. And thanks about the script.
 
@hpesoj626 OK. Thanks!
 
 
2 hours later…
3:21 AM
Great! It would be actually better to approve of the edit and revert it immediately back to simulate activity and attract up-voters.
@PeterGrill I don’t know if another answer about the text … keys are actually more correct. Another (mine) answer would bring a little more insight about how TikZ builds its nodes, yes, and maybe could provide an answer to reference. I miss some points about what OP actually want to do and how his nodes should look like.
 
@Qrrbrbirlbel I think he just want to have the ellipses of same size independet of the node text.
 
3:38 AM
@PeterGrill Hm, well, depending on the content this will either still stretches the node or the content will flow out of it. I also found this while re-tagging:
20
Q: How to change the size of nodes?

studentHow is it possible to change the size of a node, for example: \begin{tikzpicture} \draw node[fill,circle]{} (0,0);% \end{tikzpicture} How to make the circle smaller or larger?

 
@Qrrbrbirlbel Definitely related questions.
 
4:01 AM
@PeterGrill Sorry, I have posted a comment with a link to that question right after yours. I’ve just noticed that the linked question has 10k views!
 
 
1 hour later…
5:24 AM
@Qrrbrbirlbel Ok, removed my comment.
 
6:16 AM
@egreg Thanks. I didn't know that (it was possible to flag a message as spam).
 
6:27 AM
10 minutes later...
 
6:38 AM
The last message was posted 9 millenniums ago.
 
 
1 hour later…
7:52 AM
@MarcvanDongen: thanks for your today's discussions in various comments. Now my code compiled;). (Actually, I'm finishing breakfast and going to work in a few minutes.)
 
8:25 AM
1 decades later...
 
@Karl'sstudents are you anxious to get more messages? :))
 
@topskip Just for fun with the timer message. :D
 
 
2 hours later…
10:12 AM
@egreg Trying to answer to that desperate guy on GuIT forum that wants the name of his advisor raggedright in the frontpiece, I tried to patch the \front@makeadvisors command with \patchcmd:
\begin{tabular}[t]{@{}l@{}} should become \begin{tabular}[t]{@{}r@{}}. I've put the \patchcmd command in a \Preambolo* environment, but it does not work (if I manually modify the .sty file, it works).
Could it depend on the fact that \front@makeadvisors is defined two times (once inside a \preparefrontpagesuftesi command)? Any Idea?
 
@FrancescoEndrici Put \makeatletter and \makeatother around the Preambolo* environment and also around the \patchcmd
 
Oh, well, I used it only around \patchcmd. I try
 
@FrancescoEndrici That's typographically absurd, by the way.
 
@egreg Yes, I know...
But maybe he can learn some new commands. :-)
@egreg, anyway it does not work :-(
`\documentclass[a4paper]{book}
\usepackage{frontespizio}
\begin{document}
\begin{frontespizio}
\makeatletter
\begin{Preambolo*}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\front@makeadvisors}%
{\begin{tabular}[t]{@{}l@{}}}%
{\begin{tabular}[t]{@{}r@{}}}{}{}
\makeatother
\end{Preambolo*}
\makeatother
\Universita{Paperopoli}
\Facolta{Pennutologia}
\Corso{Belle Lettere}
\Annoaccademico{2030--2031}
\Titoletto{Tesi di laurea magistrale}
\Titolo{La mia tesi:\\ una lunga serie di risultati\\
difficilissimi e complicatissimi}
 
10:44 AM
@egreg: Is this right? abusus non tollit usum
 
@FrancescoEndrici Unfortunately, \front@makeadvisors is defined by \preparefrontpagestandard, so the patching can't work.
@FrancescoEndrici Here's the correct way
\documentclass[a4paper]{book}
\usepackage{frontespizio}
\begin{document}
\begin{frontespizio}
\begin{Preambolo*}
\usepackage{etoolbox}
\patchcmd{\preparefrontpagestandard}{{}l}{{}X}{}{}
\patchcmd{\preparefrontpagestandard}{{}l}{{}r}{}{}
\patchcmd{\preparefrontpagestandard}{{}X}{{}l}{}{}
\end{Preambolo*}
\Universita{Paperopoli}
\Facolta{Pennutologia}
\Corso{Belle Lettere}
\Annoaccademico{2030--2031}
\Titoletto{Tesi di laurea magistrale}
\Titolo{La mia tesi:\\ una lunga serie di risultati\\
difficilissimi e complicatissimi}
 
11:00 AM
hi
 
@egreg Ok, it works... thanks. but I don't understand why. At first you substitute every {}l with {}X, so, how can you then substitute {}l with {}r?
 
11:56 AM
@egreg Ok, I found the answer: it patches only the firts occourence of {}l
 
12:40 PM
@FrancescoEndrici There are two {}l and we want to change the second one; so I patch the first, then the second, and repatch the first.
 
@egreg: any guess for today's score? :)
 
@paulo It's over 9000 ! :D
 
@DominicMichaelis hm?
 
it's an internet meme from dragonball
 
Ah.
:)
 
12:52 PM
@PauloCereda 2:1 or 1:2 :)
 
1:15 PM
Question:
Consider the following,
\def\wrot#1{%
\uppercase{\immediate\write\writer{#1}}}
@DavidCarlisle: Why don't we specify the \uppercase as follows?
    \def\wrot#1{%
   \immediate\write\writer{\uppercase{#1}}}
 
@Karl'sstudents Because it's not the same: if #1 is Abc, you'd find in the output file ABC with the former, and \uppercase{Abc} with the latter.
 
I voted to close this as not constructive, unless anyone else can try to explain why putting longtable inside table is not a good idea
@DavidCarlisle thanks for the information. — Thiago 26 mins ago
 
@egreg That is interesting behavior as this is beyond common sense.
 
@Karl'sstudents It's documented behavior; \uppercase is not expandable.
 
@Karl'sstudents Why? \uppercase is a non-expandable instruction to make uppercase text so in a \write like all non-expandable instructions it just writes as itself it doesn't execute anything
 
1:25 PM
I meant:
In usual programming language, \uppercase{Abc} returns ABC first then this output passed to \writer.
 
@Karl'sstudents Not in TeX.
 
@Karl'sstudents but you can't compare an expansion only context with executable code in other languages. You may as well say that in other languages adding 1 affects a variable but \advance\count0 by 1 doesn't add 1 in a write either.
 
OK. Thanks. By the way, egreg's comment is the most popular here: data.stackexchange.com/tex/query/7991/comment-leader-board
 
@Karl'sstudents consider \uppercase{\lowercase{Ab}} In a functional language you evaluate the arguments of functions before evaluating the body and so that would be \uppercase{ab} that is AB but TeX doesn't work that way and you get ab.
 
1:57 PM
@egreg Also my guess. :)
 
2:49 PM
Hi,
and this answer was (imho) a bit better than all answers to tex.stackexchange.com/questions/9691/avoid-hyphenation-in-2-d
since that question deals more with symbols and not words
and the answers do not provide a method to allow hyphenation of both prefix and the word after hyphen.
So, what do I do?
Is it possible to reopen this question,
or should I go to the other one?
(IMHO reopening would be better - they are not exact duplicates for the reason I mentioned.)
 
3:28 PM
@PauloCereda is restricted shell access used in arara like in repstopdf ? whether it may help in view of the arara safeness Q on main site ? i don't have much idea :)
 
@texenthusiast arara has nothing to do with shell-escape actually, the tool can only supply the provided parameters to the underlying command. By default, all rules that offer commands that have the shell-escape flag have it mapped, but off by default. If one needs to enable shell-escape, the explicit directive argument shell: on must be used. :)
 
@PauloCereda ok, your reply on the site is very crystal clear.
 
@texenthusiast Thanks! :)
@NicolaTalbot: Hi Nicola! :)
@Nicola: yum install sl
then in terminal, sl
:)
 
4:01 PM
@PauloCereda Hi Paulo!
 
@mbork I've voted to reopen, let's see what you've got =)
 
@PauloCereda LOL!
I did a book reading at a primary school today!
 
@NicolaTalbot Really? How nice! How was the experience?
 
@PauloCereda It went very well (although very tiring!) They liked the book. I even read it a second time, then I had to answer questions about how I thought up the story etc. Magdalene came along as well, so she dealt with the art questions.
They also wanted to know how I created the book. I tried to give them a brief overview of LaTeX ;-)
 
@NicolaTalbot ooooh!
 
4:06 PM
@NicolaTalbot Hehe! Did you use any of the answers from How can I explain the meaning of LaTeX to my grandma??
 
@Jake This was more like how to explain LaTeX to 5 year olds!
 
@NicolaTalbot Challenging
 
@Jake I think it partly wowed them and partly went completely over their heads!
Anyone used gregorio? My brother phoned me wanting to know about LaTeX because he wants to use gregorio.
 
4:33 PM
@NicolaTalbot I just read about it, it seems very interesting.
 
@PauloCereda Yes, it does. It looks like it requires LuaLaTeX rather than regular LaTeX, unless I've misinterpreted the manual.
@PauloCereda Looks like the gabc file doesn't have a comment character, so I can't recommend arara :-(
 
@NicolaTalbot oh no! Not even a single one?
 
4:54 PM
@PauloCereda The nearest I can find to it is the user-notes field. I suppose it might be possible to use that.
 
@NicolaTalbot hmm
 
@PauloCereda Actually, it looks like gregorio creates a .tex file that needs to be input into a LuaLaTeX document, so maybe the arara directives ought to go in the main document file.
 
@NicolaTalbot hm indeed.
 
Ooh, that was my first lualatex document!
 
5:15 PM
@NicolaTalbot Yay!
 
5:46 PM
Ended LaTeX lecture; shown Ale - LaTeX. :)
 
6:19 PM
I am really liking Arara, despite asking if it is secure. I am curious about how to set the config file. I was expecting a commandline option to specify the config file, but it seems like it must be a file called ~/araraconfig.yaml. Is this correct?
 
@DanielE.Shub Yes, we need the araraconfig.yamlin the home dir. :)
 
6:37 PM
@PauloCereda on linux is there any reason it is not a hidden dot file like .araraconfig.yaml?
 
@DanielE.Shub My fault, basically. :) I'm aiming at fixing this with the new version. :)
 
@PauloCereda no problem. I was thinking of adding it as an issue on github, but wanted to make sure it wasn't crazy. Is it worth going through github? Again, I really like the program (I am so sick of trying to beat latexmk and rubber to do things).
 
@DanielE.Shub Feel free to add an issue. :) It's in my TODO, but I always forget things, although the core team always keep reminding me. :) Thanks for the kind words, I totally understand the worries on security, but sadly it seems the price we have to pay for the freedom the approach offers. :)
 
@PauloCereda where is the main texmf on a Mac? My brother's having difficulty getting the gregorio example file to compile. I found a post on a mailing list, but the answer involves editing the gregoriotex.tex file and he can't find it.
 
6:57 PM
@DavidCarlisle: might be easier to chat here. I'll be here for a while now...
Bascially, I want each named section to control if there is a \par before the start of that section. So, \RemoveSpaceAtEnd can't be inserting the \par, which I think is required to determine if it ended with display math.
 
@NicolaTalbot Oh, I'm very far from my Mac. :( Sorry, I'll take a look.
 
7:18 PM
@NicolaTalbot /usr/local/texlive/2012 would be the place to look. The packages are under /usr/local/texlive/2012/texmf-dist/tex/latex.
 
!!/song
@PauloCereda Psmith, the TeX bot: Paulo is listening to Dani California, from Red Hot Chili Peppers.
 
7:32 PM
@PeterGrill Ah, so basically it's the same as Linux. Okay, thanks.
 
@NicolaTalbot I would assume so, with both being Unix* variants. I installed MacTeX but don't think that makes a difference.
 
@PeterGrill there's what you want, and what you can have...
@PeterGrill ooh just had a thought....
 
@DavidCarlisle But I thought the saying was that "you can always have what you want as long as it is with TeX"
 
answer updated in 1 minute...
 
7:47 PM
@DavidCarlisle 0:59... 0:58...
 
@DavidCarlisle take your time.. I need to reboot... (and no it is not Windoze, its Mac...)
 
@PauloCereda I think Psmith is being lazy. He ought to actually sing us something when you ask for a song :-)
 
@NicolaTalbot I'm very afraid of his musical tastes. :)
 
@PauloCereda I spotted a slight feature that needed removing first (done)
 
@PauloCereda Or he could give us some poetry. Like a haiku generator :-)
 
7:51 PM
@NicolaTalbot ooh!
 
@NicolaTalbot poetry you say?
 
Roses are red,
blue is my ethernet cable,
TeX is awesome,
so it is longtable
3
 
\let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLF
PA''FwPA;;FPAZZFLaLPA//71F71iPAHHFLPAzzFenPASSFthP;A$$FevP
A@@FfPARR717273F737271P;ADDFRgniPAWW71FPATTFvePA**FstRsamP
AGGFRruoPAqq71.72.F717271PAYY7172F727171PA??Fi*LmPA&&71jfi
Fjfi71PAVVFjbigskipRPWGAUU71727374 75,76Fjpar71727375Djifx
:76jelse&U76jfiPLAKK7172F71l7271PAXX71FVLnOSeL71SLRyadR@oL
RrhC?yLRurtKFeLPFovPgaTLtReRomL;PABB71 72,73:Fjif.73.jelse
B73:jfiXF71PU71 72,73:PWs;AMM71F71diPAJJFRdriPAQQFRsreLPAI
I71Fo71dPA!!FRgiePBt'el@ lTLqdrYmu.Q.,Ke;vz vzLqpip.Q.,tz;
2
 
@DavidCarlisle I didn't see that else before. Maybe I should read it once :)
\tracinghope
2
 
8:03 PM
@percusse none of the command names are hidden bigskip is there for example, they just use j instead of \ as the escape char, to make a change.
 
@DavidCarlisle actually i should write it once in human readable version :) Does that exist?
 
@DavidCarlisle: New version has identical problem as original -- excess vertical space for the case given in the MWE, where both the two \def are uncommented.
 
@percusse on another machine in another time there was. How's your French? there was a long thread on the french version of c.t.t dissecting it a few years back.
 
@DavidCarlisle No worries. I'll try to see if I can make it. My French is worse than my welsh.
 
@PeterGrill Hmm thought I tested that will look again in a bit. Don't see why that should be
 
8:08 PM
@DavidCarlisle Perhaps I am not using it correctly
 
@percusse So's mine: I complained to then at the end it was easier to understand my TeX than their French
 
And one more line to push that annying GIF image of the screen...
 
@PeterGrill Yes user error is the reason for any problems with my macros
 
@DavidCarlisle That's what I suspect. :-)
 
8:32 PM
@PeterGrill oooh I blame the user.
...\glue(\belowdisplayshortskip) 6.0 plus 3.0 minus 3.0
...\penalty 10000
...\glue -6.0 plus -3.0 minus -3.0
...\glue(\parskip) 6.0 plus 2.0
...\glue(\parskip) 6.0 plus 2.0
...\glue(\baselineskip) 5.05556
 
@DavidCarlisle Sorry, I don't know what to make of that -- you keep thinking I actually understand this TeX thingee.
I think perhaps you got me confused with egreg....
 
@PeterGrill well you have two parskip vertical skips one after the other with no paragraph in between which is... unusual actually I would have said that it wasn't possible without removing a box but there are always dark corners to explore...
@PeterGrill You green squares all look alike to me
 
@DavidCarlisle So, how'd I get two \parskip's in a row?
 
@PeterGrill by using my code?
 
:-)
I don't see the \parskip's in your code -- they are hidden somewhere.
@DavidCarlisle Seems that \def\next{} and \next are the culprint. What they doing there?
If I remove those two, it seems to be working for all four cases.
 
8:43 PM
@PeterGrill yes was just going to say you could remove \let\next\noindent but then if you have text immediately after display math it will get indented, need to be a bit trickier to suppress the indentation there probably I should use `@afterheading the code used to suppress indentation after a heading...
... but that's not quite right either the normal behaviour is to indent of there is a blank line but not of not, and it's a bit hard tp fake that without using display math... will think about that
 
leo
Hello!
 
@leo Hello!
 
leo
Should I use inpuntecx instead of inpuntenc?
 
@PeterGrill although you have parindent=0pt so that isn't a problem in your case.
 
@leo why?
 
leo
8:53 PM
Don't know? Is there any advantage on one over the other
 
@PauloCereda Ooh, I've just discovered sl has optional arguments!
 
@NicolaTalbot :)
 
@PeterGrill move the 1sp settings to be global, lose the \endgroup group and use \@endpe rather than \noindent ...
\advance\belowdisplayskip1sp
\advance\belowdisplayshortskip1sp
\newcommand{\RemoveSpaceAtEnd}[1]{%
        %\par% Removed this from solution from 45943
        #1%
        \def\next{}%
        \ifhmode\ifnum\lastnodetype=-1\par
          \let\next\@doendpe
        \fi% Removed this from solution from 45943
        \ifdim\lastskip=\belowdisplayshortskip
            %\typeout{display here (short)}%
            \nobreak
            \vskip-\belowdisplayshortskip
        \else
            \ifdim\lastskip=\belowdisplayskip
 
Hey guys, I have a quick question. I have a massive table, is possible to wrap the table to the next page?
It has about 12 columns
 
@gekkostate longtable supertabular xtab or tabu packages can do that. longtable is part of the core latex distribution the others are contributed but you probably have them
@gekkostate not sure how massive your table is longtable can certainly do several thousand pages.
 
9:08 PM
@DavidCarlisle How would I go about converting my table into a longtable?
 
@gekkostate type longtable into the search box on site and see loads of examples but basically change tabular to longtable (and don't put it inside a table or any other box so it can break over the page
 
hello, what is the best way to handle if a question is closed by the admins, but I feel the question is very relevant?
 
@gekkostate if you get stuck ask @PauloCereda
 
@DavidCarlisle Great! Thanks a lot
 
@DavidCarlisle Hey!
 
9:11 PM
@Timtico if you mean your last one it wasn't closed by admins but by community vote.
@PauloCereda you must be an expert, you wrote a poem about it
1 hour ago, by Paulo Cereda
Roses are red,
blue is my ethernet cable,
TeX is awesome,
so it is longtable
 
yes, i mean my last one
well, it is about a known fontspec error
a bug which is probably in there since 2010
how is that not relevant to the community?
 
@DavidCarlisle longtable is awesome, but I'm not an expert. :)
 
so I could repost David?
 
@DavidCarlisle you answered my question yesterday, but i got an additional question on this one, is it a bug or is the behaviour on purpose ?
 
@Timtico I don't really know about the fontspec package, but i was just commenting your question wasn't closed by the moderators (who can do that when they feel the need) it was closed because 5 people clicked the close button. The normal way is that you clarify or improve the question and then try to get enough votes to re-open.
@DominicMichaelis er pass, link?
 
9:16 PM
3
Q: Why is the spacing changed through {}?

Dominic MichaelisIn the last time I used TikZ and i was a bit surprised in the spacing in some nodes, \documentclass{standalone} \begin{document} $-\alpha \qquad {}-\alpha \qquad \underbrace{\alpha}\cdot \omega \qquad \underbrace{\alpha} {} \cdot \omega$ \end{document} which gives me where the sec...

 
@PauloCereda Hey, I have a problem with longtable, do you mind if I post the code for you to look at?
 
@DavidCarlisle
ok thanks
 
@Jake Thanks, I've put my answer.
 
I will rephrase and repost, i'm sure it is a bug
 
@gekkostate I'm afraid I won't be able to help - @David is teasing me, I'm not a table guy. You will need to poke him. :)
 
@PauloCereda haha okay @DavidCarlisle Do you mind if I post the code for you to look at?
@DavidCarlisle I think the problem is with the formatting of the old tabular
 
@Timtico bug reports for packages are not really on topic for the site, they are better sent to the package maintainer
 
yeah, i sent him an email already
 
@Timtico I expect they thought it was too localised because it looked as though the problem was caused by a typo. As @DavidCarlisle suggested, you just need to edit your question.
 
Its will robertson
yes, it was not caused by the typo
i was reproducing the error in 2010 already, it's only now i'm starting to use fontspec again
 
9:20 PM
@Timtico yes although you might be better mailing the xetex list as then its archived and other people can comment if Will is busy or whever
 
@DavidCarlisle In xii.tex you define L to be {} but it acts like a space. Is it TeX specific?
 
ah thanks @DavidCarlisle
 
@percusse I thought you meant on a question here, this is xii:-)
 
i'm not part of the xetex list however
 
@Timtico I think you can post to it anyway,
 
9:22 PM
@DavidCarlisle Yes I'm halfway through it's really tough. :-)
 
@gekkostate sure but code formatting in chat os rubbish, probably better to phrase it as a question on site
 
@PauloCereda I forgot to mention, I saw some more duck paintings today. The background pictures are 2m wide! I think I need a bigger scanner!
 
@NicolaTalbot Wow, that's a big duck!
 
@DavidCarlisle, its xetex@tug.org. right?
 
@DavidCarlisle I'm getting this sort of error ! Extra alignment tab has been changed to \cr. what could be the issue?
 
9:25 PM
@gekkostate It could be that you have an extra alignment tab that has been changed to \cr
 
@egreg: great game!
 
@gekkostate you get that if you go \begin{tabular}{ll} a&b&c... that is try to put three columns in a 2 column table
 
@PauloCereda Yes. A pity that Balotelli kicked on Júlio César
 
@egreg Indeed. Italy played way better than Brazil.
 
9:27 PM
@DavidCarlisle Aaah got it. It's a line break!
 
@DavidCarlisle Okay, I'll look for those and thanks @NicolaTalbot
 
:)
 
@percusse No L is defined to be a space (there is a newline between the F and the P and newline characters are space tokens)
 
@DavidCarlisle Yes believe it or not that's what I meant :)
 
@percusse yes sorry I hadn't noticed your follow on comment
 
9:30 PM
@egreg: four players from Juve? :)
 
@PauloCereda No, that's just a big sweeping expanse of river with some lovely scenery on the river bank. There needs to be enough room for all the boats as everyone chases after the hat.
 
@NicolaTalbot What will the chase soundtrack?
I vote for this one: youtube.com/watch?v=MK6TXMsvgQg
:)
 
@PauloCereda LOL! I'll have to produce an audio version of the book!
 
@NicolaTalbot Please do it! :)
 
@PauloCereda \documentclass{audiobook} :-)
3
 
9:35 PM
@DavidCarlisle I have posted the question. tex.stackexchange.com/questions/103698/…
 
@NicolaTalbot You should definitely record yourself reading the book for children. :)
Since the duck has a top hat, we need a Sir. I vote for @DavidCarlisle. :)
I say, I say, old chap, please return my top hat!
^^ ooh it rhymes!
 
@PauloCereda I'd need someone to devise some backing music. It might be a bit boring just listening to my voice.
@PauloCereda That fits in with the book :-)
 
@NicolaTalbot Leave the background incidental song to me. :)
 
do you speak a bit german ?
 
Nein, Ich sprache kein Deutsche.
 
9:38 PM
@PauloCereda It is "Nein, ich spreche kein deutsch."
 
@DominicMichaelis No, sorry. My multilingual skills are limited to "where's the bathroom?"
 
Ironically, that's one of the only sentences I know in German. :)
@DominicMichaelis I got close. :) You missed a C in Deutsch. :) scratch that
 
@PauloCereda That tune's stuck in my head now!
 
oh no, I missed!
 
@gekkostate grmble please always make questions have complete documents, if you don't wrap it in \documentclass{article}...\end{document} then everyone helping (eg me) has to
 
9:40 PM
the only sentence i can speak in italiano (but not wrote) is that i am afraid i can't speak italian.
 
@NicolaTalbot Don't worry! Plan B: youtube.com/watch?v=1PizaJJQgto
Where's @JosephWright? It's...
:)
 
@DominicMichaelis There was a recent question on site about removing spaces between words, we could use that and just assume the result is German, would that work?
 
@David no i thought about posting a link where they make an an announcement of an audiobook of an algebra book :)
 
@gekkostate see what happens if you don't post a full document: "
flag

I have done that and now the error goes away but the table isn't wrapping to the next page, how can I fix that? I thought longtable automatically wrapped the table to the next page? " you have an error in the part you haven't shown (probably longtable is inside a box or table or something)
@DominicMichaelis which question?
 
@PauloCereda Buffon, Bonucci, Barzagli, Pirlo and Giaccherini make five. And Chiellini is injured. :(
 
9:49 PM
@DavidCarlisle is that spacing on purpose? i think if - is taken as and ord the space is jsut to little for anything
 
@DominicMichaelis which spacing, sorry so many questions, I don't keep them in my head can you link to it?
 
What makes the output not properly stretched in the following method?
{\Huge Karl's students do not care about dashing patterns. Karl's students do not care about arrow tips. Karl's students, by the way, do not know what a transformation matrix is.}\par
 
I wanted to find and replace text in a LaTeX document. For example, I wanted to replace "Adenosine triphosphate" by "ATP".
 
@Karl'sstudents put the \par before the }
 
Of course I can use 'Ctrl+H' but I wanted to use a macro.
 
9:51 PM
@DavidCarlisle What is the reason?
 
@Karl'sstudents vvv
+1 If you alternated between put \par before } and put % at end of the line you could correctly answer a large proportion of questions here and on other TeX forums without ever actually looking at the question. — David Carlisle 10 hours ago
 
@DavidCarlisle this one here is it on purpose?
 
@DavidCarlisle Next time you want to write a xii.tex just use a .zip file. Might be more effective :)
 
@DominicMichaelis not sure what you mean by "on purpose" every symbol in math mode is classified as ord or bin or rel etc and there is a defined algorithm that puts space of various sizes between various combinations of symbol class. I'm sure Knuth put a lot of thought into that space matrix, but like any fixed algorithm it does what it does and it might or might not do what you want in any given case.
 
I'm now at macro U giving me some headache :)
 
9:56 PM
@percusse you wouldn't have had half as much fun disassembling a zip file
 
@PauloCereda For some minutes I feared not to hit rep cap today. :) But Agostino came up with a good question. :)
 
@egreg I need to confess something: I forgot to vote today! I'm in a hurry now! :)
 
Is \par equal to \endgraf?
 
@Karl'sstudents no there was a question of exactly that within the last week or so
 
@DavidCarlisle OK. I just found it.
 
10:11 PM
@DavidCarlisle Yep that also works for all 4 cases... Please post as answer... Although I was a bit shocked when my first cut and past produced the text "doendpe" in the output. :-) If you post a question on why, I can answer it. :-)
 
hi all :)
 
@PeterGrill did I miss out \ or you mis copy?
 
@DavidCarlisle no, the \makeatletter... :-)
Wait, did I just teach @DavidCarlisle something? :-)
 
@PeterGrill ah, \@doendpe is a good macro one of Leslie's more devious tricks.
 
@DavidCarlisle Sort of begs a follow up question, but not sure I have time right now...
Never mind, already there:
13
Q: What exactly does \@doendpe do?

lockstepQuoting from the LaTeX2e sources: [\@endparenv, \@doendpe] To suppress the paragraph indentation in text immediately following a paragraph-making environment, \everypar is changed to remove the space, and \par is redefined to restore \everypar. Instead of redefining \par and \everp...

 
10:47 PM
Oh great! I've broken the sound on my computer :-(
 
@NicolaTalbot sorry, can't hear you. :-) What did you do? Might just be a preferences setting?
 
@PeterGrill I was testing out a webcam.
It's weird not hearing anything when I'm pinged.
 
@DavidCarlisle Any restrictions you can think of as to what I can pass to \RemoveSpaceAtEnd? I see that in some places I had broken you previous soution into a separate macro \UndoLastDisplaySkip, but don't think I need that anymore?
@NicolaTalbot Is the sound turned on all the way?
Mac or PC?
 
@PeterGrill On maximum.
@PeterGrill Linux :-)
 
Oh, sorry don't have a Linux machine in front of me, so can't help...
 
10:54 PM
Hmm. I'm going to try rebooting. Bye.
 
@PeterGrill Not really, should be fairly general I think
 
@DavidCarlisle: Why don't we need \par when font changing occurs at the last paragraph of a document (no grouping {} used because the last paragraph)
 
@Karl'sstudents bcause \end{document} executes \par or \endgraf about 1000 times while closing things down cleanly flushing out floats etc.
 
@DavidCarlisle Thanks.
 
11:57 PM
Travelling Salesman trailer... yeah it is....
Expecting P=NP for N=1 type of jokes.
 

« first day (872 days earlier)      last day (4051 days later) »