« first day (2250 days earlier)      last day (2676 days later) » 

1:05 AM
'sup 'yall?
I want to release a package.
Would someone kindly list the basic steps I need to go through to, say, get a package picked up by TeXlive?
i.e. 1) Upload to CTAN, 2) ?...
 
1:20 AM
 
1:48 AM
@JosephWright My internet took a while to upgrade TeX Live, which needs to download 1.8 GB. After the that, I did a build in Texmaker and found out that it is the solution. The sections and subsections now have numbers attached to it.
@DavidCarlisle Yes, I agree that it must have something to do with the fonts in Tex Live.
Thanks for all the suggestions last night.
 
2:41 AM
I still can't make up my mind which to choose between \IfFontExists and \FontIfExists for a new command in fontspec. Implemented the latter last night and now leaning towards the former.
 
 
2 hours later…
4:37 AM
Experts: I am getting error

[312
./KERNEL.tex:28569: Huge page cannot be shipped out.
\@EveryShipout@Output ...@Org@Shipout \box \@cclv

l.28569

But when I copy the latex code around the line in question, to new empty Latex file and compile it, it compiles OK. No error. How would one go about debugging " Huge page cannot be shipped out."? I am looking at line 28569 where it gives the error at, and I see nothing. I copy it and it compiles on its own file. Just \\verb|...| stuff there
Here is from log file


[312
./KERNEL.tex:28569: Huge page cannot be shipped out.
\@EveryShipout@Output ...@Org@Shipout \box \@cclv

l.28569

? x


Here is how much of LuaTeX's memory you used:
 38428 strings out of 495118
 1457481,953878 words of node,token memory allocated 556393 words of node memory still in use:
   3049 hlist, 26 vlist, 43 rule, 32 disc, 33 local_par, 1 dir, 22 math, 56669 g
lue, 1494 kern, 409 penalty, 14772 glyph, 8270 attribute, 49 glue_spec, 8270 att
ribute_list, 1 temp, 5 if_stack, 4 write, 24 pdf_literal, 5 pdf_dest, 32 pdf_col
Additional info: Line 28569 is 8703 long. But it is all like this:

\verb|few words|\\\verb|few more words|\\\verb|few more words| etc...

when compiled it will show as

few more words
few more words

and so on. Other than that, I see nothing to cause this huge page problem there
Here is screen shot of line 28569
OK, I found it !
It was a math equation above, which was 28536 characters long. That what was causing the error later on. I removed that equation, and the error went away.
Case closed. Thank you.
 
 
4 hours later…
8:39 AM
:'(
 
9:07 AM
@WillRobertson sorry not really had chance to look yet, but if... sounds more flexible, perhaps
@Nasser that is line 28569 of kernel.tex (in the luatex sources) not a line in your file. If the file was plausibly reasonable rather than an accidental loop generating something big, it may be worth raising on the luatex list, they may be able to raise some internal limits.
 
9:28 AM
@PauloCereda I'm so sad, she was the heroine of my adolescence!
 
@CarLaTeX Me too. :( She was a fantastic person.
2016 was a terrible year.
 
9:49 AM
@PauloCereda Of couse, she was! :'( Yes, a terrible year, just few days ago George Micheal!
 
@CarLaTeX Indeed. :(
Two days for the duck contest!
 
10:04 AM
@WillRobertson \IfFontExists sound more in line with \IfFileExists.
 
10:40 AM
@UlrikeFischer I agree :) Okay, I think that's settled! Now I wonder what else has been lurking in my bug reports that I never got around to addressing...
 
@DavidCarlisle What is cricket? ;-)
 
@ChristianHupfer Baby don't hurt me, don't hurt me, no more... something. :)
 
@PauloCereda Where is Anakin?
 
@WillRobertson One person's bug is the other person's feature. :)
@ChristianHupfer er...
 
11:17 AM
Just listened to Brit Floyd. Those blokes are really good.
 
12:08 PM
I am so afraid to read the news.
 
@PauloCereda You have to live in cave without access to the internet then...
 
