« first day (2382 days earlier)      last day (2548 days later) » 

12:21 AM
@Mico Congrats!
 
1:22 AM
Facebook is being hacked? :-)
 
 
5 hours later…
6:32 AM
@DavidCarlisle Good Morning. In my home I do not have internet and I'm in the car when I connect through hotspots. If you notice I always connect at the same time in the evening when I can. When I write in the morning I'm in school.
@egreg, @Werner, @ChristianHupfer, @Bernard, @JosephWright @Mico and everybody Good morning and good work.
 
6:47 AM
@Sebastiano Well there's that great invention called charger. Or do you disconnect from electricity grid every evening?
4
@Moriambar Meanwhile my TL17 installed the new typoaid version. I love your roadmap. Short and precise ;)
 
@TeXnician Yes, I see the finish line
 
@Moriambar Oh, that can be elusive. I look forward to the LuaTeX stuff.
 
@TeXnician I'm just studying lua. I think it will come soon enough
 
@Moriambar Great ;) How about your job? Did you abandon programming?
 
@TeXnician not at all. I deem it nearly impossible: I don't know what else I could do. Also it's a change that will require a lot of time. At least a couple of years
 
 
2 hours later…
8:29 AM
@JosephWright My predictive skills haven't failed it seems
yesterday, by David Carlisle
@JosephWright or maybe we ask on texlive list and akira patches the driver before the hour is out:-)
 
@DavidCarlisle :)
 
@Sebastiano I hope you're not driving when you connect while you are in the car...
 
@UlrikeFischer would you like an invite to get write access to github/ho-tex ? :-)
 
@DavidCarlisle but then they would blame me if hyperref is broken ;-). (I think I'm right, but it would be good if you check a bit my reasoning. All this string conversion is a bit confusing and I don't know exactly why xetex uses ascii-print and not pdfdoc in this place.)
@DavidCarlisle @JosephWright As you are just looking at the xetex driver anyway: is there a better ("more official") method for this tex.stackexchange.com/a/368848/2388
 
8:48 AM
@UlrikeFischer will look at it later, thanks
@UlrikeFischer probably more in the spirit of the original code would be to have a declared svg type instead of making .svg use the QTm type and then checking the extension later, the svg type could be the same as QTm except load the pdf where needed. But not tried coding anything:-)
 
9:07 AM
@DavidCarlisle but this would assume that .svg should always use pdf as a fallback. But it could also be png or eps or .... Imho the setup in the question is rather local (e.g. the requirement that the .svg extension can't be removed).
@DavidCarlisle the "cast of thousands" yesterday reminded me to check the issue list but you can always ask if you see something that could be in my line.
 
@DavidCarlisle As we are doing a bit of driver work: I notice in my L3 notes that the XeTeX driver currently uses dvips-like colour specials, whereas dvipdfmx uses 'native' ones. Would you mind if I looked at pulling that into line?
@DavidCarlisle I see there is a comment about the older XeTeX back-end drivers and colour, but everyone is now using xdvipdfmx so that's not really relevant
 
9:25 AM
@TeXnician LOL
 
@barbarabeeton I had the chance of looking at your TUG slides. I can't wait for the full article to come out
 
@UlrikeFischer possibly. I only skimmed over the question. I'll look later (or you could add an issue at graphics-def github so it doesn't get lost)
@JosephWright feel free actually I have on my list of things to do one day to work out why xetex.def exists at all and isn't just (x)dvipdfm(x).def (or a copy of that for historical reasons)
 
@DavidCarlisle Isn't the Qt business involved
 
@JosephWright wow, Qt?
 
@DavidCarlisle What probably would make sense is if it loaded dvipdfmx.def the only did what needed to be different
 
9:37 AM
@JosephWright no idea, just vaguely interested in understanding the code since I'm supposed to be maintaining it:-)
@JosephWright or we could put them both in drivers.dtx and have the shared code in one place and be back in 1993:-)
 
@DavidCarlisle ooh
 
