« first day (960 days earlier)      last day (4268 days later) » 

00:21
@egreg: we won! :)
 
3 hours later…
03:26
anyone up?
03:39
@Nasser Yes, use another editor. Do you maybe have a blank line in a math environment? That's not allowed.
04:04
@nuttyaboutnatty yes
 
5 hours later…
08:38
@Nasser The error message shows you the line number at which the error is detected (usually end of file or a \par), and also the first line of characters of the input argument that is not terminated. It usually doesn't take much searching in the editor to find that.
 
2 hours later…
10:35
@percusse I thought the saying "What happens in Vegas, stays in Vegas" gave some sin-proof shield. :P
11:33
It's too quiet here. :(
11:48
3
Q: acronym - tabular -- weird spacing while using \ac

RicoI'm currently writing a Lab-Report, using a lot of acronyms and tables. What I have so far looks like this: \documentclass{standalone} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{booktabs} \usepackage[allowlitunits]{siunitx} \DeclareSIUnit{\pH}{pH} \u...

any ideas?
@Rico it's answered in the comments isn't it (you need \leavevmode)
I can't use firefox on the main site today:( No editor (neither visible {} buttons nor the usual control- shortcuts work) Had to switch to Chrome:(
@DavidCarlisle Oh no!
@DavidCarlisle this looks more like a workaround for me
12:11
@PauloCereda Did you see the match?
@Rico given a bug in a package either you apply a workaround or mail the maintainer and wait for a fix, either way adding \leavevmode is the right thing to do.
@Rico Switch to acro and make @cgnieder happy?
@egreg actually he fixed this bug in his package so Im thing of switching in my theses but not for this report would be to much work to do
@Rico coincidentally it's the issue (and same fix) as this one from yesterday (which of course is not a package bug in this case)
7
A: tabularx \hline introduces blank line above

egregThe definition of \, is % latex.ltx, line 1304: \DeclareRobustCommand{\,}{% \relax\ifmmode\mskip\thinmuskip\else\thinspace\fi } In your case, the \, alone in the first table cell is not scanned in math mode, so it is translated into \thinspace, whose definition is % latex.ltx, line 1315: \...

@Rico So add \expandafter\def\expandafter\ac\expandafter{\expandafter\leavevmode\ac} after loading acronym
12:19
@egreg nice! I'd add this as an answer if you don't mind
@Rico It's the same as the fix proposed by @cgnieder, it just doesn't require etoolbox
@egreg ok
 