@ChristianHupfer And Pringles. :)
 
yo'
@PauloCereda you think there're Pringles in caves? :-)
 
@yo' Of course, everybody knows that Pringles either grow on trees that grow themselves in caves or little dwarves will go Pringles mining insider the cave ;-) @PauloCereda
 
@yo' NO?!
/quacks in despair
 
yo'
12:16 PM
@ChristianHupfer I thought you need a Star Trek replicator to create them; that's also why they look all identical ;-)
 
@yo' Don't be silly. I've added realistic explanations and you mention Star Trek ... ;-)
 
@PauloCereda A lot of numbers are still not taken, your post should be highlighted! Or you should give us a third choice :)
 
@CarLaTeX I've opted for the numbers -42 and -43 ;-) I bet I'll win ;-)
 
@CarLaTeX ooh let me check!
@CarLaTeX: on a second thought, the idea is quite different from Marc's contest, as the winning number is chosen randomly based on the picked numbers. :)
 
12:36 PM
@PauloCereda What a pity, only two chances to win the duck! :(
 
@CarLaTeX Well, if I can make people happy, I will add a third number!
@CarLaTeX: Done! Have fun! :)
People, I will need help to keep track of the third number too!
 
@PauloCereda Entered my third choice
 
@DavidCarlisle LOL
 
yo'
@DavidCarlisle I didn't need to guess...
 
12:53 PM
@PauloCereda Third choice entered and punched! Thank you, you are very nice! :)
@DavidCarlisle Don't you like ducks? Hahaha
 
@CarLaTeX crispy Chinese duck , yummy:-)
 
@DavidCarlisle Hahaha hahaha hahaha
 
1:14 PM
@CarLaTeX My pleasure, I hope you win the duck! <3
@DavidCarlisle OH NO
/quacks in despair
 
@ChristianHupfer I'm sure you'll win and have a dinner with David :)
 
@CarLaTeX I suspect David secretly has a duck... :)
@DavidCarlisle ^^
 
@PauloCereda Yes, he loves ducks but is too shy to tell us :)
 
@CarLaTeX :)
The first and last time I tried duck was in a Chinese restaurant in São Paulo.
It was terrible.
 
@PauloCereda I don't like Chinese duck but I confess I've eaten duck cooked in other ways...
 
1:29 PM
@CarLaTeX oh no!
I always make a mess when trying to eat with hashi. :)
 
@CarLaTeX “Pappardelle al sugo d'anatra” at Anzù. Don't you know where Anzù is?
 
Mi chiamo Paulo, molto piacere!
Non parlo Italiano. :(
But I know what anatra is!
 
@egreg I don't know where Anzu' is but I like very much the pappardelle
@egreg Paulo has discovered us!
 
ooh ArsTeXnica 20 is publicly available!
 
@CarLaTeX Small village near Feltre. Just below this site
 
1:34 PM
@egreg Lovely!
 
@egreg: an Irish beard!
 
@CarLaTeX Santi Vittore e Corona, a very nice place.
 
@egreg I'm noting it for my next vacations!
 
43
Q: The duck giveaway 2016, seasonal edition

Paulo CeredaThe Duck Giveaway 2016, Seasonal Edition 'ello, ladies and gentlemen, boys and girls, ducks and mallards, children of all ages! It is time for organizing another amazing community lottery, our beloved duck giveaway 2016, seasonal edition! The previous giveaway was a huge success, so let us try t...

Guys, don't forget to pick a third number!
 
1:53 PM
@PauloCereda -- i've picked a third number, but i'm on an ipad, and can't figure out how to punch. help!
 
@barbarabeeton Duck to the rescue!
@barbarabeeton: done. :)
 
@PauloCereda -- i've picked a third number, but i'm connected from an ipad, and can't figure out how to punch. help!
 
@barbarabeeton ooh barbara from the future. :) I punched it for you. <3
 