@DavidCarlisle Thus-far, for the L3 version the only thing I know is different is that colour business (which doesn't actually need to be): graphics inclusion is the obvious place to look
@DavidCarlisle Well yes, and sort-of what I'm doing in the L3 file
@DavidCarlisle What's not clear is to what extend the image inclusion has to be different: I might try forcing the driver and seeing what happens :)
@DavidCarlisle Quick test: copied dvipdfmx.def to xdvipdfmx.def in a test location and removed the last part (about \mag and paper size). With the example below all is then well:
\documentclass{article}
\usepackage{graphicx}
\begin{document}

\includegraphics{example-image-a}

\end{document}
 
@DavidCarlisle: Olá, sou um pato. See? I am ready for Portugal!
 
9:58 AM
@PauloCereda you don't need to understand what it means, but after saying that try saying Eu vou bem com panquecas chinesas
 
@DavidCarlisle oh no
 
Hello. I'm new to the TeX universe. I'm doing a project and I want to create a title page with the following elements:

Logo of university
Programme and year
Title of project
Author name
Abstract
Number of words
Software used

Pages should be numbered and there should be bibliography in the end.

How do I go about that? I'm not expecting a free lunch but it's been a bit confusing coming from a point and click world!
 
@inquirius Hello! Welcome to the chatroom! Does your university has some sort of class already or you want to start fresh?
 
No, there are no specific requirement at this point so I'll start fresh.
 
@inquirius Are you familiar with a basic TeX document?
 
10:06 AM
@PauloCereda xii?
 
@DavidCarlisle you are mean :)
 
Not exactly, I did some background reading on what to choose and I decided against LyX, which should be the easiest option but causes some problems. I just downloaded TeXStudio.
I understand that there is separation of content from formatting.
 
@inquirius note texstudio is just the editor, you also need a tex system such as texlive or miktex
 
Oh yes, I do have MiKTeX installed.
 
@inquirius not exactly true... there's no encapsulation layer per se, it's more of a discipline
 
10:17 AM
@inquirius I would start with a basic document with the "book" or "article" class and without any titlepages per se. Unfortunately I don't have any suggestions for tutorials or similar things (in english) so I think it's best you familiarize with the basic way of doing things in LaTeX that way. The titlepage can always be done later.
 
I opened the article template in TeXStudio and I wrote some lorem impsum, it seems that it builds without problem so everything is installed correctly. Unsure how to customize the template though.
 
@DavidCarlisle I've mailed the lists
 
Thanks. There are some tricky parts e.g. I wanted to add a subtitle but that wasn't displayed correctly. Then I found that I have to change the class from article to scrartcl.
 
@inquirius Don't get me wrong, but that's not the best way to start using LaTeX. :) You are delving into deeper waters, it would be better to start with smaller chunks of code. Take a look at the link I posted. If you start from your final document, you will have a terrible experience, from end to end.
 
10:34 AM
Got it. I'll just focus on writing the content in a thesis template and forget about the rest at the moment. If anything I'll learn how to write equations and do tables for now.
 
@inquirius It's a safer route. :) Right now, focus on your research and leave the aesthetics for later. ;)
 
Thanks. Bye!
 
@inquirius See ya! Have a nice week!
 
@DavidCarlisle I notice image clipping is different, but that is fixable
 
11:17 AM
I suppose I wrote that papersize stuff at the end of xetex and dvipdfx.def but why `\@ifundefined{stockwidth}{%` in one and `\AtBeginDvi{%
\begingroup
\ifx\stockwidth\@undefined` in the other, i suppose I should check the mail from that time (not really looking now:-)
 
@DavidCarlisle No idea
 
@JosephWright I think I got a something broke in ptex message with a patch that I accepted:-)
 
@DavidCarlisle Image size is detected differently in the two but to be honest I don't see a benefit of the primitive over the pipe shell escape here in most cases. One could do that conditionally ...
 
@DavidCarlisle should I wait to write my thesis for you guys to finish fixing whatever you guys are talking? :)
 
@PauloCereda of course.
 
11:20 AM
@DavidCarlisle ooh
 
@JosephWright can extractbb handle all the file types of the internal lookup?
@PauloCereda you don't want to use an inferior system to typeset your masterpiece do you?
 
@DavidCarlisle I like pain. :)
 
@PauloCereda as we see from your choice of editor
 
@DavidCarlisle I forsaw that. :)
 
@PauloCereda it's no good just predicting traps, you have to avoid them as well if you want to avoid those Chinese pancakes.
 
11:27 AM
@DavidCarlisle :D
 
I've just been told I'm due for a new machine:-)
 
@DavidCarlisle: I will make you proud, I will use my best English accent in my presentation. :)
@DavidCarlisle ooh Linux
 
@PauloCereda probably not but hopefully it won't have a big red bar on disk usage saying critically full:-)
 
@ChristianHupfer ^^ David is finally given up his IBM 5150
 
@PauloCereda atlas autocode
 
11:29 AM
@DavidCarlisle :)
@DavidCarlisle ooh Algol variant, I am listening now. :)
@DavidCarlisle: I love getting CS papers where pseudocodes are actually Algol excerpts. :)
 
