Questions tagged [tex]

26 questions
27
votes
3 answers

vim and TeX filetypes: plaintex vs. tex

I open .tex files with Vim, but some files are recognized as filetype=plaintex and others as filetype=tex. Why is this? What is the trigger that recognizes the file as tex, which has the highlighting I want?
Stefano Borini
  • 2,294
  • 6
  • 34
  • 49
7
votes
1 answer

.gitignoring pdf file only when a tex source is present

I'd like to set up a global .gitignore file in my home suitable for working with TeX files. So typical TeX junk files such as *.log, *.aux, *.synctex.gz would go in it. The next step, however, is ignoring the compiled somefile.pdf if the source…
Federico Poloni
  • 355
  • 1
  • 3
  • 14
4
votes
2 answers

How to avoid littering one's Tex directories with intermediate files

From https://mathoverflow.net/questions/8603/how-not-to-auto-generate-aux-bak-files-in-latex-closed I use winedt. I prefer to only have .tex files, or just dvi, pdf files that I need. i don't need these other files. Anyone knows how to disable…
Charles Stewart
  • 2,872
  • 1
  • 26
  • 38
4
votes
2 answers

When did my LaTeX files become TeX files?

After transferring all my files onto a new machine, all files that were once LaTeX files (having the texnic center "T" icon) are now TeX files (having the TeX works icon --I don't remember installing that one!). But....the files are associated with…
andrz_001
  • 269
  • 2
  • 8
  • 15
3
votes
6 answers

How can I link to a local file in a LaTeX document typeset with PDFlatex on Mac OS X?

When I try to embed a link to a local file in a LaTeX document via \href{file://./path-to-file}{filename} it's typeset as a remote link, so http:// is prepended. How can I link to a local file, with a path relative to the location of the PDF…
aresnick
  • 281
  • 1
  • 4
  • 10
2
votes
1 answer

Math extension in mediawiki on windows

I want to put some mathematical formulas in a mediawiki install on a local WAMP server. I'm currently trying to install the math extension but I can't get it to work. I've followed the instructions on the MediaWiki wiki, which involve running a…
Ruben
  • 185
  • 1
  • 1
  • 7
2
votes
1 answer

How can I write an .odt programmatically?

I would like to write an .odt file programmatically e.g. include figures from a directory or use different style writing code (like a LaTeX document). I wonder how can I compile an .odt file and if there are any, which is the best python libraries…
G M
  • 303
  • 5
  • 14
2
votes
1 answer

How print a PDF without the DRAFT watermark

I have this PDF file that has a gigantic DRAFT watermark on every single page. My teacher handed us his version of the printed pdf and it says on paper where it is printed from but on his version the DRAFT watermark is missing. When I print from the…
Physics_maths
  • 223
  • 1
  • 4
  • 12
2
votes
1 answer

Don't number chapters

I am working on a school project, and I do not want to use chapters, and I want sections to be "the most important" style. Right now, sections are numbered n.m, where n is the chapter (0), and m is the section, I want it to display just m, or make…
Jeffrey Aylesworth
  • 2,438
  • 2
  • 20
  • 19
2
votes
0 answers

Disable MathML output of eLyXer

eLyXer is a standalone LyX to HTML converter. In the resulting file, equations are formatted as MathML, and the file itself starts with an XML tag. This causes two problems: LibreOffice does not read the XML file (it can read HTML files, but not…
user89272
2
votes
3 answers

How am I getting a "Permission denied" error in TeXworks?

I compiled a .tex file in TeXworks for Windows 7 that had a graph in it, so I had to install the TikZ library for LateX. Afterwards, all compilations are failing. The TeXworks console displays texify.exe: Permission denied: myFile.log texify.exe:…
David Faux
  • 4,789
  • 25
  • 55
  • 71
2
votes
1 answer

BibTeX will not compile

I am trying to compile a bibliography that is externally linked but I get back an error saying I couldn't open file name firstbibtex.aux Here is the referencing code: @article{greenwade93, author = "George D. Greenwade", title = "The…
sebey
  • 141
  • 2
  • 7
2
votes
1 answer

How to install Texlive on CentOS?

How can I install texlive in CentOS? I'm trying yum, but it has repos only for tetex. Where to search for?
yegor256
  • 1,629
  • 3
  • 15
  • 14
1
vote
2 answers

Software to real time display of tex formula available?

Texit is only available in mac Lyx is too complicated to setup,need to install several softwares. Is there a simple solution?
unknown
1
vote
1 answer

Matching only numbers that come in numerical order

I have numbers in [.] indicating the page number of an orginal printed document I am transcribing. However, the document also contains other numbers in [.] that do not correspond to page numbers. For example: Lorem ipsum dolor sit amet, consectetur…
Geremia
  • 546
  • 1
  • 7
  • 28
1
2