1 hour later…
13:42
@egreg only after the update reached CTAN... (\leavevmode was missing there, too :( )
@egreg I watched some highlights. :)
@PauloCereda Nice kick by Pirlo. :-)
@egreg Very nice indeed! :) 100th game with the Azzurra, I guess. :)
@PauloCereda Yes. The first mid-fielder to reach 100 caps
The other four players are two goalkeepers (Buffon and Zoff) and two defensive players (Cannavaro and Maldini)
Buffon is on his way to overcome Cannavaro (129 to 136)
@egreg When I started to play soccer, I was inspired by Maldini. :)
14:02
Hola a todos
14:34
@MarioS.E. Ciao!
@MarioS.E. Yo!
@PauloCereda @egreg Don't you think is weird we use both in spanish and portuguese "chau" for good bye only?
I mean, assuming italian is more "latin" than spanish and portuguese, shouldn't we use "chau" for "hello" as well?
@MarioS.E. In Italian it's used both for “hello” and “good bye”
where is Allan Munn?
@MarioS.E. It was incorporated in Brazilian Portuguese due to the heavy influence of the Italians around here, but only for good bye. And Portugal incorporated it only for good bye because of the influence of the Brazilian soap operas. :)
14:43
@MarioS.E. The word comes from Venetian: its origin is the salutation “sciavo vostro” (I'm your servant). The “sc” is pronounced separately, not as in Italian “sci" (with the “sh̦“ sound of English), so it's like “sčavo” (using a pseudophonetic representation). The "v" was pronounced evanescent in Venetian, then also the “s” was dropped giving “ciao”
@egreg Wow, I never would have guessed that
@egreg is "sciavo" servant or slave?
(I'm asking because in spanish slave is "esclavo")
@MarioS.E. Literally it's "slave", but a better translation for this case is "servant".
spanish does have "a su servicio" (at your service)
@MarioS.E. Also "servo vostro" was used, mostly between equals in rank.
@egreg I remember my Nonna once told me that if I ever met the Pope (go figure, my grandma thinks I'll meet the Pope some day) I should say "fortunatissimo il conocerlo" or something like that. I don't remember now...
14:52
@Mario: if you want to summon our favourite linguist, you need to look in the mirror and say "@AlanMunn, @AlanMunn, @AlanMunn!" very fast. :)
4
@PauloCereda You win a star!
@MarioS.E. I'm afraid your grandma was wrong. ;-) One should only say "Santità" and kiss the ring kneeling. ;-)
warning: do not ever use the package varioref and use \verf if you plan to compile with htlatex. htlatex does not support it, and table of content get chopped off and not displayed correctly. Took my 3 hrs to find why this was. either use \ref or use conditional coding for pdflatex vs. htlatex
@egreg Exi a me, quia homo peccator sum, Domine!
what a thing to say — David Carlisle 27 secs ago
@Nasser if you want the vref forms in the pdf then it is easy enough to load varioref but define \vref to be \ref in a conditional block) Since the main point of varioref is to interact with pagination it doesn't make a lot of sense in an html form anyway.
15:01
@egreg Reall? Well, according to all the publicity for the new Pope, most likely he'll go: "just call me Pancho"
@MarioS.E. That might be. :)
@DavidCarlisle thanks. I was using verf and it works in pdf. but when I started using htlatex on this file, I notice TOC is not showing in HTML for some reason. it turned out becuase htlatex does not handle \vref. But it was hard to find this. I just changed it to \ref for now so I can get htlatex to work. Thanks,
@egreg hello
@Nasser just adding \if\htlatex \let\vref\ref\fi should be enough
@egreg Have you seen the video of Mujica with the Pope?
15:07
@DavidCarlisle oh, ok. I have to learn how to do these things. I did global search and replace. Will fix and do it as you suggested. I am really a newbie in Latex since I use SWP to write everything. It hides all this from me :)
@MarioS.E. Who?
@PauloCereda The president of Uruguay
@MarioS.E. ooh! I didn't see, what happened?
@PauloCereda Nothing really hehehehe, they just seemed like old friends, and they were both really excited about meeting each other. They kept hugging and both of them were happy the other one had the position they had. Somewhat like both were saying "finally someone right in the right place at the right time"
@MarioS.E. I've heard about the Pope; Mujica is totally unknown to me.
15:12
@egreg He's called the "the poorest president of the world"
@MarioS.E. Ah I see. :) If I'm not mistaken, he's an atheist - Mujica, of course! :P
José Alberto "Pepe" Mujica Cordano (; born 20 May 1935) is an Uruguayan politician, and President of Uruguay since 2010. A former guerrilla fighter and a member of the Broad Front coalition of left-wing parties, Mujica was Minister of Livestock, Agriculture, and Fisheries from 2005 to 2008 and a Senator afterwards. As the candidate of the Broad Front, he won the 2009 presidential election and took office as President on 1 March 2010. He has been described as "the world's 'poorest' president", as he donates around 90 percent of his $12,000 monthly salary to charities to benefit poor peopl...
@PauloCereda An atheist Pope would be quite a thing!
@egreg :)
@egreg sorry
15:17
@PauloCereda I'm inclined to think that some of the Renaissance Popes were atheist or very near to being it.
@egreg So true.
@egreg I was just about to say the same
@user4035 About what?
@egreg about interrupting
@user4035 Just chatting about nothing. Don't worry.
15:18
and about not using the standards and high level code in low level functions
actually, in that question I was able to calculate the sum
maybe, in an ugly manner
What I couldn't do is to accumulate the elements of the sum into a variable, so I could output: "1 + 2 + 3 = 6"
\tl_new:N \__text
\mmmmxxxv_define_fp_var:Nn{\Total}{0}
\seq_map_inline:Nn \l_mmmmxxxv_fp_seq
 {
   %here I don't understand, how to check that we are processing the last
   %element of sequence and don't put '+'
   \tl_put_right:Nx \__text {\getfpvar{#1} +}
   \fp_add:Nn \Total #1
 }
\show\__text
I am accumulating it into __text variable
and it is there, but I couldn't print it
@user4035 The problem is that commands defined with \NewDocumentCommand aren't expanded by x type commands.
@user4035 Is there something you don't understand in my answer?
MiKTeX users: does the distro have kpsewhich?
@egreg looking carefully at your code
@PauloCereda Aquamacs 2.5 has been released. Now with shining Retina display support!
@egreg I'll try to explain it in words: your answer generates the sum of a sequence and prints it: (1,2,3). Sum = 6. I wanted not only to print the sum, but to print elements of the sequence, separated by plus symbol and then letter "=" and then the sum. So instead of "6", it should print "1 + 2 + 3 = 6". That's why I defined \tl_new:N __text and stored every element there.
15:31
@user4035 Oh, that should be easy to add. :)
@egreg WOW! How does it look for you?
@PauloCereda it looks much better than vim
@DavidCarlisle That's cruel. :)
@PauloCereda I'm not on my laptop now. It's at home.
@egreg Oh. :(
15:33
@PauloCereda The truth sometimes hurts
@DavidCarlisle LOL
I'll update mine now.
I don't suppose anyone else has lost editor functions on the main site in firefox have they? I just updated firefox and still not working, but I assume it was a firefox change not a change at stackexchange. (looking in firebug the div to hold the editor buttons is empty...)
@DavidCarlisle What version of firefox?
I updated mine on Linux Slackware to 21, no such bug
@user4035 Updated answer on line.
@egreg looking
15:45
@user4035 24.0a1 (2013-06-17)
@user4035 I live on the edge:-)
@user4035 Heading home. I'll be on line in a couple of hours.
!!/battle
@DavidCarlisle /bump
@DavidCarlisle Oh wait.
!!/battle
@PauloCereda yes, that is a danger of using nightly
@PauloCereda Psmith, the TeX bot: The current score is egreg 0 vs. 205 David. So far, David is winning.
LOL bug in the battle command.
!!/battle
15:47
@PauloCereda Nice but probably not true
@PauloCereda Psmith, the TeX bot: The current score is egreg 0 vs. 205 David. So far, David is winning.
Hey!
o.O
!!/battle
!!/battle
@PauloCereda Psmith, the TeX bot: The current score is egreg 230 vs. 205 David. So far, egreg is winning.
hehe
@PauloCereda the truth hurts
15:48
@egreg: A small question to your code line:
% since \seq_use:cnnn doesn't exist, we create it
\cs_generate_variant:Nn \seq_use:Nnnn { c }
Why does it work? I thought the correct syntax is:
\cs_generate_variant:Nn \seq_use:Nnnn { cnnn }
May 28 at 17:46, by Paulo Cereda
@PauloCereda Psmith, the TeX bot: The current score is egreg 230 vs. 745 David. So far, David is winning.
@egreg Thanks, you did it even more flexible - it can eval the functions and not only sum. Accepted.
16:00
@JosephWright: OMG IT'S JOSEPH!
We miss you. :)
@PauloCereda Hello
@JosephWright Hi! How are you? :)
@PauloCereda Fine. Been on holiday: unreliable connection
Just to be sure, guys: Karl is the author of kpsewhich, right?
@JosephWright Oh no! :)
@MarcoDaniel That's the recommended approach: only specify what is required
16:01
@JosephWright Ah thanks.
Meanwhile, at the German Community TeX Blog chatroom:
<3
@MarcoDaniel ooh moar arara. :)
For me this question is Off Topic. It seems to be an issue with Windows or Dropbox: tex.stackexchange.com/questions/119533/…
@PauloCereda yes it's part of (k)arl's (path) (sea)rch library
16:10
@DavidCarlisle OOOOOH!
I thought the k had something about a preliminary hook in KDE. :)
16:21
@DavidCarlisle: Do you know a quick way how to get the maximum skip of a skip register. The idea is to convert 2cm plus 0.4 cm minus 0.3cm to maxskip=2.4cm minskip=1.7cm and skipnoglue=2cm.
This answer is correct tex.stackexchange.com/questions/12773/or-left-parentheses  I did not notice there is an extra space when comparing

