« first day (1199 days earlier)      last day (3725 days later) » 

12:23 AM
@JosephWright I get
> the character 𐄁.
l.2 \show ^^^^^^010101
 
12:41 AM
@cmhughes Thanks folk!
 
1:23 AM
@NicolaTalbot Oh yes, you are right – “duck” is a double endangered word, since the f and d keys as well as the u and i keys are placed side by side on keyboards. OMG @DavidC and you were faster (also with the German translation of f*ck, which one gets with pressing f + i).
 
 
6 hours later…
7:13 AM
@DavidCarlisle Yes, that does work, but I get the overflow text in the \scantoken trick
 
7:23 AM
I'm trying to track this down!
 
 
1 hour later…
8:27 AM
@DavidCarlisle My current test:
\RequirePackage{expl3}
\ExplSyntaxOn
\cs_set:Npn \__int_to_letter:n #1
  {
    \exp_after:wN \exp_after:wN
    \if_case:w \__int_eval:w #1 - \c_ten \__int_eval_end:
         a
    \or: b
    \or: c
    \or: d
    \or: e
    \or: f
    \else: \__int_value:w \__int_eval:w #1 \exp_after:wN \__int_eval_end:
    \fi:
    }
\cs_new:cpn  { __char_U_2 :n } #1 { ^ ^ #1 }
\cs_new:cpn  { __char_U_3 :n } #1 { ^ ^ ^ #1 }
\cs_new:cpn  { __char_U_4 :n } #1 { ^ ^ ^ ^ #1 }
\cs_new:cpn  { __char_U_5 :n } #1 { ^ ^ ^ ^ ^ #1 }
Works fine with a smaller number: this is the first one in the Unicode list that gives a 'weird' message
Funny: works with \show ^^^^^10400 and \scantokens{\show ^^^^^10400}, although not the same thing in the two cases
 
8:48 AM
@Speravir Oh my! I hope I haven't accidentally written a rude German word in chat!
 
Good morning! I see @NicolaTalbot is still struggling with the word "duck". World has not ended.
 
@Christoph LOL :-)
 
@NicolaTalbot Well ... dict.cc/?s=fick
 
@TorbjørnT. Oops!
Okay, I'm going to switch to talking about parrots.
 
9:09 AM
I just checked, 'p' and 'c' are sufficiently far away from each other. Good to go!
 
How about speaking in anagrams? :)
 
@PauloCereda LOL. That must've been difficult to film.
 
@NicolaTalbot Indeed. :)
@Nicola: ooh I could also reference one of the Blackadder episodes. :) /pokes @JosephWright :)
 
@PauloCereda :-)
 
9:44 AM
I think I'm going to have to see if I can write a Lua alternative to makeglossaries.
 
@NicolaTalbot ooh that sounds tempting! Any help?
 
@PauloCereda Do you know lua? I don't know any at all (apart from what was mentioned in one the UK TUG meeting talks).
 
@NicolaTalbot I know a little, @egreg and I wrote the checkcites script in Lua.
 
I only remember lua from World of Warcraft addon programming...it's OK to learn if you have prior experience with OO languages such as C++, but a bit different. Just dive into it!
 
@PauloCereda Great!
@Christoph I haven't written any C++ but I've written plenty of Java. I've been meaning to read up about lua, but I ought to finish my new LaTeX book first.
 
10:15 AM
@NicolaTalbot put that book on hold, write a lualatex book instead, then read that to find out how to implement glossaries
 
@DavidCarlisle Don't you mean: put that book on hold, learn lualatex, write a lualatex book instead :-P
I've just noticed the photos from that UK TUG meeting. I look like I've scoffed the biscuits.
Perhaps I had?
 
@NicolaTalbot You have to know stuff before writing about it? Oh, no one told me that.
7
 
10:36 AM
@JosephWright It seems the old bug, but only when \showtokens or \scantokens are involved.
 
@egreg Yes
@egreg Sort of
@egreg You get it if you do the \scantokens inside an \edef context
 
@JosephWright Work for Khaled.
 
@egreg I guess so
 
