« first day (1651 days earlier)      last day (3280 days later) » 

8:00 AM
Is there an internal macro that holds the name of the current package while being input (and processed)?
 
8:13 AM
@ChristianHupfer Morning. Don't think so.
 
@Johannes_B: Good morning... well, there should be ;-) Perhaps, it's possible to hook into \usepackage...
 
@ChristianHupfer Add it, send diffs to @DavidCarlisle ;-)
 
@Johannes_B Nope, I will provide BlackForestTeX format :-P
 
@ChristianHupfer Need to go one level down, as there is also RequirePackage. But sooner or later, both are let-copied.
 
@Johannes_B: Yes, certainly
 
8:20 AM
@ChristianHupfer Oh, not another macropackage for TeX. @wipet will be pleased :-)
 
'Morning
 
@1010011010: Good morning
@Johannes_B: I like to please @wipet ;-)
 
@ChristianHupfer Haaa I bet you liked how I renamed my ket macro? :-)
 
@1010011010: Did you rename it again?
 
@ChristianHupfer Basically, that would be the basename of the current file read, right? I think this is stored somewhere.
 
8:23 AM
@ChristianHupfer Only once.... you will be famous in no time
 
@1010011010: Lol ... I am a state vector in Hilbert Space now ... Can't upvote a second time, did already yesterday
@Johannes_B: Yes, that's what I am after. I think it's stored but I have no idea where. I should investigate source2e
 
@ChristianHupfer :-) In other news: I am kind of in a similar situation in regard to your solution for the "section hack" from approximately a year ago. I'm using that approach for writing to the aux file for every second macro.
I mean, there isn't even a way around mnemonic names to build it up, so might as well go all the way, right?
 
@1010011010: Forget that hack... I've never written it... that must have been a totally different ChristianHupfer in a totally different state space :-P
 
@ChristianHupfer He didn't write the macro.... but he also did. :-)
 
@1010011010: The drawback of that approach is nameref, being unexpandable
@1010011010: If I would have time, I would completely redesign that stuff I did about one year ago
 
8:29 AM
@ChristianHupfer Maybe pckg filehook provides something along the line? scrlfile also hold the name, but i think it's not a documented command.
 
@Johannes_B: Thanks, I will have a look into filehook ... I like that rhyming ...
@Johannes_B: \RequirePackage -> \@fileswithoptions -> \@fileswith@ptions->\@fileswith@pti@ns etc ... it's so easy ;-)
 
@ChristianHupfer Are you using texdef? I have an alias kernel to open up latex.ltx in vim. Looks nice there :-)
 
@ChristianHupfer yes
 
@Johannes_B: The same, without vim of course. I just squeezed the output
 
@Johannes_B if you used a proper editor you'd never need to hut it down and you'd have latex.ltx in a buffer permanently
 
8:38 AM
@DavidCarlisle: \@currname?
 
@ChristianHupfer yes
 
@DavidCarlisle : Yaaaaaaaaaaaaaaaaaaaaay @PauloCereda ;-)
 
@ChristianHupfer \@currnamestack has all the open ones if one packge requirepackage's another
 
@DavidCarlisle: I thought you would know latex.ltx by heart ;-)
 
@ChristianHupfer Should have known that.
 
8:39 AM
@ChristianHupfer bits like \@currname I do:-)
 
@Johannes_B: You should or I have known? ;-)
 
\def\@loadwithoptions#1#2#3{%
\expandafter\let\csname opt@#3.#1\expandafter\endcsname
\csname opt@\@currname.\@currext\endcsname
#2{#3}}
 
@ChristianHupfer both, of course!
 
Do we have a stock questioin for Labels have to actually match?
@ChristianHupfer Both of us.
 
@DavidCarlisle: Well, \@currname is sufficient for the moment, but thanks for \@currnamestack
 
8:41 AM
@ChristianHupfer all the information is discarded at begin document unless you use \listfiles (because we needed the space:-)
 