@PauloCereda Colleague at next desk started here as an atlas autocode programmer
 
@DavidCarlisle That I don't know
 
@DavidCarlisle ooh awesome
 
@DavidCarlisle Even if not, a single file with just a split for this part would make more sense
 
@DavidCarlisle: sometimes when I am bored, I resort to this algol68.sourceforge.net
 
11:35 AM
@DavidCarlisle XeTeX has TIFF and GIF support ...
 
@PauloCereda We missed you at @Mico's 200K party
 
@egreg can I get some cake? :)
 
@PauloCereda @DavidCarlisle ate it all!
 
@egreg oh no
 
@JosephWright yes
 
11:38 AM
@DavidCarlisle Let's see what comes back on the lists: perhaps there is more to this (though I am doubtful)
 
@DavidCarlisle ooh
I need my VPN access...
 
@PauloCereda I just meant the reference not necessarily that you download a copy
 
@DavidCarlisle I am curious now. :)
 
11:53 AM
@DavidCarlisle @JosephWright That's what I wondered too. There are number of differences in the file types. Some of them I have never heard of. E.g. beside tiff and gif what about this pict, tga, jpf and mac type?
 
@UlrikeFischer do you know @egreg anyone really old who had a mac and would know about old mac image types?
 
@DavidCarlisle ooh
 
@DavidCarlisle I remember having tried some PICT images with Textures, but I usually dealt with EPS
 
12:10 PM
@DavidCarlisle I found a reference to some "macpaint" format: filext.com/file-extension/MAC, but I have no idea if it still exists (and if it works in a current xetex).
 
@UlrikeFischer I suspect the list would be better culled to bring things more into line
@UlrikeFischer Ancient and platform-specific
 
@UlrikeFischer That's what PICT means (files used to have a four letter code for the format)
 
@UlrikeFischer My feeling is pdfTeX-supported + EPS is 'right'
 
@JosephWright Apart from naming difference (JPEG/jpg, eps/ps) I think one should check bmp, gif and tiff. This are the graphics format not in pdflatex but in xetex.def where I occasionally see questions about. (I'm not saying that one should support them, but the decision to drop them should be concious and documentated.).
 
12:25 PM
@JosephWright although as a matter of (original) policy the latex .def files should support any formats that are supported by the driver. (but I don't know if those old mac formats really are supported if you use xetex on a different platform)
 
12:36 PM
@PauloCereda -- tout à l'heure, alligateur!
 
@barbarabeeton ooh French crocodiles. :)
 
some proper typesetting: bbc.co.uk/news/education-39846929
4
 
@UlrikeFischer Perhaps
@DavidCarlisle I do wonder about other platforms, yes
@DavidCarlisle, @UlrikeFischer First we have to see what people make of my initial question
@UlrikeFischer dvipdfmx covers .bmp already
 
12:59 PM
@JosephWright Yes, but you wrote "pdftex + eps". I can add my remarks above to the list later to (perhaps) trigger some discussion.
 
@UlrikeFischer I guess if I were starting from scratch (so for expl3) a smaller more consistent set would be nice. However, we are not so what is important is whether there are technical reasons for needing entirely separate drivers.
 
@JosephWright There is the question if other packages load the drivers and if a name change can confuse something -- and how you want to name the combined driver-file.
 
@UlrikeFischer Yes, I can see that, but one thing I did suggest was have xetex.def load dvipdfmx.def then just do the minimal adjustments at the end
 
@JosephWright or perhaps just concatenate the files as part of the build process
 
@DavidCarlisle Or that, yes
 
1:07 PM
@JosephWright I'm sure l3build provides a cross-platform concat function:-)
 
@DavidCarlisle It is quite easy
 
@JosephWright I suspect even I could do it:-) not sure whether the l3build way would be to use the lfs stuff like xcopy/cp or simply pull in the files as lua strings and output them again, the latter probably?
 
@DavidCarlisle Yes, the latter was what I had in mind
@DavidCarlisle I suspect my 'just load dvipdfmx.def' plan might be easier :)
 
@JosephWright yes but I don't like watching lots of small files being input (not thinking of beamer/tikz in particular...)
 
@DavidCarlisle Ah, there is that
@DavidCarlisle Even if we just did it by hand, knowing that the variable part is purely for image inclusion would be handy
 
1:15 PM
@JosephWright yes
@JosephWright in fact any difference can only be due to image size determination I guess since the actual inclusion has to be done by the driver in the end anyway.
 
