90

As per the TeXworks manual, the procedure to install spell checking dictionaries in TeXworks is as follows. Download the dictionary corresponding to your desired language from the OpenOffice.org extensions site. Change the file extension of the downloaded file from .oxt to .zip and extract the files with your archive utility of choice. Open TeXworks and ...


33

Background There is a bug (or possibly multiple related bugs) in Yosemite with respect to environment variables. When a program is launched in Finder by double-clicking, it will inherit a default set of environment variables from its parent process (I believe this is launchd currently, but that's not relevant). GUI programs do not inherit variables from ~/....


27

If either of these two cases (or both) apply:--- [portability problems] examplestyle.sty = a file as described in the original question: namely, a personal .sty file generally available and used by several on-going projects (e.g., in TEXMFHOME or the less convenient place MikTeX likes to put it); [long-term stability problems] use of packages that are under ...


22

plain tex and latex are both written in tex but have no tex code in common, so while some commands have the same name and some of the ones that have the same name have the same definition, it is a bad idea to use latex as a tool to learn plain. The TeXBook describes two sets of commands (and doesn't always go to great lengths to distinguish them, apart from ...


20

Options to \documentclass are examined by all packages. So you're loading graphicx with the dvips option, which allows only EPS graphics to be imported and is nonsense when the engine is pdflatex. So remove it. \documentclass[sts]{imsart} In general dvips, pdftex or xetex should not be used even with packages that know them, such as graphicx hyperref ...


20

Try to change the repository using the button Change. Select another one and check you Internet connection. Also, you can get it from CTAN. Note that you can decide if you want to see that dialog window every time or not.


17

TeXworks has a 'Smart Quotes' mode that deliberately changes " to either `` or '' using some context-dependent 'cleverness'. This is available as " is very rarely needed in a typesetting context. However, the setting is easy enough to turn off. For a single file, you can go to Format -> Smart Quotes and choose None: this turns off the auto-conversion for ...


17

I managed to figure this out by combining answers from two sources. First, I found a post on the topic "Customize Editor Colors". The author of the post explains that you should create a custom style sheet mystyle.css using CSS mark-up, with the contents: QTextEdit { background-color: black; color: white; /* sets the main text color */...


16

Edit --> Preferences, look under the Editor tab. Here you can change font and font size. Restart TeXworks to see the effects.


12

that page is mistaken. all the symbol names listed there are from amsfonts. the original implementation of amsmath (then called amstex.sty after the non-latex original) loaded amsfonts, but amsmath does not. from the file amsmath.dtx: % A \latex/ package named \pkg{amstex} was created in 1988--1989 by % adapting \fn{amstex.tex} for use within \...


12

Close texworks. Compile your document in some other editor or on the command line so that miktex can do whatever maintenance tasks it wants to do. There is a bug report that texworks currently interferes with miktex: http://sourceforge.net/p/miktex/bugs/2394/. This bug shouldn't affect normal compilation later on.


12

As the TeXworks manual says, TeXworks includes built-in support for Qt, and the application of Qt style sheets may be used to change the look of the TeXworks. By digging around a bit, I came up with this answer. First, set up your copy of TeXworks by pasting in the shortcut target "C:\Program Files\MiKTeX 2.9\miktex\bin\x64\miktex-texworks.exe" -stylesheet ...


11

About TEXINPUTS and arara, I recommend Setting environment variable with arara as starting point. As pointed out, arara runs commands on subshells, in a self-contained environment, so it might be tricky to keep persistence between executions. As Marco said in the comments, you can exploit the operating system's file operation commands in order to move, ...


10

Here is a step by step description. Make sure the amstex package is installed in MiKTeX Open TeXworks and choose the "Preferences" menu Go to the "Typesetting" tab and this window will appear; click on the "+" button in the lower half Fill the window as follows In order to add the lines in the "Arguments" field, click on the "+" button. Click OK in this ...


10

Hunspell dictionaries (.dic and .aff) are more complex than just word lists (i.e. it contains information of possible affixes). Therefore, a proper entry cannot be generated from a single word. The solution in TexStudio is to store additional words in an ignore word list (.ign) next to the dictionary. This list can be populated via Context Menu -> ...


10

Thanks to Joseph Wright I made it work this way: Compile with pdfLaTeX to get know which pieces you cite and store it in .aux file. Compile with BibTeX to create the .bbl file (which contains the formatted references) from information stored in the .aux and .bib files. Compile with pdfLaTex to incorporate the .bbl file in the typeset document (to include ...


9

(CW from comments) TeXworks is a multiplatform front-end to TeX/LaTeX; its current version is not able to print PDF files on any of the supported platforms. Whether the situation will change in the future is not known, but the issue doesn't seem to be high priority in the developer's intentions. Since TeXworks is largely inspired by TeXShop, on Mac OS X ...


9

Both Texmaker and TeXworks are able to do this. Texmaker: With the main file open, select Options --> Define Current Document as master document (How to best use and compile multiple .tex files as part of same final document?) TeXworks: At the top of the chapter file, write %!TeX root = /path/to/main/file For example, if main.tex is in the same folder as ...


8

You can also specify the spelling language on a per file basis: % !TeX spellcheck = <language_code> e.g. % !TeX spellcheck = en_GB


8

Too long for a comment: Let's try us another way. Can you please compile the following MWE on your system? It works for me with pdflatex -- bibtex -- pdflatex -- pdflatex. %File mb-bibtex.tex, then \jobname = mb-bibtex \RequirePackage{filecontents} % loading package filecontents % writing file \jobname.bib, for example mb-bibtex.bib. \begin{...


8

MiKTeX installs the TeXworks editor as standard. This has the ability to add/remove comments from multiple line (placing % at the start) using the shortcuts Ctrl+Shift+] (insert comment)/Ctrl+Shift+[ (remove comment). The key binds can be customised (particularly useful if your keyboard makes these combinations inconvenient).


8

After the hints of Ulrike Fischer, I found the last registry key that TeXworks was reading from before hanging (Computer\HKEY_CURRENT_USER\Software\TUG\TeXworks). It seems to be a collection of settings, which I just removed entirely by deleting the parent registry key. Now TeXworks starts and works fine again. I had to reconfigure my settings, but this is o....


7

The solution from Harish Kumar: When installing gnuplots, you must check the following box. That is all that is necessary. gnuplots is so awesome:


7

Since we were able to establish that the compilation generated a .pgf-plot.gnuplot file, the problem was that this file was not compiled in gnuplot. We now have a few options: run gnuplot on the .pgf-plot.gnuplot file to create a .table or .tex file and then compile again. we can modify the calling of --shell-escape for TeXworks to --tex-option=--shell-...


7

The pdfLaTeX + Makeindex + BibTeX option in MiKTeX TeXWorks calls a MiKTeX-only command-line tool called texify (manual pages). There are several tools that do (nearly) the same thing, such as latexmk, rubber and arara. Choose one, learn the command line options from its manual, and then in TexWorks, under Edit/Preferences/Typesetting, add the program to "...


7

Quote from the MiKTeX mailing list: ...some people told us that they way we included Python was unsafe and prone to breaking some important Python functionality (at least on Windows, IIRC). Since we didn't find anyone so far who could "make things right", Python support was removed from the official builds for the time being. Besides, up until now,...


7

To answer the question, though it turned out, that the real aim is to produce raster images for a special Braille letter printer. In general to produce a DVI file one has to compile the TeX source <filename>.tex simply with LaTeX … latex <filename> or for LuaLaTeX with the DVI compiler version … dvilualatex <filename> Depending on the ...


7

From my comment to a proper answer. :) The root of all evil relies on a hook named logParser.js inside <USERHOME>/.TeXworks/scripts/Hooks. If you are not sure where to find this path, TeXworks has a shortcut for it: Namely, Scripts ▶ Scripting TeXworks ▶ Show Scripts Folder. Then you can access a folder named Hooks in there. Pretty easy, isn't it? :) ...


Only top voted, non community-wiki answers of a minimum length are eligible