« first day (1639 days earlier)      last day (3288 days later) » 

Anonymous
8:02 AM
Hi @JosephWright I'm trying to compile with pdfTeX, I guess. Would you know if this is possible with TeXShop? I can only choose pdflatexmk, or is this perhaps the same? =)
 
@VincentVerheyen TeXshop has a variety of build paths available: pdfTeX is one of them
 
Anonymous
Aha, ok. I see. In the preference dialog, I can select it as a default script.
 
Anonymous
I'm trying to use \pdgpageheight=...cm

However, I get the error "Undefined control sequence". I wouldn't know where I am hitting a wall.
 
@VincentVerheyen You are using the plain format?
 
Anonymous
@JosephWright I'm sorry, I don't quite understand. My bad. What does "plain format" mean?
 
8:11 AM
@VincentVerheyen plain TeX rather than LaTeX, for example
@VincentVerheyen Something like
 
Anonymous
Ah ok, thanks for the clarification. I'm using LaTeX instead of Plain Tex.
 
\centerline{\bf Hello world}

Some text here
\bigskip
Some more text
\bye
@VincentVerheyen In that case you shouldn't be directly using \pdfpageheight
 
Anonymous
Thanks, you made me discover a bit about plain TeX, I wasn't even aware of it.
 
Anonymous
___---||| When should I be using \pdfpageheight then? When I would be using Plain Tex?
 
@VincentVerheyen For LaTeX, page layout is set using the geometry package or class-specific interfaces with e.g. KOMA-Script or memoir
 
Anonymous
8:17 AM
@JosephWright Thanks, I will try to look in to the KOMA-Script and memoir ... I would like to use the code with \pdfpageheight as constructed in river-valley.zeeba.tv/media/conferences/tug-2011/… ...
 
Anonymous
@JosephWright Another question: we're anno 2015 not anywhere near having a pdf-file with Roman page numbering, right?

I would love to have a pdf with first some Roman numbers, followed by some Arabic numbers.
 
@VincentVerheyen pdf not pdg, it's simply a typo
@VincentVerheyen that's the default in many latex classes, what did you try?
 
Anonymous
@DavidCarlisle Thanks, didn't notice that typo. Can't edit it any more. ... You mean Roman page numbering is default in many latex classes?
 
@VincentVerheyen yes (in the frontmatter)
 
Anonymous
@DavidCarlisle You guys make me feel like I'm a prehistoric man every time again, but I realize that I am, in many ways.
 
8:23 AM
@VincentVerheyen eg the standard book class in the core latex distribution
 
Anonymous
@DavidCarlisle Thanks.
 
Anonymous
Oh @DavidCarlisle Sorry, I was dubious in asking my question. I didn't mean to have a page number printed on e.g. the bottom of a page, like in this Q: tex.stackexchange.com/questions/25789/… ... What I meant was having e.g. page number XIII in a "Pdf-reader"'s page-input-field ... Like being able to enter "XIII" in the Pdf-reader's page-input-field, to go to that requested page.
 
@VincentVerheyen that's a feature of the pdf reader rather than the generator isn't it? even if you use arabic numbers most pdf readers show the absolute page count not the printed page number
 
Anonymous
@DavidCarlisle Ok. Yes, true. So, I guess we'll have to wait a decade or 2 for that to become standardized hé ... if it even will.
 
@VincentVerheyen I doubt it will happen: page number from a computer POV runs from 1 to n
 
Anonymous
8:33 AM
It could be implemented though hé ... ? :D From a computer's POV, numbers are limited to 1 & 0, right? =D
 
@VincentVerheyen the printed page number is also (if you use hyperref) noted in the pdf structure so you can use XII in page references and things as a named anchor, so it is just the readers that choose not to show that, not further standardisation that is required
 
Anonymous
@DavidCarlisle Ok. Thanks. Well, standardisation of the pdf-readers I meant, indeed.
 
Anonymous
@everyone_more_experienced_than_me_here-thus_everyone_here I'm just curious. Is there anything concurrent with TeX? I'm just curious whether there is a competitor / free / paid alternative / competitive or something? Hope I don't hurt anyone by asking this question ... No old feuds coming to the surface here? =D
 
Anonymous
I'm not planning to move hé ... just for philosophical inquiry.
 
@VincentVerheyen impossible to answer. xetex and luatex for example are current but whether you see them as a competitor to tex or natural evolution is a matter of opinion. In terms of pure democratic "voting with their feet" Microsoft Word is an overwhelmingly more successful competitor (and since 2007 includes a math layout engine explicitly based on TeX)
 