@DavidCarlisle No:
..........\XeTeXpdffile "c:/texlive/2017/texmf-dist/tex/latex/mwe/example-image
-a.pdf"
.....\special{pdf:epdf bbox 0 0 320 240 clip 0 width 321.2pt (example-image-a.p
df) }
 
Stupid question: how does one zoom out in a tikz 3d drawing? I can adjust the placement of the viewer, but zooming has eluded me.
 
@JosephWright yes I know there are other differences currently but they must be spurious surely, in the end all xetex can do is add \special that xdvipdfmx understands. ooh or is \XeTeXpdffile a custom whatsit in the dvi/xdv not a special
 
@DavidCarlisle Detail on these things tends to be lacking!
 
@JosephWright I have the source of xdvipdfmx to hand...
 
1:22 PM
@DavidCarlisle I thin it's a special, and in any case there is no real need to do it differently
 
@JosephWright that's what i suspect
@JosephWright speaking of which is there documentation of the xdv extensions to dvi anywhere?
 
@DavidCarlisle Doubtful
 
/home/tlbuild/source/texk/dvipdfm-x/tests/ looks vaguely useful I wonder if we could pull some of them into a graphics-def l3build test suite
@JosephWright tiff file reading support looks less than complete in xetex
	/* if cmd was \XeTeXpdffile, use xpdflib to read it */
	if (pdfBoxType != 0) {
		err = pdf_get_rect(pic_path, page, pdfBoxType, bounds);
		goto done;
	}

	/* otherwise try graphics formats that we know */
	fp = fopen(pic_path, FOPEN_RBIN_MODE);
	if (fp == NULL)
		goto done;

	if (check_for_jpeg(fp)) {
		struct JPEG_info	info;
		err = JPEG_scan_file(&info, fp);
		if (err == 0) {
			bounds->wd = (info.width * 72.27) / info.xdpi;
			bounds->ht = (info.height * 72.27) / info.ydpi;
		}
		goto done;
 
@DavidCarlisle !!!
@DavidCarlisle So 'It probably doesn't work' would be fair (likely was there in xdv2pdf)
 
@JosephWright that xetex source for the automated image size lookup
 
1:33 PM
@JosephWright @DavidCarlisle texdoc xetex-notes could be useful.
 
@UlrikeFischer thanks
so when was xdv2pdf the driver for xetex (before I started looking I think) it is no longer distributed?
 
2:09 PM
@DavidCarlisle until TeXlive 2013 I think, see tug.org/pipermail/xetex/2013-March/024120.html
 
@UlrikeFischer thanks
 
3:05 PM
@UlrikeFischer @DavidCarlisle So we can safely go with xdvipdfmx-or-nothing :)
@UlrikeFischer Somehwat, but as it's about xdv2pdf in the driver sense not so enlightening
 
@JosephWright Yes. But identifying the xdv2pdf bits is perhaps not so easy. From the log-files it looks as the xdvipdfmx were added around 2006, so one would need quite old files.
 
@UlrikeFischer The point really is that the driver code in dvipdfmx.def seems to work unmodified, with only the coverage of some file types and the higher efficiency meaning that \XeTeXpicfile has a use. Beyond that it seems one can just use the same driver set up.
@UlrikeFischer xdv2pdf is mentioned in a comment about the colour specials:
%%  2006/07/19  [JK] Version v0.91  use \special{color ...} rather than
%%              \special{x:textcolor ...} etc, for compatibility with
%%              both xdv2pdf and xdvipdfmx drivers;
%%              added .bmp to list of recognized graphics extensions
which is where I started with this (different colour specials from dvipdfmx mean there is some code in expl3 to adjust the 'native' set up)
 
@JosephWright hmm but I suspect it's the \def\c@lor@to@ps stuff in xetex.def that keeps pstricks happy, as that command not being defined is the usual sign of pstricks being used in the wrong context
@JosephWright oh it's in dvipdfm not xetex (buffers wrong way round) so the above isn't right as stated but possibly not completely wrong
 