@yo' -- we've landed. in the rain.
@PauloCereda -- thank you! (obviously, one-finger "typing" on an ipad leaves a lot to be desired. later, i should be able to break out the laptop, but communications will be somewhat crippled for a couple of weeks.)
 
@egreg @UlrikeFischer @JosephWright — am I the only one that defines "Nx" variants for prop commands basically any time I use that module? Wondering if it would make sense to add by default.
 
2:07 PM
@WillRobertson We did discuss doing all variants for everything: I've no objection to adding more if they are reasonably common
 
@WillRobertson No, you're not alone
 
@WillRobertson Certainly if you need it for fontspec it's core enough to make the change
@WillRobertson, @DavidCarlisle Expect to address the '.dtx headers' business today (so much stuff to do over the holiday!)
 
@JosephWright Well, I never know if my coding style is too baroque :)
 
@WillRobertson For siunitx I have
\cs_generate_variant:Nn \clist_map_function:nN { nc }
\cs_generate_variant:Nn \tl_if_blank:nTF { V }
\cs_generate_variant:Nn \tl_replace_all:Nnn  { No, NV , Nx }
\cs_generate_variant:Nn \tl_if_empty_p:n { f }
\cs_generate_variant:Nn \tl_if_empty:nT  { f }
\cs_generate_variant:Nn \tl_if_in:NnTF { NV }
\cs_generate_variant:Nn \tl_replace_all:Nnn { NnV }
\cs_generate_variant:Nn \prop_get:NnNT  { NV }
\cs_generate_variant:Nn \prop_get:NnNF  { NV }
\cs_generate_variant:Nn \prop_get:NnNTF { NV }
in terms of variants on core concepts
 
@JosephWright \tl_if_empty:f <→ str_if_empty_x ?
 
2:10 PM
Much the same for the v3 code at the moment
@WillRobertson Yes, true
 
@WillRobertson I didn't check why you need it but I normally try to avoid x-variants -- if it is my input I know the number of expansion needed anyway, and if it is foreign input x has a tendency to lead to problems.
 
@UlrikeFischer Well in the code I just wrote I have things like \prop_gput:NxV \g_@@_em_prop { \f@series/\f@shape } and \prop_gput:Nxn \g_@@_em_prop { switch-\int_use:N \l_@@_emdef_int }
 
@UlrikeFischer Same here, hence the V-type stuff in the above
@WillRobertson All looks fine to me
 
@UlrikeFischer So not unconstrained input but cases where keys are being generated dynamically
Hopefully \f@series and so on is always fully expandable :)
I could use f instead of x — any idea off the top of your head which is faster?
 
ooh I know the answer
x, because it has two legs! f has just one, it has to jump!
ooh I am smart
 
2:16 PM
@WillRobertson Depends on the content, but f-type won't work for \f@series/\f@shape as it will stop early ...
 
@JosephWright Oops, you're right! No wonder I don't use f too much…
@PauloCereda haha
 
@WillRobertson For your context, x is the best choice. I'm perfectly happy seeing these variants added to the core: we possibly should just do 'all the stuff' for non-expandable functions and 'all the expandable ones' where that's the right approach ...
 
@JosephWright For everything everywhere you mean? There's always \exp_args:N... for unusual use cases.
 
@WillRobertson Perhaps one for the team list!
 
yo'
@barbarabeeton Vítejte na letišti Václava Havla v Praze. :-)
(I admit the weather is far from optimal...)
 
2:51 PM
@UlrikeFischer — any comments on querying active features? Worth adding something like this to fontspec, simple as it is? See: github.com/wspr/fontspec/issues/163#issuecomment-269486837
 
@PauloCereda regarding DuckGiveAway: do you need a new answer with the third number or is a comment with nametag sufficient?
 
@naphaneal could you update your existing answer?
 
@PauloCereda done
 
@naphaneal thank you!
 
3:46 PM
@WillRobertson It would be very nice to be able to access features etc. But imho you will at first have to solve the problem of conflicting/unclear features when using \addfontfeatures:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{texgyrepagella-regular.otf}[Numbers=OldStyle]
\begin{document}