@Johannes_B: We both are not core developers and the number of packages made by us two is small compared to \newcounter{@DavidCarlislepackages}` ;-)
@DavidCarlisle: But I could make an \edef to store it to another definition, I suppose?
 
@ChristianHupfer Still. My statement stays. Should have known that.
 
@ChristianHupfer yes probably using up 10 or so bytes to store a filename isn't going to stress your main tex memory these days
 
@DavidCarlisle: I am storing a lot of stuff, I think, additional 10 bytes do not bite ;-)
@DavidCarlisle : Yes, \edef saves the \@currname ... the funny thing is, that about 15 months ago I had no idea about \edef, \xdef, \expandafter etc. ... I must have learned it somewhere ;-) Thanks again for information
@1010011010 Thanks!
 
@ChristianHupfer you were probably happier then
 
8:54 AM
@DavidCarlisle :-D
 
@DavidCarlisle: ;-) Without joking: Not really. I am a 'long' time user of LaTeX since 1997, all my science work, graduation thesis (three of them) were made with LaTeX, but I used only standard setups, packages. I become more and more unhappy with my limited knowledge with (La)TeX internals, especially when I when doing automated work sheets etc for my nowadays teacher profession. Not knowing \if.... and loops, key-value syntax, \csname...\endcsname is bad ;-)
 
ooh big texlive update this morning (71) looks like all the binaries changed
 
@DavidCarlisle Nice longtable question? latex-community.org/forum/…
 
9:14 AM
@Johannes_B vvv
\selectlanguage{english}%
\caption{Patients \\}
 
@DavidCarlisle LyX has gone a bit mental there with the language stuff :-D
 
language setting can't be there, and \\ should be after the } (no idea how to do anything in lyx)
 
@Johannes_B: Fie.... lyx
 
@JosephWright \Uchar(cat) seem to be in texlive2015 this morning:-)
 
0
Q: calorie unit with siunitx

Hamza.wHow to get the calorie unit in siunitx package. Thanks \documentclass{memoir} \usepackage{siunitx} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \si[per-mode=symbol]{\kilo**\cal**\per\mol} \end{document}

I am no expert in but I think it won't work ;-)
 
9:23 AM
@ChristianHupfer isn't the SI symbol J :-)
 
9:37 AM
@DavidCarlisle Some more bugs to play with?
 
@ChristianHupfer Answering really? No i have to look stuff up to make a good answer.
 
@Johannes_B: Well, if you want to make a good answer it takes some time ;-)
 
@egreg probably
 
@DavidCarlisle I'm disappointed: it's not possible to give category code 13. :(
 
0
Q: How can I properly set the Italian language in opmac?

MatteoI'm using the opmac macros. I need to use both Italian and English in my documents, so I need a way to set Italian language (hyphenation and the possibility of directly input the letters à è é ò ù ì) and a way to switch between Italian and English.

Some for ... (fill in the name yourself :-P)
 
9:53 AM
@egreg I left the fine details of what's supportable to Jonathan:-)
 
@DavidCarlisle I was hoping for \expandafter\def\Ucharcat`?\active{...}
 
10:04 AM
@egreg so was I, but it's documented as experimental... meanwhile your name's come up again on texlive list so I need to fix that first
 
@DavidCarlisle Wasn't \newXeTeXintercharclass a nice idea?
 
@egreg Cookie monster has a lovely song about friendship, and it ends like this: Well maybe friend somebody you give up last cookie for. :)
 
@ChristianHupfer You don't know TeX: everything can be done with TeX primitives. Supporting a language is left as an easy exercise after having digested the TeXbook.
 
I hate to be a wet blanket I have never heard that saying before :-)
 
10:19 AM
@PauloCereda I offered you one yesterday.
 
@egreg awwww <3 I offer you one today, there's a lot of chocolate in it! :)
 
yesterday, by egreg
@PauloCereda I was given some cookies on the train this morning, they're in my bag.
@PauloCereda Yummy, thanks!
 
@egreg :)
Yaaaaaaay!
Cookies are always good!
So this Cameron guy won the prime ministery thingy in UK. Is that bad?
 
@egreg: My statement was rather ironically.. opmac is from our TeX fundamentalist guy here, if I remember correctly
@egreg: I am well aware that you could do good or bad things with TeX.. For me, I am continously doing bad things with it ;-)
 
@ChristianHupfer Exactly.
 
10:26 AM
@egreg it would have been easier if it had been in a package like etex.sty rather than in the ini file:-)
 
@PauloCereda: You should ask our British guys here. I don't say any name (@DavidCarlisle,@JosephWright, ...)
 
@PauloCereda the trouble is he gets all his ideas from the cookie monster
 
@DavidCarlisle oh no! Oh wait, that can be good. :)
 