3:25 PM
Anyone knows how to get the same font weight in standalone figures and beamer (I'm using the hsrm template)? Setting my axis labels to bold is too thick, normal is too thin, and I don't see where this is adjusted in the beamer template.
(also true in math mode)
 
@JosephWright odd \c@lor@to@ps is defined in xdvipdfmx.con specifically for pstricks, I wonder if the definitions in dvipdfmx have a use...
 
The bottom "Temps", from beamer, is thicker than the x label, generated in another document.
 
@anderstood pdffonts will show you which fonts are used. But have you scaled the figure when including it in to beamer?
 
@DavidCarlisle I used "scale=1", but after a closer look it seems the beamer font is slightly smaller. I'll update to see if that's the reason.
I did not know pdffonts, nice tool! I'm trying to understand the output now.
(changed font size to match)
 
4:14 PM
@DavidCarlisle xdvipdfmx.con?
 
@JosephWright sorry xdvipdfmx.cfg /usr/local/texlive/2017/texmf-dist/tex/generic/pstricks/config/xdvipdfmx.cfg
@JosephWright re the image above does beamer use scaled up fonts not at their natural design size?
 
@DavidCarlisle Oh don't ask about the beamer font set up!
 
@JosephWright oh I'll ask @UlrikeFischer then, she knows stuff.
 
\DeclareFontShape{OT1}{cmr}{m}{n}%
     {<5><6><7><8><9><10><12>gen*cmr%
      <10.95>cmr10%
      <14.4>cmr12%
      <17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmr17}{}
\DeclareFontShape{OT1}{cmr}{m}{sl}%
     {<5><6><7>cmsl8%
      <8><9>gen*cmsl%
      <10><10.95>cmsl10%
      <12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmsl12%
      }{}
\DeclareFontShape{OT1}{cmr}{m}{it}%
     {<5><6><7>cmti7%
      <8>cmti8%
      <9>cmti9%
      <10><10.95>cmti10%
      <12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmti12%
@DavidCarlisle ^^^
@DavidCarlisle Hmm, all a bit odd
@DavidCarlisle So the definitions are in the driver for dvipdfmx but in the config file for xdvipdfmx: not exactly a model of clarity
 
@JosephWright they were only ever supposed to be the internal translations required for dvips not the main gateway to pstricks support :(
 
4:21 PM
@DavidCarlisle Indeed
@DavidCarlisle On for Herbert I guess
 
@JosephWright ever thought about having a tex format that hides internal interfaces?
 
@DavidCarlisle Hmm ...
@DavidCarlisle Or makes the distinction explicit ;)
 
@JosephWright there was supposed to be a hint in the number of @ scattered in place of vowels
 
@DavidCarlisle Problem is of course that (x)dvipdfmx is a bit odd in supporting (some) PostScript despite being a PDF-mode driver
@DavidCarlisle Yes, well we know that TeX doesn't really 'do' local stuff in the way many other languages do
@DavidCarlisle I suspect we probably scare the pants off a lot of 'real' programmers :)
 
@JosephWright they think lua will save them
 
4:25 PM
@DavidCarlisle Perhaps: it's got some interesting global behaviour too
 
@JosephWright I didn't say it would save them:-)
 
@DavidCarlisle Indeed
 
@JosephWright did you notice the URL to the luaotfload github issue posted to texlive list ("(linebreak): invalid list tail, probably missing glue") some bounty wrapper trying to monetise other people's github issues?
 
@DavidCarlisle Intrigued by the issue, I've done a quick \tracingall. Not sure quite who is at fault: PStricks is using an internal from xcolor, and it's there that the internal from the driver is used.
@DavidCarlisle No, I'll have a look
 
@DavidCarlisle: later on, today: a report on someone's draining battery life, from a car.
 
4:33 PM
@JosephWright well originally that would be me:-)
 
@DavidCarlisle Ah
@DavidCarlisle But PStricks could (should?) actually check on the status of the driver/engine/...
 
@PauloCereda while driving?
 
@Moriambar hopefully not. :)
 
@JosephWright I did some work making pstricks sit over the new 2e color/graphics before it was released, just as a proof of concept that it wasn't going to break everything
 
@PauloCereda I was coming home from work and I noticed a car that was going pretty slow. The woman driving was talking on the cell (obviously cell in hand) and smoking at the same time. Good thing that the motorway was straight. I then thought about draining batteries in cars too!
 
4:35 PM
@DavidCarlisle But you didn't write xcolor ;)
 
@JosephWright I have asked a few times but I never understood why it couldn't say "don't use with pdftex" rather than "undefined command \c@lor@to@ps
 
@DavidCarlisle Speaking of which, I have a feeling the statement it has in the .sty is not consistent with the license in the .dtx ...
 
@JosephWright no but I would guess some code migrated...
 
@Moriambar oh my!
 
@Moriambar you can always type with your feet
@JosephWright xcolor?
 
4:37 PM
@DavidCarlisle yup and steer with your teeth
 
@DavidCarlisle Looks like a legit website
@DavidCarlisle Yes:
%% Any modified versions of this file must be renamed
%% with new filenames distinct from xcolor.sty.
but
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.2
% of this license or (at your option) any later version.
% The latest version of this license is in:
%
%    latex-project.org/lppl.txt
%
% and version 1.2 or later is part of all distributions of LaTeX
% version 1999/12/01 or later.
 