\ExplSyntaxOn
\def\FeatureActive#1{%
  \exp_args:Nxx \tl_if_in:nnTF
    { \fontname\font } { \tl_to_str:n {+#1} }
    {T} {F}%
}
\ExplSyntaxOff

abc123
\FeatureActive{onum}

\addfontfeature{Numbers=Lining}
abc123

\FeatureActive{onum}
\end{document}
I get true in both cases ...
 
4:12 PM
@PauloCereda: I opted for -44 now :-P
 
@ChristianHupfer <3
 
@CarLaTeX Oh no I mean yay ...
 
@ChristianHupfer Waldorf salad.
 
4:28 PM
@PauloCereda Norwegian Veal substitute :-P
 
@ChristianHupfer ooh
 
@ChristianHupfer The "no" was referred to having a dinner with David, I imagine you'd prefer a beautiful girl hahaha
 
Oh, that reminds me of my last date... :(
 
4:56 PM
@CarLaTeX I've got a beautiful girl ... no need to have dinners with other ones :D
 
5:13 PM
@ChristianHupfer, @CarLaTeX ^^
 
Busy here ...
 
@JosephWright quite the opposite here
 
@ChristianHupfer Lucky man! And lucky girl if his boyfriend doesn't need others!
 
@DavidCarlisle I meant in the chat room, based on the number of icons ...
@DavidCarlisle At home, it's my mum, my sister, my niece and me
 
@DavidCarlisle go write a thesis
 
5:17 PM
I'm reviewing a paper
 
@PauloCereda I've written my thesis.
 
@DavidCarlisle oh
 
@PauloCereda one of the most beautiful love stories in cinema history :)
 
@CarLaTeX it is!
 
I have to work but I'm alone in the office (all my collegues in vacation) and I'm losing time here!
 
yo'
5:24 PM
@DavidCarlisle @Paulo 's thesis?
 
@CarLaTeX Time is never lost when you are amongst friends. :)
 
I have to finish a power point :(
 
@CarLaTeX oh no!
 
@yo' \documentclass{happyholidays}\begin{document} Paulo's thesis here\end{document}
 
@PauloCereda I'm obliged to use it!
 
5:26 PM
@DavidCarlisle This is half accurate!
@CarLaTeX Oh!
That reminds me, I don't have Microsoft Office nearby!
 
... and certainly you don't miss it!
 
@PauloCereda fortunately this is also an error free document \documentclass{happyholidays}\begin{document} so you don't need to write the thesis part.
 
@CarLaTeX Not at all, I have a IDE opened all the time, though. :)
 
 
1 hour later…
6:39 PM
@PauloCereda Emacs is no IDE ;-)
 
 
1 hour later…
7:40 PM
@ChristianHupfer HER boyfriend, of course, sorry for my english! :$
 
@CarLaTeX as long as you don't suspect me having a boyfriend ;-)
 
@ChristianHupfer :)
 
 
2 hours later…
9:41 PM
@ChristianHupfer hiiiiiiiiiiiiiiiiiiiiiii
@ChristianHupfer puffff there is a magician...ahahahhaha
@ChristianHupfer how are you?
 
10:05 PM
@Sebastiano You summoned your master? ;-)
 
@ChristianHupfer ahahahahahah
Who is my summoned?
@ChristianHupfer You look many films :)))))
@ChristianHupfer You look many films :)))))
 
@Sebastiano Yes, too much most likely
 
@ChristianHupfer hihiihihhi
welcome David
my regards to everbody
I have problems with my net
everybody read me?
@DavidCarlisle Welcome
 
@Sebastiano yes
 
ah ok. I have problems with my net. Sincerely who is my english?
Twenty minutes ago I have sent to the staff this email:
As a teacher, in connection with article 1, paragraph 124 of Law 107 of 2015 in the field of teacher training, they are obliged to have played a certain number of hours, to be diluted in the last three years of the training plan issued by Ministry of Education and research.
I wonder if you can improve the site, inserting a clock, indicating the duration of access weekly, monthly and yearly. Hoping for a positive response I extend cordial greetings.
 