Anonymous
8:47 AM
@DavidCarlisle Thanks a lot for that. MS Word is mostly GUI-based however, right? ... I was wondering how e.g. big publishing houses create digital books / books these days.
 
@VincentVerheyen InDesign?
@VincentVerheyen ArborText/3B2?
 
Anonymous
@JosephWright Aha, ok. But isn't that also mainly a GUI?
 
Anonymous
@JosephWright Thanks for those references. Do you think there is any big publisher type-setting with TeX? I'm just ignorant on these fields.
 
@VincentVerheyen I've never used 3B2 (very expensive), but I believe there's a GUI for design and a lot of automation
@VincentVerheyen Books are done with a variety of tools: I recently had proofs of a chapter that I'm sure was done with TeX (we had to submit in Word format, so I've no idea of the detail)
 
9:07 AM
@JosephWright we use it here
 
Hey there! Is it possible to use ConTeXt MkII with LuaTeX as engine in order to use system OpenType fonts?
If someone is knows about ConTeXt and knows the answer by heart... Because I couldn't find any information on how to enable LuaTeX for the texexec command...
 
@DavidCarlisle Ah
@FredFisch No
 
@JosephWright Thanks!
 
@FredFisch MkII is really for pdfTeX, although XeTeX does work. MkIV is LuaTeX only.
 
@Jos
@JosephWright thank you.
 
9:14 AM
@FredFisch Well I guess you could alias between pdfTeX and LuaTeX and hack around it, but I don't think it's a good plan!
 
@JosephWright when I say "we" I mean "my group" (not actually me as we don't have a general licence:-)
 
@DavidCarlisle Have you seen it used, then?
 
@JosephWright yes the two machines it is licenced on are within 3m or so of my chair:-)
 
@DavidCarlisle Ah
@DavidCarlisle How does the interface work then? Am I right about GUI + automation?
 
@JosephWright that's the intended interface (and why they bought it originally) but actually we don't use the gui at all (except when debugging the stylesheets) as we write all our doc in xml in emacs and push it through XSLT pipelines to generate html or C or whatever, just that the pdf pipeline ends up with massaged XML that is fed straight to 3b2 (or APP as it is called these days) for printing.
 
9:19 AM
@DavidCarlisle Ah right: so much like the LaTeX3 plan then ;-)
@DavidCarlisle Speaking of which, based on the XeTeX discussion we really do need to get something sorted for style sheets and actually get toward something usable: I plan to bang heads together at TUG2015!
 
@JosephWright which would be cheaper, but last time we changed pdf printing engine (to 3b2) someone insisted we did side-by-side comparison of the full manual and as that's currently 12678 pages, it's not something you want to do too often
 
I'm wondering what is the proper method to fix this: \text{test } -1 < x, it ends up with the wrong minus.
 
@daleif tex.stackexchange.com/questions/79141/… also, read the comments
 
@daleif You mean the spacing not the minus, I assume
 
@JosephWright Not really. If we write
f(x) > 1 \text{ and  } -1 < g(x)
the -1 is wrong. It is the same with \quad\text{...}\quad -1 ..., just wondering what one should recommend
 
9:34 AM
@daleif Like I said, I see a spacing problem but the right glyphs are used
f(x) > 1 \text{ and  } {-1} < g(x)
works although surely
$f(x) > 1$ and  $-1 < g(x)$
is what is meant here (without more context it's hard to know)
 
But no one writes like that. I'm almost thinking about adding \mathopen to \text or the macro I tend to use for \quad\text{...}\quad
\begin{align*}
f(x) > 1 \quad\text{and}\quad -1 < g(x)
 
@daleif I wondered if we were in a display ;-)
 
\end{align*}
we are, I'd never use \text in normal text mode
But is \mathopen the proper macro to add just to make any sings behave after the macro or is there a better macro to add
 
@daleif One for @egreg I guess :-) I'd just use braces like I said
 
yo'
9:55 AM
@daleif I think yes, one should probably write \quad\mathclose{}\text{...}\mathopen{}\quad ...
 
@yo' can you come up with an example for why \mathclose is relevant
 
@daleif {-1} or {-}1 or \prefixminus 1 where \prefixminus is defined to be {-}
 
Just found another reason for people not to use |...|: |\Re z|, with \Re=\operatorname{Re}. Again wrong spacing. |\Re z| is probably a lot more common than my usual example: |-x|
 