$H(s)$

 $H\left(s\right)$

until I zoomed in the PDF
The problem is that SWP add \left( and \right) for everything :( . Need to find a way to clean all this from the generated code if not needed
Also, look at the effect on HTML generated by htlatex. It is even worst than the above. I wonder if this is known issue in htlatex and if I should post as a question on main board. Here it is
Here is the generated HTML as well
I can't figure how to fix this. Would this ok to post on main board as a question?
@MarcoDaniel \gluestretch \gluestretchorder and same with shrink (texdoc etex page 9:-)
@DavidCarlisle You have opened the doc ;-) Thanks.
@MarcoDaniel I might just have remembered the page number
@Nasser You can ask about left/right but I don't think problems specifically with htlatex conversion are on topic (although the occasional one is let slip through)
@DavidCarlisle the spacing with \left and \right) issue already mentioned in the question I linked to above. It is just its effect on htlatex is strange as you can see. Will check more htlatex documents, may be there is an option there I am missing.
16:38
What do you think? Should a moderator talk with the reviewing user @Papiro? See his review history, today 16. See for example
0
A: In LyX with classicthesis.sty, cross-references to Chapters don't work

NicoI add the same problem but I find a way to make it working. Let's say I have : Chapter 3 Test of chapter If I put the label here : Chapter 3 Test of chapterLABEL it doesn't work. But, putting it here : Chapter 3 LABELTest of chapter seems ok. Hope it will help. Nico

