# Tag Info

## Hot answers tagged texniccenter

26

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 ...

16

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" ...

15

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.

14

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 ...

14

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: ...

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 ...

12

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 ...

12

You've enabled "End of Lines". Disable this by following View > End of Lines: Keyboard shortcut is Ctrl+Shift+9.

11

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 ...

11

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

11

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), ...

11

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: ...

10

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 ...

9

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 ...

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

Are you using MikTeX as User or as administrator? To be safe change to adminstrator, check wheather your file numcompress.sty is really in the directory C:\Program Files (x86)\MikTex 2.9\tex\latex\elsarticle. Now start MiKTeX 2.9 over Windows start -> all programms. Choose Maintenance (Admin), then Settings (admin) (Admin is important!). Now choose General ...

8

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 ...

7

You need to download the old language packages of OpenOffice Goto Dictionaries@OOo Select your language Find a download to a zip file (containing a *.aff and *.dic file) Copy all that files into your %PROGRAM_FILES%/TeXnicCenter/Language PS. Spell checking as nothing to do with LaTeX

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

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:

7

Do you know Ctrl+F2 to set a bookmark and F2 (foreward) or Shift+F2 (backward) to go to the next bookmark? You can set more than one bookmark. Just set your cursor to a second line and press Ctrl+F2. For each bookmark you will see a little blue rectangle in the line numbering. You can also open window showing all bookmarks: point in a free place after the ...

7

You could use the tabular environment: \documentclass{article} \begin{document} \begin{tabular}{r@{\enspace\textbullet\enspace}l} Address & City, State \\ Phone number & Email address \end{tabular} \end{document} The \enspace defines the horizontal spacing on either side of the bullet (thanks to Bernard for this suggestion).

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

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 ...

6

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 ...

6

You have no working format. Go to MiKTeX settings, tab "Format", select "lualatex" and click on build. If you get an error copy the error message.

6

I have started to use Sumatra PDF. This works fine (although sometimes it appears to re-open at a page directly before the page which has changed). I have tested it for both Latex => PDF and Latex => PS => PDF Source: Alexander Watson on Sep 08, 2011 URL: SyncTeX with TeXnicCenter and SumatraPDF (Windows) Text is below (for reference): To set up SyncTeX ...

6

You can also convert a regular TeX input file to a project as follows. Step 1 Let trash.tex be your regular TeX input file. Open it as shown in the following figure. Step 2 Choose Project and click Create with active file as main file as follows. Step 3 Click OK and done! Now you can TeXify the project with one-click.

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

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 ...

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