« first day (2073 days earlier)      last day (2854 days later) » 

2:57 AM
I get error
[360])
! Undefined control sequence.
<argument> \imki@jobname
@idxfile
l.571 \fi

When I changed to use package imakeidx. Using \documentclass[11pt,chapterprefix=false]{scrbook}
and \printindex at end
googled it. This is large split document using standalone and many subimports in it. One of the subimports uses \index{}{} So might be hard to make MWE. I think will switch back to makeidx for now. But if someone has a hint what can cause this, will be great. I cleaned everything before running. Gets this error each time.
This is using TL 2016 on Linux mint
 
 
3 hours later…
6:21 AM
@Johannes_B "I know. But all the newcommand, def, DeclareDocumentCommand` etc is quite confusing for a starter, i guess." Yes! So using only \def is much ore simple (for starters).
 
 
2 hours later…
7:59 AM
Travel nightmares!
 
@JosephWright stuck somewhere?
 
8:16 AM
@JosephWright For a minute, I had Travis nightmares. :) Still bad though. :(
@JosephWright: what happened?
 
"Have you tried \includegraphics[!h]{figure}."
 
@Johannes_B Does this rag smell like chloroform to you?
 
@PauloCereda :-D
 
@Johannes_B One can always try, after all.
 
@egreg :-)
 
8:27 AM
@Johannes: Oh I had an idea! Suggest [H] too!
 
@PauloCereda The [H]ammer method.</soundOfGameShowHost>
 
@Johannes_B :)
Shaky bus time! See ya, friends, have a nice day!
 