@Nasser since I have worked for 15 years to avoid mathematics being rendered as images in html I struggle to have sympathy with a page doing that that looks horrible:-)
5
!!/battle
@DavidCarlisle Psmith, the TeX bot: The current score is egreg 245 vs. 260 David. So far, David is winning.
ooh
@egreg good trip home ? ^^^^^
@DavidCarlisle You are mean today. :)
16:47
@DavidCarlisle I changed the way I do things. Now I worry about the layout being good in PDF first, then html second. Before I was doing it the other way around. Now I just fix latex so that PDF output is good. I find it is impossible to make both look good all the time. There is always distortion in the translation. Trying to fix each is waste of time when one have 100's of latex files to build all the time.
one day, maybe someone will invent a system that convert Latex to HTML the same way as it will show in PDF. Whoever does this should get the Nobel price in Latex
@Nasser every night I build our library doc which is 11500 or so pages of pdf and 3000 html files in the html version
@Nasser There is already an implementation of tex in javascript (texlive.js) that will do that (for supported packages) and several implementations of pdf rendering that will do same, but why? If you want it to look just like the pdf, serve the pdf.
@DavidCarlisle You mean from Latex?? What do you use? A Latex to HTML program you wrote internally? I only know of tex4h, latex2html and latexml out there.
@Nasser no we write in a custom XML format and generate pdf and html from that.
@DavidCarlisle Ok, so it is an internal software to convert your latex to HTML and pdf then? No available for public to use. That is what I meant.
@Nasser we don't use latex:-)
16:56
@DavidCarlisle OMG !!! you do NOT use latex !!
@Nasser I just chat here for old time's sake, I haven't used latex for years.
@DavidCarlisle can I ask what do you use to write original document in? isn't latex supposed to be the best for math? I already bought 10 books to learn Latex. I can still return to Amazon if I know of something better. What do you use please??
I can't imagine what it can be. I thought Latex what everyone used here.
@DavidCarlisle: Based on your great documentation hint ;-) I was able to build the following example. However I am not satisfied.
\documentclass{article}
\usepackage{expl3}
\begin{document}
\ExplSyntaxOn

\cs_generate_variant:Nn \skip_split_finite_else_action:nnNN { N }

\skip_gset:Nn \g_tmpa_skip { 2pt~plus~.4pt~minus~.3pt  }
\skip_split_finite_else_action:nnNN \g_tmpa_skip {  } \g_tmpa_dim \g_tmpb_dim



\begin{tabular}{ll}
	Skip~orig:           & \skip_use:N \g_tmpa_skip \\
	stretch~component:   & \dim_use:N \g_tmpa_dim   \\
	shrink~component:    & \dim_use:N \g_tmpb_dim   \\
	Skip~without~strech: &
	\skip_gset:Nn \g_tmpb_skip { \g_tmpa_skip - 0pt~plus~\g_tmpa_dim~minus~\g_tmpb_dim }
