@yo' You need a space (or \relax) after pt to avoid the errors ` \ifdim\hfuzz=200pt \vrwbgwg\fi` to avoid that the command is expanded while looking for the unit.
@PauloCereda I tried Nicola Talbot's texosquery; of course it doesn't work, because it requires Java 1.7.0_52. :( Which isn't available for Mac OS X, as far as I can see from the Java control panel.
you are loading three packages all of which redefine the label handling here. Since showkeys is just for draft usage I am, for once, inclined to agree with @egreg here. — David Carlisle3 mins ago
@egreg agreed (I thought you meant you had a java but just older, but I guess you only have the runtime by default) Nicola should have written it in lua, probably.
@egreg well especially as the main reason given for the package is to allow cross platform interface to making the queries.....
@DavidCarlisle Do you see anything wrong in how I compile it?
javac TeXOSQuery.java && jar cvmf Manifest.txt texosquery.jar TeXOSQuery\$1.class TeXOSQuery.class
java.io.IOException: line too long
at java.util.jar.Attributes.read(Attributes.java:379)
at java.util.jar.Manifest.read(Manifest.java:199)
at java.util.jar.Manifest.<init>(Manifest.java:69)
at sun.tools.jar.Main.run(Main.java:172)
at sun.tools.jar.Main.main(Main.java:1177)
I just copied Manifest.txt from the sources
@DavidCarlisle Ignore! ^^^^
@DavidCarlisle On the other hand, if I do javac TeXOSQuery.java && jar cvf texosquery.jar TeXOSQuery\$1.class TeXOSQuery.class, I get no main manifest attribute, in texosquery.jar
@PauloCereda Some years ago the satyrical paper “Il vernacoliere” titled “Astonishing effects of the Chernobyl fallout: a smart Pisan was born”. The monthly paper is based in Leghorn, the rivalry with Pisa is well known and very strong.
@PauloCereda Even better: create something that could be added to the restricted shell. After all, just querying OS parameters should not be that risky.
@PauloCereda There's still no bug tracker for texosquery on Nicola's site
I am using latex for my thesis and I am trying to get the formatting to meet the graduate school standards. Everything is good except my table of content.
The last line 'Chapter A...' I need to be 'Appendix A...'. In the thesis class file I add the following lines (My thesis class is in the repo...
@AlanMunn well if true is a lot of code you could do \@ifnextchar{\bar}{\@firstoftwo}{\@ifnextchar{\foo}{\@firstoftwo}{\@secondoftwo}}{true}{false} to avoid giving it twice, but actually I was thinking of the ifnextchar which does some white space skipping and a \futurelet which necessarily in the inner test will return the same as the outer test, so if you cared you could just do the primitive \futurelet once and re-use the test token in the inner test
@DavidCarlisle No it's not a lot of code. I was going to post the following as an answer to tex.stackexchange.com/q/319009/2693 Does it seem like a bad solution?
Hello, quick question(I hope). I want to `\input` parts of a large Latex file, so as to keep label numbers and such across each file(i.e. not use `\include`).
Is the best way to edit each of these 'subfiles' to add the preamble and `\begin{document}` and `\end{document}` to each of them while editing the subfile itself, and then delete when done each time?
@AlexClark probably better to ask a question on site with an example it depends what you mean by "parts of" and "keep label numbers"
user147690
3:27 PM
Oh well I just meant counters don't restart, and are maintained across subfiles. I have everything working completely, other than that whenever I want to edit blah.tex, which is used in \input blah.tex I have to open it up individually, add the preamble and begin/end doc and delete after I am done
@AlexClark well that's the default with input or include
user147690
I suppose I don't 'have to', but it would be more convenient if each file could just have the preamble and \begin .. \end left on, but ignored when I use \input on the main file
@AlexClark I think your issue is that you want to edit each of the input files without having to compile the whole document. For that the \include and \includeonly is a simpler solution, I think.
@AlexClark although for quick drafts where you don't care if numbering is "right" when you do a single section what I'd do is have a test document with its own preamble that (just) \input the section you are currently interested in, then you can either latex that or the main document depending. (auctex in emacs can do that on the fly for any region you just mark a region and to preview it, behind the scenes the editor constructs a document from the preamble and the region and runs tex on that
user147690
Actually I think I just found exactly what I want, it seems to work fine: using \subfile
user147690
subfiles package
user147690
It gives the child files the preamble of the main file, and you can edit either main or child freely without adding and/or removing the preambles
user147690
(Hopefully nothing bad happens with this... Seems this is exactly what I wanted though - hopefully I described my problem correctly in the first place)
@PauloCereda The duck arrived safely and was introduced to a few of his new friends. And I would post a picture but I do not know how to load a picture into chat.
@egreg Harry (the hedgehog) wants to remind @DavidCarlisle that he and his friends live happily in the hedgerows which in UK are very entwined with poison ivy. Harry asked me to tell David that even when baked there will be enough of the oils to give him and he guests a 'swell' time!
@StrongBad Runs and compiles, providing reverse numbering, with TL 2016
Output written on teststrongbad.pdf (1 page, 52057 bytes). Transcript written on teststrongbad.log. INFO - This is Biber 2.5 INFO - Logfile is 'teststrongbad.blg' INFO - Reading 'teststrongbad.bcf' INFO - Found 7 citekeys in bib section 0 INFO - Processing section 0 INFO - Looking for bibtex format file 'biblatex-examples.bib' for section 0 INFO - Decoding LaTeX character macros into UTF-8 INFO - Found BibTeX data source '/usr/local/texlive/2016/texmf-dist/bibtex/bib/biblatex/biblatex/biblatex-examples.bib'
@egreg There are a lot of different kinds of Brot, so what... but I like Schwarzbrot or Vollkornbrot, Roggenbrot is a bit lighter, but Weißbrot is a no go for me.
Here's the famous poetry, I got to know as a child: In Jesewitz, da hat's geblitzt, Da sind die Bauern ausgeflitzt, Da hatten sie sich ein Haus gebaut Von Leberwurst und Sauerkraut, Da ist es wieder eingekracht, Da haben sie sich halbtot gelacht. References: http://www.kathewitz.de/ http://digi-alt.ub.hu-berlin.de/viewer/fulltext/DE-11-001674223/213/ (local versions)
@StefanKottwitz -- ah, a devotee of what i call "real bread". my grandfather was a baker, and the family of one of his friends (a mr. uebersax) remained in business after grosspop retired. one of my saturday afternoon chores was a bicycle ride to fenwick bakery (in baltimore), to acquire the week's bakery goods. in addition to edible bread, there was all sorts of "sweet stuff" -- cinnamon cake, crumb cake, sticky buns, and in late summer, peach cake! the bakery is still there for us when we visit.
@StefanKottwitz Flagged right under the answer, also a comment left. I think this is reviewed by other 10k users.
@barbarabeeton Ever made bread yourself?
@egreg If you happen to answer tex.stackexchange.com/questions/318939/…, can you ping me? The question was crossposted to LC and i would like to add an answer (with SA of course). But right now, i am a bit tired.
@Johannes_B -- sometimes, but better at cookies and simple cakes. i've actually got my grandfather's recipe for christstollen, but have never had the audacity to try to make it (the recipe is for commercial quantities, and some of the ingredients are hard to get, or actually illegal/unobtainable -- bitter almonds), but i've made my aunt's "cut down" recipe; not as good as the original, but better than what one can usually find to purchase.
@barbarabeeton In germany, we have little small glass thingies with the amount of bitter almond flavour for one (?) cake. There are other flavours available. Personally, i don't like stollen.
@barbarabeeton I think the hard thing with bread is to properly knead it an bring into shape. Not to mention to properly let the dough rest.
@Johannes_B -- my mother wasn't a bread baker, so i missed the proper training. (she was particularly noted for hot milk cake and scratch biscuits.) i guess stollen may be something one associates with pleasant moments of childhood; i had the advantage of knowing what the really good stuff was like.
@Johannes_B -- yes, i'm somewhat familiar with those products. although they're based on natural flavors, some of them are only pale imitations. grosspop used to produce his own vanilla extract, by steeping vanilla beans in alcohol. the real stuff is so much more subtle than most of what comes out of bottles now. but i think that the "substitute" for bitter almonds is probably safer -- less cyanide.