11:07 AM
@JosephWright If you were asking about that bug, you could slip in a request for Uchar at same time....
@JosephWright our Uchar discussion has seeped through the ether to @Jubobs
1
A: Why does this simple \ifx test fail?

David Carlisleadd > \show\temp and you will see that the \edef has made no difference, neither \char nor \currentchar are expandable, so \temp consists of those two tokens every time, and never is \ifx equal to a character token. luatex has an expandable \Uchar primitive.

 
11:35 AM
@DavidCarlisle I'll get an example together and send it to Khaled
 
12:23 PM
How do you handle the phrase "et al." in your text? (not within biblography). Currently I use it like this: Smith~et~al.~\cite{Smith} => "Smith et al. [1]". But I really don't like it, as it is not very readable. I though that a macro could help here "Smith \etal~\cite{Smith}". Maybe there is a better solution? PS: most questions here on tex.sx focus on 'et al.' and the bibliography or bibstyles.
If I am OT here please let me know
 
@math well of course one way is to let your bibliography style sort it out and just mark it up as \cite{Smith} and have that generate [Smith et al.] or Smith et al [1] or whatever is needed.
 
can biblatex do that? "\cite{Smith}" => "Smith et al. [1]"
 
@math I refer you to the starred comment over at the right:-)
@math but yes in principle it has enough information to do that, it is just a variant on the usual author name style of citation.
 
@math Yes
@math \citeauthor, from memory
 
Ok thanks, I'll have a look on it.
 
12:34 PM
@math see I answered from the principle of it being open source so you can make it do stuff, Joseph answered on the principle that he actually knows something about it, and we agree:-)
 
@DavidCarlisle, ok, but one thing, what starred comment did you referring me to? Did you expect me to search in all 5010 comments?
 
@math The 'recent' ones are shown by default: I think chat.stackexchange.com/transcript/message/13712260#13712260 might be the one here
 
12:53 PM
@math Sorry. in the full (not mobile) version of this site I meant the one at the top of the list on the right hand side of this page (as Joseph said). It was just a mild warning that I don't actually know anything about biblatex (unlike Joseph who maintains it).
 
 
1 hour later…
1:59 PM
I have PGF 2.10 in the standard TeXLive TDS tree and PGF 3.0 in my user TDS tree. Obviously, since the later is searched first, my document use 3.0. Is there a way to instruct my system to use the 2.10 version for some designated documents?
 
@GonzaloMedina TEXINPUTS=/path/to/2.10//: pdflatex myfile (if your commandline shell allows that)
3
 
So I have answered a question posed by my neighbor at office. ;-) He could have simply knocked at my door (or the wall between us). :)
5
 
@egreg so I noticed (after translating your initial comment:-) (You could have mentioned that {\itshape\noindent\textbf{Solution}\\} is a pretty dodgy way to define a heading)
 
2:14 PM
@egreg I must be missing something, but I don't see any problems with that code. What exactly is the problem?
@DavidCarlisle Ah, thanks!
 
@GonzaloMedina If you comment out \excludecomment you should be able to see the problem
 
@egreg But had he knocked at your door, you wouldn't have had a green mark :-)
@egreg No. I'm am lost!
 
@GonzaloMedina Yes, of course. :) He has, by the way, so I have been able to see how a green tick appears before being assigned. ;-)
@GonzaloMedina The issue for me was exactly the same as on my colleague's machine.
 
@egreg Then there must be something going on with Italian machines ;-) I don't get any errors.
 
Oh! And I discovered he's using Eclipse!
 
2:27 PM
I am intrigued; can someone please process the code in tex.stackexchange.com/q/159820/3954 ? I get no errors, but the OP (and egreg) do. What could be the cause?
 
@GonzaloMedina If I run the original example, the comment.cut file has
The Italian alphabet contains <E0><EC><F9><F2><E8>
where <E0> means the byte number.
@GonzaloMedina If you check with the T1 encoding, 0xE0 corresponds to à, 0xEC to è and so on.
 
@egreg Eclipse? Oh my!
 
2:42 PM
@PauloCereda My reaction as well!
 
@egreg Does he work with programming?
 
@PauloCereda Yes. That's his explanation.
 
@egreg Ah that explains it. :)
 