@PauloCereda as I was saying to egreg yesterday it may lead to us leaving the EU, then I won't be able to use my Italian any more, but egreg said my Italian was rubbish anyway, so perhaps it'll work out alright.
 
@DavidCarlisle Oh my! You could come to Brazil, since you are a fluent speaker. Our government is surely... better... than... nevermind. :(
 
10:32 AM
@DavidCarlisle: Google translator will work for Britons too, even if Great Britain won't be part of the EU any more (I am pretty sure) :-P
@Johannes_B: Ah, you answered the calorie question
 
@ChristianHupfer Yes i did. I even left a duck for @PauloCereda in the answer.
 
@Johannes_B: Ah, looking for rep gain ... @PauloCereda, you got the hint? :D
 
@ChristianHupfer I just like havin dancing ducks all over the place.
 
@Johannes_B: Please cite the source of your 1000 calories per day statement! Otherwise it's not science!!!!
 
@ChristianHupfer I made that up, you know that right ;-)
 
10:47 AM
@ChristianHupfer ooh
 
11:06 AM
Wait a minute, is the UK part of EU?
 
@PauloCereda At present
 
@JosephWright oh
@egreg: when I was in Barcelona, I was quite shocked to see a lot of signs and places using an interpunct, e.g, Paral·lel and others. It happens that Catalan makes use of interpunct as a way on indicating a different pronunciation!
 
11:25 AM
@JosephWright should I check in ltfinal.dtx... ?
 
@DavidCarlisle I guess so
 
@JosephWright i guess otherwise someone will hack \dump again to add it back to the ini:-)
@JosephWright I've got it all set up, I'll run the full test suite just in case....
 
Hi to all! have one problem: I downloaded ctan.org/tex-archive/macros/latex/contrib/mathalfa, and when I compile .tex file from that package (mathalfa.tex), I see that many fonts didn't show. Also, I have 1 Errors, 30 Warnings and 60 Bad Boxes, and that is strange for me, because I thought if I compile file from CTAN then everything it will be all right. Sorry for my poor English
 
@Cortizol what error?
 
@DavidCarlisle I found similar question: tex.stackexchange.com/questions/121298/…. That error (this-nfss-system-isnt-set-up-properly)
 
11:40 AM
@Cortizol sounds like a bug, but I'd not heard of the package but I just had a quick look at the documentation, but it provides an interface to math fonts but many are not in the standard distribution, you'd have to get them separately
@Cortizol what did you want the package for?
 
@DavidCarlisle To add some new calligraphy font for some symbols in my document.
 
