GithubHelp home page GithubHelp logo

miktex-packaging's Introduction

MiKTeX Packaging

Tools for maintaining the MiKTeX package repository.

Prerequisites

You need:

  • a CTAN mirror
  • the TeX catalogue entry sources
  • a package staging directory (can be empty)
  • a working MiKTeX installation

Configuring

Create a build directory and run cmake as follows:

export PATH=/path/to/miktex-bin-dir:$PATH
cmake \
  -DMIKTEX_CTAN_MIRROR=/path/to/ctan-mirror \
  -DMIKTEX_TEX_CATALOGUE=/path/to/tex-catalogue/entries \
  -DMIKTEX_PACKAGE_STAGING_ROOT=/path/to/miktex-package-staging-root \
  ../source

Replace ../source with the path to this directory.

miktex-packaging's People

Contributors

edocevoli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

miktex-packaging's Issues

map-files of tex-gyre are faulty

Some of the map-files of the tex-gyre fonts are faulty (qag.map and qpl.map). They contain references to fonts with double extension .pfb.pfb, e.g. qag.map:

cs-qagr TeXGyreAdventor-Regular "encqcs ReEncodeFont" <q-cs.enc <qagr.pfb.pfb

This means that some documents fails

\documentclass{article}
\usepackage{tgadventor}
\begin{document}
\sffamily a
\end{document}

The problem has already been reported for texlive three days ago
http://tug.org/pipermail/tex-live/2018-June/041934.html
and has been corrected there but is still present in miktex.

latexindent shim points to the package's perl script, not standalone exe

The Issue

  • Miktex packages latexindent but it currently fails out of the box on Windows
  • This is because, as a perl script, a perl installation is required
  • This is not unique to latexindent, it is also true for latexmk
  • The difference is that:
    1. latexindent also required a certain perl module to be installed Log::Log4perl. Installing a perl module is significantly more involved than just installing perl. Relevant StackExchange
    2. The latexindent package actually already comes with a standalone exe file which just runs out of the box on Windows

Suggested fix

Miktex should point its latexindent.exe shim (in the bin directory) to the standalone exe rather than the perl script which requires significant effort to get running. This would allow latexindent to run out of the box on Windows.

I have posted this on the main miktex issue tracker too as I don't know which scope it falls under.

pstricks out of date on MikTeX repos

With the release of 2.80a pstricks (31-Dec build date), a bug was introduced that was confirmed by Herbert Voss. He released a corrected version of pstricks several days ago, but it still isn't appearing in the MikTeX repos. According to Herbert (who just sent me this email):

"On CTAN is a fixed version since several days. And TeXLive already has it -- Herbert"

He requested that I 'inform MikTeX' that the problem is no longer with pstricks, but with the pstricks that is made available via the MikteX repos.

texdef package: script path is wrong

The texdef package installs texdef.pl (like texlive) in scripts/texdef but scripts.ini points to

texdef=scripts/texdef/perl/texdef.pl

There are a number of aliases, e.g.

luatexdef=scripts/texdef/perl/texdef.pl

which are wrong too.

.fd-files of ipaex-type1 are in the wrong places

ipaex-type1 installs a number of . fd and .fdx files in fonts\tex\latex\ipaex-type1. This is the wrong place. They shouldn't be in the fonts folder but directly in tex\latex\ipaex-type1.

Also the case of the files is wrong. There should use uppercases for the encoding: C70, T1, TS1, OT1 - on windows it shouldn't matter but it could be a problem for the linux version.

New fontspec-Package 2.6i is needed

Now hopefully at the right place:

The bug in Fontspec 2.6h is known and Will have fixed it in 2.6i available on CTAN. But I cant it use for MikTeX, the special MikTeX-package is needed. I would quite grateful for this because it is little bit urgent.

Thank you and regards,
Matthias

babel-georgian misses georgiancaps.tex

According to the Properties in the Package Manager georgiancaps.tex is not part of babel-georgian.

But georgian.ldf loads georgiancaps.tex with \input{georgiancaps.tex}, so it seems georgiancaps.tex is part of the package and should be included in the installed files.

