« first day (1662 days earlier)      last day (3289 days later) » 

1:43 AM
I've got an idea for an expl3-powered debugger. Name suggestions? ldb is taken…kinda. :)
Well, it would be a limited debugger, but it'd be something.
 
1:58 AM
Hi @egreg :)
 
 
5 hours later…
6:59 AM
@SeanAllred Your ping at 4am was only seen this morning.
 
7:21 AM
@SeanAllred speaking of which:
 
Awarded March 11. ^^^^^ :P
 
@egreg I'm surprised since you can't have use % at eol so often for those.
 
@DavidCarlisle Yeah, I'm surprised about your bronze badge as well: \def\zz is not expl3 code.
 
@egreg it is in my answers, unlike eol it's not disabled:-)
 
 
3 hours later…
10:41 AM
@DavidCarlisle But you get reproached by @JosephWright.
 
@egreg who's he?
 
@DavidCarlisle Some bloke whose name appears here and there.
2
 
11:01 AM
@egreg Strange; the room said you had joined
 
@SeanAllred I leave the machine sleeping, but it wakes up to do maintenance.
 
@egreg That makes sense – even if it is a little creepy. I wonder if any sci-fi has been done that wonders what our machines do when we're asleep :)
 
12:03 PM
@egreg i think i am missing something very obvious?
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{biblatex}
\bibliography{biblatex-examples.bib}
\usepackage{regexpatch}
\makeatletter
\tracingxpatches
\xpatchbibdriver{incollection}{%
  \tralalala{\labelnamepunct}\newblock
}{%
  \setunit{\addcolon}\newblock
}{}{}
\makeatother

\begin{document}
\fullcite{brandt}
\end{document}
 
12:29 PM
Is there \tralalala in the macro to patch?
 
@egreg No, that should fail completely
 
12:52 PM
@egreg I am running latest TL14. Can you confirm this? Is this a bug?
 
@Johannes_B same in TL2015, if you make the last arguments }{\typeout{YES}}{\typeout{NO}} then it reports YES. I do hope it's a bug:-)
 
@DavidCarlisle I gives success no matter what is contained in the search string.
@DavidCarlisle @egreg Btw, runs fine with xpatch :-)
 
Hello! I'm looking for guidelines/rules/advices for making up a package, does anyone have some link to a reference or something along those lines...?
I looked up in the most up-voted questions hoping to find a consensus, but didn't find (within the first 5 pages) any question related to package guidelines...
 
@luneart there aren't really guidelines on making a package in general (unless you mean documentation conventions) it all depends on what you want the package to do.
 
well, documentation conventions is a good place to begin with!
 
1:07 PM
@luneart only if you have some code to document:-) most packages use the doc conventions texdoc doc but you do not have to, smaller (or not so small) packages just use comments within a .sty file.
 
@DavidCarlisle I finished my phd and was asked if I could provide a template, but it's messy as of now and I'd like to make a comprehensive documentation
@DavidCarlisle hence why I don't think comments in the code are enough
 
@luneart not another thesis class:-) OK use doc then, as I say texdoc doc and texdoc docstrip give the basic style or just look at any package /class distributed as .dtx
 
@DavidCarlisle aha, sorry guys ;) But I do plan on modularizing the different parts, so I'll probably keep that "phd class" from flooding even more the existing scope of those, and publish (I don't know where, or even if I should for now...) the components!
@DavidCarlisle so thank you, looking up the docstrip documentation right now
 
 
1 hour later…
2:43 PM
@luneart see vvv
18
Q: Should packages on CTAN be widely applicable?

Sean AllredI have a couple 'packages' (more appropriately called styles) that I'd like to painlessly distribute to my classmates. The most straightforward way to do this is via CTAN, but I'm not sure if it is appropriate to upload the style since it is only applicable to a very small group of people, and p...

I think the general consensus is that you should publish if and only if you're comfortable with it being 'out there' :)
 
Quack! :)
 
@PauloCereda quack quack :)
 
@SeanAllred <3
@DavidCarlisle ooooh
 
@egreg @Manuel My two cents: w is meant for 'weird' arguments. \cs:w and \if_meaning:w, for example. I think \hrule and \vrule are sufficiently weird :)
 
2:59 PM
@SeanAllred interesting, thank you Sean!
 
@luneart :)
 
 
1 hour later…
4:05 PM
@Johannes_B Probably. I'll have to check it.
 
@egreg Ok, thanks.
 