@Cortizol but do you have the font? (the latex package just gives a latex interface it doesn't actually install any fonts)
@JosephWright breaks vlatex06 and tlb2583 (count allocation off by one again, but otherwise seems OK)
 
@DavidCarlisle I thought if I install that package then I will get all that font with that package, because in pdf file I can see all of them.
 
@Cortizol no
 
@DavidCarlisle :-(
 
11:52 AM
@Cortizol the pdf on ctan or one you made locally?
 
@DavidCarlisle pdf on ctan
 
@Cortizol that just means the author had the fonts
 
@DavidCarlisle I thought that package provide that fonts. So, forgive me if I am stupid, but what that package then alctually do?
 
@Cortizol look at the list on page 1, many say (commercial) that means you have to pay money to buy those fonts. a latex package defines a command like \mathzzz to look up a font zzzz.tfm or whatever and load it onto latex, but it only works if the font is there to be loaded.
@Cortizol which font did you want, there are several script fonts in texlive already euler, rsfs, etc and they already have existing latex package support.
 
@DavidCarlisle Ah, so this package basicly allow us to works with several fonts together. Ok. For second question: I don't know right now. I just thought that I can have all that fonts (which will be just splendid), but now, I will see what I really have of that fonts. I must go now, to eat, but thank you David for all your help.
 
12:07 PM
Donau­dampf­schiff­fahrts­gesellschafts­kapitäns­mützen­innen­futter­her­stel­le‌​r­firmen­betriebsrats­sitzungs­zimmer­tapeten­lieferanten­eingangs­tür­schloss­sc‌​hlüssel­loch­experten­hosen­loch­stopf­maschinen­ersatz­teil­herstellungs­verfahr‌​ens­varianten­problem­psychologen­sohn
 
@Johannes_B only three lines? I thought you were German?
 
@DavidCarlisle This word doesn't make any sense though. Found it on Wikipedia for use of the soft hyphen.
As we can see, the soft hyphen works :-)
 
@Johannes_B see why I never use tex these days, a web browser is all you need.
 
Small question, perhaps easily answered: I'm looking for a more customizable \section (or \chapter if you wish) command... Specifically looking for things which allow for e.g. lists, pictures and so on, making the section heading really fancy. Something that probably comes close is Yannis's answer here: tex.stackexchange.com/a/50848/44160 ... what facilities exist to get something similar? I'll happily set up my own section commands, if people say it's easiest
 
12:28 PM
@PauloCereda Yes, they have that strange centered dot, which causes every sort of problem. They wanted to keep “ll” to denote what Portuguese has “lh” for (the same as in Castilian), so they adopted “ŀl” for the geminated “l”. They should have thought better; for example they use “ny” for the Castilian “ñ” (or Portuguese “nh”).
 
@1010011010 Why not use the stuff by Yannis?
 
@Johannes_B You mean package phd?
 
@1010011010 Yes.
 
12:45 PM
@Johannes_B Good question.. honestly, I was mainly looking for something more light weight :-P ... the package looks more like a format than a package, it loads almost every package I ever used
 
@1010011010 I haven't looked closer at this. I never saw this answer before, Thanks for making me aware of it. Depending on what you need, you could use titlesec and others to customize. Or use xparse and redefine the standard macros (or use unique names). That of course needs some work, because you need to deal with the frontmatter stuff, toc-entries, headers and stuff like that.
@1010011010 Advantage, you can initroduce all kinds of hooks to be redfined mid-document, comes in handy for graphics.
The trilogy -- Watch, Star, Fork.
 
@egreg oh my!
 
Looking at the full package I'd say that it's less involving to just code your own section with options... e.g. \section[distance between line and title={2pc},
subtitle={Magnetic properties of materials outside the magnetic field},
keypoints,
point 1={The physics behind Landau levels},
point 2={...},
open right,
section heading on single page,
picture={Magnetism.pdf}]
{Magnetism}
or w/e
 
1:07 PM
@1010011010 What do you mean?
 
@Johannes_B It just looks like a complicated package, especially if one thing needs to be changed I think it will be hard to hack the package
 
@1010011010 As far as i understand it, it provides an interface to set styles for chapters. And more, just looking at line 15 of phd.cls
 
@1010011010 Packages are not complicated per se, I guess. :) They do what they have to do. :)
 
Ah, that ended soon :-)
 
1:38 PM
@JosephWright Yannis has asked a few L3 questions lately, if he implements that stuff in L3, you got your user interface. github.com/yannisl/phd
@1010011010 That is more like a test suite. Don't use it right now.
 
1:55 PM
Guys, would you like to see my Tikz-powered Mary Poppins? :)
 
@PauloCereda yes
 
@DavidCarlisle I was truly expecting this. <3
@David: sooner or later you will see it, I will use in this year's UK-TUG user meeting. :)
 
@PauloCereda expecting what?
 
@DavidCarlisle nothing. :P
 
@Johannes_B: Erscht luege, donn meckere
 
2:02 PM
@ChristianHupfer Ich sehs immernoch dahinter
 
@Johannes_B: Wrong version ;-)
 
@ChristianHupfer ? Me confused Penguin.
 
@Johannes_B I don't mind test suites (I've used the beta release of minted without problems, requires going one step further in your hacks but that's it).
 
Ah, now.
 
Anyway, I'll just keyval it up a little. Shouldn't be too hard..
 
2:05 PM
@Johannes_B: Nevermind... I posted accidentally old code
 
@1010011010 I mean there are different conditionals to test different outputs. You said yourself, it loads a whole bunch of packages.
@ChristianHupfer Ah, stockanswer, i see.
 
@Johannes_B: Yes, @DavidCarlisle's way of quick answering :-P
 
May 14 '14 at 16:14, by Paulo Cereda
@DavidCarlisle lalalala can't hear you lalalala
 
@Johannes_B: I am still improving the cntperchap package
 
@ChristianHupfer Glad to hear that. Make sure to update the code example in chapter 1.1.1. of the doc. ;-)
 
2:14 PM
@Johannes_B: Done that already. I know, it was the old package name ;-)
 
Gunnar angry about structure.tex
 
@Johannes_B: Gunnar should tell us about structure.tex ... where to find?
 