yo'
@daleif It is probably not relevant, but you should anyways probably define \newcommand*\quadtext[1]{\quad\text{#1}\mathopen{}\quad} and adding the \mathclose{} for symmetry doesn't seem to hurt :-)
 
@DavidCarlisle I don;t think that is a good syntax to ask users to use. Those of use just doing math copy editong, can use it just fine. But in the long run we'd like the tools and macros that we recommend users to use, to simply do this for us. I usually use \qtq for \quad\text{...}\quad to reduce typographic noise. Now I see I'll have to adjust those macros for them to be more general.
 
yo'
10:00 AM
@daleif \abs{\Re z} is IMHO not so common. I surely use \abs{-x} more often.
 
@yo' that is exactly what I do, with a shorter macro name though.
 
yo'
And one should of course define \DeclarePairedDelimiter\abs\lvert\rvert and use that :-)
 
@yo' you do? I hardly ever see |-x|
 
@daleif it's not unreasonable to have different markup for infix and prefix - for times when the automatic switch does the wrong thing, not so different to : v \colon
 
yo'
@daleif yes, sometimes I do have \abs with something starting by unary minus inside
 
10:02 AM
@yo' of course, that is my whole argument. But we need to sell it to people. And if they never write |-x| then they don't buy it. So I'm collecting example ;-)
 
Anonymous
@DavidCarlisle Can I somehow change \maxdimen? My flimsy interpretation of "The internet" advised to use

\advance\maxdimen by\maxdimen %%% @ https://groups.google.com/forum/#!topic/comp.text.tex/TczTjM0ctik

However, I can't get this to work.
 
yo'
@VincentVerheyen \newdimen\maxdimen is what you need, but be advised that this way you lose the access to the true \maxdimen, so you might want to store its value somewhere. As well, it will likely spoil dozens of packages.
 
@VincentVerheyen No \maxdimen is the size of the datatype used for storing dimensions. You can't have bigger than that (and you can't need it bigger than that:-)
 
Anonymous
@yo' So, e.g. \newdimen\maxdimen=800cm or \newdimen\maxdimen800cm ?
@DavidCarlisle What if I want a 1-page pdf? :D
 
@VincentVerheyen no
@VincentVerheyen you can't
@VincentVerheyen Knuth says in the TeXBook: \danger \TeX\ will not deal with dimensions whose absolute value is
$\rm2^{30}\,sp$ or more. In other words, the ^{maximum legal dimension} is
slightly less than $16384\pt$. This is a distance of about 18.892 feet
(5.7583 meters), so it won't cramp your style.
@VincentVerheyen are you saying you really have a use case for a 6m high page?
 
Anonymous
10:09 AM
@DavidCarlisle Well, I'm having "paperwidth=42cm, paperheight=550cm", and then the pdf is 1 page ... but I would rather have something more like "paperwidth=32cm, paperheight=550cm ... but then I just reach 2 pages ... =D Yes, for real. Another solution would be to split the pages completely manually ... but I am still struggling with that fight. Hence, I thought I'd settle for 1 page for now.
 
Anonymous
If the pdf-reader can't have Roman numerals, then having other page numbers in the pdf would be pretty arbitrary. For now, I have manually inserted page numbers (Roman & Arabic) (corresponding to my original 19th century source document). Considering XVI + 20 pages, the reader might just scroll it manually. Page-breaks seem not advisable, in my view, unless they could be exacly at the page-breaks of the source document.
 
Anonymous
In that latter case, I would just take all of the XVI pages + page 1 on pdf-reader's "page 1" & then continue the numbering up untill "page 20". ... Or perhaps just include page-numbers for the Roman's arrive at "page 36" ... That would probably be more normal. =D
 
@daleif \text{test $-1<x$}
 
@egreg not it is generally for displayed math where \text{test $-1<x$} would not make sense (I already use this whenever it does make sense). And example could be f(x) > 0 \quad\text{and}\quad -1 < g(x) \qquad\text{for alle $x>0$.}
 
@daleif \text{and}\quad{-1}<g(x)
Or, of course, g(x)>-1 ;-)
 
10:23 AM
@egreg but no normal user would ever think of writing like that. Plus see the discussion above. I tend to use a macro to make \quad\text{...}\quad, and adding, say, \mathopen to it is easy. I'm just wondering if \mathopen{} is the correct macro to make signs etc behave after the macro.
 
@daleif Why not?
 
@egreg whjy not what?
 
@daleif Why shouldn't it be the good one?
 