@DavidCarlisle and is it possible to look at example web pages of your output? or is this all internal work?
@MarcoDaniel: I have shocking news about arara. :)
17:03
@PauloCereda Come on. ;-)
@MarcoDaniel I'm working on v4.1. :)
@PauloCereda What? And 4.0?
We need a new wiki page ;-)
@MarcoDaniel We will have a version leap. :)
@MarcoDaniel Not now. :) v4.1 will be v4 + cooler stuff. :)
@PauloCereda What do you have in mind?
@MarcoDaniel Expect an email.
:)
17:07
@Nasser He works at NAG, so I guess it's the documentation found here for example: nag.co.uk/numeric/fl/fldocumentation.asp
@PauloCereda ;-)
@N3buchadnezzar Hello.
Trying to recreate the sierpìnski triangle in latex
17:34
\documentclass[12pt,a4paper]{article}
\usepackage{pstricks,pst-fractal}
\begin{document}

\begin{pspicture}(5,5)
\psSier(0,0){5 cm}{4}
\end{pspicture}

\end{document}
@TorbjørnT. Any obvious reason this fails?
@N3buchadnezzar I never use pstricks, so I don't know.
@TorbjørnT. No, I have not. Thanks. But he continues only to add welcome, but does no edits or nearly not. I have asked him but got no response ... And now User Anthon restarts massive no need reviews ...
Oh, I just meant if I used the wrong packages/names for them.
@N3buchadnezzar Actually, it works just fine here, when compiled with xelatex.
Mine will not compile =/
17:38
@N3buchadnezzar What errors do you get?
@N3buchadnezzar How about TikZ?
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{lindenmayersystems}

\begin{document}
\begin{tikzpicture}[l-system={step=5pt, order=5, angle=120}]
\pgfdeclarelindenmayersystem{Sierpinski triangle}{
\symbol{X}{\pgflsystemdrawforward}
\symbol{Y}{\pgflsystemdrawforward}
\rule{X -> X-Y+X+Y-X}
\rule{Y -> YY}
}
\draw [blue] (3,2) l-system
[l-system={Sierpinski triangle, axiom=X, anchor=north east}];
\end{tikzpicture}