@ChristianHupfer I think every single template over at LaTeX-templates has a file called stucture.tex. Haven't you noticed all that classicthesis questions on site?
 
@Johannes_B: \let\storeusepackage\usepackage ....\renewcommand{\usepackage}[2][]{}` \usepackage{classicthesis} \let\usepackage\storeuspackage that's my structure.tex :-P
@Johannes_B: Ideally use letltxmacro package from @HeikoOberdiek ;-)
 
2:32 PM
@ChristianHupfer I gotta run now, can you help the poor guy? subcaption will do the trick i think.
\documentclass{scrartcl}
\usepackage{subfig}
\usepackage{graphicx}
\begin{document}
\begin{figure}
	\centering
	\caption{Intuitive explanation of Models 1 and 2}
	\label{intuition}
	\subfloat[Linear projection of tuition prices into ENEM results\label{levelintuition}]{\rule{4cm}{1cm}} \quad
	\subfloat[Correlation between tuition prices and ENEM results\label{growthintuition}]{\rule{4cm}{1cm}}
\end{figure}
Subfigures \ref{levelintuition} and \ref{growthintuition} are nice.
\end{document}
 
@Johannes_B: I know nothing about subcaption stuff
 
2:53 PM
@DavidCarlisle All looks good
@DavidCarlisle I'm laid up in bed with a virus :-(
 
@JosephWright ah. Hope you're feeling better soon. If Frank does the clubpenalty thing do you want one of us to do the push to ctan?
 
@JosephWright: Get well soon!
 
@DavidCarlisle I can manage that: will try to get catcode stuff for LuaTeX done
 
@JosephWright Ok
 
@JosephWright Oh no, sorry to hear. :( Get well soon!
 
3:54 PM
The \@startsection command confuses me... how is the argument of \section collected? It redirects to \@startsection, but all the parameters of \@startsection are already defined by \section
 
@1010011010: That's tricky, yes ;-)
@1010011010: As far as I remember, the first six parameters of \@section are just meant for \@startsection, the remaining last two is the usual opt and the mandatory {} arg
 
\def\@startsection#1#2#3#4#5#6{%
I think you're referring to \@sect
\def\@sect#1#2#3#4#5#6[#7]#8{%
  \ifnum #2>\c@secnumdepth
    \let\@svsec\@empty
  \else
    \refstepcounter{#1}%
    \protected@edef\@svsec{\@seccntformat{#1}\relax}%
  \fi
  \@tempskipa #5\relax
  \ifdim \@tempskipa>\z@
    \begingroup
      #6{%
        \@hangfrom{\hskip #3\relax\@svsec}%
          \interlinepenalty \@M #8\@@par}%
    \endgroup
    \csname #1mark\endcsname{#7}%
    \addcontentsline{toc}{#1}{%
      \ifnum #2>\c@secnumdepth \else
        \protect\numberline{\csname the#1\endcsname}%
 
@1010011010: Sorry, \@sect for sure
 
I'd say that #7 is what I'm looking for, since e.g. \section defines \csname sectionmark\endcsname{#7}, and it also has #7 at the end...
And it's possible to have an empty text in \section without an error...
 
@1010011010: Yes, #7 is the optional argument and will be used for the headers
@1010011010: What do you want to do with \@startsection?
 
4:02 PM
@ChristianHupfer Now that I hear it doesn't do any formatting, nothing.
I'll just try my hand at hacking the section headings to make them non-ugly...
 
@1010011010: Ah, you want to change the headings itself, not the section title in the page body
 
@ChristianHupfer To give you a little more insight, I'm trying to define a section command with two arguments, or something like a keyval-syntax like I showed above...
 
@1010011010: I see... And otherwise it should behave like the normal section?
 
@ChristianHupfer I suppose, though I'm not decided yet on how to do the table of contents formatting. I have a great idea for the table of contents but it's a big work in progress with complicated tikz shapes...
May need to do pretty intrusive changes to the command regardless..
I was wrong. It's parameter #8 that effectively does the formatting. I guess dblarg sets #7 to the same argument, making stuff kind of confusing.
Well that effectively does the typesetting of the name of the section/subsection etc
 
@1010011010: Yes, depending on the content of #7 it might be used from #8
 
4:23 PM
Hullo!
 
How are you? :)
 
@1010011010 dblarg is used in sections captions etc any command \foo[a]{b} where the default value of the argument a is b
 
@ChristianHupfer Looking at the code I can understand the implementation of titlesec. It's tedious to split up 8th argument in two...
@DavidCarlisle It still seems tricky. \section has six arguments but the extra argument (what is actually being typeste as the section name) is "put on hold", a technique I'm not familiar with (should I be?).
 
@1010011010 what do you mean by on hold and why say 6
 
4:28 PM
@DavidCarlisle E.g. I say \section{This is a section}, this expands to \@startsection{...}{...}{...}{...}{...}{...}{This is a section}, then \@startsection does a bunch of fancy stuff and ends up with the \@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}} part, where I still don't see the section name content...
From the code that follows it, it's pretty obvious that {This is a section} is duplicated in \@dblarg, since \@sect has two more arguments
 
@1010011010 it's duplicated if you don't use the option because \section{hello} is defined to be \section[hello]{hello}
 
@DavidCarlisle Yeah, that's what I meant.
 
@1010011010 so \@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}{hello} is \@sect{#1}{#2}{#3}{#4}{#5}{#6}[hello]{hello}
 
@DavidCarlisle And what about \@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}{hello}{My name is John} ?
 
@1010011010 you don't see the heading text atthat point because tex hasn't read that argument at that point
@1010011010 then the heading is hello and My name is John is unrelated to this and just gets typeset as the text of the section
 
4:36 PM
@DavidCarlisle Ah, that's nice. Then I would be able to redefine \@sect to have a 9th argument and do fancy stuff with it, right?
 
@1010011010 I'd define a different command rather than redefine \@sect, but yes
 
\expandafter\ifx\csname #1\endcsname\section <do stuff> :-)
 
5:27 PM
When google indexes my TeX sources free available at my www pages the name for such TeX sources is assigned: "LaTeX original". This is awful. What does it have to do with LaTeX? It seems that google developers cannot distinguish between TeX and LaTeX. And, unfortunately, not only they.
 
@wipet: We've noticed ;-)
 
Would anybody mind doing a little expl3 code review? I think I've got this just about as good as I can get it, but I'm curious as to what I might've missed :)
 
@wipet Google does a lot of bad guessing. :)
 
\documentclass{article}
\usepackage{xparse}
\ExplSyntaxOn

\cs_new:Nn \sean_date:nn { #1~to~#2 }
\cs_new:Nn \sean_date:n  { \sean_date:nn {#1} {present} }
\NewDocumentCommand \DateRange { s>{\SplitArgument{1}{-}}m } {
  \IfBooleanTF #1
    { \sean_date:n { \use_i:nn #2 } }
    { \sean_date:nn #2 }
}

\ExplSyntaxOff

\begin{document}
\DateRange*{2000}
\end{document}
@wipet The masses speak.
@wipet To be fair, with the current state of LaTeX, it's hard to distinguish them even at a syntax level. You can make an ok-guess, but in the end it's all just TeX.
Only a very small number of people actually use the ltx extension
 
@wipet It reminds me when I tried to search for LaTeX journals or magazines. I almost had to go to therapy. Internet is a weird place without proper capitalization. :)
 
5:41 PM
@PauloCereda: Don't tell me more ;-) There is \huge difference between google communities for Latex and LaTeX ;-)
 
@ChristianHupfer ooh :)
 
Too many times my phone has autocorrected LaTeX to Latex… it's scary world out there
 
@PauloCereda ConTeXt is another example of unsearchable word. Not only Latex.
 
@wipet Indeed.
user image
2
 
@PauloCereda good job its translation service is error free.
 
5:49 PM
@SeanAllred: ^^ <3
@DavidCarlisle It are. :)
 
@PauloCereda Please, kill this duck. The processor in my computer is warmed and ventilator roars.
 
@wipet Oh I can't anymore! :( Editing timeout. :( But I can make the window scroll.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
 
@PauloCereda at least they are not ~
 
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@DavidCarlisle LOL I see what you did there. :)
 
6:19 PM
@JosephWright: Hi, feeling better?
 
@PauloCereda Not yet :-(
 
6:46 PM
Two small doubts about xparse.
First one (which I think I've discussed before), there's no way of telling a command that I want to check explicitly for certain tokens? Like \foo+, \foo*, \foo\bar, \foo!, etc. but without using {t* t+ t\bar t! .. }` (which seems wrong to me)?
something like t{!*\foo\bar} would be nice, wouldn't it?
And second, what's the standard way of doing the same with delimited arguments? I want my macro \foo to act different wether its argument is in braces, or between brackets or between parenthesis \foo{bar}, \foo(bar), \foo[bar].
 