@PauloCereda Do you use Eclipse?
 
@egreg No. :)
 
2:59 PM
@PauloCereda Hi! Please, does python have an equivalent of \endinput or should I simply comment out the rest of the file?
 
@tohecz No, but there's a sneaky sneaky trick: use triple-quoted strings!
'''
lalala
...
lalala
'''
 
@PauloCereda ah ok :) Still it'll kill the syntax highlight, but nevermind, thanks a lot
 
@tohecz My pleasure. :) Python doesn't have multine comments AFAIK.
 
(Background: we decided that if I manage to make a readable code of our algorithm that fits in one-page listing, we'll include it in the paper. So I'm rewriting.)
 
@tohecz Cool. :) No implementation?
 
3:05 PM
@PauloCereda what do you mean?
 
@tohecz I meant if it's an algorithm, not a code snippet. :)
I have a friend that says that if the algorithm is bigger than its implementation, there's something wrong. :)
 
@PauloCereda no, the algorithm is pretty short, because I don't write the algorithm: I write a recursive definition of a sequence of closed intervals, and I prove that it's exponentially shrinking to my desired output :)
it's actually not quite an algorithm, since it computes a number that we conjecture to be transcendental
 
@tohecz oooh I love you.
Why do people neglect the beauty of recursive stuff?
:)
 
and I see that to write a true pythonian code, I still need to learn a lot. For instance, I call something recurrently, and I would like to store the output to a list
 
@tohecz Ah cool. Via recursion?
 
3:10 PM
@PauloCereda well, the point is: a mathematician might not be able to read (pseudo)-code, but he's able to verify the math. definition
@PauloCereda yep; imagine performing a binary expansion of a number: you want to save floor(2x) and continue your computation with x=2x-floor(2x) in the next step
oh wait! I can yeild it!
 
@tohecz Wasn't French priest Lemaître that got his math complimented by Einstein, but the physics were terrible? :P
@tohecz YAY YELL IT!
Oopsie, yeild. :)
 
@PauloCereda :)
and then get the expansion as ` s = AdicExpansion(i)[;30]` or something like that
 
@PauloCereda or even yield
 
@DavidCarlisle oy
 
@DavidCarlisle epic fial :)
 
3:15 PM
@tohecz LOL
 
@DavidCarlisle but syntax highlight would help as a spellcheck here :)
which is the good way to forever in python?
oh I need to count
so it's for n in itertools.count() :
 
4:19 PM
So the latest travesty from our Graduate School thesis office: Appendices (which are chapters in the text) are to be listed as sections in the TOC.
1. . TABLE OF CONTENTS: APPENDICES section: Since you have multiple
appendices in your document, you must insert at heading that says
APPENDICES. The page number corresponding with this heading would be the
APPENDICES cover page. Your individual appendix entries are to be single
spaced as sub-headings under the heading APPENDICES.
Who even thinks this s**t up?
 
/note to myself: Python doesn't like literal \geq in the code
 
4:35 PM
Hello
 
@subhamsoni Hello!
 
@subhamsoni Aloha!
 
I would like to know how to style the chapter title for a book class
In this
"Install Backtrack on an Android Device"
is the chapter title
how do I decorate it (if possible using ornaments) or any other better styling
 
titlesec might help, I guess.
 
@PauloCereda can you please elaborate
 
4:42 PM
@subhamsoni I just mentioned there's a package named titlesec that provides an interface to sectioning.
 
I do not want sectioning , but I would like like to style the "Chapter" title @PauloCereda
 
@subhamsoni that's what Paulo meant.
 
hmmm ok @DavidCarlisle
 
5:03 PM
@Paulo 51 lines of I'd say quite Pythonian code :)
@egreg Needed to say, these copeople see it as a coproblem and they are cohappy of that :)
 
@tohecz Cool! :)
 
@PauloCereda I should just get rid of the yield. The problem is that you can't easily slice a generator using the [:] notation
but I'm proud of myself for things like evaluating \sum_{k=0}^n a_i b^i as:
 
@subhamsoni Here:
\documentclass{book}

\usepackage{titlesec}