@Johannes_B A silly mistake. :(
 
@egreg one of many?
 
@DavidCarlisle :P
 
4:26 PM
@Johannes_B Sent to CTAN
 
@egreg Nice, thank you :-) Do i get a cookie for finding?
 
    455 \NewDocumentCommand{\xpatchbibdriver} { s +m +m +m +m +m }
    456  {
    457   \IfBooleanTF{#1}
    458    { \exp_args:Nc \xpatch_patchcmd_all:Nnnnn {blx@bbx@#2} {#3}{#4}{#5}{#6} }
    459    { \exp_args:Nc \xpatch_patchcmd_once:Nnnnn {blx@bbx@#2} {#3}{#4}{#5}{#6} }
    460  }
    461 \NewDocumentCommand{\regexpatchbibdriver} { s +m +m +m +m +m }
    462  {
    463   \IfBooleanTF{#1}
    464    { \exp_args:Nc \xpatch_regexpatchcmd_all:Nnnnn {blx@bbx@#2} {#3}{#4}{#5}{#6} }
    465    { \exp_args:Nc \xpatch_regexpatchcmd_once:Nnnnn {blx@bbx@#2} {#3}{#4}{#5}{#6} }
@Johannes_B The list of arguments was off by one
@Johannes_B You get a free beer.
2
 
@egreg Yaaaayyyyy :-)
 
@Johannes_B Even if your nickname always remembers me another Johannes B. ;-)
 
@egreg I heard there are a few of our kind :-)
 
4:30 PM
@Johannes_B You know that my musical tastes don't allow to consider that Johannes B. worthy of attention.
 
@egreg Which one exactly?
 
@Johannes_B The Brahms bloke.
 
@egreg I was confused in a Brahms/Braams loop and doubted the existence of one of them.
 
@Johannes_B The babel Braams is of course a very respectable guy!
 
@egreg I am sure he is. Most (all?) package authors are nice guys.
 
4:36 PM
@Johannes_B Less one. ;-)
 
4:57 PM
@Johannes_B except the one who has packages with out by one bugs
@egreg just missed TL2015 though
 
@DavidCarlisle Ah well
 
@DavidCarlisle I made a gif of a clock in Tikz. Well, just the seconds. Including minutes or hours would probably give a gif of 37 Gigabytes. :P
 
5:20 PM
@Alenanno I'm not so sure :) you should try it
 
@DavidCarlisle Pity.
 
5:41 PM
@SeanAllred Eh... :D
I'm improving the graphics of it. Soon I'll post it here.
 
hello, please how to do to not obtain the bibliography in a new page ?
 
0
Q: Bibliography not on new page

ricehatmattI have multiple Bib generated with biblatex/biber. How can I suppress that every bib is on a new page. There would be plenty of space to put two bibs on the same page. Still each \printbibliograpy prints on a new page. Here is my thesis.cls, it's downloaded from http://www.latextemplates.com: ...

It doesn't have an answer yet, but it might soon. :P
I don't know the answer to be honest.
@SeanAllred The chat ruined the quality a bit, but well...
 
ok @Alenanno
thank you
 
@Vrouvrou Sorry. I haven't touched the bibliography side of Latex yet. It's really hard, though. So I understand your trouble. :)
 
@Vrouvrou @Alenanno It will probably involve \let\clearpage\relax somewhere before \printbibliography
 
5:55 PM
@SeanAllred Here in all its glory :D
 
@Alenanno Oh, it's not that bad :) BibLaTeX has a wonderful manual :)
 
@SeanAllred That's nice. :P
 
@SeanAllred
\documentclass[12pt,oneside,fleqn]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{hyperref}
\hypersetup{colorlinks=true, linkcolor=blue, urlcolor=blue}
\hypersetup{citecolor=blue}
\usepackage{caption}
\usepackage{graphicx}
\usepackage{amsfonts,amsmath,amssymb,amsthm,mathrsfs}
\usepackage{fancyhdr}
\renewcommand{\r}{\mathbb{R}}
\textwidth=16.5truecm \textheight=23truecm
\hoffset=-2cm \voffset=-1.8cm
\newtheorem{theorem}{Théorème}[chapter]
\newtheorem{corollary}{Corollaire}[chapter]
 
@Alenanno ;) also, that file is not even 1MB -- is that all there is?
@Vrouvrou don't use single-letter commands
@Vrouvrou use the geometry package
 
and for bibliography ?
i juste do : \begin{thebibliography}{10}
 
5:58 PM
@Vrouvrou sorry, there's just a lot more going on there than bibliography :) you should read a good introduction
 
@SeanAllred It's only 60 pages, which means 60 frames. Not a huge image. But including hours and minutes would mean having 3600 frames. :P
 
@Vrouvrou You can use {thebibliography} if you want to do the citations manually, yes
@Alenanno Oh, more than that :) 43200 frames :)
@Vrouvrou look up the biblatex package
gtg -- be back later
 
@SeanAllred Why 43200? It's 60 seconds multiplied by 60 minutes.
 
@Alenanno Times 12 ;-)
 
@Johannes_B Ah right, I was about to write that. I was considering one hour only. facepalm
So basically a ~35.03 MB .gif file. Good.
 
6:03 PM
@Alenanno Don't worry, i was calculating 60 \times 60 \times 24 because the day has 24 hours :-D
@Alenanno You get a cookie if you can watch the whole gif in one run. :-)
 
6:15 PM
@Johannes_B Just a cookie? I'd need an appointment with an eye doctor.
@Johannes_B That would be 86400! :O 70 MB
 
@Vrouvrou why true units?
@Alenanno just use three gifs, one for each hand, with transparent backgrounds....
 
6:38 PM
@Alenanno 12-hour clock ;)
@Alenanno There has to be a more efficient encoding
Does the TeX file count? ;)
 
