The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
1answer
79 views

Embedding images in tex file as base64 strings?

A commonly asked question on this site is how to embed images directly in a .tex source file, without the need for the image to exist in a separate file. Examples of such questions (often marked as ...
1
vote
1answer
42 views

'Errors' using the minted VHDL environment

I recently started university, and was annoyed to find out, we had to do our reports and assignments in LaTeX... until I learned how to use it! I went from hating it to loving it in one day. :) But ...
0
votes
0answers
35 views

Source - Preview not showing

Very new to this and just starting the learn MacTex, downloaded a resume/CV template and started inputing my data. There is no preview window and when I go to Window > Source - Preview (Command 1) ...
0
votes
1answer
103 views

Latex Listing Source shift right side?

I am using Latex listings package to add the source code in my document, but the problem is on the left side some character is missing as showing in the picture. \usepackage{listings} Source ...
2
votes
1answer
921 views

miktex-makemf: The source file could not be found

I m trying to compile file using TeXworks. I use fithesis class because its pre-set class by my university for creating documents. \documentclass[12pt,oneside,final]{fithesis} \usepackage[latin2] ...
3
votes
2answers
292 views

Possible to Convert Math in Picture into LaTeX? How?

Is it feasible to convert math in a picture, say written by hand, into LaTeX? For example, I'd deem it faster to write down (de novo) a 10 x 10 matrix with long, complex entries, rather than typing ...
3
votes
1answer
105 views

One source text, two outputs [duplicate]

I have very long source text. I want to create two outputs: All text Only small pieces of this source text, selected by condition command MWE (precisely: not working) \documentclass{article} ...
3
votes
1answer
58 views

The actual source of pst-plot?

In the comment to answer to his question Labels with \psplot Svend Tveskæg writes: The newest version of pst-plot can be found at http://texnik.dante.de/tex/generic/pst-plot/pst-plot.tex. Is it the ...
2
votes
1answer
60 views

Source at the end of table and centering cells

How could I add before title the source of the table? Also, in the first row how could I center between 2010 and provisional the other dates? \begin{table}[ht] \centering % used for centering table ...
4
votes
1answer
225 views

What is the right way to indent your source code?

This is probably a really basic question: When I write code, I want to achieve a logical and readable structure of the lines, where I can see which brace closes which brace. \begin{equation} ...
5
votes
1answer
148 views

How to create two PDFoutput from the same source

I have a very long source file. I would like to prepare from this source two PDF files: PDF contains all of the source file PDF containing only a few, marked earlier parts of the source file. How ...
14
votes
1answer
340 views

Where do you find TikZ/PGF source code?

I'd like to check the the source code used to implement the standard rectangle shape in PGF/TikZ. I was thinking about searching for something like \pgfdeclareshape{rectangle} inside the PGF files but ...
3
votes
1answer
52 views

Change automatically generated Text in sources with natbib

In my source directory of the thesis I am currently working on, I have got a masters's thesis as one source. As type for this source I chose Master thesis and now Latex always writes "master's thesis" ...
4
votes
0answers
447 views

Why \nointerlineskip if background of Beamer-color frametitle is empty?

I'm trying to read the source of Beamer default outer theme (the file beamerouterthemedefault.sty). In line 144 there is this code: \defbeamertemplate*{frametitle}{default}[1][left] { ...
3
votes
0answers
41 views

Is there an easy way to comment out a whole block? [duplicate]

Possible Duplicate: Multi-line (block) comments in LaTeX Is it possible to comment out a whole block in LaTeX source? For example, like in Java: // This is an in-line comment. /* This ...
2
votes
2answers
633 views

How to get forward-search working in Kile with nested source files

I have a huge set of .tex files which compile into a single document. I have recently switched to Kile on Unbuntu (love it so far). However I see that forward search from source files other than the ...
5
votes
1answer
87 views

Extracting source from pgfplotstable

I like using pgfplotstable because I can feed data in tables directly to it and generate a latex table. However, not all of my coauthors have the right packages to compile pgf-enabled latex. Since ...
10
votes
1answer
257 views

