Tag Info

Hot answers tagged

18

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


15

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


14

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

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


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


12

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


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


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

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


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


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

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

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


6

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


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

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

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

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.


5

Just use \begin{figure}[thb]\fontsize{10pt}{12pt}\selectfont or \begin{figure}[thb]\small if small is 10pt in your class. Also you need % here {plotPadd}{% and here \def\svgwidth{0.95\textwidth}% and here \input{BLA.pdf_tex}% or you will have spurious white space in the fcolorbox


5

In TeXnicCenter, you probably pressed Escape while the "Output" window was active. This unpins it from the interface, effectively removing it from view. To restore this window in V 1.00 (Stable), follow View > Output Bar: To restore this window in V 2.02+, follow View > Tool Windows > Build Output (or Ctrl + Alt + B).


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


5

File > Save As... > Choose your encoding: The file encoding will be displayed in the bottom status bar.



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