@JosephWright zcolor :)
 
so one can choose 1.3c and the renaming line is not consistent
 
@JosephWright seems that way
 
@PauloCereda the definitive colour package. \teztcolorzz{zblue}{zzz}
 
4:39 PM
@DavidCarlisle Not a big issue: one can use the source under v1.3c and modify there to extract whatever one likes
 
@PauloCereda anyway I gotta go: my stomach has low battery and I have to make dinner
 
@JosephWright yes just seemed a bit odd, it's not totally obvious that it's a github issue rather than posted to that site (although I didn't look that hard)
 
@Moriambar oh enjoy your meal, buon appetito!
 
@PauloCereda grazie (I'll be eating later on but thanks for the time being ;))
 
4:41 PM
@JosephWright we should have had bounties on luatex issues
 
@DavidCarlisle :)
@DavidCarlisle 'Add a test suite'
 
 
1 hour later…
6:07 PM
@CarLaTeX do you know by any chance any good electronics (diy&co.) store in Milan? I want to buy a photon board but it costs more in shipping than in "board" :)
 
@DavidCarlisle Thanks you, I managed to identify the cause of my problem using pdffonts and discovered the difference between Computer Modern Bright and Computer Modern Sans Serif.
 
@DavidCarlisle dvisvgm says it understands xdv (dvisvgm.bplaced.net) -- so either the author found documentation somewhere, or read through the source
 
6:26 PM
@anderstood ah
@ShreevatsaR I'd trust the source more than the doc:-)
@ShreevatsaR @JosephWright vvv
	static const CommandHandler handlers[] = {
		&BasicDVIReader::cmdXPic,             // 251 (XDV5 only)
		&BasicDVIReader::cmdXFontDef,         // 252
		&BasicDVIReader::cmdXGlyphArray,      // 253
		&BasicDVIReader::cmdXTextAndGlyphs,   // 254 (XDV7 only)
		&BasicDVIReader::cmdXGlyphString      // 254 (XDV5 only)
/** XDV extension: Same as cmdXGlyphArray plus a leading array of UTF-16 characters
 *  that specify the "actual text" represented by the glyphs to be printed. It usually
 *  contains the text with special characters (like ligatures) expanded so that it
 *  can be used for text search, plain text copy & paste etc. This XDV command was
 *  introduced with XeTeX 0.99995 and can be triggered by <tt>\\XeTeXgenerateactualtext1</tt>.
 *  parameters: l[2] t[2l] w[4] n[2] xy[8n] g[2n] */
@ShreevatsaR thanks dvisvgm source has quite reasonable comments!
 
7:05 PM
glad to have helped :)
 
ooh the velociraptor
 
@DavidCarlisle Perhaps I should get down to writing the image inclusion code for expl3 ...
 
@Moriambar Unfortunately, not. I'll ask my colleagues tomorrow...
 
@CarLaTeX thanks
 
@Moriambar U r welcome :)
 