Get current source line number

How can I get the current .tex source line number? I want to use it to generate useful error messages in a package I am writing. There are some errors that can only be detected at the end of the ...
2
votes
1answer
159 views

Recover TeX source from automatically generated LaTeX files

Maybe the question can not be exactly understood from the title. So, to automate things a bit, instead of rewriting everything when adding different pictures and tables, code was made to add ...
8
votes
1answer
233 views

XeTeX source code

There has already been a question on where to find the source code for pdfTeX. The answer is that it can be found on CTAN, in the systems directory. Unfortunately, the source code for XeTeX is not ...
1
vote
0answers
55 views

How can i write the code of Pascal's triangle? [duplicate]

Possible Duplicate: Pascal's triangle in tikz How can i write the code of Pascal's triangle? Pleae help me.Thank you.
3
votes
1answer
479 views

How to build xelatex from xetex source

I'm trying like to build xelatex from xetex source on Linux. Source link: http://scripts.sil.org/svn-view/xetex/TAGS/xetex-0.996.tar.gz With the source I was able to build xetex executable. ...
8
votes
5answers
2k views

Can we convert DVI or PostScript into TeX?

Basically that is the question - if we have a DVI file can we get on the base on it the original TeX file?
7
votes
1answer
248 views

How would I recursively add the document source code to an appendix?

For kicks, I would like to include the source code as an appendix. It's rather superfluous, yes, but it's puzzling. I commonly have documents that are structured thusly: main.tex includes: ...
3
votes
2answers
413 views

Adding extra lines/spaces in source, *not* affecting semantics

I'm editing a file with quite huge interleaves of text and formulas like this lorem ipsums \begin{align} foo & bar\\ qux & rofl\\ & toto \end{align} lorem ipsums … And I face ...
6
votes
3answers
3k views

Indentation and line wraps in TeXShop

As pointed out in this question, in TeXShop there is no way to make source paragraphs (i.e. long lines with no hard wraps) follow source indents automatically, that is, while typing. The solution ...
3
votes
1answer
254 views

The source code for accent commands

I'm using LaTeX on Ubuntu, it calls TeX Live here. I'm interested to see source code of accent commands behavior. Where can I find it?
84
votes
3answers
4k views

Is there some way to embed LaTeX source code in a PDF file?

Several times now I have inadvertently lost the .tex file that generated a PDF file with pdflatex. Given what I know of the internal structure of PDF files, it should be possible to embed a text file ...
3
votes
1answer
223 views

The cross-reference boxes in TeX: the program

You know those boxes at the bottom of the right-hand pages in Volume B? Well, I managed to weave mf.web by stealing the weave binary from a distribution where it actually works (it doesn't in ...
8
votes
1answer
331 views

Is there a “selective” input command in LaTeX?

I'm likely going to have to write a document that includes some portions of source code, which I'd rather keep in separate source files. I know that I can include the contents of those files in my ...
7
votes
2answers
375 views

Where can metafont be obtained?

Where is the source code or executable for Knuth's metafont program? I cannot find it anywhere!
42
votes
5answers
59k views

How to convert PDF to (La)TeX?

I know that hardly any information is passed to the PDF when a .tex file is compiled. But is there a tool that can convert a PDF document back to (La)TeX?
2
votes
1answer
2k views

How to include all files within a directory relative to the edited *.tex-file?

I am writing my reports which need to reference complete *.java files with latex. I am using the Texlipse Eclipse plugin to do the editing. Right now I am referencing the complete path to each ...
7
votes
1answer
622 views

References to specific lines in program source code

How do I make references to specific lines in program source code (e.g. Python)? For example, I want to say: In lines 22-30, the algorithm is implemented... If I changed the Python source code, ...
7
votes
3answers
637 views

Long paragraphs follow source indents in TeXShop

How do I make long paragraphs follow the source indents in TeXShop? This what I usually get: How do I make succeeding lines follow the indent of the first line? This is so that it would be easier to ...