@Manuel the {} option should be mandatory so the other uses should be \foo[bar]{bar2}
 
Do we need to go back to \futurelet? (because \peek_meaning:NTF ( {..} { \peek_meaning:NTF [ {..} { \peek_meaning:NTF \c_group_begin_token {..} {..} } } is not “acceptable.”
 
@JosephWright it was probably the sight of siunitx being used to typeset British thermal units, made you ill this morning.
 
@DavidCarlisle I want a little more freedom. I want to act differently with the argument depending on how it's delimited (it's mandatory, just that it can be delimited with different delimiters).
 
@DavidCarlisle Have not been well for about a week :-(
@DavidCarlisle I've no problem with that, really, which is why you can do \DeclareSIUnit
 
6:54 PM
@Manuel but the point of xparse is to make it easy to define commands that follow latex syntax, so you wouldn't expect it necessarily to help with commands that don't do that.
@Manuel you can use D[] D() then \foo[a] and \foo(b) are both legal with values being #1 and #2 respectively
 
@DavidCarlisle I see/know :) Just looking for a hole where that fits. In any case, is there/would be any documentation on how to add new “argument specifiers”? I know how to add abreviatures like X = D<>{blah}, etc. but I mean add new ones.
 
@Manuel just typeset the dtx files:-)
 
@DavidCarlisle Never knew how to do that.
 
@Manuel to typeset zzz.dtx you use pdflatex zzz.dtx and then look at zzz.pdf in a pdf viewer, they are just latex files.
 
That's all?
 
7:00 PM
@Manuel what typesetting system did you think we'd use:-)
 
@DavidCarlisle Well, I think I tried to typeset some before but never got the .pdf… In any case, another doubt: how do you write .dtx?
 
@Manuel they are just latex files, I use emacs, but any editor will do.
 
@DavidCarlisle Yeah, I've read them raw, but I mean is it just emacs and a few others that add the % automatically and the begin{macrocode} etc.?
 
@Manuel yes I usually write a few emacs functions to wrap macrocode around things, but if you have existing latex package code and want to turn it into dtx form, any editor would work, just some simple string replace should add the macrocode environments (eg every blank line to turn into end{macrocode} newline \begin{macrocode} then it's just a matter of adding the boilerplate setup (usually stolen from an existing one) and you are done
@Manuel vvv
$ pwd
/home/l3svn/experimental/trunk/l3packages/xparse
  $ pdflatex xparse.dtx; xpdf xparse.pdf&
@Manuel see, that's all there is to it:-)
 
@DavidCarlisle Already compiled (a bit too much for me though, still not ready for that code, at least without some training).
 
7:12 PM
@Manuel yes well it was more a demo of typesetting a dtx, that one seemed appropriate
 
@DavidCarlisle Already passed that (CMD+R in my editor) :) I was reading now.
 
@Manuel emacs would run and preview documents as well, but I almost always run latex from the commandline, old habits die hard:-)
 
