# Tag Info

33

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

27

Can be solved by proper setting in TeXnicCenter: Go to menu: "Build"-> "Define Output Profiles." choose profile "LateX to PDF". Switch to "Viewer" tab Set-up parameters: "Executable path" should be something like (check, where have you installed Adobe Reader): C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe Parameters: "Command"...

17

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

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" expafter="}&#...

16

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

16

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

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

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

13

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

12

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: [Open("%bm.pdf",0,...

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

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

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

10

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

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

8

Adobe Reader X has a security feature called Protected Mode. By default, Protected Mode is enabled at startup. While I do not understand the details, if protected mode is enabled, TeXnikCenter's build profiles are not able to interact 100% successfully with Adobe Reader X. So along with the build profile information in @Garbage Collector's answer, you ...

8

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

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

In Adobe Reader and Acrobat (the editor) X and XI the protected mode is in Security(Enhanced) and not on the General: Adobe Acrobat: Protected View (Windows only). You need to disable that.

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

I would create a new build profile, say LaTeX > PDF (Biber), which is a copy of LaTeX > PDF (the one set up by default in TeXnicCenter): Now add biber as the BibTeX compiler: In the above "Command line arguments to pass to BibTeX", %tm refers to the file "Title (without extension)". You can also add other arguments to want to pass to biber here (...

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

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$<cursor&...

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

TeXnicCenter allows for the creation of "user text modules" that are initiated via a shortcut. To insert your own module, follow Insert>Own Text Modules>Manage Text Modules. Now you can enter a new one called (say) Separator: Once you've established the correct "before cursor" and "after cursor" combination, it is accessible via the menu selection: Or ...

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

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