I am wondering if I should ask a meta-question or not. Could I have your input here first? Would it be a good idea to be able to tag answers? For instance, some questions only have one or two tags, but there are many different solutions using very different methods. An example of this would be tex.stackexchange.com/questions/316253/… where there are solutions using tex,lua,xstring, scrartcl`. Should these be tagged?
 
yo'
@RunarTrollet No. Tagging answers is not useful to anybody, and questions should not get tags by their answers.
Tags describe the problem that is being solved, not the solution.
 
8:46 AM
@RunarTrollet either way that would need to be asked on the main meta not meta.tex.stackexchange as it would be a change to the main stackexchange UI so not something that can be changed on one site in the network.
 
@yo' Yes, I mostly agree. However, sometimes, I am more or less just browsing trough various expl3-posts to look for different ways of doing things, but after a while, I realised most expl3-answers are not in questions tagged with it.
 
@yo' which is why has the most tags:-)
 
@DavidCarlisle yes, I thought so.
 
yo'
@DavidCarlisle well, people ask specifically "how to draw a duck in an airplane in TiKZ?" not "how to draw a duck in an airplane in LaTeX?", the fact that picture mode answers are acceptable is a sort-of sloppiness in our policies.
 
8:52 AM
@yo' This is a great function. I'm just wondering since not all users know this, if it would be better if there maybe was a answer-tag. It might be seperate from question-tags. For instance, click a tag, check "questions marked with [tag]", "answers marked with [tag]". But I guess it would be a big change, and lots of answers would need to be tagged, and just a whole lot more work and one might also not remember to tag ones answers, leading to comments "please tag answer..."
 
@ChristianHupfer I suppose I have to say: just another 800,000 and you'd have an all 8s palindrome:-)
 
@DavidCarlisle I knew you would mock around ;-)
 
yo'
@RunarTrollet Has been discussed before, both at this site and at MSE, with the result that this is not considered generally useful. SE is a place aimed for answering specific questions, not learning by examples.
 
@ChristianHupfer I did star it as well (but don't tell anyone)
 
9:03 AM
@DavidCarlisle I had to play cheap tricks (but don't tell anyone ;-))
 
@ChristianHupfer deleting an answer or two temporarily to back up a bit?
 
@yo' Thank you for your feedback. Now that I thought about it, I realise why this function is not there. Great talk :)
 
@ChristianHupfer oh no you've changed by two, that's a downvote I guess:-)
 
@DavidCarlisle Something you can't do: Unaccept an answer for a short moment ;-)
 
yo'
@RunarTrollet you're welcome
 
9:06 AM
@DavidCarlisle No, I won't do such bad things (without irony!!!)
 
@ChristianHupfer I always forget there are points for questions for me it's tricky to change by more than 5 unless some vim user downvotes an emacs answer
 
@DavidCarlisle There are vim users here? Scandalous!
 
@ChristianHupfer we send them away via a shaky bus
2
 
@DavidCarlisle Yes, but they return, that's the problem (@PauloCereda <3) ;-)
 
9:26 AM
@ChristianHupfer Meine Umstellung auf die Brause an der Badewanne ist kaputt. :-(
 
@Johannes_B Auf solche Informationen habe ich gewartet ;-)
 
10:02 AM
I see people are talking about me...
Ack from the shaky bus!
:)
Using a suitcase for the first time instead of my favourite backpack. I feel awkward.
What comes next, me in a freaking tuxedo? Heavens forbid. :)
 
@PauloCereda 007 Duck ;-)
 
10:40 AM
@PauloCereda Ask him his name; if he answers “Ligação, Tiago Ligação”, you may be in trouble.
 
 
1 hour later…
12:01 PM
any one knows why I can't edit my deleted answer? I deleted it while making improvements and now I wanted to add it. Now I do not see the edit button or the undelete button on it? tex.stackexchange.com/questions/317778/…
sorry, I just saw it. It was in different place :)
I have found a simple task, that is impossible to do in Latex :) find the absolute path of latex file. after many hrs of trying different solution, nothing works. In C this is implemented using "_ FILE _" in the preprocesor. Here is link gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html I wanted a solution that works in windows and Linux at the same time, on first compilation.
 
12:22 PM
@Nasser Aren't you using lualatex? the example from Paulo works fine for me on windows: tex.stackexchange.com/questions/42417/full-path-of-current-file.
 
@UlrikeFischer I tried this. Martin answer Please see tex.stackexchange.com/questions/317605/… also on windows it requires 2 runs. For Paulo answer, the problem is that it does not work for sub-imported document, which is what I have. i.e. I wanted to find the absolute path of Latex file, where it sits. Not the absolute path of the file which imported it. And that is the problem.
WHat I needed, is way to find the absolute path of the Latex file, not the absolute path of the document which included this file. which can be somewhere else.
But I will keep trying until I find a way :)
 
12:37 PM
@Nasser if you have lua, or shell-escape, you can always do the equivalent of
$ kpsewhich article.cls
/home/davidc/texmf/tex/latex/base/article.cls
@Nasser so as long as you know the string passed to \input kpse will tell you the full path that tex would use.
 
1:04 PM
@Nasser You could add something to the find_read_file callback. E.g.
local function find_read_file( id_number,asked_name )
  mycurrentinputfile = kpse.find_file(asked_name)
  return mycurrentinputfile
end

luatexbase.add_to_callback ( "find_read_file",find_read_file, "store current input file path")
and in the input file then
\directlua{tex.print(-2,lfs.currentdir()..mycurrentinputfile)}
(It's up to you to make the output look better and to check for side effects, I don't have the time now)
 
@DavidCarlisle I am not sure I am following you., How is the child to obtain its own absolute file path, since it is already part of the parent document by the time it issues any command? Example. I have A/parent.tex and then I have A/B/child.tex. Now parent.tex subimports child.tex. Now I want to find abslute path of child.tex, which is /A/B/ and not /A. I thought about making a formal question on this, but I thought someone will say it is duplicate. But it is not.
@UlrikeFischer I will look at what you have, I am not following it now, but will try it. I think I need to make a MWE.
 
@Nasser basically I meant what Ulrike said. (sub)importmakes the issue a bit more complicated (in fact it seems it always makes things more complicated without adding much but anyway) the same applies that within the tex macros something is building up a string like thisdir/subdir/file and then asking the underlying tex engine to input that file, the engine will use the kpathsearch library to find the file so you can always make the same search to find out what actual file is input.
 
@DavidCarlisle But I want to find the absolute file path, in the child latex file. Not from the parent. i.e. while I am in the child, I want to write
myAbsoutePathIs{"\A\B\"} This line is inside child.tex. I do not want to do it in parent, where parent.tex has childPathIs{"/A/"} is, and append to it the child relative path, which the parent knows ofcourse, since it imports it. i.e. I want exactly what the FILE macro does in C. How about I make a formal question and it will be more clear? I still do not know how kpsewhich can help here.
The problem is that I am building a string, which is a file name. This string is build in the child. This string will change depends if I build the child standalone vs. when it is not standalone.....
currently I do this:
\ifstandalone
mypath="HW1/"
\else
mypath="Course/HWs/HW1"
\fi
The above is the only way curently it works. I build my files as standalone and also as combined.
 
1:28 PM
@Nasser kpathse has to know the full path, otherwise tex would not be able to find the file to input it.
 
@DavidCarlisle I know that, I am just not sure how to use it to solve my problem. I am making a MWE now, and will post it. This will make it more clear what the issue is. I also need to try @UlrikeFischer solution. Making a small MWE to test with.
 
1:42 PM
@DavidCarlisle I just made a MWE. In the child, I do \immediate\write18{kpsewhich \jobname.tex} and I see it print (./child.aux)) on the terminal. When I build the combined document, I get (./parent.aux)) which really does not help me :) but I'll post the question, need little more time, and you can feel free to post solution. May be I am doing something wrong.
I need now to try what @UlrikeFischer said above, I still need to understand it more.
 
@Nasser it does help you as it starts with . so you just need to put the value of \immediate\write18{pwd at the front (which is what Ulrike was doing in lua, more or less)
 
@DavidCarlisle I think I am doing something wrong. when I do \immediate\write18{pwd} and run the file as

lualatex --shell-scape child

I just see "pwd" on the linux terminal. Very strange., will keep trying.
 
@RunarTrollet -- it's possible to search on just words (even if the same word is also a tag), and if that word appears in an answer (but not in a question) it will show up. to make this effective (and not get overwhelmed with non-useful volume), you also need to add several other carefully chosen words to the search, but for me, it's usually better than searching on a tag alone.
(and when i find a particularly good item, i add it to the "often referenced questions" question in meta so that i can find again easily, or bookmark it if it's only for my own benefit.)
 
1:59 PM
@Nasser whatever pwd is in dos:-)
 
@DavidCarlisle this is on Linux :)
 
@Nasser escape not scape
 
but I am reading good paper now cseweb.ucsd.edu/~hovav/dist/texhack.pdf which tells how to make commands from Linux. I thought what I did was correct
@DavidCarlisle opps !
 
I am trying to generate tightly cropped paragraphs with LaTeX. I am using standalone. However, the width of the output should be fixed, even if the length of the paragraphs is less than a full line width. What is a nice way of doing this, and more importantly, how can I adjust the width? Directly setting \linewidth doesn't seem to work.
 
@Nasser it does warn you: lualatex: unrecognized option '--shell-scape'
 
2:02 PM
@DavidCarlisle too many messages on the screen, I can't read them all :( I must have missed it.
 
6
A: Automatic page size to fit arbitrary content

David Carlisle \documentclass{article} \begin{document} \hoffset=-1in \voffset=-1in \setbox0\hbox{\begin{tabular}{cccc} testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest & test & test & test \end{tabular}} \pdfpageheight=\dimexpr\ht0+\dp0\relax \pdfpagew...

 
@Nasser I hope you are using the shellesc package ...
 
@DavidCarlisle Thank you, but in this case I am trying to set the width manually, e.g. make it 10 cm exactly.
 
@Szabolcs replace the tabular by \parbox{your width}
 
@UlrikeFischer no. Do I need to? May be that is why it is not working (after fixing my typo). I thought one only needs -shell-escape? I had no idea one needs a package also?
 
2:04 PM
@DavidCarlisle Thanks!
 
@Nasser you don't need a package to use shell escape but do if you want to use \write18 in luatex (which no longer supports it by default)
 
@DavidCarlisle OMG ! that is why it is not working.
I am using lualatex. OK. Got it. thanks.
Too many packages... too many....
 
@Nasser why the surprise? if you are using beta software that makes major incompatible changes each release, you need to read the release notes.....
 
This is a bit weird. The same text is broken across lines in different ways:
I have:
\parbox{
text \\

text
}
May be ugly, but these boxes will just be put together with a drawing program later
Also, I don't mind, I just found it strange.
 
2:20 PM
@Szabolcs yes, this is very strange :)
 
2:30 PM
@Szabolcs people who put \\ at the end of a paragraph deserve no sympathy
 
@Szabolcs You also have an error, \\ followed by a blank line.
 
@egreg is my echo, as usual:-)
 
@DavidCarlisle But @Szabolcs has my sympathy nonetheless. :P
 
@Szabolcs the text is not the same, the second paragraph ends with blandit. but in the first paragraph that is followed by a (dropped) word space a forced line break and then a further (but white) line of text.
 
@egreg It took me so much to understannd the joke! :) It's quite unusual to see this "translation", and I just realized Tiago was James because of the biblical blokes. :)
 
2:47 PM
@PauloCereda Too many shakes for focusing on jokes. ;-)
 
@egreg That too. :) The bus was shakier than usual today. If I had a bottle of milk with me, I'd certainly had butter by now. :)
@DavidCarlisle: Quack!
 
@PauloCereda @ChristianHupfer was right :(
 
@DavidCarlisle hm?
 
@PauloCereda he said no matter how often we bus vim users away, they come back:(
 
@DavidCarlisle ooh
 
2:53 PM
@UlrikeFischer I am not sure how your solution will help me. I just finished a MWE. I'll post my question, and please feel free to answer if you think it will do what I want. It is easier to explain the problem there. I also tried the pwd and the kpsewhich, not of them do what I want.
 
[paulo@cardiff ~] $ emacs
bash: emacs: Comando não encontrado...
@DavidCarlisle ^^
 
May 13 at 14:16, by David Carlisle
user image
 
3:17 PM
@DavidCarlisle Huh?
 
@ChristianHupfer "huh" to emacs or "huh" to bus reference?
 
@DavidCarlisle I only read: "Christian Hupfer was right" That's enough for me ;-)
 
3:34 PM
@DavidCarlisle and @UlrikeFischer I posed the question now. tex.stackexchange.com/questions/317946/…
@UlrikeFischer I did not show the attempt using your method, since I really did not understand how to use it, sorry. I kept getting the parent path.
any questions feel free to ask.
 
@Nasser you should probably say more clearly that you want luatex answers (eg tag it with that) I don't think you mention that in the text, just implicit in your examples using lua related packages
 
@DavidCarlisle yes, it is mentioned. But I will make it up at the top. Sure.
 
 
1 hour later…
5:03 PM
@DavidCarlisle huh
 
Hi! May I ask for a recommendation for a beginner's manual on how to write/change bibstyles? Is N. Markey's "Tame the BeaST" still recommended?
 
@user93559 that, plus experimenting with makebst and seeing what it generates for different answers
 
@DavidCarlisle: Thank you!
 
5:20 PM
@user93559 Or learn to use biblatex instead. It depends a lot on whether you require natbib/bibtex compatibility or not.
 
@AlanMunn: Thank you for the suggestion. I will definitely look into biblatex as well.
 
@user93559 See the following question for a summary of the differences/strengths/weaknesses.
259
Q: bibtex vs. biber and biblatex vs. natbib

doncherryI've heard of many different bibliography-related packages/platforms/?. What's the difference between the following, which is good for what tasks, advantages/disadvantages, which one is the most modern, etc.: BibTeX biblatex natbib Biber (If I missed anything important, please just add it here ...

 
 
2 hours later…
yo'
7:51 PM
@UlrikeFischer @Johannes_B For various options given for the capital eszett, see page 16 of Andreas Stötzner: Capital Double S. Proposal to the Unicode Consortium
@Johannes_B btw, Nadine has replied :)
 
How do I upload a photo from my phone?
The Coca-Cola thingy :)
 
yo'
@PauloCereda ah coca-cola life :)
@Johannes_B @UlrikeFischer ^^
 
8:06 PM
@yo' :)
 
yo'
8:30 PM
I thought "where is everybody as it's a holiday tomorrow" and the I realized it's a holiday only here ...
 
@yo' -- well today is a holiday here. tomorrow, it's back to theold grindstone.
 
@yo' Better
 
yo'
8:46 PM
@egreg seriously?!
 
@Johannes_B I'm currently closing all the open questions on TeXwelt (where applicable). I need you opinion. Is Distribution Tex-Studio zuweisen answerable or was it answered in the comments? I have never used MikTeX, so I can't judge.
 
@yo' Yes, of course.
 
yo'
@egreg no way.
 
@yo' Since ß is a ligature of “s+z”, that's the obvious uppercase counterpart.
 
yo'
@egreg ß is not a ligature, it's a letter
 
8:50 PM
@yo' historically it's a ligature of s and (s or z) even if it's considered a letter now.
 
@yo' It's a letter evolved from a ligature. What's the uppercase of œ? Œ. Do you find something strange?
 
yo'
@egreg well, it's ugly and needs a cleanup, at least. Something like Z's top horizontal stroke extending to the left and the serifs between the letters removed.
 
@yo' Certainly, but that's the obvious idea, instead of that monster in the paper you linked to.
 
yo'
@egreg well, that "monster" has been in use since 190something
 
@yo' It's horrible nonetheless.
 
yo'
8:54 PM
@egreg ^^ needless to say, you're not the first one with the idea
 
@yo' Also the “crossed S” could be a good idea.
 
yo'
@egreg that one looks interesting, yeah. Well, after all, you have different shapes of various latin letters, so there is no reason why Eszett had to take the same shape in all fonts
the SZ ligature works nicely in sans-serif fonts
 
Couldn't you guys find a synonym for the word with Eszett and forget the whole thing? :)
 
@yo' There's no need that the uppercase is similar to the lowercase, as r and R clearly show.
 
yo'
@PauloCereda Couldn't you guys find a synonym for the word with the c with a tail and forget the whole thing? :) Oh, sorry
 
8:59 PM
@yo' The glyph I showed an approximation of can obviously be improved.
 
@Johannes_B What do you think about Wie kann ich einzelne Frames in beamer überspringen?? Is this a viewer question?
 
yo'
@egreg I know
 
@yo': ask a Spanish person how they call the cedilla. :)
 
yo'
@PauloCereda ?
 
@yo': @DavidCarlisle probably has an even better plan: make everybody speak English :)
 
9:03 PM
@PauloCereda Cedilla?
 
yo'
@PauloCereda that's a cliché :)
 
@yo': they call it colita de chancho, which is literally translated as pig's little tail. :)
 
@PauloCereda todos falam Português
 
@DavidCarlisle a culpa claramente é das colônias. Se todos seguissem o império, seria muito mais fácil. :)
 
@PauloCereda quite so.
 
9:07 PM
Shaky bus back home! Three hours to go.
 
yo'
@PauloCereda oh no!
 
@yo' ❤️🇬🇧
 
yo'
@PauloCereda a heart and two squares? :)
 
@yo' oops it should be the UK flag :)
 
yo'
@PauloCereda oh yeah!
@DavidCarlisle @JosephWright Getting your EU immigration papers ready? I hope you've got some Irish ancestors
 
9:21 PM
@Johannes_B Another tricky one Durchlaufgeschwindigkeit erhöhen.
 
9:48 PM
@egreg @yo' I won't start to discuss the exact history which is not straightforward, see de.wikipedia.org/wiki/ß;. There are many variants of the letter and so also many possibilities to design an uppercase variant -- and I prefer the "SS".
 

« first day (2073 days earlier)      last day (2854 days later) »