7:05 PM
@SeanAllred What do you mean?
 
7:22 PM
@Alenanno like flash could store the animation as four objects, with three of them moving 40k times
Sounds like a lot, but isn't
 
@SeanAllred as I said above, three transparent animated gifs would be more efficient than one:-)
 
@DavidCarlisle But this would be ok if it was embedded somewhere no? In my desktop it won't do that. :D
 
@Alenanno on your desktop you probably have enough disk space for the big version:-)
 
7:44 PM
@DavidCarlisle Well, maybe not for a buddy of mine :) hackaday.com/2015/04/20/…
 
@SeanAllred hmm isn't it easier just to get a usb dongle:-)
 
@DavidCarlisle True but... lol :P
 
@DavidCarlisle Where's the fun in that?
 
 
2 hours later…
9:28 PM
@PauloCereda And two. :)
 
Hello!! With what command can I add the references/bibliography ??
 
@MaryStar Basic commands are \cite for citations, \bibliographystyle to determine how the bibliography looks and \bibliography to point to the data
 
yo'
9:44 PM
The Czech town of Brno (300 thousand inhabitants) has for the first time (and as the first Czech town) made an official apology for unrighteous deportation of the German-speaking community after the Second World War. After a long time I can be proud of some Czech politicians!
 
@yo' They were banished from the country?
 
yo'
@Alenanno yes, literally kicked out, just weeks after the war had ended.
 
@yo' Oh didn't know about that.
 
yo'
@Alenanno parts of WWII history people don't speak much about. We're not proud of doing that. It was a part of the war and we don't blame the then-government that they decided to do that. But we (I certainly) regret it happened.
 
That's understandable.
@yo' On an unrelated note, have you seen my clock above? There were (crazy) talks of doing the whole 24 hours. :D
 
yo'
9:49 PM
@Alenanno ummm not?
 
@yo' here :D
 
Do I have to write it as followed ?? @damorton @JosephWright

\newtheorem{ref}{Αναφορές}

\begin{ref}
...
\end{ref}
 
@MaryStar don't use the name ref (surely you got an error that that was defined?) otherwise you disable the cross reference command \ref
@MaryStar that is a theorem environment but you asked above about bibliography?
 
oh ok... yes, how could I define it?? @DavidCarlisle
 
yo'
@Alenanno took quite a while to load :D
 
9:55 PM
@MaryStar did you follow the link above? or look at any of these examples tex.stackexchange.com/questions/tagged/bibtex
 
@yo' Ahah sorry, it's only 811 KB but... :D
 
yo'
@Alenanno well, the fact that I'm slightly drunk doesn't mean that my computer should be :D
 
10:43 PM
@yo' eheh :P sober up!
 
I found an example and used it... I wrote the following:

\begin{thebibliography}{9}
\bibitem{Computability}
\foreignlanguage{english}{Fred Hennie}.
\textit{\foreignlanguage{english}{Introduction to Computability}}.
\foreignlanguage{english}{Addison-Wesley}, 1977
\end{thebibliography}


what does the "9" mean?? @DavidCarlisle
 
@MaryStar it's the largest label but normally you do not write that by hand a separate program (bibtex or the newer biber) generates the bibliography based on the \cite commands in the document there really are thousands of bibtex examples on this site
@MaryStar bibitem is a list and should just have \bibitem commands same as enumerate has \item but as I say normally you generate the whole environment
 
Should I use an other way to write the refferences, or is this one ok?? @DavidCarlisle
 
@MaryStar normally you do not write that at all, bibtex generates it for you.
 
Good night y'all. :D
 
10:54 PM
Which of the commands I wrote do I not need when I use bibtex?? @DavidCarlisle
 

« first day (1662 days earlier)      last day (3289 days later) »