@egreg I don't know. Just seems strange to add a ghost opening delimiter
 
 
1 hour later…
yo'
11:36 AM
@daleif The beginning of a formula behaves like if there was a \mathopen{}, so it is not strange ;)
 
Anonymous
Would anyone know how to change the text-color of a certain

\newtcbox{\FOO{...} ?
 
@yo' And it adds no space in front of it.
 
yo'
@egreg well, \mathsurround or how's it called
 
@yo' No, that's only at the margins of a formula, never inside.
 
@VincentVerheyen \color{red} ?
 
yo'
11:41 AM
@egreg well, yes: The beginning of a formula behaves like if there was a \mathopen{}
 
@yo' This has nothing to do with \mathsurround
 
Anonymous
@DavidCarlisle Could you help me implement this to have every \FOO{...} with the red text-color automatically? I don't know how.
 
yo'
@egreg yeah, if you put it this way...
 
@VincentVerheyen better to ask a question on site, that's what it's there for (and I don't know what you mean, unless you mean \newcommand\FOO[1]{\textcolor{red}{... }}}
 
Anonymous
@DavidCarlisle Ok, thanks already. I haven't been able to get it to work using your code; I thought of implementing it ± like:

\newcommand\FOO[1]{\textcolor{red}{ .... \newtcbox{***}{colback=gray,colframe=gray_edge} ... }

But I wouldn't know what to put at ***.
 
11:55 AM
@VincentVerheyen I don't know \newtcbox command at all but I would guess it is allocating not using a box so that looks wrong, but you need to post a question on site with a usable example.
 
@yo' that makes sense. Was consulting the \math... vs. \math... table from TLC2 but did not quite know what state we are in right after the staring $.
 
@VincentVerheyen coltext (texdoc tcolorbox page 26)
 
Anonymous
@DavidCarlisle Thanks mate, nice catch.
 
Good maen
 
@yo' indeed, and based on his latest comment to me, he did not even read all the answers at the original question.
 
1:01 PM
anyone tried SILE github.com/simoncozens/sile ? (@JosephWright)
 
@DavidCarlisle Haven't tried though have looked at it
@DavidCarlisle My concern is that when he says 'LaTeX-like' the LaTeX doc syntax is a bit too 'baked in'
 
@JosephWright presumably because really it's xml but with \ and {} syntax
 
@DavidCarlisle Sort-of
 
@JosephWright ah well, something else to keep half an eye on I suppose....
 
@DavidCarlisle I think I was bothered by the need to compile lots of stuff and the fact that there's no preamble (i.e. clear design block separate from text)
 
1:16 PM
@JosephWright yes I only just spent 10 minutes flicking across the manual so haven't really got the full flavour of it yet, but I gather from the last "nitty gritty" bits that specifying style like an OO program is the modern way:-)
 
@DavidCarlisle Yes: that as we know is still the big challenge
 
@JosephWright any thoughts on xetex charclass allocation?
 
@DavidCarlisle Need to think about it properly: this evening
@DavidCarlisle I wonder how it is on math mode too
 
@JosephWright OK (I half expected to see it already in xelatex.ini when I updated this morning, but it wasn't there:-)
@JosephWright rubbish, probably. ( math does not occur in the manual)
 
@DavidCarlisle I remember now thinking that he's probably gone too 'high level' with his approach: there's not the layers that are needed to acutally get things working better than LaTeX2e (at the interface level, irrespective of the back-end)
 
1:25 PM
! This can't happen (sub_disc_widths).
l.53

I'm broken. Please show this to someone who can fix can fix
oops ^^^
 
@DavidCarlisle Yup
 
@JosephWright we really should do something about writing so much junk to the log, 1400 lines of content free waffle before that line :(
 
@DavidCarlisle My big picture worry for SILE I think is that like some other projects in the same area it can do a good amount of what TeX can do in an easy-to-use way, but there will be that relatively small amount that will be the issue (i.e. vital stuff that's not doable easily)
@DavidCarlisle Yes
@DavidCarlisle I favour turning off (almost) all of the logging by default
@DavidCarlisle No math mode a bit issue (and that is clearly vital and not even one of my tricky cases!)
 
1:49 PM
Anybody here use Overlead/writeLaTeX? I wanted to find an error message (just curious), but alas, no error was thrown for this simple (and obviously wrong) document: overleaf.com/2617516zzjqxh#/6901774
 
@SeanAllred no error message is created for that file even when compiling in the traditional way. :-)
 
@PaulGessler But... but...
\documentclass{article}

\begin{document}
{quack
\end{document}
The braces aren't balanced!
*existential crisis*
 
@SeanAllred TeX doesn't care in this case, I guess. All you've done is opened a group and the document ends inside that group.
 
@PaulGessler I had always thought that \begingroup and \endgroup differed in that way, though -- as a developer, a stray \begingroup doesn't bother me nearly as much as an unmatched {.
 
@SeanAllred {quack \bye
Same type of output there. :-)
 
2:01 PM
=[
 
@SeanAllred I thought you like emacs, and consequently, lisp. You must be used to this by now. :D
 
@PaulGessler I don't follow -- Lisp is very strict about parentheses.
 
@SeanAllred you're right, sorry. For some reason I thought lisp allowed unbalanced ones. Shows how much of it I know. :-)
 
@PaulGessler a voice whispers from the ether: use emacs
:)
 
@SeanAllred never!
 
2:09 PM
@SeanAllred it's not an error but you get a warning:
(\end occurred inside a group at level 1)

### simple group (level 1) entered at line 4 ({)
@SeanAllred there is no \endgroup
 
I'm pretty sure that [redefining \parskip ](tex.stackexchange.com/a/240769/2693) is a bad idea, but I'm curious where Fran's solution will actually fail.
 
@AlanMunn phew you meant setting it rather than \renewcommand\parskip{..} (that wouldn't be a good idea at all:-)
@AlanMunn It won't fail, it will "work as expected" but whether that produces the desired document or not depends on expectations.
5
@AlanMunn basically you find everywhere where \par is used internally eg any section headings or lists or theorems etc will get extra space, that may be expected or not depending on what you think "paragraph" means.
 
@DavidCarlisle Ok, sections are a simple case of failure (in the relevant sense.) But Fran's example doesn't mess up with e.g. lists and footnotes.
@DavidCarlisle You really wanna argue semantics with a linguist...?
 
@AlanMunn yes but... in a document with wide inter-paragraph space you might be happy that section headings get more space as otherwise it's easy to have headings et off with less space than a normal paragraph
@AlanMunn linguists know nothing about semantics. I did courses on mathematical logic, so there...
 
2:25 PM
@DavidCarlisle True. So then the question remains. :) Are there cases in which the extra space would arise that would quite obviously be unwanted.
 
@AlanMunn hang on let me look for an "surprising" \par in latex.ltx....
@AlanMunn no, I thought \centering ..\\ might do it (as \\ is \par in that context) but we correct for that with a \def\@xcentercr{\addvspace{-\parskip} so it all more or less works out OK
 
2:46 PM
@ChristianHupfer World seems to go down right now. wetter.com/wetter_aktuell/wetterwarnungen/warnungen_aktuell/…
 
Some nice function from SILE sources
local function luaSucks (a) v=a return a end

local oldqueue = self.state.outputQueue
self.state.outputQueue = {}
while luaSucks(table.remove(oldqueue,1)) do
but really, it seems like interesting project, but I am not sure why it doesn't just extend LuaTeX, since it uses some LuaTeXC libraries
 
@michal.h21 Well everything is done in Lua for a start
 
@michal.h21 harfbuzz I would guess.
 
@DavidCarlisle That also
@DavidCarlisle On the XeTeX allocator, I notice that \xe@alloc@intercharclass is the common name for this (format-neutral): I think we need to keep it so add to latex.ltx
 
@DavidCarlisle I think he can use Harfbuzz in LuaTeX as well, it just isn't used by default, but binary libraries can be used from LuaTeX. I know that Graham Douglass had some success with that
 
2:59 PM
@michal.h21 I have never seen any configuation of luatex that uses font libraries rather than lua font load? (I've seen reports that said other people had tried things, but that isn't quite the same thing:-)
 
@michal.h21 Yes but the entire direction is somewhat different: SILE is about doing everything from the Lua end, not just some of the stuff
@DavidCarlisle This has come up before!
 
@JosephWright you don't say:-)
@JosephWright but isn't that what topskip does over luatex (in a way)
 
@Johannes_B: Heavy thunderstorm 1h ago here ... Fire brigade deployed ;-)
 
@DavidCarlisle no it doesn't exist, I only know that Hraham wrote about it on his blog, but no code is accessible, I think. it is just that it can work in theory
 
@michal.h21 ah vapourware, yes that can do all kinds of things, and solve all kinds of problems:-)
 
3:03 PM
@JosephWright I know, but it is exactly the same as with Patrick's speedata publisher, which doesn't use TeX at all
 
@Johannes_B: By the way... the ususal - headache
0
Q: Use dotfill in listoflistings

user10030I'm using the listings package by Jobst Hoffmann. I want to display all figures, tables and listings in the back of my work as lists. As can be seen in the picture, list of figures has a dotfill between its description and the page number. The list of listings though doesn't. Also, I did not f...

 
@ChristianHupfer Eating watching bits of the Ricky gervais show. I cannot be bothered right now. ;-)
Weisde, das ist so ein Wetter, da würd ich am liebsten irgendwo auf nem Balkon sitzen, in eine warme Decke eingekuschelt, nen schönen heißen Kakao trinken.
Wenn der Himmel ein wutverzerrtes Totschlägergesicht macht, dann kann ich ja mal entspannen.
 
@michal.h21 The blurb for SILE suggests it's just the PDF writing part that's taken from LuaTeX, so that presumably could be replaced (and doesn't feature any Kunth-based code anyway)
@michal.h21 I'm suspicious of the grid claim: you can do grid setting with TeX but only if you have no math mode, etc., and it's hard to see how any other system can easily get the grid right without messing up for example the line spacing (xor can do this with TeX but at the cost of being complex)
@DavidCarlisle Yup
 
@JosephWright it uses also some Context libraries, it seems
 
@michal.h21 Yes?
 
yo'
3:40 PM
Is there any way how to do time arithmetics in LaTeX?
 
@yo' Examples?
 
@yo' Well it's Turing complete so yes
(which of course is one of the issues with e.g. XML-based alternatives)
 
@JosephWright XML syntax doesn't stop XSLT from being turing complete
 
@DavidCarlisle I'll take your word for this
 
@yo' For dates, yes. For times more generally, I'm not sure.
 
yo'
3:42 PM
@egreg Think of a conference schedule:
 
@DavidCarlisle I meant though that in XML you can't quickly do some arbitrary calculation or whatever
 
@JosephWright but that's like saying you can't do them in ASCII
 
yo'
\Day{Monday}{09:00} % Shows Monday
\Talk{yo'}{45} % Shows 09:00--09:45 yo'
\Talk{egreg}{90} % Shows 09:45--11:15 egreg
 
yo'
I think I'll simply store 09:00 as 9*60=540 and then use \divide
 
3:44 PM
@DavidCarlisle You know what I'm getting at, I hope
 
@JosephWright yes but...
 
yo'
@egreg seems like I could even do \setcurrtime{\currtime[00:20]}
oh no! it's not expandable!
 
@yo' No, but it can become. ;-)
 
yo'
@egreg I can write it myself I think :)
 
@egreg Doesn't that macro allow for times like 25:10?
I don't see any \ifnum ... >24
Not sure about the use case, though... if it's nothing "time of the day"-related...
 
3:49 PM
@DavidCarlisle I'm intrigued: XSLT doesn't look like it has programming steps!
 
@JosephWright hmm it's what I do all day so I hope there's some programming involved:-)
 
@DavidCarlisle Like I said, I'll take your word for it [Wikipedia agrees :-)]. I just meant that a quick glance at an example looks like simple pattern-based extraction only.
 
@JosephWright well not really (I use it to generate C# from fortran, HTML , C, C#, python from same XML source etc) Also to extract fields from unicodedata.txt :-)
 
@DavidCarlisle Probably the beginners examples are all simple cases :-)
 
@JosephWright probably looking at a tutorial to latex you wouldn't immediately think of it as a natural language for implementing a regex parser;-)
 
3:58 PM
@DavidCarlisle Well quite
@DavidCarlisle Then again, I think even most TeX experts wouldn't (perhaps only BLF!)
 
@1010011010 That's an easy exercise for the reader. ;-)
 
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns:xs="http://www.w3.org/2001/XMLSchema">

 <xsl:template name="x">
  <xsl:value-of select="xs:dateTime('2015-01-01T00:00:00') + xs:dayTimeDuration('P40D')"/>
 </xsl:template>

</xsl:stylesheet>
@JosephWright outputs 2015-02-10T00:00:00 :-)
 
@DavidCarlisle Indeed: I guess I missed initially the possibility to do stuff inside the selections (still looks an odd language to me, but what do I know)
 
@JosephWright SGML had a transfomation language called DSSSL that used lisp syntax and everyone hated it because it used lisp syntax, so in 1998 at the height of the XML hype James Clark had the brilliant plan of defining a lisp that used XML syntax instead (side effect free functional language) and of course then everyone loved it:-)
 
4:33 PM
Hi, quick question if anyone can help me: in TiKz groupplot, if I have 2 row x 1 column plots, how to I remove the labels from the first row figures and decrease the spacing?
 
5:00 PM
@DavidCarlisle :-)
 
How do I uninstall fonts that I used otftotfm for?
Or alternatively, how can I change the name of a font
 
 
1 hour later…
6:30 PM
Good maen
Where is Paulo??????????????????????????????????
 
@DavidCarlisle -- interestingly enough, this doesn't seem to be mentioned in the texbook. i've had to tell a number of authors that the fact that an "end occurred inside a group" message really needs to be tracked down, as it can cause real problems later, usually of the "very mysterious" kind. and the only way to find the darn thing is to "divide and conquer", which almost invariably takes an age and a half. hmmm. wonder if i should put it on the dek questions list ...
 
yo'
7:03 PM
@ChristianHupfer @Paulo is captured by the Catalans!
 
@yo': yayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy....er.... oh no ;-)
 
yo'
@ChristianHupfer :D
btw, I wonder if the fleshes I see from my widow are really lightnings?! Amazing!
 
7:23 PM
@barbarabeeton vvvv
(\end occurred inside a group at level 1)

### simple group (level 1) entered at line 5 ({)
 
Hello!! I want to add a picture at the latex code. At the beginning I used the template beamer and I used the following command:

\raisebox{2mm}[0pt][0pt]{%
\parbox[t]{\textwidth}{\centering\includegraphics[scale=0.35]{example-image-a}\par
Some name}
}

and it worked...

Now I use an other template, article, and when I use the command above it just appears the name of the picture (for example, example-image-a).

Can we not use this command at an article?
 
@barbarabeeton ^^ no need for divide and conquer, etex tracingnesting=1 tells you where the group started
@MaryStar you have [draft] option set.
 
What does this mean? @DavidCarlisle
 
@MaryStar if you have \documentclass[draft]{article} or \usepackage[draft]{graphicx} then it does a quick run which leaves space but doesn't include the picture
 
@DavidCarlisle -- yes, certainly. that's what i was referring to when i said it's not covered, or even mentioned, in the texbook. (and i looked really hard. it is, of course, in tex.web/tex: the program, but is rather scattered.)
 
7:29 PM
@barbarabeeton it's etex so wouldn't be in texbook
 
I have the following:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}
\usepackage{amsmath}