@DavidCarlisle That's not my style. Never known that way, never needed it. I tried once or twice, but pdflatex keeps adding all the auxiliar files not in the folder the document I'm typesetting is in. So I said to myself "never again".
 
@Manuel TeXworks of course
 
7:34 PM
@DavidCarlisle s/xpdf/apvlv/g
Mac people: using Homebrew and possibly Cask?
 
8:00 PM
oh interesting, if you go texdoc comma you get a pdf from /usr/local/texlive/2015/texmf-dist/doc/latex/comma/comma.tex any idea who wrote that??
 
@DavidCarlisle Comma Script. :)
 
@PauloCereda exactly: I'm pretty sure I never wrote \documentclass[DIV=9, fontsize=14pt, parskip=full, pagesize=auto]{scrartcl} I have no idea what any of those options mean:-)
 
@DavidCarlisle :)
 
I just wrote a new package and was looking for a small package to steal some documentation templates from but came across that, strange what you find when looking for your own packages:-)
 
8:20 PM
@DavidCarlisle Can I bother you a second?
 
8:41 PM
@Alenanno yes:-)
 
I tried this answer of yours with some symbols in Japanese (to try) but I get a mountain of errors. Both in pdflatex and xelatex. Do you happen to know what the reason might be?
 
@Alenanno xelatex should be Ok, pdflatex would take some re-arrangement as each character in utf-8 is multiple tokens.
\documentclass{article}

