Questions tagged [tex]

27 questions
28
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?
8
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…
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…
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
  • 289
  • 2
  • 9
  • 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
  • 301
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
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
  • 343
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…
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…
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,899
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
votes
2 answers

Where are gs-X11 and gs-noX11 on my Mac?

I performed the following steps: Reinstalled macOS Ventura 13.4 on my system. (I was taken aback to not find /usr/local/bin/, but then this answer provided relief.) Installed Homebrew. (It is in /opt as expected.) Did brew install --cask xquartz.…
Atom
  • 161
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,731
  • 3
  • 15
  • 14
2
votes
1 answer

How to cross out term in equation editor in MS Word?

I would like to cross-out a term in equation inside the equation editor in word 2016. This the effect I would like to achieve in equation editor in MS Word 2016. Can tex commands be made compatible for word?
1
2