\titleformat{\chapter}%
{\titlerule%
\vspace{1ex}%
\filcenter\Large\bfseries}%
{\thechapter.~}%
{0pt}%
{}%
[\titlerule]

\begin{document}

\chapter{Hello world}

Hi.

\end{document}
 
sum([ a*b^i for a,i in itertools.izip(s, itertools.count()) ])
 
@tohecz Cool!
 
5:12 PM
@PauloCereda well, I'm only quite unhappy about computing b^i each time, but I didn't find a one-liner that would do it better
 
@tohecz I'll take a look later on. :)
 
@PauloCereda well, it's fine. After 100 iterations of the program (takes c. 15 sec here), you have 20 valid digits of the output, no matter the powerination of b :) (needed to say, python surely uses the clever way, which is something like log(n)^2 :)
@PauloCereda Can I do a line break in Python's code at arbitrary place somehow?
 
@tohecz Hm I'm not well-versed in Python to give you an accurate answer, but I don't think this is possible. :(
 
5:28 PM
@PauloCereda well, single \ seems to do something
yes, that's it! (Of course, you can't break an atom, but that wouldn't make much sense, after all)
 
@tohecz Ah cool!
 
@PauloCereda well, increased indentation of the next line is quite obviously necessary, but probably only if it's not a consecutive line break
 
5:46 PM
If I have to choose whether my Listing will be Table or Figure, which is better?
 
@tohecz Figure because it is more common.
 
@CodeMocker or Table because all other Figures will be pictures of tiles :-/
 
 
2 hours later…
7:36 PM
@MarcoDaniel: do you like Shingeki no Kyojin?
 
7:51 PM
for about 15 years, I'm genuinely interested in deep mathematics of some sort again. Can any of our math gurus comment on these results about their level of category theory preliminaries? Maybe @AndrewStacey in particular ?
I can see some problems already about the notions they start with but who cares :)
 
8:13 PM
@percusse well, I've met category theory only in conjunction with coalgebras, so ... how to say ... :D
 
8:37 PM
@tohecz Keep your COol
:)
 
@percusse :)
But one should be careful what he says. Until recently, I thought that topological number theory is not quite an interesting thing, only to have it as an important tool in my last article
 
@tohecz My problem with their analysis is that they are starting with an input/output formalism to model dynamic systems but yeah... no need to bore you to death with details.
 
@percusse whose analysis?
 
@tohecz Theirs. :)
 
@PauloCereda well, there are to theys now: one they is coalgebraics, and the other one is topological number theorists :)
 
8:45 PM
@tohecz A ∪ B :)
 
haha, we're finilizing the issue 1 of this year, and I've sent to proofs 6 articles. we got them back with 2 typos/corrections only, and my boss ended the mail: "With respect, Anna"
 
@tohecz ooh!
My emails usually end with it's the thought that counts. :)
 
@PauloCereda you mean like that you do more mistakes than you should?
(sorry, it's 10pm and i'm at work. I'm fine just a bit slow in thinking so deeply)
!!/texdef -t latex -p amsmath frenchspacing
 
@tohecz Yep. :)
@tohecz Oopsie, Psmith is asleep. :)
I'm on satyagraha now, Psmith is in alexandria. :)
 
@PauloCereda well, depending on what you do. I for instance found out that doing a good typesetting job is much more a matter of not getting mad and not missing stupid details than about anything else
 
8:53 PM
@tohecz ^^ :)
 
So I started to understand the fact that many journals outsource it to moreorless unqualified people in India
@PauloCereda No, it doesn't work that way. Gimme a minute
I wanted to scan a recto and verso page of one version of an aritcle with my supervisor, but the scanner betrayed me :(
 
@tohecz :)
 
j0h
Hi guys, can anyone point me to a great EPS programming refference/ tutorial? I am trying to learn but hung up on some things. Can i ask newb eps programming questions on the tex forum?
 
@PauloCereda I have a thesis to correct. ;-) Let me buy some red pens.
 
@j0h EPS would be on-topic if linked to TeX, but not for an arbitrary EPS file
 
j0h
9:05 PM
publishing to JCP soon.
 
@j0h J. Chem. Phys.?
 
j0h
yup
any how, i figured knowing more about eps could make things simpler in the future
 