MWE

\documentclass{article}
\usepackage[T8M]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[georgian]{babel}
\begin{document}
გამარჯობა
\end{document}

Bad Pathing for BibLatex

I recently installed MiKTeX 2.9.6637 and package biblatex version 3.11 (I am using bibtex 0.99d). This installs many packages and files, but principally, the .bst file is installed to texmf/bibtex/bst/biblatex/biblatex.bst for me this ends up being C:\Users\<USERNAME>\AppData\Local\Programs\MiKTeX 2.9\bibtex\bst\biblatex.

To Recreate this...I created a single article file article.tex:

\documentclass{article}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{sources.bib}
\begin{document}
Lets try a citation \cite{IEEE}
\printbibliography
\end{document}

And a single sources.bib file:

@report{IEEE,
AUTHOR = {IEEE Power Engineering Society},
TITLE = {IEEE Standard Definitions for Use in Reporting Electric Generating Unit Reliability, Availability, and Productivity},
TYPE={IEEE},
NUMBER={IEEE Std 762-2006},
YEAR = {2006}
}

Running in the console:
pdflatex article.tex
bibtex article.aux

Results in

This is BibTeX, Version 0.99d (TeX Live 2015/Cygwin)
The top-level auxiliary file: article.aux
I couldn't open style file biblatex.bst
---line 3 of file article.aux
 : \bibstyle{biblatex
 :                   }
I'm skipping whatever remains of this command
I found no style file---while reading file article.aux
(There were 2 error messages)

It is unable to locate the biblatex.bst even though it is installed and in the texmf path. Copying the biblatex.bst to the local repository solves the issue with the new output

This is BibTeX, Version 0.99d (TeX Live 2015/Cygwin)
The top-level auxiliary file: article.aux
The style file: biblatex.bst
Database file #1: article-blx.bib
Database file #2: sources.bib
Biblatex version: 3.8

Running the standar pdflatex, bibtex, pdflatex, pdflatex works great when the biblatex.bst is copied into the local repository.

image

Shouldn't it be able to find the biblatex.bst in the texmf path without any intervention?

How to create my_own_package.tar.lzma ?

Dear all,
For our institution it is not possible to install packages from the www, therefore we have a package repository on an internal drive. The colleagues using MiKTeX have this drive in their settings to install the General Packages from this drive. There I stored all packages with a complete download ( a lot of packages and the miktex-zzdb1-2.9.tar.lzma, miktex-zzdb2-2.9.tar.lzma). This works. In addition to that we have own "packages" (not compressed) for presentations that fits our styles. How can I create a my_own_package.tar.lzma and how can I integrate it in (or update) miktex-zzdb1-2.9.tar.lzma und miktex-zzdb2-2.9.tar.lzma. Which tools should I use, do you have any documentation?
Regards Christiane

MiKTeX2009-pdftex.dll was not found

Hello,

I attempted to upgrade LyX to version 2.2.3. However, it does not allow me to
typeset since it says there is a system error "pdflatex.exe". LyX popped
up a box which says"

"The code execution cannot proceed because
MiKTeX2009-pdftex.dll was not found. Reinstalling the program may fix this
problem."

I tried to uninstall both LyX and MikTex, and installed them again. I am
still having the same problem.

My Windows Version is 10 Home:

OS Name Microsoft Windows 10 Home
Version 10.0.17134 Build 17134

Thank you so much for your help.

notes package minimal example not compiling