\usepackage{fontspec}
\setmainfont{MS PGothic}

\makeatletter
\protected\def\vvv#1{\leavevmode\bgroup\vbox\bgroup\xvvv#1\relax}

\def\xvvv{\afterassignment\xxvvv\let\tmp= }

\def\xxvvv{%
\ifx\tmp\@sptoken\egroup\ \vbox\bgroup\let\next\xvvv
\else\ifx\tmp\relax\egroup\egroup\let\next\relax
\else
%\hbox{\tmp}%original
\hbox to 1.1em{\hfill\tmp\hfill}% centred
\let\next\xvvv\fi\fi
\next}

\makeatother

\begin{document}

\vvv{これは私のタイトルです}

\end{document}
@Alenanno I have no idea if that makes sense, but I get that output from xelatex
 
Thanks
I'll look into it :D
 
@Alenanno how good is my Japanese? When I tried Italian, @egreg was not very impressed
 
8:58 PM
Ahah it's good!
:D
But I have a weird problem. Basically I have some files that I only use for answering on this site. If I paste something in (with xelatex), it always shows the previous code typeset result, not the new one.
It's so annoying.
So I can't see your code >_>
 
@DavidCarlisle You are a master of all languages. :) @egreg is probably envious of how prolific you are in Italian. :)
 
@PauloCereda Eu sei .
 
@DavidCarlisle o.O
 
 
1 hour later…
10:23 PM
What kind of warning is " I can't find file `OT'."? :|
 
@Alenanno That you have requested a file named OT'. which doesn't exist.
 
But I haven't...
uhm
 
@Alenanno Apparently some erroneous input somewhere. Some context?
 
Ah uhm. I think I fixed it, and by that I mean I used David exact code. It didn't like my packages lol
 
anyone want to test a new package? (written for forest package, mostly)
@Alenanno sounds like an excellent plan:-)
 
10:40 PM
How to test if I'm on a new page already, e.g. the last page contained sufficient vertical material to be filled from top to bottom?
 
10:53 PM
I don't think this is appropriate as a Q since there's no 'right answer', but how should I go about introducing graphical elements (large grouping box-corners, in my case) into an environment defined under expl3 syntax?
 
@DavidCarlisle It works in a tabular but the space between the characters disappears in the tabular?
 
@Alenanno vertical space, in a tabular c column?
 
@DavidCarlisle Yes
I'll put a screenshot
 
@Alenanno no need
@Alenanno add \baselineskip=\normalbaselineskip inside the cell before doing this
 
11:09 PM
@DavidCarlisle ...aaaaand to apply it to every cell? In your command?
 
@Alenanno just add it to the command, more or less anywhere:-) actually safest to add it after each of the \vbox\bgroup
 
@DavidCarlisle Awesome! Thanks
 
@egreg your counts were a little unfair to @ChristianHupfer (although only a little) as most of those are not latex counters defined via newcounter (same could be said of my 2^{16} number of course:-)
 
11:30 PM
@ChristianHupfer I am once again critizicing your code. :-p
 
@DavidCarlisle @egreg: I did not look for some internal counters which are used only for temporary storage. Such counters as secnumdepth etc. are more crucial
@Johannes_B: Yes, go ahead
 
@ChristianHupfer latex counters are different (but implemented with) count registers as allocated with \newcount, \newcounter also adds the counter to latex's structures so that, for example \include will preserve (only) latex counters for skipped files. But still it's essentially an open list:-)
 
@egreg I ate very very delicious lasagne today.
 
@DavidCarlisle: I think, my question is still unclear. I should not have posted it. I know about the count registers. I was after a list of counters which are often asked about in questions here, why some feature is not seen or disabled (e.g. \setcounter{tocnumdepth}{0} etc.) (No, I don't mean \if... statements
 
11:48 PM
@ChristianHupfer yes but for many uses the latex counter tocnumdepth and the register \c@tocnumdepth can be taken to be the same thing, so there is a temptation to say there are hundreds (or thousands in etex) of such things. but probably there are a lot less, but whether it makes sense to list a table of contents parameter next to some tikz parameter, just because they happen to be integer counts, and not list related dimension or macro parameters, isn't so clear.
 

« first day (1651 days earlier)      last day (3280 days later) »