7:26 PM
I get ! error: (linebreak): invalid list tail, probably missing glue as well :(
 
8:05 PM
Suppose I make a new environment like this:
\newenvironment{list4}{
  \begin{list}{$\bullet$}{%
      \setlength{\itemsep}{0in}
      \setlength{\parsep}{0in} \setlength{\parskip}{0in}
      \setlength{\topsep}{0in} \setlength{\partopsep}{0in}
      \setlength{\leftmargin}{0.2in}}}{\end{list}}
This was an example I found online.
This tends to have line items run off the bottom of the page. Is one of the parameters in there responsible for that?
 
@DanielSank well you have removed all flexibility so you don't give tex many choices. (there are also lots of % missing although that unlikely to affect the vertical space.
 
I thought % was for comments.
(I don't know things)
 
@DanielSank it is, but you should either not add all that white space, or comment it out
224
Q: What is the use of percent signs (%) at the end of lines?

Federico PoloniI see that the code in many packages and examples contains percent signs % at the end of (many) lines. What are they used for? Do they affect the parsing of those lines?

 
Oh, interesting. Thank you.
(Side question: my package was finally uploaded to CTAN. Will TeXLive pick it up or do I need to bug them?)
 
@DanielSank most likely they will or will have already, but only tl2017 now, not tl2016. What's the package I'll see if I have it
 
8:14 PM
@DavidCarlisle It's called modular.
 
@DanielSank I have this on my local disk: /usr/local/texlive/2017/texmf-dist/tex/latex/modular/modular.sty
 
Interesting.
 
@DanielSank appears to have your name at the top...
 
Updates are rolling?
 
@DanielSank yes but tl2016 is frozen as tl2017 is in pretest
@DanielSank it could do with some % at ends of lines:-)
 
8:17 PM
Thank you for explaining that.
@DavidCarlisle yes I believe I have committed the age old sin of using code I don't understand :-P
I will attempt to do something simpler that I (sort of) understand.
\newcommand{\skill}[2]{
\textbf{#1} \\
\vspace*{-.15in}
\begin{enumerate}[noitemsep]
\foreach \x in {#2}
  {\item \x}
\end{enumerate}
}
Even that runs off the bottom of the page.
This is for a list of skills in a resume.
...and there's an \import{enumitem} at the top.
I am unfortunately unsure of how "standard" to regard LaTeX packages. I'm uncalibrated as to whether asking questions which use packages without having read the package source is generally considered lazy.
 
@DanielSank import really??? anyway impossible to guess, make a proper complete example and ask as a question on th emain side, discussing code in chat doesn't really work well
 
crap. \usepackage. Apologies.
~Sigh~ too many programming languages, etc.
yeah ok fine.
 
the use of \\ there is completely wrong (all use of \\ outside tables is almost always wrong)
 
Oh? Care to expand on that?
It's amusing to me to discover how many "wrong" things work in TeX.
 
and the {} group around \item is wrong
 
8:27 PM
hahahaha ok
Do go on.
 
@DanielSank and you are missing % at eol (since you ask:-)
 
Removed the group. Now my resume won't build :)
 
@DanielSank sorry misread, the {} around \item were not a group, they were the for-each argument, ok:-)
 
Removing the \\ made everything screw up.
 
@DanielSank the begin{enumerate} starts a new paragraph so the \\ is at the end of a paragraph which just forces an underfull hbox badness 10000 message I would guess
 
8:31 PM
ah
I see. The code I copied is totally broke-ass.
It has hacks making up for other hacks.
...still running off the bottom of the page...
 
@DanielSank that would be because of code you've not shown
 
@DavidCarlisle indubitably
@DavidCarlisle What's your beef with \\? How else do you get line skips?
In particular, I would like a newline with no extra spacing.
 
@DanielSank well there you don't need anything as \begin{enumerate} starts a new line anyway.
 
Indeed, but elsewhere?
Online resources tell me to use \newline or \\.
 
@DanielSank Mostly you'd want a paragraph break, not a line break, wouldn't you? See also tex.stackexchange.com/questions/82664/…
 
8:39 PM
@DanielSank never use \\ at the end of a paragraph it is always wrong always gives an underfull hbox badness 10000 warning and bad output (the negative space in your fragment is trying to correct for that but for example will go very wrong at a page break)
@DanielSank obligatory reference:
 
hee hee
 
@DavidCarlisle do LRCJ columns in tabulary always adapt their own width just like their counterpart X in tabularx?
 
@Moriambar yes no
 
@DavidCarlisle ok so then it's normal.
 
@Moriambar yes they adapt, but not like tabularx, ty columns adjust to their content, roughly speaking columns with more data get wider. tx columns are not affected by the cell contents
 
8:44 PM
@DavidCarlisle ok so it's no surprise that a tabulary does not fill the space specified as its first argument
 
@Moriambar There is an answer about that
@DanielSank on \\ at end of para:
7
A: What does the phrase "Underfull \hbox (badness 10000) in paragraph" actually mean?

David Carlisle99 times out of 100 it means you have \\ incorrectly placed at the end of a paragraph. But to dissect the message: Underfull \hbox (badness 10000) in paragraph at lines 4--5 A box is underfull if there is not enough content to fill its stated size. If you go \hbox to 5cm{A} then it makes...

7
A: Is it possible to make an underfull tabulary spread out?

David CarlisleThe patch in the other answer probably ought to have worked but it turns out the division algorithm used isn't really that accurate in the case that it is scaling up, and as Stephen noticed if you simply let it scale, rounding errors make the table wider than the line and you get overfull box war...

@Moriambar artifically spreading out tables is a sin worse than vertical lines:-) the original motivation for TY was an automated typesetting pipeline where they wanted no human intervention if possible and the code should just do something sensible so small enough tables are set natural width, but large ones had some line breaking decisions made automatically
 
@DavidCarlisle well, ok, it was just to answer a question anyway ;) ps: the code in the answer you linked gave Arithmetic overflow. But again: thanks for explaining. I'm fine with that
 
My goodness there are lots of hacks in this random code I found on the interwebs.
Oh me, oh my.
 