(See also Stack Exchange discussion: https://tex.stackexchange.com/questions/398061/how-to-get-notes-package-to-work-on-windows )
Using XeLaTeX on Windows with MiKTeX 2.9 (updated,) the following simple example fails to compile:

\documentclass{article}
\usepackage{notes}
\begin{document}
\begin{importantnote}
Test
\end{importantnote}
\end{document}

The error output is:

$ xelatex test.tex
This is XeTeX, Version 3.14159265-2.6-0.99998 (MiKTeX 2.9.6400 64-bit)
entering extended mode
(test.tex
LaTeX2e <2017-04-15>
Babel <3.14> and hyphenation patterns for 75 language(s) loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"))
("C:\Program Files\MiKTeX 2.9\tex\latex\notes\notes.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\trig.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-cfg\graphics.cfg")
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-def\xetex.def"))) (test.aux)

! LaTeX Error: File `hand' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.6 \end{importantnote}

Possibly incomplete 'doclicense' package

I am afraid that the doclicense package in the current (2017-11-14) repository is missing the two subdirectories images and license-texts.

For example, doclicense-CC-by.pdf, previously contained in the package's root directory, resides in a subfolder according to CTAN and does not appear in the current MiKTeX package any more.

Biblatex Package

I'm unable to install biblatex using MiKTeX.

I use a local repository because I am working from a work computer and cannot connect to an online repository due to firewall settings. To install packages, I save the .lzma file from an online CTAN repository to my local repository, and have had no issues in the past.

I updated MiKTeX on 1/3/18, but the biblatex package within the database says it was packaged on 2017-11-07, whereas the .lzma files available online were all packaged on 2017-12-31. When I try to install the package, I get a problem report that says:

"The operation could not be completed because a required file failed verification."
...
"expectedMD5="5f163e479b721e0364c5e7a93c4f73e2",
actualMD5="f3514778f05f68171d82a18cf6a84c53" "

I've tried running the MiKTeX update multiple times, but it says everything is up to date. How can I install biblatex?

piccorr.sty exists twice, one version is faulty

piccorr.sty exists twice in my miktex:

MiKTeX2.9/tex/generic/pictex/piccorr.sty
MiKTeX2.9/tex/latex/ltxmisc/piccorr.sty

The version in latex/ltxmisc is faulty: a brace is misplaced (I compared with the version in texlive) and gives errors if one use ! in math:

\documentclass{article}
\usepackage{pictexwd}
\begin{document}
$a\! b$
\end{document}

Imho the version in lxtmisc can be safely deleted.

Package definition could not be parsed

As per #34 and (#145 on Miktex tracker),

I received similar error message when I tried to Update package database as well as Check for updates. I refreshed FNDB, font map files, and changed package repository to no avail.

path="C:\Users\user\AppData\Local\Temp\mik55137\bxorigcapt.tpm", column="1024", line="2"

I suppose this is a bug that needs to be fixed? Or am I doing something wrongly?

I went to that .\Temp folder. The mik55137 folder is not present (I can see hidden files and folders.)
I'm on Windows 10, 64bit. If you need more information, let me know.

directory path has wrong / and \

In MikTex console, in Setting, Directories, how do I change Bin Directory?
It is set up wrong, wit a mix of Windows and Mac path separators:
C:\Program Files\MikTex 2.9\miktex/bin/x64

Regarding Hindi Font

I am using Windows Miktex and Tex studio where I am unable to write 'Hindi fonts'. When the pdf is generated the hindi fonts are not displayed.
help me with the Devanagari font.

Move duckuments' example-image-duck to path searched by kpsewhich

The example file example-image-duck.tex and the compiled/derived file example-image-duck.pdf of the duckuments package currently living in \doc\latex\duckuments should be moved to a path searched by kpsewhich - ideally \tex\latex\duckuments. The two files are similar in use to the example images of the mwe package that live in \tex\latex\mwe.

Ideally

\documentclass[a4paper]{article}

\usepackage{duckuments}

\begin{document}
\blindduck
\end{document}

would compile out of the box. On my system it complains about

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! duckuments error: "missing-file"
! 
! The file `example-image-duck.pdf` can't be found. Make sure to create it by
! compiling example-image-duck.tex at least once.
! 
! See the duckuments documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  

That error goes away if I move example-image-duck.pdf from \doc\latex\duckuments to \tex\latex\duckuments and refresh the file name database.

outdated package 'economic'

Hi, I can't believe I'm the first one to stumble upon this, but it's not among the open issues, so here goes: the package 'economic' in Miktex dates from 2008-12-29 according to its changelog, and packaged on 2009-01-02 according to the package manager. But on its CTAN page the latest package version is from 2009-11-18 (see https://www.ctan.org/pkg/economic). This makes a difference in some cases, for example jae.bst is missing.
Not sure whether it's a Miktex or a CTAN bug, though; because on the page above the latest update announcement is indeed from 2009-01-02. However, a file listing of the Debian/Ubuntu package texlive-bibtex-extra does include that jae.bst file.
thanks,
sven

don't distribute seminar.con under tex\latex\seminar

MiKTeX distributes the file seminar.con under tex\latex\seminar while TeXLive only distributes it in the doc folder. The reason is that seminar.con is an example configuration that causes compilation errors.

For the rationale of the TeXLive people of not shipping this file in the tex folder, see
http://www.tug.org/pipermail/tex-live/2004-October/007007.html

Ulrike Fischer also mentioned that this causes problems:
https://sourceforge.net/p/miktex/mailman/message/34065461/

And indeed only if I delete the file seminar.con I am able to compile seminar documents.

So could MiKTeX please also only distribute seminar.con in the doc folder as TeXLive?

cellprops.tpm won't parse

When trying to check for updates on MiKTeX I get the error message "The package definition file could not be parsed." I believe there is a syntax error in the cellprops.tpm file but I don't know how to open it to check. The full error info is below:

MiKTeX Problem Report
Message: The package definition file could not be parsed.
Data: path="C:\Users\Caitlin\AppData\Local\Temp\mik60486\cellprops.tpm", column="1124", line="2"
Source: Libraries\MiKTeX\PackageManager\TpmParser.cpp
Line: 330
MiKTeX: 2.9
OS: Windows 10 Home, 64-bit, build 17134
Invokers: non-existing
SystemAdmin: yes
PowerUser: no
Root0: C:\Users\Caitlin\AppData\Roaming\MiKTeX\2.9
Root1: C:\Users\Caitlin\AppData\Local\MiKTeX\2.9
Root2: C:\Users\Caitlin\AppData\Local\Programs\MiKTeX 2.9
Root3: C:\ProgramData\MiKTeX\2.9
Root4: C:\Program Files\MiKTeX 2.9
UserInstall: C:\Users\Caitlin\AppData\Local\Programs\MiKTeX 2.9
UserConfig: C:\Users\Caitlin\AppData\Roaming\MiKTeX\2.9
UserData: C:\Users\Caitlin\AppData\Local\MiKTeX\2.9
CommonInstall: C:\Program Files\MiKTeX 2.9
CommonConfig: C:\ProgramData\MiKTeX\2.9
CommonData: C:\ProgramData\MiKTeX\2.9

pathsuris.sty doesn't exist?

I renamed one of my packages (really just a .sty file) due to a naming conflict with MiKTeX and whenever I forget to change the name in the preamble of a old document and compile it I get the error message about not finding pathsuris.sty. After some searching it seems the .sty file is supposed to be in the stex package but apparently doesn't actually exist. I created a pathsuris.sty wth only \endinput and now the error message is gone. Does pathsuris.sty actually exist?

AASTeX Update

Dear MiKTeX staff,
Thanks for all of your hard work on this project that so many of us benefit from.

Would it be possible for you to update the AASTeX package with the latest classfile, v6.2? It is now available from AAS here (http://journals.aas.org/authors/aastex.html).

Thanks,
Matt

skak cannot install

skak and skaknew (for chess symbols) seems to be updated on 2018/01/08 this new version cannot be installed.

Type 1 version of the yfonts missing.

The following document uses in miktex a bitmap font for the yfrak font, while in texlive yfrak.pfb is used.

Could you add the type1 version of the yfonts? They are here: https://ctan.org/pkg/yfonts-t1

\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
\fontfamily{yfrak}\selectfont A
\end{document}

Issues with Equations in Latex

`\documentclass{beamer}

\mode {

% The Beamer class comes with a number of default slide themes
% which change the colors and layouts of slides. Below this is a list
% of all the themes, uncomment each in turn to see what they look like.

%\usetheme{default}
%\usetheme{AnnArbor}
%\usetheme{Antibes}
%\usetheme{Bergen}
%\usetheme{Berkeley}
%\usetheme{Berlin}
%\usetheme{Boadilla}
%\usetheme{CambridgeUS}
%\usetheme{Copenhagen}
%\usetheme{Darmstadt}
%\usetheme{Dresden}
%\usetheme{Frankfurt}
%\usetheme{Goettingen}
%\usetheme{Hannover}
%\usetheme{Ilmenau}
%\usetheme{JuanLesPins}
%\usetheme{Luebeck}
\usetheme{Madrid}
%\usetheme{Malmoe}
%\usetheme{Marburg}
%\usetheme{Montpellier}
%\usetheme{PaloAlto}
%\usetheme{Pittsburgh}
%\usetheme{Rochester}
%\usetheme{Singapore}
%\usetheme{Szeged}
%\usetheme{Warsaw}

% As well as themes, the Beamer class has a number of color themes
% for any slide theme. Uncomment each of these in turn to see how it
% changes the colors of your current slide theme.

%\usecolortheme{albatross}
%\usecolortheme{beaver}
%\usecolortheme{beetle}
%\usecolortheme{crane}
%\usecolortheme{dolphin}
%\usecolortheme{dove}
%\usecolortheme{fly}
%\usecolortheme{lily}
%\usecolortheme{orchid}
%\usecolortheme{rose}
%\usecolortheme{seagull}
%\usecolortheme{seahorse}
%\usecolortheme{whale}
%\usecolortheme{wolverine}

%\setbeamertemplate{footline} % To remove the footer line in all slides uncomment this line
%\setbeamertemplate{footline}[page number] % To replace the footer line in all slides with a simple slide count uncomment this line

%\setbeamertemplate{navigation symbols}{} % To remove the navigation symbols from the bottom of all slides uncomment this line

}

\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables

%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------

\title[Presentation Practice]{Presentation Practice} % The short title appears at the bottom of every slide, the full title is only on the title page

\author{Tejendra Pratap Singh} % Your name
\institute[DSE] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
{
Delhi School of Economics\ % Your institution for the title page
\medskip
\textit{[email protected]} % Your email address
}
\date{\today} % Date, can be changed to a custom date

\begin{document}

\begin{frame}
\titlepage % Print the title page as the first slide

\end{frame}

\begin{frame}
\frametitle{Overview} % Table of contents slide, comment this block out to remove it
\tableofcontents % Throughout your presentation, if you choose to use \section{} and \subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
\end{frame}

%----------------------------------------------------------------------------------------
% PRESENTATION SLIDES
%----------------------------------------------------------------------------------------

%------------------------------------------------
\section{Production Side Story} % Sections can be created in order to organize your presentation into discrete blocks, all sections and subsections are automatically printed in the table of contents as an overview of the talk
%------------------------------------------------

\subsection{Subsection Example} % A subsection can be created just before a set of slides with a common theme to further break down your presentation into chunks

\begin{frame}
\frametitle{Production Side Story}
Two Sectors
\end{frame}

\begin{frame}
\frametitle{Bullet Points}
\begin{itemize}
\item Two Sector Economy
\item Cottage Sector
\item Modern Sector
\item Modern Sector is more productive than cottage sector
\item Vestibulum faucibus velit a augue condimentum quis convallis nulla gravida- This Line I donot understand.
\end{itemize}
\end{frame}

%------------------------------------------------

\begin{frame}
\frametitle{Blocks of Highlighted Text}
\begin{block}{Theorem 1}
This can be used to place your theorems
\end{block}

\begin{block}{Theorem 2}
Like Sum of two sides of a triangle is larger thanthe third Side.
\end{block}

\begin{block}{Theorem3}
Suspendisse tincidunt sagittis gravida. Curabitur condimentum, enim sed venenatis rutrum, ipsum neque consectetur orci, sed blandit justo nisi ac lacus.
\begin{itemize}
\item I do not understand this
\end{itemize}
\end{block}
\end{frame}

%------------------------------------------------
%------------------------------------------------

\begin{frame}
\frametitle{Multiple Columns}
\begin{columns}[c] % The "c" option specifies centered vertical alignment while the "t" option is used for top vertical alignment

\column{.45\textwidth} % Left column and width
\textbf{Heading}
\begin{enumerate}
	\item Statement
	\item Explanation
	\item Example
\end{enumerate}

\column{.5\textwidth} % Right column and width
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus nisl, ultricies in feugiat rutrum, porttitor sit amet augue. Aliquam ut tortor mauris. Sed volutpat ante purus, quis accumsan dolor.

\end{columns}
\end{frame}

%------------------------------------------------
\section{Second Section Tested}
%------------------------------------------------

\begin{frame}
\frametitle{Table}
\begin{table}
\begin{tabular}{l l l} %Three Columns depicted with three lines
\toprule %for drawing the line in the table
\textbf{Treatments} & \textbf{Response 1} & \textbf{Response 2}\ %for giving headings to the columns
\midrule %for drawing the line again
Treatment 1 & 0.0003262 & 0.562 \
Treatment 2 & 0.0015681 & 0.910 \
Treatment 3 & 0.0009271 & 0.296 \
\bottomrule
\end{tabular}
\caption{Table caption} %Giving the table caption below
\end{table}
\end{frame}

%------------------------------------------------
%------------------------------------------------

\begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide
\frametitle{Verbatim}
\begin{example}[Theorem Slide Code]
\begin{verbatim}
\begin{frame}
\frametitle{Theorem}
\begin{theorem}[Mass--energy equivalence]
$E = mc^2$
\end{theorem}
\end{frame}\end{verbatim}
\end{example}
\end{frame}

%------------------------------------------------
\begin{frame}[allowframebreaks] {Framebreaking}
Hello World

\framebreak

Hello World2
\end{frame}

%------------------------------------------------
\begin{frame}[allowframebreaks] {Equations}
$U(x,y)= x+y$
\framebreak

$U(x,y)= xy$
\end{frame}
\end{document}

**The Error:

**Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "newdoc1".tex

Sorry, but miktex-makemf did not succeed for the following reason: The mathkerncmssi source file could not be found. The log file hopefully contains the information to get MiKTeX going again: C:/Users/Tej/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makemf.log You may want to visit the MiKTeX project pa

ge, if you need help.

Sorry, but miktex-makepk did not succeed for the following reason: PK font mathkerncmssi10 could not be created.

The log file hopefully contains the information to get MiKTeX going again: C:/Users/Tej/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makepk.log You may want to visit the MiKTeX project page, if you need help.

Process exited with error(s)

Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "newdoc1".tex

Sorry, but miktex-makemf did not succeed for the following reason: The mathkerncmssi source file could not be found. The log file hopefully contains the information to get MiKTeX going again: C:/Users/Tej/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makemf.log You may want to visit the MiKTeX project pa

ge, if you need help.

Sorry, but miktex-makepk did not succeed for the following reason: PK font mathkerncmssi10 could not be created. The log file hopefully contains the information to get MiKTeX going again: C:/Users/Tej/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makepk.log You may want to visit the MiKTeX project page, if you need help.

Process exited with error(s)**

`**

Verification failed when downloading MiKTeX using Net Installer on Windows 7

I get the following error when trying to download MikTeX complete distribution on Windows 7 64 bit:

"The operation could not be completed because a required file failed verification.

Details: package = "oberdiek",
arhiveFile="C:\miktex-repository\oberdiek.tar.lzma","


See below excerpt from the download log:

downloading ftp://mirror.ox.ac.uk/sites/ctan.org/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma...
176218 bytes, 192.06 KB/Sec
downloading ftp://mirror.ox.ac.uk/sites/ctan.org/systems/win32/miktex/tm/packages/miktex-zzdb2-2.9.tar.lzma...
998374 bytes, 544.37 KB/Sec
downloading ftp://mirror.ox.ac.uk/sites/ctan.org/systems/win32/miktex/tm/packages/oberdiek.tar.lzma (expecting 15077138 bytes)...
15077138 bytes, 1031.51 KB/Sec

An error occurred:
source file: Libraries\MiKTeX\PackageManager\PackageInstaller.cpp
source line: 1402
message: The operation could not be completed because a required file failed verification.
info: package="oberdiek", arhiveFile="C:\miktex-repository\oberdiek.tar.lzma", expectedMD5="d2ead9c3cec2daa1f1c55c4cdbd3470e", actualMD5="0b720aae84ad1eb189a34ebcff2b814d"

latexdiff

Hi, guys -

It seems latexdiff does not work under the most recent version of MiKTeX 2.9. When I try to run it, I get the following error message:

Command Line: cmd.exe /C latexdiff.exe "C:\Users\MT\Desktop\test\pub.2.tex" "pub.1.tex" > "pub.1_diff.tex"
Startup Folder: C:\Users\MT\Desktop\test

utf8 "\xBD" does not map to Unicode at C:\Program Files\MiKTeX 2.9\scripts\latexdiff\latexdiff line 1107, chunk 1.
utf8 "\xBD" does not map to Unicode at C:\Program Files\MiKTeX 2.9\scripts\latexdiff\latexdiff line 1107, chunk 1.
Malformed UTF-8 character: \xbd (unexpected continuation byte 0xbd, with no preceding start byte) in pattern match (m//) at C:\Program Files\MiKTeX 2.9\scripts\latexdiff\latexdiff line 1383.
Malformed UTF-8 character (fatal) at C:\Program Files\MiKTeX 2.9\scripts\latexdiff\latexdiff line 1383.

Please fix.
Thanks

Biber/biblatex version troubles

biblatex 3.8 has been released to CTAN, shortly after 3.8a was published with an emergency bug fix and corrected documentation. Those versions expect Biber 2.8. Currently there are problems building Biber on Linux and Mac OS (cf. plk/biber#187, plk/biber#188), so Biber could not yet be released (neither to CTAN, nor to TeX live).

This leaves us in the undesirable state that the biblatex version on CTAN is out of sync with Biber.
With the 2017-11-05 update MikTeX also ships biblatex 3.8, but does not update Biber resulting in the same version incompatibility.

From what I can gather from http://tug.org/pipermail/tex-live/2017-November/040777.html and http://tug.org/pipermail/tex-live/2017-November/040779.html the TeX live maintainers took the decision to downgrade biblatex back to 3.7 to ensure that biblatex and Biber work together properly.
If possible it would be good if MikTeX could do the same and go back to biblatex 3.7 until Biber 2.8 can finally be released.

biblatex 3.7 can be found at https://sourceforge.net/projects/biblatex/files/biblatex-3.7/ should that be necessary.

nodetree package is incomplete

nodetree.ins creates three files from the dtx: nodetree.sty, nodetree.tex and nodetree.lua.

The instructions in the ins say that only the sty should be put in a searchable folder, but this is wrong. All three files are needed. In texlive they are in \tex\luatex\nodetree

%run with lualatex
\documentclass{article}
\usepackage{nodetree}
\begin{document}
nodetree
\end{document}

Poppler package warning

Today (October 26, 2017) I got this warning after update:

initexmf: warning: The link target F:\LaTEX\texmfs\install\miktex/bin\miktex-pdfsig.exe does not exist.

As far as I know miktex-poppler-bin should provide miktex-pdfsig.exe but currently the file is not present. I am not sure how it's crucial but decide report the possible issue.

Stale filed in packaged version of caption package 2018/04/16

The source-subfolder at e.g. https://ftp.rrze.uni-erlangen.de/ctan/systems/win32/miktex/tm/packages/caption.tar.lzma contains the updated files while e.g. the tex-subfolder contains files from 2016. I experience this problem with every mirror I choose and thus cannot update the package. Instead, the Miktex console tells me that the package was correctly updated. I was referred here from https://github.com/axelsommerfeldt/caption/issues/7

margbib package

The margbib package (https://ctan.org/pkg/margbib) is not available in MikTeX. Is there any reason for that or would it be possible to have a MikTeX package for that package as well? It is in TeX live so license wise things should be fine (I think, I remember TeX live being slightly more fussy about non-free licenses than MikTeX).

pdfcrop: The script could not be found.

Same issue as "#2080 pdfcrop: The Perl script could not be found. " since last update of Miktex.

When calling pdfcrop.exe one get's the following error:
pdfcrop: The script could not be found.
pdfcrop: Data: ScriptEngine="perl", name="pdfcrop", path="scripts/pdfcrop/pdfcrop.pl"

Actually pdfcrop.pl is located in
scripts/pdfcrop/perl
whereas it is assumed to be in
scripts/pdfcrop/
.

Everything worked fine before the last update.

makeglossaries, printglossaries in glossaries not working with MiTeX 2.9.67 bugs with WinEdt 10.3 editor

I am using MikTeX 2.9 for compiling LaTeX file using WinEdt 10.3 editor. The file is a book (named as mainbook.tex) with glossaries. But on using the package [glossaries](https://ctan.org/pkg/glossaries?lang=en) the WinEdt is unable to print the glossaries. The following are the messages

This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6745 64-bit)
entering extended mode
(mainbook.tex
LaTeX2e <2018-04-01> patch level 5

on running makeglossaries command it produces the following message

makeglossaries: The script engine could not be found.
makeglossaries: Data: scriptEngine="perl.exe"

I have tested with TexMaker, Texworks editor also. It's not working. It may be some issues with perl script.
Please rectify this issues in MiKTeX as makeglossaries not working

I am receiving these warning
pdfTeX warning (dest): name{glo:m} has been referenced but does not exist, replaced by a fixed one Further on simply running of MakeGlossary gives following messages Command Line: makeindex.exe -s "mainbook.ist" -t "mainbook.glg" -o "mainbook.gls" "mainbook.glo" Index style file mainbook.ist not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]

I have also raised a query on this matter in TeX.SX

Package updates: libcurl, libhunspell, libmpfr, libpng, libicu

tl;dr: Is there a way to force miktex to use libcurl4, libhunspell-1.6, libmpfr6, libpng16, and libicu60?

I'm trying to install MiKTeX on Linux Mint 19 (Tara) using the instructions on your site:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889

It tells me there's a missing key. I can provide more info but I don't think it's germane to the problems I'm experiencing. So I continue with:

echo "deb http://miktex.org/download/ubuntu xenial universe" | sudo tee /etc/apt/sources.list.d/miktex.list
sudo apt-get update

It returns: " Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://miktex.org/download/ubuntu xenial InRelease' doesn't support architecture 'i386'"
When I run
sudo apt-get install miktex
it tells me that I have held packages. I check
sudo dpkg --get-selections hold
to find out that I do not have any packages held. I attempt
sudo aptitude install miktex
It tells me that miktex depends upon libcurl3, which requires removing libcurl4. I could do this, but aptitude also tells me that libhunspell-1.3-0, libicu55, libmpfr4, and libpng12-0 are virtual packages and not provided by any available package. Aptitude does not see that libhunspell-1.6-0, libicu60, libmpfr6, and libpng16-0 could be downgraded to the versions miktex requires. Manually attempting to apt install or aptitude install these packages fails with "No candidate version found for "

Now I could individually download these packages from ubuntu and follow with sudo dpkg -i <pkgname>, but then I'd have to do that for all additional dependencies, and I don't know how deep that tree goes. Furthormere, I won't be able to tell if a manual install would break other package dependencies.

Halp pls? Either a way to get miktex to use the updated package versions or a way for apt-get/ aptitude to find those packages (giving me some confidence that downgrading will not break my system).

the metafun format of metapost can not be used in miktex

The following document fails in miktex with the error message

(luamplib)               ! I can't open file `metafun.mp'.
% Run with lualatex
\documentclass{article}
\usepackage{luamplib}
\begin{document}

\mplibsetformat{metafun}
\begin{mplibcode}
beginfig(1);
drawarrow (0,0)--(10,10);
endfig;
\end{mplibcode}

\end{document}

The missing file (and the other needed by this format) are in texlive in \texmf-dist\metapost\context . Would it be possible to get them in miktex too? There is no need to build some format, simply the existence of the files is enough to get the example working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.