@egreg LOL :)
 
@j0h Same is true for machine code or Assembler :)
 
@j0h learn TikZ instead. Of if you insist on PS, make it PSTricks
 
j0h
9:09 PM
is that qtikz?
linux package
 
@j0h no. TikZ is a drawing library in LaTeX
 
@j0h QTikZ is a front end to 'draw' TikZ code
 
j0h
That answers a seprate question i had @tohecz
 
9:31 PM
I found a usage for \begin{figure}[H], unbelievable
 
@tohecz I also have some usage for \begin{figure}[W] when I can't find my figure on the same chapter :P
 
@percusse what's W ?
 
Where is my damn figure ? :D
3
 
@percusse ah ok :) Well, I use H inside {figure*}[t] twice inside two minipages, to put two narrow figures above a third, wide figure
 
It's quite amusing to see my country in Sochi. :)
 
9:37 PM
@PauloCereda Winning?
 
@JosephWright sounds like an important question :)
 
@JosephWright Not even close. :) But it's quite nice to see the atlethes. :)
 
Well, Sochi is a place better for summer olympics, so maybe only Brazil understood correctly what's going on and the rest of the world is covered in dumbness
tell me, J/K\,mol or J/(K\,mol) ?
 
@tohecz I'd say the second: first case is ambiguous
 
@JosephWright well, ok
and tell me, whether mg/Nm^3 is mg/(Nm)^3 or mg/(N(m^3))
it's something about CO emission limits
 
9:58 PM
@tohecz Denominator is 'newton metres cubed', yes?
 
@JosephWright yes
 
@tohecz Really? Where do newtons come into it?
 
but it's in Word, with no significance what exactly it means
@JosephWright you ask me ? :D
 
@tohecz I can see mg/m^3, but not where force can possibly come in
 
it's "Mass emission concentration (converted)"
the other thing is "Volume emission concentration (converted)" measured in ppm
I suppose it will be something like "Nominal meter"
Well, thanks anyways, I'll ask the authors
 
10:04 PM
@tohecz I think it's a typo!
 
well, it's quite possible
but it's used repeatedly
 
@egreg: oppsss.. Sorry... Didn't mean to steal a green tick form you. :-)
 
10:20 PM
@PeterGrill Did you?
 
@DavidCarlisle Problem in XeTeX comes down to:
\show ^^^^^10400
\showtokens\expandafter{\csname ^^^^^10400\endcsname}
 
@JosephWright Nice! I guess that \showtokens and \scantokens share some code
 
@egreg Possibly. I notice sourceforge.net/p/xetex/bugs/80
Is that Bruno's bug?
 
@JosephWright I think so; very close to it, anyway.
@JosephWright Why doesn't Gmane work? :(
I saw the announcements for the deprecated functions, but I can't see the messages
 
@egreg No idea
@egreg Are you not actually on the list?
From the next CTAN update, the semantics of \int_to_base:nn will be altered. It will in future return lowercase letters when using bases > 10 to represent numerals beyond 9. This change is accompanied by the introduction of \int_to_Base:nn, which returns upper case letters under the same conditions.

This change has been introduced as both lower and upper case letters may be required, dependent on the use case. See also announcement concerning \int_to_hex:n/\int_to_Hex:n.
The following functions are deprecated and will be removed from expl3 at the end of 2015:

 - \int_to_decimal:n
 - \int_to_hexadecimal:n
 - \int_to_octal:n
 - \int_from_decimal:n
 - \int_from_hexadecimal:n
 - \int_from_octal:n

To replace these, the following functions are introduced:

 - \int_to_dec:n
 - \int_to_Hex:n
 - \int_to_oct:n
 - \int_from_dec:n
 - \int_from_hex:n
 - \int_from_oct:n

In addition, the new function

 - \int_to_hex:n

is introduced. Note that for the creation of hexadecimal numbers, there are now separate functions to create lower and upper case letters in the output.
(I've fixed a typo in one of the messages in reposting!)
 
10:37 PM
@JosephWright Thanks. I believe I have used \int_to_base:nn in an answer (dozenal base, IIRC).
 

« first day (1199 days earlier)      last day (3725 days later) »