« first day (1864 days earlier)      last day (3062 days later) » 

12:16 AM
@egreg are you around? Hi
 
@OFFSHARING I am.
 
@egreg I have a little problem with writing stuff at a certain chapter within a specific section.
 
@OFFSHARING I saw, but I couldn't understand what you're aiming at.
 
@egreg I mean after you finish the table of contents, and run the file, when you go down the pages you see the name of chapters and sections, right?
 
@OFFSHARING Yes, so?
 
12:21 AM
@egreg That is you see the table of contents, and then after that you see all chapters and sections that are found on the table of contents.
The question is how I start writing stuff at a certain chapter and a specific section?
 
@OFFSHARING Sorry, but I can't follow.
 
@egreg Suppose you finished the table of contents. How you begin writing the document itself starting with chapter I say?
Or the table of contents must be put on a different file?
 
12:37 AM
@OFFSHARING latex will generate the table of contents for you, just put \tableofcontents where you want it to appear
 
@DavidCarlisle Yes, but how I start writing after that the content? Say I have this example
Tables
1. Chapter X problems
2. Chapter Y problems
3. Chapter Z problems
Now I'am done with the table of contents.
Then I wanna write the first X problem in Chapter X problems. That is to write the whole document.
 
@OFFSHARING so you want
\tableofcontents
\chapter{X problems}
stuff here
\chapter{Y problems}
more stuff
 
@DavidCarlisle Oh, I need to add it there?
Let me check pls!
 
@OFFSHARING don't even think about the table of contents until you have finished, latex will just make it based on your document sections
 
@DavidCarlisle It was so simple and I feel so dumb now! :-(
 
12:43 AM
@OFFSHARING things always seem easier when you know how to do them:-)
3
 
@DavidCarlisle Thank you very very much!
@egreg It's my fault I don't know such elementary things. Perhaps you didn't even imagine this might be a problem to me.
@DavidCarlisle In all this time I thought it should be put elsewhere.
 
@OFFSHARING you could read a tutorial such as lshort texdoc lshort has a table of contents example on page 8
 
@DavidCarlisle Thank you.
 
 
7 hours later…
8:12 AM
hello all
 
8:53 AM
@yo' Ah, WinterBash. Silly name. But then again, the hats thing is silly.
 
9:19 AM
\documentclass[english]{elsarticle}
\usepackage{babel}
\begin{document}
%\def\appendixname{Appendix }%from elsarticle.cls
\appendix
\section{Title of Appendix A here}
\section{Title of Appenid B here}
\end{document}
 
9:34 AM
Hello @egreg
 
@DavidCarlisle I'm wondering if I should combine all (most?) of the Unicode loaders in to one file. I see Chris's point about separate ideas but I'm not sure anyone will use them like that: probably all or nothing.
 
I've got a puzzling little issue.
 
@Danu Fire away
 
I received an answer to my recent tex.se question, but got some errors when I tried to implement the answer in my document.
 
@Danu Link?
 
9:37 AM
To test what was going on, I compiled just the solution with my preamble, cutting out the rest of the document.
1
A: How can I specify a different style for (a difficult to describe concretely) part of a line?

cfrSpecifically for the arrows, you can use the decorations.markings library with, if desired, arrows.meta for enhanced tip options. These can be added as single markings or in stepwise fashion. You can measure in absolute units (e.g. 5mm) or as a fraction of path length (e.g. 0.5) and from the sta...

That compiled just fine (?!)
Sorry, I'm talking about the answer that does not just implement the arrowheads, but also the colored segment.
 
@Danu Yes, works for me
 
The error I get when compiling in my larger document is in a part that is seemingly unrelated. However, if I remove the solution to my question the document compiles just fine.
What could possibly be going wrong? I'm embedding the solution into a "larger" tikzpicture but that picture compiles just fine, separately.
Okay, I've made some progress: Eliminating the part where the supposed error occurs also cures my problem.
Could it really be that I've made some error in part of my code which doesn't give any problems when compiling as long as I don't insert a certain piece of code into my tikzpicture, but then suddenly gives problems?!
The error I'm getting is in a list that occurs later on: The error message is "Lonely \item---perhaps a missing list environment" (this is not the case)
The compiled pdf does indeed have problems with the list
Is it possible that list environments + certain tikz things somehow interfere with each other's workings?
Ohhhh... there is something involving "list" in the solution!!!
Boom, fixed
 
9:55 AM
@JosephWright I should think having it all in one file and setting up all the defaults in one file is file, especially of more or less same loader code could then be used by packages to re-input unicodedata.txt to pick up new settings if needed
 
Replacing the occurrences of \list by \somerandomword fixed it.
I assume itemize, enumerate etc. use the \list command somehow.
 
@Danu itemize, enumerate, center, verbatim, quote, .... all use \list
 
@DavidCarlisle ...so it's very bad practice to use the command \list as an auxiliary variable in tikzpicture!
 
@Danu there is a reason that latex uses \newcommand that warns the user if they are about to break the system, rather than \def which silently does whatever it's asked:-)
@Danu "very bad" is a mild description, yes:-)
 
@DavidCarlisle I wish I understood more of the inner workings of latex...
@DavidCarlisle I'm pretty proud that I somehow managed to figure this out :P
 
10:07 AM
@DavidCarlisle Indeed: I'll adjust (again)
 
@JosephWright fighting with github again (moving MathML spec there....) CVS is so much simpler:-)
 
Thanks again, amazing people of TeX - LaTeX.
 
@Danu oh so you got an answer last night?
 