@DanielSank stick to the style of xii.tex and you can't go wrong.
 
@DavidCarlisle how do I locate&open xii.tex easily?
 
8:55 PM
@DavidCarlisle No comments. No documentation...
 
@DanielSank but beautifully rectangular code and friendly output if you run it (plain tex not latex)
@Moriambar google:-)
 
@DavidCarlisle alright
 
@Moriambar it's in texlive but just as source code so texdoc doesn't show it, and in doc tree so kpsewhich doesn't find it
 
@DavidCarlisle yes I've seen it, it's the one that remembers me that I can't do anything useful in TeX, and can do nothing useless too
Oh god
he's around
 
9:15 PM
@egreg, would you mind having a look to
3
Q: How can I get a square root looking like this?

FurfurrHow can I get a square root looking like these in LaTeX? Thanks! [new picture]

Looks like a pretty interesting puzzle…
 
@GustavoMezzetti No, I think it's silly.
 
@egreg I beg your pardon?
 
@GustavoMezzetti Just find a font that has that silly shape for the radical sign. If there is. I don't think it's very interesting.
@GustavoMezzetti Possibly a version of Adobe Symbol.
 
@egreg I was referring to the rule with the rounded tip: is there a TeX engine that can do this?
(I mean, with reasonable effort.)
 
@GustavoMezzetti No, as far as I know.
 
9:25 PM
The OP seems to be asking mainly for that…
 
@GustavoMezzetti easy enough to do in tikz (if you know how to draw a line in tikz:-)
why would someone downvote a three year old accepted answer without leaving any comment?
 
@DavidCarlisle OK, but, in a sense, TikZ is not TeX!
 
@GustavoMezzetti is \color tex or \includegraphics or ...
 
@DavidCarlisle Maybe they finally got around to trying the code. :)
 
@AlanMunn don't be silly: no one uses my code
5
 
9:30 PM
@DavidCarlisle Fair enough!
 
@DavidCarlisle I just got an upvote for a three year old answer, instead. Somebody who knows what to do. ;-)
3
 
I too upvote very old answers, from time to time: what’s wrong with this?
 
@GustavoMezzetti upvote sure but downvote with no comment is just odd, if the intention is to encourage someone to correct the answer giving a hint what's wrong makes more sense surely?
 
@GustavoMezzetti Just teasing @DavidCarlisle
 
@egreg This one: tex.stackexchange.com/a/151462/101651? It was me! :):):)
 
9:37 PM
@DavidCarlisle if we have people who upvote randomly we also can have people who downvote randomly
3
 
@Moriambar well they should randomly downvote @egreg
 
@CarLaTeX No, another one.
 
@DavidCarlisle Why? Does he use vim?
 
@Moriambar Well said!
 
@GustavoMezzetti unfortunately it's the mere truth
 
9:40 PM
@Moriambar only ducks use vim
 
@egreg It was not me, then, hahaha!
 
@DavidCarlisle oh, I see
@GustavoMezzetti and remember that we have people who also edit randomly
 
@DavidCarlisle Don't take advantage @PauloCereda is on a plane!
 
@CarLaTeX I did some jobs with quire.tex “some” years ago.
 
@CarLaTeX he's probably first class drinking champagne and lurking here via onboard wifi
 
9:44 PM
well I'm off reading the badly typeset book folks, my battery is ok :P and @DavidCarlisle: shouldn't it be champagne? So long! :P
2
 
@DavidCarlisle Ducks fly first class!
 
@egreg: Nice answer (the one about \shipout): just upvoted. :-)
 
@Moriambar and it is
 
@egreg What is quire.tex?
 
Well, ladies and gentlemen, I guess now it’s bedtime for me. Good night to everybody, and have a nice talk!
 
9:47 PM
@CarLaTeX It was mentioned in the answer: a plain TeX set of macros for doing quires. Nowadays there are much better methods, but that was nice because it was implemented in TeX.
 
@egreg I read but I didn't understand everything... I'm still a beginner! :'(
@GustavoMezzetti It's bed time for me, too! Good night to all!
 
@CarLaTeX texdoc quire: Version: 1.0 (19 January 1990) (doc: 10 Sep 1991)
 
10:13 PM
@egreg I'll carefully read it tomorrow. Good night!
 
11:02 PM
Can I force LaTeX to typeset figures in the same section as they are declared in? Or maybe, can I force unset figures flush at end of section?
 
237
Q: Keeping tables/figures close to where they are mentioned

artimessIs there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?

@wilx Basically the placeins package will do what you want.
 

« first day (2382 days earlier)      last day (2548 days later) »