« first day (1725 days earlier)      last day (3211 days later) » 

3:27 AM
I heard a joke about LaTeX the other day, but it wasn't that funny. To be honest, it was a bit of a stretch.
3
 
 
1 hour later…
4:31 AM
I have been increasing and increasing bufsize and it is up to 10000000 and still keep getting the error ! Unable to read an entire line---bufsize=10000000.
Please increase buf_size in texmf.cnf. I will keep adding zeros. But is there a way to tell Latex to just the maximum memory it needs? thanks
I have 24 pages document, with lots of images (pdf) in it, they are large images. But having hard time getting tex4ht to compile it. lualatex can compile to pdf ok, but tex4ht is the one which is unable due to the above error.
Ok, finally it worked ! at bufsize=90000000 ! But there should be a better way to handle all this. Having a static counter like this and one having to edit a file and change it all the time is not right way to do things. Latex should simply use the memory it needs to compile.
 
 
1 hour later…
5:45 AM
@Manuel Assignments are not expandable, and token replacement uses a delimited macro which therefore needs to be assigned
@Manuel Typesetting stuff likes skips is all really sketchy at present
 
6:15 AM
@Nasser buffsize is the line length (more or less) not file size, are you sure you need a buffer that long?
@Nasser why?
 
@DavidCarlisle Yes, I had to make it that large for tex4ht to be happy. I really have no idea why. Large images may be?
 
@Nasser yes but you should fix that by not trying to read images as text not by making the buffer ridiculously large. You can't use any of the image read that way anyway so all you are doing is reading and discarding it
 
@DavidCarlisle I am just using \includegraphics[]{foo} where foo.svg is an image. make4ht takes care of the build. my file has lots of images and it gives this error, may be because the images are large.
but at 90000000 it works ! so problem solved for me. That is the important thing. This whole latex/tex4ht is like magic to me. I really have no idea how this thing is still holding up after all these years like this :)
 
6:41 AM
Latex is just too complicated for normal people to use. I just spend one hr to figure why I can't put a section inside a longtable. Then found I need to \protect the section. It is little things like this. Instead of spending time on actually writing content, I spend time in figuring why I am getting errors compiling all the time.
 
@Nasser you shouldn't put a section in a table (clearly) but if you do you don't need \protect
@Nasser normal people don't have 90000000 characters per line so they don't have those kinds of problems.
3
 
@DavidCarlisle it was longtable. I had to put \protect for it to compile. Please see tex.stackexchange.com/questions/20248/…
@DavidCarlisle I am not normal people, since I use tex4ht to make my web page with. Normal people use HTML to do web pages, not Latex like me.
 
@Nasser you'd get the same in any tabular kind pf environment. the section starts in horizontal mode before the p column is inserted, you could use \relax or more or less anything before the section not necessarily \protect
 
@DavidCarlisle ok. Thanks.
 
6:58 AM
I should be in bed.
 
7:12 AM
@DavidCarlisle can I please check with you on image resizing? On tex4ht mailing list, You are mentioned suggesting using this:
http://tug.org/pipermail/tex4ht/2015q3/001225.html
\DeclareGraphicsRule{.png}{bmp}{.xbb}{}
and then using ebb -x imagename

But I am using svg for images for tex4ht and not png. How can I use your method above for svg as well?
I added \DeclareGraphicsRule{.svg}{bmp}{.xbb}{} in my tex4ht config file. Then I did ebb -x imagename, where imagename actually the pdf file, i.e. ebb -x imagename.pdf (since ebb -x imagename.svg does not work). So I did generate an .xbb file for the image. But it did not get used by includegraphics and the .svg was not resized in the web page.
 
 
1 hour later…
8:22 AM
@DavidCarlisle please ignore my question above on image resizing. I send email to tex4ht mailing list asking about the problem I am having. thanks.
 
9:13 AM
@Nasser we're all at a conference so not much time for chat (or answers) anyway
 
@DavidCarlisle All? ;-)
 
9:31 AM
@JosephWright I imagined, that's why I thought that may be it could be done in two steps (first define the delimited macro, and last using it directly expandably). I can't think of an use right now, but I now sometime in the past I thought about "how good would it be to have this expandably done".
 
9:47 AM
@Manuel For cases where you can set up in a non-expansion context it's all doable
 
@JosephWright Yep, I imagined. Right now I don't need it, but I remember thinking about it in the past with an useful purpose. The names \tl_replace_all:nn { <tl> } { <alias> } or \tl_replace_all:Nn (being equal to :on) are acceptable, I think. And also some \tl_replace_new_alias:nnn { <alias> } { <search> } { <replacement> } or with another name you choose is needed.
 
 
3 hours later…
12:37 PM
For example, I would like to write the following in latex
$\gamma_x$ could be written in latex by writing \gamma_x in between two dollar signs.
But when I write the above sentence in latex, it gives me an error, because of \gamma_x
So how to solve this problem?
 
@barznjy Are you after \verb|\gamma_x|
 
 
5 hours later…
5:13 PM
Yes, Thank you very much it works fine but can you make the font to be similar to the other text in the sentence?

\documentclass[10pt,a4paper]{article}
\begin{document}
$\gamma_x$ could be written in latex by writing \verb|\gamma_x| in between two dollar signs.
\end{document}
 
5:59 PM
@michal.h21 if you are around please let me know, I need you expert advice on image resizing again with tex4ht. I am stuck again and I think you are the only one who would know the problem. I send email on this to tex4ht mailing list also. But thought it might be easier to answer any questions you have for me on chat if possible. I can't find what I am doing wrong.
 
6:59 PM
@michal.h21 please ignore my question. I went back to using eps for images and now it works ok. It resizes ok with tex4ht. Thought to let you know :)
 
 
1 hour later…
8:22 PM
@ChristianHupfer we can discuss this in chat of course but the discussion adds no value to the question nor does it help to find an answer which is why comments really are not a good place
@ChristianHupfer I think you should edit the title of the question back: de.wikipedia.org/wiki/Hashtag
right now personally I find the title confusing
 
 
1 hour later…
9:38 PM
@barznjy by writing \textbackslash gamma\_x in b
 
10:05 PM
@DavidCarlisle Thank you.
 
10:39 PM
@GonzaloMedina Hi Gonzalo, I didn't know that the duplicate mechanism will display more than one option for the duplicate. That's nice, since the one you linked to has a fantastic answer that the one I linked to doesn't.
 

« first day (1725 days earlier)      last day (3211 days later) »