@DavidCarlisle Not a really satisfactory one, but it'll do for now.
The answer only works for "simple" segments of the curve (i.e. ones not including the sharp bends).
 
@Danu that describes typical state of latex development:-)
 
10:17 AM
I'm still hoping for a better answer, but we'll see.
 
Are there other people here having problems with excessive browser memory consumption?
This isn't new. It's been going on for awhile.
 
Sometimes I think I do, yes.
 
yo'
@FaheemMitha This happens from time to time.
 
@yo' Time to time? It's a chronic thing here.
 
yo'
@FaheemMitha that sucks.
Now, I gotta go, Numeration Systems class is waiting...
 
10:27 AM
@yo' Indeed it does.
 
@EllaJay Good morning!
 
@egreg please let me know when you are back :) thanks
oh - timing!
goodmorning
 
@EllaJay Can you make that JPG available?
 
@EllaJay I tried, but the JPG is included correctly. This is what I get from identify: XSlice1.jpg JPEG 773x786 773x786+0+0 8-bit sRGB 131KB 0.000u 0:00.000
 
10:48 AM
@egreg That is strange - I see it properly
 
@egreg is it possible that lyx is using latex not pdflatex (which would make that error)
 
@DavidCarlisle It would say "No Bounding Box".
@EllaJay In my test, pdflatex includes the JPG. Does it in your case? Or what are we discussing about?
 
@egreg oh yes, I wrote that code:-)
 
@egreg ok yesterday it didn't work (errors I told you) now it seems to work. But I get some different errors. Will just work on them and brb
 
@DavidCarlisle Yes, that is true (certainly for projects with a linear history)
 
11:06 AM
@egreg seems to be working! either you did some tele-magic or lyx is testing my patience ^_^
@egreg
 
@EllaJay :)
 
@egreg thank you in ny case! i will likely be back!
 
 
4 hours later…
3:06 PM
Off-Topic?
0
Q: Latex file saved as .pdf instead of.tex format accidentally

mustafaI have saved my .tex file as .pdf accidentally and I cannot open now this odf file. How can I recover it? Thanks.

 
3:17 PM
@ChristianHupfer Silly. ;-)
 
 
2 hours later…
5:02 PM
@DavidCarlisle I stumbled across Blocks.txt, which is a handy reference for the different Unicode blocks (surprising!). However, while it's used by ucharclasses I don't think it's ideal for the basic set up: there's no differentiation on character meaning within a class.
@DavidCarlisle (Indeed, one can see that really a wrapper is needed around \XeTeXcharclass to allow for the fact that different 'views' of code points need different divisions)
 
5:14 PM
If I want to move a few lines a few characters to the right, what's a good way to do it?
Never mind, I think it's been asked already...
 
@JosephWright yes I use blocks.txt as an input into unicode.xml it's a pretty course categorisation though.
@JosephWright but could be like the catcodetable stack handling where we left the code in the format as pretty basic and put a higher level interface to swapping it in and out into a package...
@JosephWright almost working... w3c.github.io/mathml
 
 
1 hour later…
6:33 PM
@DavidCarlisle Indeed
@DavidCarlisle Question really is whether the current data is useful: I think from Qing Lee's comment it's certainly handy for the CJK package authors (though in an L3 context I'm minded to say we'll over-write it entirely)
 
 
1 hour later…
7:58 PM
@DavidCarlisle An amazing amount of attention for my question: I got four answers!
Finally managed to get it right how I wanted.
@UlrikeFischer's curveto decoration proved to be the key.
 
8:36 PM
@Danu I think she may have used TeX before.
 
9:13 PM
@JosephWright I wrote the community manager that our site user's want to have hats and sent the link to the meta post
 
9:24 PM
@DavidCarlisle Oh, really? ;)
 
 
1 hour later…
10:34 PM
@StefanKottwitz Saw that: thanks
 
@JosephWright No problem! I can write a blog post about great hat events :-)
@egreg Greetings from Venezia! I'm the 3rd week here now. Very foggy here today.
 
@StefanKottwitz Yes, here too! Are you going home on Saturday?
 
@egreg I planned to fly home Thursday let evening
 
@StefanKottwitz Will you get back?
 
@egreg Yes, I will return for sure! Next week I don't know (as I did my job already well) but next year I'll be in Venezia again from time to time, until April
 
10:54 PM
@StefanKottwitz Good!
 
@egreg Steampunk here. In the midst of thousands of tons of pure metal, cutting, welding, in claustrophobic corridors full of wires lines for energy, light, welding, I build a redundant 10G fiber and WiFi network.
 
@StefanKottwitz Nice job indeed!
 
Hotel in Venezia, work in port of Maghera
@egreg I use TeX for documentation, TikZ drawings, time enough during the weekly flights
 
@StefanKottwitz It's still called Marghera, as far as I know. ;-) I believe you find Venice a little nicer than Marghera.
 
ah ja, Marghera, I just know that industrial area
but we live in Mestre
 
11:00 PM
@StefanKottwitz Well, Mestre is not as bad as Marghera, but, still…
 
@egreg yes :-) I was often in Venezia, so I know
 
@StefanKottwitz Just like a dinner at “Chez Maxim” or at a “fish and chips”.
 
Currently, I'm living at Piazza Ferretto,
formerly, well, classic Venice
at midnight my girlfriend wanted to take a gondola back to our ship, as she was a bit drunk :-)
 
@StefanKottwitz Well, some decades ago it would have been the only way. ;-) I seem to remember there's a description of a long gondola trip in “Der Tod in Venedig”.
 

« first day (1864 days earlier)      last day (3062 days later) »