10:19 PM
@Sebastiano the site mechanics are controlled by the stackexchange company and apply across the network, noone here has any control over that sort of thing. It would anyway be a meaningless measure, people leave machines or phones logged in all the time
 
if anyone's interested...
 
@AaronHall Well, why you post it there? You have a TeX.SE account, haven't you?
 
Because I want code review, isn't that the best place for that kind of question?
If we want it here, and they don't want it there, feel free to ask for it to be migrated.
One thing I hope to learn from the review is how to make the newlines stop affecting whitespace...
 
@AaronHall Start with removing ucs and changing utf8x into utf8
 
@daleif Thank you for the suggestions. Although this method doesn't work in my case, it's good to know in the future, if such unfortunate cases repet. Somehow, the right information must be there, but for some reasons it cannot be viewed I think.
 
10:26 PM
@AaronHall Also \usepackage{fontenc} is useless; remove dvips from hyperref
 
@egreg can you write it up on the site?
 
@egreg Good evening @egreg.
 
@AaronHall There are much more things to fix: using \leftskip in lists is something I'd avoid very carefully; changing its value here and there is a no go.
 
@DavidCarlisle Sorry for my late answer. Here the net is bad . I thank you very much for your answer
I greet with all my heart all those who are currently connected. I go to bed: here came the cold cold.
Regards to everybody from my land
goodddddddddd night
 
10:42 PM
Hi
I have placed my output files in a folder
pdflatex -synctex=1 -interaction=nonstopmode -output-directory=../latex_build % .tex
^ that is the command I have placed in TeX Studio but I have problems compiling the .bib file.
Every cite has a question mark instead of a reference number.
How do I solve this?
 
@AaronHall you must get errors from \hline don't you (in addition to things egreg mentioned) (I'm not signing up to another sx site just for this:-)
@Ralf17 run bibtex, then latex twice (this is a FAQ:-)
 
I tried configuring the build commands
 
i don't know what config that is, but you don't want to run pdflatex and bibtex multiple times each time you generate the pdf, yio just want to run latex once, and run bibtex just if you have added new citation
 
@DavidCarlisle ^ I did that as seen in the image for compile and view but no change. There is still a question mark.
I need to try again.
 
@Ralf17 well there are 1001 reasons for having a question mark but most of them leave a message in the log saying what the problem is, either latex not run twice, or bibtex not run, or a typo in the \cite meaning there is no matching reference or....
@Ralf17 before messing with editor configs just check it works on the command line (which is what I use 99% of the time anyway) if your file is called file.tex just run pdflatex file; bibtex file; pdflatex file; pdflatex file
 
10:54 PM
@DavidCarlisle The source code works well when compiled in TexMaker and ShareLatex. The pdf generated has reference numbers per cite. I switched to TeX Studio and I am new to its configurations.
 
@Ralf17 Well as @DavidCarlisle would advise you too: Don't use an output-directory. One seldom gain something with it but it is a lot of trouble to get all the tools to find the file.
 
@Ralf17 texstudio is just the editor to help edit the tex and run the commands, if it is easier to run the commands outside the editor, then it isn't helping...
 
@UlrikeFischer I don't want the output files to mingle with the tex files in the folder because its necessary, that's why I used an output directory.
 
@Ralf17 and as Ulrike says -output-directory is just asking for trouble it is a purely cosmetic option with no useful benefits which greatly complicates the configuration of every related program as they all need to find teh files that tex has been told to write to a non standard place.
@Ralf17 why?
 
To make it look like Sharelatex. Sharelatex doesn't show me the output files, I can't read those .aux, .lot, .lof, etc.
 
10:59 PM
@Ralf17 I just looked in the directory I use mostly for tex documents I have 4034 .tex files, 851 .pdf, 501 .aux, why is that an issue?
 
It's a personal preference. In Java IDEs it is possible to separate the folder for output files, I'm trying this approach in latex but it seems Tex Studio has a bug for that implementation. Am I right?
 