\end{document}
@DavidCarlisle Nice trip. A bit too hot, actually. I was with my scooter, today.
17:54
@Jake I will post a question about it, so you can gain some reputation off my sillyness ;)
18:06
I have a kvoptions question: when you set up a string option, you end up with a macro that holds the string. What's is the usual way to deal with the code associated with that option?
@AlanMunn Depends on the use case: could be a \csname, an \ifx test or just direct use
@JosephWright Ok, that's what I thought; I was just wondering if I was missing something. Thanks.
Take up on our upcoming LaTeX course looks healthy :-)
18:22
@JosephWright That's encouraging. BTW, I've been away for a few days so I'm just now seeing the new close reasons link you posted. I think we had very good use for Too Localized and now it's gone. It's very unclear to me which of the off topic reasons would be equivalent. Can we make our own TL?
@AlanMunn We can't make our own reasons: I agree its a problem (as indeed is flagged up in the meta thread) as there is no good way to cover something that is on-topic but which we want to close.
@JosephWright Right. And especially things like "my system was misconfigured but now it's not" type problems.
@AlanMunn Quite: on topic and clear but not of wider interest
@JosephWright But it seems that in Point 5 of the meta question it says that closers can enter a free form answer which will appear in the comments and then be available for other closers to choose. I understood that to be a way for us to create our own TL if we educate users on that.
Of course education is a pain in the neck as we see with the recent "removing thanks" thread in our Meta.
@AlanMunn I'm in the middle of writing an answer. :)
18:29
@PauloCereda Good. I was thinking about adding one too; I'll wait to see what you have to say.
19:03
!!/battle
@egreg Psmith, the TeX bot: The current score is egreg 260 vs. 260 David. So far, nobody is winning today.
Hey guys, BibLaTeX is shortening author = {Rao, Ying-Li} to Y.-L. Rao. Is this correct? Shouldn't it shorten to Y. Rao?
@Canageek That looks right
Or Rao,Y.L. Which is how she normally shortens her name?
Well, Y. L. Rao in this citation style?
19:07
@Canageek BibTeX looks for capital letters here, so Rao, Ying-li would be needed for only one initial
@JosephWright Ok, if that is correct, it just looks odd with the - in there
@Canageek Standard
@DavidCarlisle I see, I know Nag ofcourse. I am still not sure how is the math written though? For example, looking at this page nag.co.uk/numeric/fl/nagdoc_fl24/html/D03/d03eef.html How is all this math done? What is the source written in if not Latex? And how much easier it is do math in that compared to Latex?
@JosephWright Ok then, odd, I've never seen it before. It just seemed wrong since I know she cites her papers as Y. L. Rao.
@Canageek Doesn't make it right ;-)
19:08
@JosephWright Fair. I'll leave it as it is then.
@Nasser we write the math in (slightly modified) MathML
Anyway, my watch just went off telling me that I can bring stuff into the glovebox, so I have to go
@Canageek For example, I have a Chinese friend at Scripps (scripps.edu/yu). He always uses J.-Q. Yu, even though the 'correct' transliteration of his name is just Jinquan
@Canageek Have A Lot Of Fun!
@JosephWright I might do it after lunch, dropwise additions suck
Air sensitive dropwise moreso
@Canageek In the box?
19:10
Also: It is hilarious. IN this lab all the male grad students use LaTeX, while the (male technophobe) prof and female grad students use word
@JosephWright Line, I just have to get the nBuLi out of the box
@Canageek Ah, right
@Canageek We keep our BuLi in the fridge in a Youngs' tap ampoule
Or are you using it as a solid?
@DavidCarlisle OMG ! You mean you actually write in mathml itself?? isn't this like writing in machine language vs. high level language? I thought Latex was hard, but mathml is 1000 harder isn't? I do not think Nag can pay you enough for what you do in this case.
I thought mathml was what gets generated as output by other system. I did not know there are folks who actually program in it directly. My eyes get tried just looking at mathml code for more than 10 seconds.
@Nasser No It's pretty easy really. The documents were at one time SGML with TeX fragments for math (similar to mathjax html with tex ) but our (human) document editors much prefer the pure xml version with the math in mathml as they get real time validation while typing and it is just more natural to use the same markup for text and math so links to parameters etc are the same, and using xml by hand gives us the fine control we need, we generate vast amounts of code from the same XML...
... if you see a documented constraint we generate the C and c# and,,, code to check that constraint from the same XML. So we need exact control, generating it from a wysiwyg view wouldn't really work.
19:46
@PauloCereda Well said.
@JosephWright liquid, but we do most of our stuff in the glovebox, so we just keep it there. Makes it easier to measure out too, as we do the plastic tube with a knot transfer method, as opposed to having to pressurize the bottle, use a long needle, etc
@DavidCarlisle My irritation right now is some journals are offering a 'render as MathML' button, but if I hit it all the math renders correctly, but is far, far larger then the text around it, which means the page suddenly looks hidious
@Canageek Don't know plastic tube/knot method: use a graduated ampoule (measuring cylinder adapted) myself
@JosephWright (in the glovebox) measure everything into a syringe, then swap needles for one with a plastic (nylon?) tube on the needle. Then seal the syringe end of the needle to the syringe with parafilm, and tie a knot at the end of the plastic tube.
@JosephWright Take it out of the glovebox, over to your reaction, turn the N2 on high, open the conteasee (sp?) valve and put a cork stopper with a notch in it in place of the valve. Cut the knot off the end of the hose, insert the hose, then stand there forever while doing the dropwise addition
@JosephWright We use contease (sp?) valves for everything instead of septums, so this is a lot easier then a long needle, and you don't have to clean it
@AlanMunn Thanks. :)
20:14
@Canageek Ah, Kontes valves: rip-off Youngs' taps :-)
@Canageek got a link? MJ doesn't do that by default, perhaps they mis-configured
20:48
@DavidCarlisle let me figure out what journal it was...
@DavidCarlisle Gotta go: Any of the Science Direct ones
21:02
@Canageek thank, will look.
@Canageek hmm looks like I'd have to pay to see:-)
@DavidCarlisle What would you be looking for? Would a screen shot suffice?
@AlanMunn possibly although view source might be better or actually I might just not worry about it:-)
@DavidCarlisle I picked a random chemistry journal from ScienceDirect just to see and got the following (which seems right) [images to follow]
21:16
@Canageek do you see something else?? ^^^^ (Thanks @AlanMunn)
Very short, is there a simple way to write 1 instead of (1) using the subcaption package? (MWE here)
@N3buchadnezzar \captionsetup[sub]{labelformat=default}
21:33
Ah!
@PauloCereda It doesn't work with every link.
!!/battle
@egreg Oh. :(
@egreg Apparently Psmith was down. :)
!!/battle
@PauloCereda Psmith, the TeX bot: The current score is egreg 290 vs. 290 David. So far, nobody is winning today.
OK, here it goes, from Jeff Atwood: "Window at vet hospital engraved with a Gandhi quote. In comic sans. So I imagine Gandhi in a clown suit, calliope music, juggling balls."
@PauloCereda For someone like Gandhi, fonts are of little concern.
So here's Elsevier's "Help on .doc files":
Read carefully, especially if you're a Mac user. :)
@AlanMunn Writing a paper in Excel! Nice!
21:46
@AlanMunn LOL
@AlanMunn We could export this spreadsheet to LaTeX + longtable. :)
@PauloCereda got a second?
@Rico Sure. :)
@PauloCereda I've got a includestandalone problem again, I would like to send you a file of mine so you could check if you are able to include this file
21:53
@Rico OK.
@PauloCereda mail? dropbox? googledocs?
@Rico texdoc arara, my email is in the cover. :)
@PauloCereda can't get more geeky :D
@Rico Don't underestimate my power!
import binascii
binascii.unhexlify(b'6365726564614075736572732e73662e6e6574')
Python code. Good luck. :)
Dear Lord,
Save me, from Black Death
Cholera and hemroids,
And PLEASE PLEASE PLEASE
save me from Python code!
21:59
@Rico Spooky isn't it? :)
@PauloCereda isn't it easier to use with print( ) around the last line (or am I calling it wrongly?)
@PauloCereda Happily its not Pearl - Probably the longest emoticon worldwide....
@DavidCarlisle If you are calling in the interactive shell, it does not need print, since a string is returned and its value printed in the terminal. If it's in a script, then print(...) is needed. :)
@DavidCarlisle: by the way, that's Python 3.x code. If you have Python 2.x, use this one:
"6365726564614075736572732e73662e6e6574".decode("hex")
@PauloCereda I don't know python at all, It tried it got nothing tried adding echo, got an error, tried adding print, bingo:-)
@DavidCarlisle oooh! :)
@DavidCarlisle Neither do I know Python, I'm not a fan. :)
22:03
@PauloCereda you've got mail
it worked with $ python --version
Python 2.6.8
@Rico Got it. :)
@Rico: you got mail. :)
@PauloCereda Got it. :)
@PauloCereda interestingly the standalone file works fine for me, too. What does not work is the inclusion.
@Rico Both works. :(
@PauloCereda I just tried it again, standalone works fine. The include give the following error...:
@PauloCereda ! File ended while scanning use of \@newl@bel.
22:19
@Rico No idea. :(
@PauloCereda Got mail :)
22:37
Hi @HarishKumar! :)
@Rico Mail for you too. :)
@PauloCereda mh :/ I tried removing standalone and everything else simply using naked tex code and \include but even this does not work
@DavidCarlisle There you go, it doesn't look too bad in this case, but you can see it looks very different. It looks much worse when they typeset chemical names or such with it, and they are suddenly in a diff rent font within the paragraph.
@PauloCereda Hi Paulo. How are you?
@PauloCereda now I am not able to compile the standalone. I let it be for today maybe there will be a question on tex.sx tomorrow...
@HarishKumar I'm fine, thanks. :) And you? :)
@Rico Do not despair. :)
22:47
@PauloCereda too late :P
@Canageek thanks, could be worse:-) Just to make sure I understand, the one with the "turn mathjax on" button is using images and the one without is using mathjax (what renderer is it using, from the right menu?)
@PauloCereda Paulo. Nice. :) I saw the conversation. Karl is very friendly, helping and is the life line at winedt mailing list. That is why I pulled him to TeX.SX. :) He is interested in arara and changes that happen with arara v4. May be one day I will request him to get on board trello (arara) :)
@HarishKumar Awesome! :) Would you like me to send an email to him? :)
@PauloCereda That will be very nice. Do you have his mail? Shall I mail it to you?
23:00
@HarishKumar I do not have his email. If you could share his... :)
Writing mail to you right now :)
@HarishKumar: By the way, we will probably have a version leap in arara: from v3 to v4.1... (I had some crazy ideas!)
@PauloCereda mailzzz.
@HarishKumar mailzzzz. :)
@PauloCereda Thanks.
23:07
@HarishKumar My pleasure. :) Thanks for Karl's mail. :)
@HarishKumar ooh! :)
@DavidCarlisle Yeah, I think so. In line if it is simple it will sometimes use HTML to typeset the equation, but these are all images
@DavidCarlisle This one doesn't look bad, I'll send you one that looks terrible the next time I see it.
@DavidCarlisle There you go, is that what you wanted?
@Canageek thanks
23:26
I am using