\usepackage{amsthm}
\newtheorem{mylemma}{Λήμμα}


There isn't any [draft]. @DavidCarlisle
 
Hmm, so draft would have been the answer 90% of the time:-) the 9% guess is that you have spaces in the filename
 
@Johannes_B:
I'm not at the workstation at current, but I do in fact have a vast collage of packages (including classicthesis, and quite possibly titlesec) and solutions that sort of just built as the project went along. I was considering started with a clean template and just input my data again, it's all well-organized as chapters in folders. Why would classicthesis be disadvantageous with scrbook? — OleVik 9 mins ago
@Johannes_B: Go ahead :-P
 
@ChristianHupfer Oh, for crying out loud ...
 
Where do you mean have I spaces? @DavidCarlisle
 
7:33 PM
@MaryStar \includegraphics{my file with space in its name}
 
I have written it as followed:
\raisebox{4mm}[0pt][0pt]{
\parbox[t]{\textwidth}{\centering\includegraphics[scale=0.35]{ackermann.jpg}\par
\foreignlanguage{english}{Wilhelm Ackermann,1896-1962}}
}

There isn't any space, is it? @DavidCarlisle
 
Not the best idea, in my point of view
0
Q: How do I redefine the \par command midway through the document (and then go back to the default)?

L13I prefer to build my bibliography manually because I'm finicky about the formatting, and I need each bibliographical entry to have a hanging indent and an empty line after it. I'm doing fine with this code: \documentclass[12pt]{memoir} \begin{document} \par \noindent \hangindent=0.9cm Leyser, Ka...

 
How to tell microtype to load a specific font configuration file? I don't even know what term I'm looking for... the "Configuration File" chapter in the microtype documentation does not clarify....
 
