A lot of people write makefiles that say something like
paper.pdf: paper.tex
pdflatex paper
bibtex paper
pdflatex paper
pdflatex paper
To handle re-running TeX to get new/changed references and so forth. Is there a better way to do this?
@Werner In that case one should really post something like "working on it" first... In this case it's nothing, but sometimes it can take significant work.
Now this is strange. I kept getting the output "0 page(s)" from emacs typesetting this example, though everything was working fine. It seems with etoolbox a line break is missing:
[1{/usr/local/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./test.aux) )</usr/local/texlive/2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/local/texlive/2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmr6.pfb></usr/local/texlive/2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb></usr/local/texlive/2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb></usr/local/texlive/2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb></usr/local/texlive/2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmti8.pfb>Output written on test.pdf (1 page, 49169 bytes).
Without etoolbox the line break is where it's supposed to be:
[1{/usr/local/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./test.aux) )</usr/local/texlive/2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/local/texlive/2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmr6.pfb></usr/local/texlive/2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb></usr/local/texlive/2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10
.pfb></usr/local/texlive/2011/texmf-dist/fonts/type1/public/amsfonts/cm/cmti8.pfb>
Output written on test.pdf (1 page, 40645 bytes).
@Werner Right, but it seems emacs's AUCTeX mode is expecting the text "Output written on..." on a new line, and, not finding it, displays "0 page(s)". This normally means compilation failed, so it took me a while to look into the log to find out it was indeed working.
@FrankMittelbach sure, but not everybody like to create an account just for submitting a bug. And I think it is then better to mail me (or someone else) instead of dropping the report. If you create an account that is even much better.
@PatrickGundlach well the question in TEX.SE is pretty descriptive and I would be very much interested in getting feedback on it, because unless I'm doing something very wrong, it seems that this filter is just not working correctly.
so I guess I take whatever is necessary to get this resolved as it would be quite interesting for me to have this working
You can also post it to the LuaTeX mailing list (there are two - one for general discussion and one for "development", but I don't think it will make a difference)
This one is lingering for a while but there is no way to answer without any details and the possible solution is linked in the question too. So I voted for TL
Right now I have this:
input graph
input sarith
beginfig(1)
draw begingraph(3cm,2cm)
gdata("data1.d", v,
path p;
augment p (v1,0);
augment p (v1,v2);
augment p (v1 Sadd "1",v2);
augment p (v1 Sadd "1",0);
gfill p--cycle withcolor .8white;
gdraw p-...
I am trying to get the TikZ/pgfplots externalization working. My trouble is, I cannot decipher the error I am getting. Let me first show how I use externalization:
\pgfrealjobname{thesis}
\usetikzlibrary{external}
\tikzexternalize[prefix = tikz/, mode=list and make]
\tikzset{
% Defines a cu...
Use a description environment instead of itemize:
\documentclass{article}
\begin{document}
\begin{description}
\item[foo] text
\item[bar] text
\end{description}
\end{document}
EDIT: TLDR summary (as I wrote in comments): What I want from this question (and couple of others referenced herein) is: -- section number (label) to be top-aligned with the title + AND I want the title bottom-aligned with the page number - on the same line -- when a TOC entry is typeset (I've us...
Is there any way to auto-gererate an index for the makeidx package? I've written ~270 pages and didn't think of adding \index{} everywhere.
Do I really need to go over everything and add \index{}?
@egreg My thoughts exactly. :) Another possible (crazy) idea is to submit the text to a text mining process, get the most relevant words against an ontology and then use a regex in the text to replace word by \index{...}. Then use TeX. :)
I'm using parameters as below.
\usepackage{indentfirst}
\setlength{\parindent}{1.5cm}
I'm using \\, \\\\ and \linebreak to create new paragraphs but it not seems to work properly: only first paragraph in the section is indented.
@BrentLongborough Indeed, and the rep mechanism isn't even helping to create motivation, because you don't get rep for researching the duplicate, though that might take longer than writing a straight answer.
@egreg At least this method will work as well when paragraphs are ended with \\ ;-)
@egreg Oh, absolutely right. And I've just realised I'm in the middle of something that's going to need an index, and I haven't written any index entries. <:(
@StephanLehmke I don't know whether it's even a matter of rep; more like 'this guy is beyond my help'...
@BrentLongborough Hearsay. One effect of the web as it is today is that information about everything is readily available, so nobody has to look into serious sources.
@BrentLongborough I'm not so sure about that. How can anybody who hasn't read a book about TeX know there's a difference between a paragraph and a line break. Given the linebreaking algorithms of other text processors, TeX is indeed the only system where the difference matters.
@StephanLehmke I once, while working at a multinational, received a Letter-paper word document. I changed the page size to A4, and all the page numbers moved progressively up the page. The author had paginated with newlines and inserted page numbers in the body of the text. In a 40-odd page document.
Every time I try to compose something with word, the document is broken beyond resurrection after the fifth save or so. Even our word experts give up on it. Which is why I'm allowed to submit PDF which is then retyped...
@BrentLongborough I have a plan: CloudArara, Arara for Android, Arara.Net, Microsoft Arara, Arara plugin for DocScape, AraraEditor, Arara underwear. The marketing team is working pretty hard. :)
@StephanLehmke Perhaps my worst desktop experience ever, with catastrophic waste of time, was trying to use W*rd's 'master document', the equivalent of \input, but with suicidal bells and whistles.
@PauloCereda Wow. Just thinking of the Arara tanga, I feel faint.
@StephanLehmke When a young man Tschichold himself was a promoter of "modern typography" with paragraph spacing, then he changed his mind and wrote "Why paragraphs should be indented". :)
I want to do the following:
Make an image using gastex.
Compile the image to a stand-alone pdf image. I.e., at the end of this stage I'll have a myImage.pdf file.
Include my image in a large latex file.
The idea is that I like working with gastex but I want to compile my latex file with pdfla...
@MartinScharrer could you comment on (tex.stackexchange.com/q/59298/12850)? There seems to be an incompatibility with standalone in a strange setup, but maybe it's also just out-of-date components?
Does anyone know if a document that is released under the terms of the Gnu free documentation license (1.2) needs the full text of the license attached to each document?
@PatrickGundlach Hm good question. I think if it's an online documentation, only a link should suffice. In case of a printed book, perhaps it's better to play safe and include it. :)
@PauloCereda I am trying to get the german lshort document to a current state. The document is released under the terms of the gfdl and 10% of the document is just the license :-(
While I really appreciate OpenSource software and documentation (that's how my software is published) - I don't like overly complex licenses
How can I refer to 'coupled' tables (say different tables but referenced as table 5a and table 5b). If I \label them and use \ref, they would be referenced in the document as table 5 and table 6.
@MarcoDaniel I'm very excited with the code progress. :) I'll just try to add a new feature, then the heavy tests will begin. Would you like to help me test it? :)
@egreg Indeed. IMHO Italy played better than Spain. The problem with the Azzurra is maybe the same that happened with Brazil against Argentina: Spain is very fast with the counterattacks, so the defense must be paying a lot of attention. Chiellini is a great defender, it's the Italian version of Thiago Silva. :)
@egreg: I think I should open my Pringles, just to play safe. :)
@MarcoDaniel I could make a big window appear with the button "I'll never use Windows again". The window cannot be closed neither "killed" unless the user clicks the button 100 times. :)
I'm currently improving my LaTeX-Template for theses. Coloring "ordinary" headings is working already, but how can I apply this style to the headings of "List of Contents", "List of Figures" and "List of Tables" as well?
Here is some code-snippet I'm using for my headings:
\usepackage{titlesec}...
Feature #2: If the command is interactive (that is, needs an input from the user), Arara halts the execution, unless you use --verbose. :)
Feature #3: with --verbose, you can now interact with the command. The output is now realtime!
Feature #4: There's a new command line switch called --timeout N, where you can ask Arara to stop the execution if the command takes more than N milliseconds to execute. :)
@FrankMittelbach I can do that for you. I'd wait one day for Taco and others to read it and perhaps comment on it. I will do that in 24 hours if it's okay.
@PauloCereda This feature should be mentioned as "dangerous". I think a beginner has no feeling about compilation time. For example I have books compiling 3-4 minutes ;-)
@FrankMittelbach you've got the wrong mailing list ;-) There is "luatex-users", "dev-luatex" and "lualatex-devel". The first two are OK, the last one is probably not read by Taco. I'll forward the mails to "dev-luatex"
@PauloCereda Is there a way to set arara options in the tex file. for example !arara use --log or --verbose. At the moment we must specify this in the script
@PatrickGundlach no i did search for luatex mailing list ... and just picked the wrong link noticing "dev" but didn'T realize it was lualatex instead of luatex
@PauloCereda That isn't true. As I wrote the German article I had some testers and the tool is great. I am sure after publishing the article (I believe in July) the number will increase. However the final version must be published at c.t.t. too.
@FrankMittelbach for example the introduction does not know anything about utf-8. The examples are still with Gr"o"ser and alike. While this is not an error, it scares a lot of people away. There are obsolete packages and other things that should be changed.
@PauloCereda Normally all German articles of the "TeXnische Komödie" will be published in the TUG Journal too ;-) (I think)@PatrickGundlach: Is this true?
@MarcoDaniel I was worried to make arara more user-friendly. With this new version, I think we've reached a stable state (now that we can interact with commands). My next step is, as @JosephWright suggested, to review all the rules and create a cross-platform installer which will setup almost everything for the user. :)
@JosephWright oh well ... you notice I'm a bit impatient as these hooks are something I wanted to get into TeX 20 years ago ... now they are there but do not work ...
@PauloCereda Great :-) I would support this way of publicity with an accompanying blog post, also going to some feed aggregators, let's get some users ;-)
@PauloCereda The start-up rules are written -- of course I will modify them -- but I don't think that these rules should be integrated in the setup. A small binary like biber is advocated.
@MarcoDaniel I can work on that. :) Another idea is an option to give the possibility for the user to download rules from our repository during install. I also thought of a GUI tool to help users write rules. :)
I'd like to highlight paragraphs such that the highlight color appears as one whole rectangle underlying the entire paragraph. I have looked around but nothing gives me the desired effect so far.
For example \fcolorbox{} from xcolor cannot highlight an entire paragraph; \hl{} from soul leaves ou...
@PauloCereda I think a great manual with this great Q&A site is enough ;-) The predefined rules are also a big help. The user must read the manuals of every compilation method too.
@egreg The updated version of framed can to this ;-)
@PauloCereda To setup the next arara steps I suggest the following: I will test the new version and you try the implementation of arara options from the main tex-file ;-)
@PatrickGundlach: I saw the code of l2kurz and I think combinations like \exa and \exb are not welcome. The user should use \begin{} and \end{} and so the introduction should work with the same method.
@JosephWright The publisher contacted me and asked if I would support their new gnuplot book on my blog, specifically if I could point users to the publisher's web site where they could win a book. I made a different suggestion -
@JosephWright I suggested to make a contest on the LaTeX site, with and for LaTeX users, encouraging creativity, so I developed the article contest and the publisher agreed.
@StephanLehmke Thanks, it looks to me that preview isn't compatible with the drawing package. The older standalone versions used it by default. I posted a comment for the OP.
@JosephWright I chose the topic "LaTeX and graphics", firstly because it's a nice one ;-) but also to have the opportunity to start further contests, with different topics.
@JosephWright If TeX.SX users show up there, it's also a promotion for TeX.SX
@StefanKottwitz Do you have some suggestions about the topic of such an article? I think it will be something about TikZ/PGF or PSTricks (maybe METAPOST or Asymptote)
I might put something together about pgfplots. Some of my colleagues like my plots, but I can't convince them to become 'proper' LaTeX users, so I've been working on some 'templates' that can be used to plot instrument data pretty easily with minimal LaTeX skills
Something like 'pgfplots: LaTeX for non-LaTeX users!'
Or @PatrickGundlach to write about fractals with LuaTeX (I like fractals, for now just know how to use postscript and TikZ for this - the latter is a bit slow)
And if such an article could even go to the TUGboat later - great!
I am trying to get the TikZ/pgfplots externalization working. My trouble is, I cannot decipher the error I am getting. Let me first show how I use externalization:
\pgfrealjobname{thesis}
\usetikzlibrary{external}
\tikzexternalize[prefix = tikz/, mode=list and make]
\tikzset{
% Defines a cu...
The biblatex-chicago extension yields unknown cbyeditor and cbytranslator terms when footcite is used and probably the french option in babel. The main file is:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{kpfonts}
\usepackage[frenchb]{babel}
\usepackage{csquotes}
\usepa...
@MarcoDaniel It's not really a good idea to use a guide to LaTeX as an example of "good code", particularly in the case there are many examples: some nasty tricks are often necessary.
@egreg You mentioned one should not alter the size of nested parenthesis. Could you elaborate a tad more on why ? =) I do of course agree that everything has its place and content. Like inline expressions, and never more nesting than 3 etc but still.
@Patrick I have written an update/answer to tex.stackexchange.com/questions/59176/… perhaps you can post that to the dev list as I don't think I can yet post there
@PatrickGundlach: I see you mentioned @Taco in Frank's thread. I'm not sure it will work, though. IIRC only people that already posted something in the thread will get the notification.
I can write an article about how you can create a gnuplot rule in arara and put it into your TeX workflow. :P
@AndrewStacey: I have great bird-related news! The 2.0 RC1 version of arara now has support for realtime output and user input. :) arara mydoc --verbose We just need to remove the nonstopmode part from the pdflatex/others rules. :)
The expression $(a+(b+c))$ is as easily parseable as $\bigl(a+(b+c)\bigr)$; perhaps more. There are cases where slightly larger parentheses can be useful to avoid potential ambiguities, but I haven't found many in my experience. What's really important is to try hard not writing overly complicated expressions. When one pops up, the first thought should be: "How can I simplify this?"
@PauloCereda I don't think that @name works in the body of answers. But it seems that a comment is notified (I did it twice this week and it worked).
@MarcoDaniel I am not sure. I think first step would be to remove obvious stuff (german.sty -> babel, \"o -> utf8 encoding). Next step might be cleanup (The letter example can be removed IMO)
I'm pretty sure you can drag stuff to that .exe wrapper. So I could tell the users to drag the .tex file over the parrot icon and advertise, "Feed the arara!" :)