\begin{Verbatim}[frame=single]
find . -name "*.txt" -print0 | xargs -0 egrep 'string'
\end{Verbatim}
And the quote show up stright UP fine in PDF since I am using this:

\usepackage{fancyvrb}
\usepackage{upquote,textcomp}
So pdf looks good. the 'string' shows exactly as it is in verbatim. But I am having hard time with htlatex, even though it is using monspace, the quote shows at angle. Like this
I was wondering if this an htlatex issue or I should go ask in HTML groups. I thought monspace should fix it. Removed Courier and kept monospace, but the quote still shows up at angle in HTML. This is another example of what I mean by the translation from Latex to pdf vs. html is never the same.
@DavidCarlisle Welcome. Hope this helps? Someday I won't have to download the PDF to get nice formatting.
@Canageek one day....
23:41
@DavidCarlisle When I'm 80, and only a few nerds still use the 2d internet, with everyone else jacking in via a direct neural connection....
@Canageek possibly, but we may get latex3 done by then as well so it'll be worth the wait
@DavidCarlisle And a few decades after that someone will make a really nice LaTex3 to HTML8 converter ;)
@Nasser It's not using monosapace at all in the html, that's sans serif but with fi ligatures, the i is clearly not the same width, does htlatex know about Verbatim, what happens if you use regular verbatim?
in HTML like this:
<PRE>
 'test'