@DavidCarlisle -- ah, haven't used etex "consciously". the plain report says simply (\end occurred inside a group at level 1), so etex has added a lot of (useful) syntactic sugar. but does it report what file it's in when a lot of files are \included? that's what i was referring to when i said "divide and conquer".
@DavidCarlisle -- but i meant that even the plain "complaint" isn't mentioned in the texbook -- and it probably should be.
 
@barbarabeeton oh by divide and conquer I thought you meant repeatedly halving the file to isolate the problem, from 2015 release you can just use \tracingall in latex to get that rather than remember the etex settings as we just made \tracingall turn on all the etex flags
 
7:48 PM
@DavidCarlisle -- having spent more of my existence than really justified wading through the results of \tracingall, i'm not really enamored of that suggestion. at the very least, the log file would greatly exceed the disk space i've got available. (disk space exceeded the other day from unzipping a file sent by an author that included everything, i think, on her computer; didn't check to see whether kitchen sink was there, since i had to delete everything and start over.)
for plain tex, obviously, divide and conquer means exactly what you describe.
 
@yo' I am sorry for your widow ;-)
 
@MaryStar so you should get a picture, or you are in the 1% I can't guess. I wrote that code so clearly there can't be a bug in includegraphics:-)
 
@ChristianHupfer Indeed: list is much easier.
 
