Tag Info

Hot answers tagged

15

Follow all the steps mentioned in the TeXnicCenter + Sumatra Tutorial, but keep in mind these few things: In the (La)TeX tab / (La)TeX compiler section / Command line arguments to pass to the compiler bar, you should write: -synctex=-1 -interaction=nonstopmode "%Wm" In the Viewer tab / Executable path section, what should be written is: "C:\Program ...


14

In current versions of the common TeX distributions (MiKTeX 2.9, TeX Live 2010) MakeIndex as well as BibTeX have got a security mechanism that prevents them from processing files with absolute paths. Therefore you have to modify the settings in TeXnicCenter (TXC) as shown in the picture. Replace "%bm" with "%tm" wherever you can find it in your build ...


14

In your TeXnicCenter installation folder and subfolders look out for xml files, such as base.xml and math.xml. Edit these files or create your own xml file. Some example lines for align autocompletion: <lxEnvironment name="align" parameters="1" desc="Math environment" icon="math.bmp" index="10" ...


13

Texmaker is cross-platform, working on Windows, Linux and Mac OS X while TeXnicCenter works only on Windows. Texmaker supports Unicode, for TeXnicCenter it's been announced for the new version. Texmaker provides a built-in pdf viewer and can launch external viewers. TeXnicCenter supports any external pdf viewer. Both provide forward and inverse search with ...


13

Start typing only the name of the environment, e.g. docu, press the code-completion shortcut, and TexnicCenter will create it with \begin, and appropriate braces. I've been tripped off by this in the beginning as well, but apparently it's supposed to save more typing.


11

This is a known issue with MiKTeX 2.8. From the MiKTeX 2.8 issues website: TeXnicCenter compatibility LaTeX terminates with "GUI framework cannot be initialized" if invoked from TeXnicCenter (1.0 Stable Release Candidate 1). This happens when a missing package needs to be installed and the pop-up window cannot be displayed. Remedy: start ...


11

Without any hope of success ;-) You can try the following steps. Edit the map configuration file updmap.cfg. In a Command Prompt window, run: initexmf --edit-config-file updmap You'll want to edit this in a text editor such as Notepad. If the file or any of the leading directories do not exist, create them. Add this one line to updmap.cfg and save it: ...


10

It's a feature. To save typing, TeXnicCenter additionally inserts \begin{ when environments are completed. This may be confusing if you don't know it. With this knowledge, it should be easy to use, as mindcorrosive said. Though, you could change this behavior if you like. To do this, go to TeXnicCenter directory (C:\Program Files\TeXnicCenter for instance), ...


10

This would be my TXC output profile for working with Sumatra. It allows forward and backward search and you can keep the pdf-file open while compiling. The commands are: (Check if your paths are right) 1: C:\Programme\SumatraPDF\SumatraPDF.exe -inverse-search "\"C:\Programme\TeXnicCenter\TEXCNTR.EXE\" /ddecmd \"[goto('%f','%l')]'\"" 2: ...


9

MiKTeX and TeXnicCenter are two different things. The former is a distribution of TeX that includes a bunch of packages as well as the executables latex.exe, pdflatex.exe, tex.exe, etc. The latter is an editor that provides a front end to the distribution. You should point TeXnicCenter to where you installed MiKTeX, not TeXnicCenter itself. On my machine, ...


9

As we found out on golatex.de the problem is quite similar to the one in this question and this question. biber was complaining: data source C:\Users\<user>\AppData\Local\Temp\par-416e6a61\cache-46f2da95c5284272f49f4e60b997c7e3f24afb19\recode_data.xml not found in . Compilation failed in require at Biber/Utils.pm line 21. BEGIN failed--compilation ...


9

One solution it to use the silence package. According to its documentation it is able to do the following This package is designed to filter out unwanted warnings and error messages. Entire packages (including LaTeX) can be censored, but very specific messages can be targeted too. TeX’s messages are left untouched. In this example you can see how it ...


8

As commented to the question the last two problems are Adobe Acrobat specific and due to the fact that Adobe Reader locks the file for editing, hence the file cannot be changed. But some other PDF readers lead by the recent Sumatra PDF can do this seamlessly. WinEdt 6, in fact, looks for Sumatra PDF and uses it as default. Conversely, SumatraPDF also ...


7

The message means that the map-file has not been activated correctly. Normally this happens because The miktex package is defective. In this case must add it manually as described by Marco. Or You have a multiuser installation, but a local pdftex.map. In this case you must call updmap everytime you installed a font to update this local pdftex.map. ...


7