</PRE>
it looks just fine :(
@DavidCarlisle I'll look, I am really confused with all the htlatex configuration. I'll see what I can find now
@Canageek well once chips are fast enough to do tex/pdf rendering in real time as you resize the window, using a proper typesetting enging in a browser becomes a possibility
23:50
@DavidCarlisle They aren't far off from that now, are they? I suspect if there was enough money and smart programmers behind that we could have that already
What we really really need is a GUI configuration tool for htlatex. Like for apache web server. Easy GUI one can use menus and select things. This is really a nightmare have to configure htlatex
@Canageek well except the users keep using tikz and it takes half an hour to simply load the packages
@DavidCarlisle I mean, from what I understand the Tex code isn't super optimized, even at the C level, is it? Let alone going through and doing a assembly-level optimization of the engine like they do for video codecs.
@Nasser oops does apache web server have a gui, I must have missed that I always just edit the config file in emacs:-)
@DavidCarlisle Well, except for them, though if you were just reflowing things on a page and rescalling you might be able to find clever ways around that by storing things between compiles more then you do now.
23:53
@DavidCarlisle yes ofcourse. Everything has easy to use GUI configuration these days
@DavidCarlisle Usually there are some third party stuff.
@Canageek yes/no the algorithms are highly optimised (Knuth knows something about algorithms) but the original implementation language being pascal (and still only getting to C via web2c translation) probably doesn't lend itself to optimisation at the instruction set level , apart from which it's almost all integer processing.
@DavidCarlisle LOL
AOTCP FTW.
Yeah, that is why I said at the C level. I assumed all the ideas were really optimized (except possible, the page by page thing. If it looked at more then one page at a time it is possible you could find gains there

Or possibly use a GPU. If it is just a lot of number crunching they have much higher clock speeds then CPUs, right? I know they are designed around floating point math, but it seems like there should be some way to take advantage of it.
stares at solvent slowly bubbling off
23:58
@Canageek yes page breaking is optimised but optimised to keep memory consumption at workable levels in 1979, which probably isn't quite the right thing to be optimising now:-) (However as Heiko showed recently it does allow TeX to generate documents with a couple of million pages, which is hard to do in your average word processor
@DavidCarlisle Yes. Actually, wouldn't moving to a pageless model almost be necessary for a real time compiler? Once you leave the PDF/printed world then you don't have pages anymore....

« first day (960 days earlier)      last day (4268 days later) »