@egreg: ;-)
 
yo'
@ChristianHupfer damn! :D
@Chr Well, the one I saw just now could easily turn some flesh into a burnt flesh!
I like this weather when I'm at home: the 12th floor on a hill provides some very nice sights :-)
 
8:03 PM
@yo': I agree
 
8:45 PM
@DavidCarlisle Looking at the xe@alloc business, it only comes up twice, both in places where a fix might be arranged
 
@JosephWright yes sure it could be avoided in those files, but I think Karl will want to put it in xelatex.ini unless we can promise same won't hit anywhere
 
@DavidCarlisle A sweep over TL shows the only other places it pops up as the allocators for other formats (plain, lollipop)
@DavidCarlisle If it needs to be in the format in all cases it should go in latex.ltx (i.e. not system dependent)
I was thinking about the earlier discussion about SILE, and in particular the ConTeXt link (Lua, etc.). Hans has been happy to risk breakage of existing docs and so on but has stuck with using a TeX-based approach rather than a complete Lua recode. I suspect that tells us something.
 
yo'
gotta go, see you tomorrow!
 
@JosephWright yes that was my thought, but it wouldn't be totally unreasonable to put it in latex.ltx not sure what we have to do about format date though
 
@DavidCarlisle Update to CTAN on Friday ;-)
@DavidCarlisle Seriously, I think the original plan was to mark it as a May release
 
