@DavidCarlisle oh my i totally forgot about that. why didnt i try it first. In any case i am still look forward to an answer that implements the math library. If none appears well your answer does answer the question :)
I just recognized that the "hyperlink pdf test" question has been asked months ago. I have seen it while browsing through the questions and got interested in trying it out. So thank you for accepting it.
@JosephWright Thanks for thinking about me. I applied. Well, I do not know if they need TeX-noobs like me, but if I can help a bit by applying at least, I am glad to do so.
@LaRiFaRi the point really is: most of the "advanced" TeX users (I use your vocabulary, in my opinion, you are advanced as well) get they subscription in another ways. I really think that this should be taken as a good opportunity for people like you to enjoy the membership :)
StackExchange continues to support TUG with corporate membership (many thanks). With that come eight individual memberships that can be given out to members of the community. The time has come to select our representatives for 2015. (See TUG Membership: Names for 2014 for last year's selection.)
...
How would I find why pdflatex hangs? Also lualatex hangs on same .tex file. No error message, nothing. It hangs here:
(/usr/local/texlive/2014/texmf-dist/tex/latex/tools/calc.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/tocloft/tocloft.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/etoc/etoc.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/tools/multicol.sty)
The file is not large, so it must be hanging on something.
What does the log say (has more information than the terminal output) the error is just after it's finished loading multicol, so what is the next thing in your preamble? removing the toc file would be a good start
@DavidCarlisle thanks! you are so smart. I deleted file called *.toc and now it worked!
I think Latex gets confused too quickly. I need to add something to my Makefile to delete all those files before each run. I now only delete the aux file.
@Nasser If you kill a job while it is writing the table of contents (ie at any point, really) then it is quite likely that the toc file is mal formed with half written commands, then when it is input at the start of the next run it will generate spurious errors or loop or do whatever it does. It is very hard to catch that in a macro language like tex.
@DavidCarlisle other than .aux and .toc, what other files should one delete before each run to make sure there is no conflict? Should I ask this at main board if you think it will be useful? Latex generates so many files on the side.
@Nasser You need some (typically three) runs without deleting the aux and toc
@Nasser different packages may write any number of files for bookmarks md4 checksum checks or whatever, there is no need to enumerate them really if your source is in any kind of source control, if you want a clean build just delete everything other than the source.
@DavidCarlisle I do not use source control. I have all files in one folder, and divide things by folder. So many temp files exist in same folder from earlier build. So now I add commands in makefile to delete files I do not want before running pdflatex or tex4ht. I can't do rm -f * in the folder, else I will delete things I need.
@DavidCarlisle, well, it is one student PC in the living room. No other person shares the code with me, and I backup all the time to different disk. So source control is not that critical. But I really need to spend time to learn one one day.
@Nasser well OK but if you just do ls in that directory and look at the files, any that you didn't put there you can delete so that tells you the extensions used by thepackages you are using. A quick look in the directory I use for running MWE from here I see all these extensions aux toc lof lot bbl 4ct 4tc xref out mtc mtc0 mtc1 maf I have no idea about some of them:-)
@PauloCereda Only because of the sick hwyaden. (And I was afraid @yo' might carry out the threat made yesterday.) I already regret doing it. (But compile the code if you like cats.)
@cfr Speaking of group membership, might I tempt you to consider UK-TUG? We probably should have more people with knowledge of the languages of the British Isles beyond English (OK, @Brent.Longborough is also in Wales)
Worobetz L, Hilsden R, Shaffer E, Simon J Pare P, Scully L, et al. The liver. In Thomson BR, Shaffer EA, editors. First Principles of Gastroenterology. 2nd ed. University of Toronto Press: Toronto; 1994.
Gray H, Lewis WH. Gray's Anatomy of the Human Body. 20th Ed. New York, NY: Bartleby; 2000.
Bu...
@JosephWright Thanks for the ping and thanks to @yo' too. Thanks and No for this time. It is the chance for others now as I have been there already once. Thanks all :)
I am creating a pdf file with MiKTeX editor. I am including a figure as follows:
\begin{figure}
\centering
\includegraphics[width=0.9\textwidth]{MonitoringConcept.JPEG}
\caption{Monitoring concept for energy and comfort}
\label{MonitoringConcept}
\end{figure}
In the header, I h...
There several types of graphics files. In no particular order .jpeg .eps .pdf .png .tif .jif (and no doubt others). Some work with latex, dvips and some work with pdflatex. How am I supposed to know which?
Just to confuse matters, metapost produces .eps but I can use these with pdflatex as long ...
Images
Why do I get a black rectangle instead of my external picture?
[Why do I get a black rectangle instead of my external picture?](http://tex.stackexchange.com/q/112473)
Which graphics formats can be included in documents processed by latex or pdflatex?
[Which graphics formats can be includ...
@JosephWright The second line might be \setbox0=\hbox{$\scriptstyle\mkern18mu$} so the \scriptspace will not influence the result.
@JosephWright I guess they thought mu units are not important, as most spacing in formulas is not used in sub/superscripts; but, \thinmuskipis used. So $a_{\log x}$ would output too big a space.
is it useful to list texdoc latex2e, etc., among the "beginner to intermediate" items? or maybe some in that section, and the rest in the "more experience" section?
Thoughts welcome :-)
btw @joseph, have you seen \DeclareSectionCommand[Eigenschaften]{Name} and friends with KOMA-script 3.15? <- komascript.de/releasesvn
@JosephWright Not specially for you, but where did everyone get the idea that, just because I'm interested in the problems of uppercasing Turkish correctly, I can speak Welsh. I can write about three words; pronunciation has, so far, escaped me...
@JosephWright I was reading xtemplate, but to be honest, i didn't quite get the jist of it. And my mind was distrcted before i had the chance to look at examples here on site.
@JosephWright @topskip suggested something like this on the DANTE list:
Auch fände ich so etwas wie CSS für LaTeX gut. %I would find something like CSS good in LaTeX%
@JosephWright I'll be probably soon designing a class file for my university thesis, I consider using L3. So I might be able to give a lot of feedback.
@JosephWright Regarding design specs: Just about every university in the US uses the same dissertation archiving service, so they all have to meet the same specific formatting requirements. As far as I can tell, the thesis model in the memoir manual meets this spec with only a few modifications. If there was a usathesis class implemented in L3 with a good interface it would be a tremendous benefit. media2.proquest.com/documents/…
@JosephWright But I still don't quite understand if this is the kind of thing you're looking for.
@AndrewCashner I am confused. They (this proquest paper) are having specs, but the university can add specs to the list and one has to follow both? Can somebody explain this to me?
@Johannes_B that's it exactly. Proquest stipulates a minimum set of requirements for archiving and reproduction purposes, and then universities add their own specifications on top of that. E.g., lib.uchicago.edu/e/phd/pdf/booklet2011.pdf
@AndrewCashner eventually but not yet, the l3 interfaces to specify the document design just are not there yet, expl3 is very much a programming layer but is now robust enough for general use so you see 2e packages being written in it (siunitx, unicode-math,...) but the l3 document layout specification is some combination of some version of xtemplate, xgalley, xor and ldb and it's not yet usable (or existing in some cases)
@DavidCarlisle I'm sure I'm not the only one who would like to be involved if there were some concrete way to add something useful. It sounds like there are deeper problems involved than I could understand.
@Johannes_B But there is no way to do this. Each university has a cadre of small minded bureaucrats who delight in making stupid requirements which must be followed. To cite just one example (I maintain a class for my university), students are not allowed to have a copyright page in their thesis unless they pay Proquest to register the copyright, even though Proquest itself says that you should have such a page whether you register or not. I've argued unsuccessfully to get this changed.
I am a bit concerned with this -> profpartha.webs.com/publications/tugendorse.htm. I have read the review by Nicola on that one in the last TUGboat. I wanted to have a look at the pdf to see for myself and i need to tell them my mail? Strange
@Johannes_B And another one: headings in the TOC must match headings in the chapters/sections which in my university gets interpreted that they must all be in bold because the headings themselves are bold.
@Johannes_B just to echo @AlanMunn's comments: as maintainer of "yet another thesis class" I have had similar senseless/silly discussions with the powers that be in my former graduate school.
@AlanMunn That's why there was the commnd them part ;-)
@PaulGessler @AlanMunn The maintainer of our university thesis class is a friend of mine. We have a corporate design, in fact only for flyers and stuff. But it was implemented in the thesis design as well. Now the standard is futura for a technical/mathematical paper.
@Johannes_B But they're not required by the university, right? Here, before you can have your thesis accepted, a minion looks through the whole thing to see that it matches the requirements laid down by the university.
@AlanMunn I was searching for »latex vorlage« and checked many german university templates. Even the national library thingy with three or for names for people in charge was just sooo bad.
@AlanMunn No, or not that i am aware of. I don't think a thesis can be rejected for formallities like this. The templates are almost always a you can do it this way if you want. The guy usually having the last word is the supervising professor.
@Johannes_B Yes, there's a lot of crap out there. That's partially why I wrote one. I got sick of my students trying to use a badly written and often outdated template they found on the web made by some grad student who hacked something together.
@Johannes_B Well at least for any one institution if you can keep the number to a minimum it helps. At my university there are two "competing" versions, a class maintained by me, and a package maintained by a math prof. We are gradually trying to get the grad school to make more rational guidelines, but it's hard.
@AlanMunn Do you think it would be possible for a team to create a baseline thesis class that would satisfy Proquest and maybe 70% of the specifications of the US research universities, and leave an interface so that each university could add the remaining 30% with a custom package? Maybe this is too idealistic.
I'm writing my dissertation and have difficulties in producing the same formatting as in the sample. Can anyone help? There are several requirements here:
CHAPTER NUMBER: TITLE (in captions and in one line)
Introduction section without number
Footnotes must be placed at the bottom of the page ...
@AndrewCashner two unfortunate issues make this too idealistic in my opinion: 1) who will maintain this custom package for each university? The thesis offices certainly won't; it falls to students, most of whom wouldn't put in the effort, and all of whom will eventually graduate and may not want to keep up maintenance. And 2) even if an author/maintainer is found, there is no good way to eliminate the old cruft that will inevitably be floating around.
I don't even come close to writing perfect LaTeX code (some of you here would probably have axes to grind with me if you saw some of the stuff I've done... :p), but even I shuddered when I saw some of the things in the previous so-called "Marquette Thesis Template".
All that said: we won't get anywhere if we don't try. Which was why I posted my class on CTAN and tried to promote it as much as I could within the university.
@PaulGessler Okay, I can see the problem there. But if the interface and documentation of the base class were good enough, perhaps we could do without the university packages. Right now students are either fighting with these dinosaur templates, or like me, starting from scratch with memoir or KOMA or Context. Perhaps we could provide something in the middle, that still leaves details up to users (who hopefully would come here for help) but at least gets them more in the ballpark.
@PaulGessler @AlanMunn I will look at your classes and think about this some more. First I have to finish my own and hopefully it will pass the minion's review. But later in the year I might be able to see what common ground there is between templates and the different university specs.
@AndrewCashner that's a good point, and now I think I see something closer to what you were originally envisioning. Maybe memoir or koma configured to match UMI/ProQuest with clearly-documented interfaces to the most common changes. But of course, if everything is covered, then we're back to basically customizing memoir (or whatever base class).
@AndrewCashner it sounds like you're going this route, but I highly recommend starting from one of the highly-configurable classes with "API-like" features such as memoir. I started trying to write one from scratch and it was an absolute disaster.
@PaulGessler -- saw the recent question about the thesis, and it reminded me that peter flynn had talked about this topic in 2012: A University thesis class: Automation and its pitfalls. at that time, there were 42 thesis classes on ctan; a quick check just now lists 69. i was wondering if anyone would consider making a list of the important characteristics, and presenting the info in chart form?
@barbarabeeton I read this when I was working on mugsthesis, but I'll give it another read tonight. I think that's where I got my "Yet Another Thesis Class" catchphrase from. ;-)
@PaulGessler Yes, you see what I mean exactly. I made my own thesis class based on memoir, which I use with my own package that emulates some of TEI XML.
@AndrewCashner -- i'd be happy to publish the result in tugboat, but perhaps it would be more accessible on tex.sx. but what it might make possible is identifying a core of requirements that could be used as a basis for a readily-modifiable "super-template" (actually document class), that might be added to the core classes in "latex required". (probably a vain hope, but ... whatever.)
@JosephWright I was going to try to make this year my first trip, but I don't think it's going to happen unfortunately. I'll make a strong effort to attend the next time it's in the US.
@PaulGessler I would be a bit worried about piggybacking documentation, though. So memoir duplicates the functionality of other packages, and gratefully provides documentation for all of that functionality in one place. On the other hand biblatex-chicago, though its function is amazing and I think should make LaTeX a must-use for humanities researcher, builds on biblatex and does not duplicate its documentation. So one constantly has to look through both docs to figure things out.
@barbarabeeton yes, definitely. The main issue with Germany is that I'd make it a longer trip to justify the long travel, but it's difficult for me to get much time off of work at the moment.
@barbarabeeton Cool: I'll cross my fingers LaTeX3 can stretch to travel to Darmstadt and Canada, then (I can cover Darmstadt, but not a long-haul flight)
@PaulGessler It's like when you're using LaTeX and you have to dip down a layer of abstraction to the TeX primitives. When you use memoir you feel like you should avoid "Plain LaTeX" and stick to the class macros. With something built on top of memoir it would get even worse.
@PaulGessler BUT - if we can look at all the specifications we could be able to predict somewhat scientifically what modifications users would actually want to make.
Especially if we can get community members to contribute test files from different disciplines.
@AndrewCashner great! Good luck to you, of course. :-) I'll start by compiling specs from universities (probably starting from those with existing classes on CTAN) and also file away theses I find with source available as potential test documents.
@AndrewCashner you can ping me here or email (pdgessler at gmail) when you're ready to jump in. :-)
@PaulGessler Sounds good, and thanks! :) Given the cruddy nature of those templates, perhaps it would be better just to take the specs directly from the dissertation formatting office websites of the research universities.
@AndrewCashner yes of course I'll go direct to the current source; I was only going to use the list on CTAN to get an initial sampling of universities where LaTeX is widely used.
@barbarabeeton I don't know what those PLOS researchers would think, but I definitely think a new thesis base class would decrease the amount of time graduate students like me spend fiddling with TeX instead of "producing."
@Joseph Do you mean like the regulations for the title page and frontmatter? Otherwise mostly they do specify typographic things like margins, spacing, font size, font embedding.
@Joseph I agree absolutely. I toyed with the idea of using Computer Modern Concrete or even just \texttt for the whole thing. Why try to make it look pretty when it can't?
@AndrewCashner -- i think those plos researchers would probably think the whole effort is a waste of time, since word makes everything so much easier. (i've even toyed with the idea of "reproducing" my masters thesis -- linguistics, typed on an ibm executive typewriter on red-lined paper with structure trees hand-drawn in india ink -- in some flavor of tex, just to see how much easier it would be. but i'm sure the thesis regulations have changed since then; could be an interesting comparison.)
@Joseph But then in musicology anyway we're expected to include all of these typeset music examples, and little smatterings of Greek and Hebrew and humanist Latin...
@barbarabeeton :D Early in my research I read several dissertations from the typewriter age and couldn't imagine how they did it, having to retype everything multiple times. But in the course of writing my thesis I've probably completely retyped or just rewritten all the chapters at least once in the process of revision. I also did a lot of drafting in manuscript at the beginning and I think it was productive in its own way.
@AndrewCashner -- in the "typewriter age" people still remembered how to pick up a pen and write. [grin] with good bond paper and a carbon ribbon, you can "correct" by carefully scraping the "ink" off the surface of the paper with a razor blade or x-acto knife; mercifully, photocopiers did exist, and copies were accepted, so i didn't have to suffer with carbon paper.
@barbarabeeton I have wondered sometimes if it might be more productive for me just to type things and scan them. Actually that was part of how I found out about LaTeX. I wanted a simple, no frills interface where I could focus on content and not form. Once I found LaTeX + Vim in the terminal I was hooked.
@AndrewCashner my supervisor, when she decides that the math results are ready to be written as an article, sharpens her pencil, takes a lot of one-sided papers, a rubber, and starts :)
@yo' -- no white ink (didn't exist). as i described above, good bond paper and tip of razor blade, scrape carefully, clean up with soap eraser if necessary (not if sufficiently careful), and be really careful not to make another mistake in the same place. even good bond paper can be scraped down too far, and holes are hard to patch.
@yo' I advised a colleague in musicology just to draw musical examples by hand. He was faced with either spending USD 400+ on Finale or Sibelius, or taking a year or whatever woudl be necessary to learn Lilypond with no programming experience.
@yo' Look up "Christmas Music from Baroque Mexico" by Robert Stevenson on Google Books. Stevenson's books in the 1970s made 16th-18th century Mexican music available to the world for the first time. He drew them all by hand and paid out of pocket to have them printed. (Unfortunately he made some errors that I try to correct in my transcriptions, but that wasn't because of the technology, it's just that not very much was known about the music then.)
@AlanMunn It depends on what you will use it for and your background, I think. I started learning it in March of last year and am now producing all of the historical editions for my dissertation with it.
I basically had to build my own "class" file with lots of funky Scheme functions, but that's because I need unusual scholarly things for old music and I have lots of scores that need to look the same and use a consistent programming interface. Also I don't have much programming background (I started with LaTeX about 3 years ago; before that I'd never seen a terminal).
I just saw a documentary about a German Kindergarten... most of the stuff was written with Comic Sans .... /cry.... it's good most children could not read yet ;-)
@egreg You just added a comment that points out that using commands provided by LaTeX are favourable to TeX primitives. Do you happen to know where I can find a comprehensive reference on macros defined by LaTeX? texdoc latex just shows a document which points to introductory material.
@AlanMunn If the lilypond community would start using StackOverflow it would help a lot. There was a recent discussion of this on the e-mail list, but many people are reluctant to try it.
@HenriMenke It's my impression that the original idea did not allow any customization at the user level. All modifications of section heading styles and such were to be done in separate style files.
@JosephWright As opposed to a user interface? The user types \section and thinks about a good section title; the professional typographer uses \@startsection and thinks about a good section format -- is that the idea?
@AlanMunn You mean the thesis-class project? Please join us!
@AlanMunn @AndrewCashner I'll collect my thoughts and send an email to both of you tonight (I think all of us are on Central/Eastern US time) to hopefully get things started.
@AndrewCashner -- if a command name has an @ in it, it's for the "implementor" to fuss with. the user should type \section. yes, you've got the right idea.
@JosephWright I see two problems with the original setup. One, there aren't always good hooks built in for the designer, in my opinion. (Why not just define \@sectionfont and \@abovesectionspace instead of hard-coding them in the section definition? Or maybe I missed these in the code.) Second, these days many of us have to be, or try to be our own designers.
@HenriMenke -- the manual by lamport is definitive, but (i think) it's not an easy read. when i want to find out all the details about a command, i hope to be able to look in just one place, but in lamport, it's often necessary to look in two. but i think this may be a matter of personal taste. (my own preference is for kopka & daly.)
@JosephWright Is it sort of right to think of TeX a bit like a virtual machine? Since Knuth creates his own set of memory registers (\count0 and the like), so that TeX presents the user with something like the MIX computer from TAOCP? The TeX programmer writes in something like a machine language for this virtual machine. The \loop construct in particular is very close to what Knuth implements in MIXAL.
@JosephWright -- regarding flexibility in making (reasonable) modifications (like changing a section header from bold to small caps), probably almost 20% of the requests i've got posted to the amsclass update list are for things like changing an "internal" command to a user-usable one. amsclass.dtx was built to be flexible (to support the numerous different journals and book series ams publishes), but most commands of this sort are "internal", and many don't need to be. for the future ...
@barbarabeeton Like I say, the team do know this :-)
@barbarabeeton I said earlier today that probably the next priority for the team should be a 'LaTeX Style Sheet' concept to tackle the design situation
@AndrewCashner not so much memory as slots in the csname hash table, if you used the first release of latex2e and tried to load amsmath you ran out of csnames using emtex (the main tex on DOS) we got it down so in the end you had about 50 csnames spare, so that's a total of 50 \label or \newcommand for your document. parameterising the skips in each section would take that down to ...
@DavidCarlisle And there is no equivalent to destroying a local variable at the end of a function call, right? So if you use a macro once, it takes a place in the hash table for the whole document?
Well, you could overwrite the same macro with repeated \defs I imagine.
@AndrewCashner all these things are sort of related you could view it as a virtual machine or an interpreter (the one thing I wouldn't normally call it is a compiler, but that seems to be the name in most common use these days, language is a funny thing, I blame @AlanMunn) . If viewed as a virtual machine it's really very limited there so no program pointer so no backward jumps: it's a macro expansion language so affects the tokens in the input stream there is not really a program running in a VM
@DavidCarlisle Okay I am reading more in TAOCP I:202; Knuth calls TeX an interpreter of type "b", which means the "representation provides an excellent way to communicate between passes of a multipass process". But it also includes "a small interpreter of type (a)" to compute ligatures and kerning, where type a is "a machine-like language" that can "represent a complicated sequence of decisions and actions in a compact, efficent manner."
@DavidCarlisle I may even understand that in a few years! ;)
@yo I don't think you read my comment properly: it says matrices should be bold (to distinguish them from variables). I didn't say every textbook will typeset them that way. Likewise, (same reason) vectors should be bold or have an arrow over them but I suspect you can find some books that do neither. — DJP7 mins ago
@yo' From a physicist's or engineer's POV, this may be right (but arrows are just awful). From a mathematician's POV, there's no need whatsoever for distinguishing matrices from numbers. And most pure mathematics books indeed don't distinguish.
@yo' That's too bad. Too many people don't realize that typography is determined by house publishing styles, which are based on convention and aesthetics, not logic. They pick one style they like and decide it is the correct one.
@egreg even a physicist has to be careful to be sure what is a matrix, what is a tensor, what is a pseudotensor etc. Most physicists I know use indexing to show the behaviour of a variable (or a constant)
btw, I should get a last Xmas present for myself. From a review: "The difficulty level is 6 out of 6 on the Hanayama scale and 10 out of 10 on the Puzzle Master scale - this means it is about as difficult as it gets - Gulp!!!"