You can create a project rather than just working with regular files. Each project has a "main file", so that when you "build the project", it builds the main file, which may be different from the actively selected window/tab. Start a new project (menu option File > New Project) and specify the main file or change the main file for an existing project (menu ...


7

This is a setting of TeXnicCenter (v1.0 Stable RC 1) that can be activated/deactivated. Under Tools -> Options -> General -> Automatic replacement you need to deactivate Replace quotation marks:


6

TeXnicCenter allows you to add shortcuts to menu items only. Moreover, these shortcuts are required to be a "single-combined keypress event". Let me explain: In your preference, the choice of Shift+$ is contained in Shift+$+$. As such, you can assign the former to execute the menu sequence Insert -> Formulas -> Formula. This will insert ...


6

Updated (Sept 15,2013): I use Adobe Reader 11 (free version) and my settings are as follows. The red rectangles are used to highlight the important parts. If you use version 10, simply change the number 11 to 10. Note: Since I have added Adobe Reader 11 path to my system variable, I don't need to specify the full path in "Path of executable" section on ...


6

The DDE commands that control acrobat 10 changed compared to older versions. You can have a look here. This document is written in German, but I think the figures are self explaining. From that document, Figure 25 shows the settings Apparently it is also required to go in the acrobat settings and check a box "start savemode at start-up" (may be called ...


6

As far as I see search and replace in more than one file is not possible inside of TeXnicCenter (searching inside of one file is, though). For that you need to change to another text editor. Searching only is possible over the menu “Search” and the menu entry “Find in Files” or by pressing Ctrl+Shift+F. It does exactly what it says: It lists the findings of ...


6

I have placed this png in C:\Program Files\TeXnicCenter (I am assuming this is the build location). No. The file should be placed into the folder of your .tex document. More generally, no user files belong in C:\Program Files. As the name says, this folder is for applications only. In a properly configured Windows this folder shouldn’t even be ...


6

No answer for almost two weeks, so here my guess: You’ve chosen the wrong output profile for compiling. The template file NanoMMTA_template.tex, available in the ZIP file to be found from your link, clearly states in the preamble: %% put the discipline from the list below" %% chemistry, biology, physics, mathematics, medicine ...


5

There is an option to make your TeXnicCenter autocomplete when you start writing align* and then pressing Ctrl+ Space. So maybe it's better than using a mouse click. First if you go to your folder shown below, you'll find a lot of xml files and some toolbar icon pictures. These XML files hold the auto-complete keywords by scanning your input. You can ...


5

If you install TeXnicCenter 2.0 Beta 1, the option to compile with LuaLaTeX is already available as follows: Note that TeXnicCenter 2.0 Beta 1 (either 32 or 64 bit version) still does NOT support Unicode even though it claims to support UTF-8. That is its feature!


5

No feedback for about a month, but let’s generally summarize some possible issues, partly already mentioned in the comments: The Adobe Acrobat/Reader must be closed before recompiling the source. The security feature called Protected Mode of Adobe Reader must unfortunately be set off (!) for proper working, see answer of alex.jordan and answer of innrain ...


5

Actually, arara can be called from TeXworks as well as from TeXnicCenter. To get a XeTeX + Biber workflow, you should have the following setup: Your mwe.tex, save as UTF-8: % arara: xelatex % arara: biber % arara: xelatex \documentclass[a4paper]{scrreprt} \usepackage[backend=biber,style=authoryear,isbn=false,dashed=true]{biblatex} \bibliography{mwe.bib} ...


5

Without an MWE it is literally impossible to tell, but this looks like a small bug in TeXnicCenter. I believe breaking up your lines into smaller segments will fix the issue. The pink is likely the color the developers used to indicate that something has gone wrong (in this case, a buffer overflow is likely). This would also explain the missing functionality ...


5

Here's a way to do this in TeXnicCenter: Visit your Output Profiles (Build > Define Output Profiles / Alt + F7). TeXnicCenter creates a number of output profiles by default, including one called LaTeX > PS > PDF. Make a copy of this and call it TeX > PS > PDF. Then change the "Path to the (La)TeX compiler to use the tex.exe executable rather ...


5

I'm not sure to understand correctly your needs, but try the example below: \documentclass{article} \begin{filecontents}{examplebib.bib} @article{art1, author="First Last", title="A fictitious journal article", year=1900, journal="Journal of nothingness", volume=2, pages="1-2" } @book{boo1, author="Respectable Writer", title="A silly book", year=2000, ...


5

The table-format key is used to set up how much space siunitx reserves in a table column for numbers. As such, it should reserve enough space for the largest entry in that column. The format is the same as a number, and the input is processed by the same code. As such, if you need to reserve space for a sign then using - rather than + is recommended as with ...



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