8:57 PM
@JosephWright ah OK.
 
@DavidCarlisle I think if we are saying it should be defined then based on the earlier discussions it's got to go into ltfinal
 
@JosephWright do I have to have a IncludeInRelease clause to back it out between january and may of this year....
 
@DavidCarlisle I think this one we can live with :-)
 
@JosephWright will you reply on team list saying that to make sure we get sign off? xetex stuff in ltfinal not being universally popular;-)
 
@DavidCarlisle OK
 
 
1 hour later…
10:24 PM
Is it normal that fonts loaded through mapfiles and otftotfm produce way poorer print than fonts through fontspec?
 
@1010011010 in what way poorer
 
@DavidCarlisle I'd almost say there are holes in the characters when I zoom in on fonts created through otftotfm....
 
@1010011010 have you generated bitmap fonts? what does pdffonts tool or acrobat font menu say?
@JosephWright I guess we should push a latex update sooner rather than later:-)
 
@DavidCarlisle Acrobat font menu.. is that acrobat pro only?
 
10:41 PM
@1010011010 don't think so, although that's what I have, certainly used to be in the free one (document properties, fonts tab)
 
Okay, what am I looking for?
It's a Type 1 font...
The fontspec document shows the font is a CIDType 0 type font... whatever that means
Something tells me I should probably try my hand at this tomorrow:-)
We'll figure it out tomorrow... Night
 
11:01 PM
@1010011010 that's good (type 3 would have been bad) but I can't guess why the rendering should be worse in that case
 
Aargh. People just love to click the close vote without even reading the comments.
Can some of you upvote my last comment on this question so that people notice it.
 
11:42 PM
I just love questions of the pattern

> Common misconception about basic LaTeX syntax: a definitive answer **[duplicate]**
 
11:56 PM
@egreg As I recall, you're writing something on expl3/LaTeX3, correct? If you are, will you be waiting for LaTeX3's general release before you release what you're working on?
Just curious. I'm collecting a list of books to get that I've been meaning to read and wondered if I should save you a spot :)
 

« first day (1639 days earlier)      last day (3288 days later) »