9,079 reputation
21236
bio website
location
age
visits member for 2 years, 11 months
seen 2 mins ago

[minimal example](http://meta.tex.stackexchange.com/q/228/8528) (or see [here](http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl))


4h
comment sudo does not find tlmgr
I usually make a pseudo sudo called psudo: in .bashrc or a file sourced by it, I use: alias psudo='sudo env PATH="$PATH"' # usage: psudo tlmgr <whatever>. (This assumes your paths are set up normally according to the installation directions.
15h
comment Fit a table to page width
Add the line as suggested to your preamble and recompile your posted example file. You do not need to make any other changes.
15h
comment Fit a table to page width
Add \usepackage[showframe]{geometry} to see if your table with the \resizebox is actually fitting in the margins.
16h
comment Align two lines of text inside a \emailfrom
@OneEyeQuestion -- The package hyperref is required for the \href macro.
16h
comment Align two lines of text inside a \emailfrom
@OneEyeQuestion -- No problem. As long as your question is answered. (Plus, sometimes the best answers aren't necessarily the funnest ones to write....)
17h
answered Align two lines of text inside a \emailfrom
1d
comment Bibentry does not show cite
How are you compiling? You need to run: latex, bibtex, latex, latex. The second and third runs of latex will raise an error and you'll need to tell latex to continue the compile process regardless. If you can explain what you are doing and how you are doing it more clearly, I (or someone else) might be able to give further hints/suggestions.
2d
answered Bibentry does not show cite
2d
comment Bibentry does not show cite
No: the manual is not saying use bibitem. It is saying that you need to use the standard natbib styles. You are using dinnat, which raises an error. I'll post a (not-quite-)answer.
2d
comment Bibentry does not show cite
Ah, now perhaps the problem: Quoting from the bibentry manual: The bibentry` package will work with natbib with its native \bibitem format, and with standard LaTeX. Nothing else can be guaranteed.` That said, I can get bibentry output (with errors). I can post that as an 'answer' if you like.
2d
comment How to modify `unsrt.bst` file to generate concise and readable Jounal of Applied Phyisics(JAP) style .bbl file?
@user15964 -- penguinpreferred is suggesting you embed your bibliography file in a filecontents environment (here with the name mwe.bib, so you'd need something like \bibliography{mwe}). Then you run latex, which will behave normally plus create the file mwe.bib; then you run bibtex and latex twice more and it will use mwe.bib to populate your bibliography. I suppose the idea is that you don't need to embed the .bbl this way. But whether the journal will let you do this is another question.
2d
comment How to modify `unsrt.bst` file to generate concise and readable Jounal of Applied Phyisics(JAP) style .bbl file?
A few things: (1) I don't think that the .bbl file is not really meant to be human-readable: it is an intermediate stage used to get to the final output; (2) the .bst controls the production of the .bbl; if you are using a particular .bst supplied by the journal, it doesn't matter how convuluted the .bbl file is: that's what the journal requires and expects. (3) although your style seems to be fairly uncomplicated, most others aren't: so there it is very important that each little field of an entry can be manipulated properly via macros like \citenamefont and so forth.
2d
comment \author{} with Pandoc
No problem. And don't forget that you can write simple markdown documents (or use Haddock markup, etc.) and have pandoc convert them to LaTeX documents --- just not get a PDF without a TeX system of some kind installed. That might be useful for learning, at least in the beginning. (Gonna erase some of my other comments.)
2d
comment Bibentry does not show cite
The only obvious problem so far is that you haven't given us a complete file to test. But I also wonder about: where \bibsstring comes from? where x1, x2, x3 come from? what does the @article entry have to do with the other snippets? Not all of use have functioning crystal balls.
2d
comment Footnotes misbehaving in report go to front page but behave correctly in other report
I feel like @Trold already posted an answer close to what I was trying to say. Perhaps if he makes some minor changes, that one can serve as the answer?
2d
comment Footnotes misbehaving in report go to front page but behave correctly in other report
Of course it is legitimate, but not where you are loading it. Move packages bookmark and hyperref to the end of your list of \usepackage declarations (and put bookmark after hyperref). You cannot load a package multiple times with different options, and this is what is (implicitly) happening in your case.
2d
comment Footnotes misbehaving in report go to front page but behave correctly in other report
Please clarify 'remove': in the second .tex file, you have % \usepackage[colorlinks=true]{hyperref} then \usepackage{hyperref} 3 lines later. That can be the cause of the Option clash error you report above(?!) that file if you try to load the package twice. There are also other loading errors. bookmark loads hyperref, too, which can clash with other packages, such as the graphics-related ones. (Also: don't load graphics and graphicx -- just the latter should be fine.) Really, if you think about and reorganize your preamble, you'll be in better shape overall.
Sep
27
comment Footnotes misbehaving in report go to front page but behave correctly in other report
It is really not wise to load packages alphabetically, as much as you might like to do so. Load packages in a conceptually logical order, and note that hyperref is a package that should be among the last loaded. (For what it's worth, I tend to group packages into categories like: fonts, (physical) page setup, sectional divisions, language & bibliography, lists & tables, colours & graphics, misc., personal packages, hyperref & bookmarks.) See also the pkgloader package.
Sep
27
comment Why texelipse is not producing a pdf file?
Cell (and @SeanAllred) -- I was half-joking too. I 'learned' Emacs at the same time as I started out with LaTeX, but I was just jokingly alluding to the Church of Emacs. Give it a whirl, if you like, but if you already know Eclipse, that might be the best place to start.
Sep
27
comment \author{} with Pandoc
Hmm, well, this is beginning to sound like the question is off-topic for a TeX-related site (since the file *does compile normally), but, for the record I can use pandoc in exactly the way you want without errors. Note I'm on an older computer right now, so it is running pandoc version 1.11.1 (installed from the Debian respositories). I'll try with a newer computer / version of pandoc later today. However, you do know that pandoc doesn't replace pdflatex --- you need to have a "LaTeX system" (e.g., TeX Live) installed? Pandoc just runs pdflatex behind the scenes.