@Ralf17 the aux file isn't for you to read it is for tex and bibtex (and other things) to read, if you write it somewhere else then the most common thing is that bibtex can not find it, and then the result is that you get unexpected ? in the document. It is possible to configure bibtex and makeindex etc to find it but it is self inflicted complication
@Ralf17 .aux is primarily an input file that is the issue.
 
How can I configure BibTex in such a way that .aux will be read by it?
 
@Ralf17 you can just run bibtex in the file where the aux file is
 
I went to Commands in TeX Studio:
 
11:05 PM
@Ralf17 sorry can't help with texstudio config as I don't have it (but anyway my advice would be to not use output-directory, whatever editor you use)
 
Okay
I'll search more.
 
try if you can add the latex_build folder to the bibtex command (but as I wouldn't do it either it is untested)
 
@DavidCarlisle you totally should sign up for code review! nevertheless, I'll accept a migration, do you think I should ask for one?
 
@Ralf17 looking at your image note that all the commands after the first three, so from dvi viewer down are all taking the output files from tex as input (they input dvi or aux or idx etc) so they all will be broken by the -output-directory in the pdflatex line and would need input like latex_buuild/%.aux (or cd to latex_build before running the command
@AaronHall no idea it's only marginally a "question" so not great for this site,
 
well the idea is that I want code review, so I'm asking for a code review. that's why I put it on the site. It only takes a couple of clicks to make a new account. Why not do it?
 
11:17 PM
looking for answers.
I went to the console and run bibtex main.aux within latex_build.
It says:
This is BibTeX, Version 0.99d (TeX Live 2016/Debian)
The top-level auxiliary file: main.aux
The style file: ieeetr.bst
I couldn't open database file Bibliography/simple.bib.bib
---line 128 of file main.aux
: \bibdata{Bibliography/simple.bib
: }
I'm skipping whatever remains of this command
I found no database files---while reading file main.aux
Warning--I didn't find a database entry for "whoInventedKNN"
Warning--I didn't find a database entry for "knnSiddharth"
Warning--I didn't find a database entry for "featureExtraction"
 
@Ralf17 simple.bib.bib ... maybe the doubled .bib extension is the cause?
 
@Ralf17 yes because presumably Bibliography directory is not a subdirectory of build_latex (config error) and you specified the simple.bib not simple in the latex file (tex error)
 
So I need to have .aux and my .bib file within the same folder?
I copied the Bibliography folder to the latex_build folder so it is now a subdirectory, it now says:
 
@Ralf17 or tell every related program where the heck you have written the files:) see the config in the answer here but see my comment first...
99 times out of a 100 when someone configures tex to write the output somewhere non standard people get error messages with one or other of the auxiliary programs not finding stuff. It is so much easier just not to do that, and to let Tex write stuff where everything expects things to be written.... — David Carlisle Jan 7 '14 at 14:07
 
This is BibTeX, Version 0.99d (TeX Live 2016/Debian)
The top-level auxiliary file: main.aux
The style file: ieeetr.bst
Database file #1: Bibliography/simple.bib
Warning--empty note in myRRL
Warning--empty note in myWriteUp
 
11:30 PM
@Ralf17 so it worked now
 
@AaronHall Review done
 
yay!!!!!
 
@Sebastiano Hi! Sorry, I was busy with @AaronHall's code
 
@DavidCarlisle Yes, everything works well if I removed the -output-directory=../latex_build.
There are now numbers per citations.
 
@Ralf17 :-)
 
11:35 PM
Thanks for all the advices.
I was also able find out after more research that after I removed the -output-directory=../latex_build as seen from one of my pictures, I brought it back again and find that it also works. Maybe the reason behind is the simple.bib.bib not compiled properly during my initial tries.
Nope, I did further testing in other cases. I think David's approach is the best, I'll just remove -output-directory=../latex_build and file a bug in sourceforge.net/p/texstudio/bugs
 

« first day (2250 days earlier)      last day (2676 days later) »