I figured out that I do not have 1.16 version of the TikZ-PGFPlots package. I use MiKTeX so I went to "MiKTeX Console" -> "Updates" and updated all the packages. However, pgfplots was not there, so I am forced to update it manually. I am using this answer:
The tikz offical update cycle is rather slow. However, development goes on and the latest build can be found here (tikz builds). The build has to be installed manually, but comes in the correct tex-tree-structure already.
For Windows users who use MikTeX, it is advisable to create a local-tree t...
The step (2) says "Create a new folder e.g C:\LocalTexFiles", but I have done this before to install another package (the root is "C:\localtexmf")
In there, I have a folder called "tex", and inside it I have "latex" folder and inside I have "tikz-uml.sty". However, the pgf_3.0.1a.zip file has inside it the following folders: (1) "doc", "source", "tex"
(and inside "tex" there is one folder called "latex"
As you can see, in one root directory there are multiple folders with the same name. What should I do?
Should I create a new root directory?
P.S. With this new version of MiKTeX I figured out that "C:\localtexmf" was not in "Settings -> Directories -> Path". Should I add it (again, but this time in the newer version of MiKTeX)?
(Mental note: remember that everything is concentrated in MiKTeX console, to access go to "C:\Program Files\MiKTeX 2.9\miktex\bin\x64\miktex-console_admin")
@manooooh Have you checked after clicking of packages that there are tikz packages and pgfplot listed? If not I guess you have a basic installation. I sugest to do a complete installation with the netinstaller from the MiKTeX Homepage ...
@manooooh You do not need to create/use a localtexmf! Use the possibility of the package manager, now included in MiKTeX Console (you need to click on "Packages")!
@Kurt oh, what a fool I am, if the button was there why I did not press it! Yes, there is an "pgfplots" and several "tikz". I just updated "pgfplots" and I am compiling the document, please wait
@Kurt oh, that is good to know, many thanks! I haven't touch any MiKTeX config since months (I didn't know about "MiKTeX Console")
@Kurt nope, there is still the message that "1.16" is unkown :/. I clicked on "pgfplots -> Update package database" (it took ~1 min), is it right or should I clicked first on "Install package" (which would be absurd since I use it often)?
@Kurt oh! But I compiled the document after the installation and it still appearing: "! Package pgfplots Error: Sorry, 'compat=1.16' is unknown in this context. Please use at most 'compat=1.15'."
@manooooh I added command \listfiles as first line of code into a TiKZ tex code. In the log file at the end I get then the list of used packages and version numbers ...
@Kurt for a graph I need compat=1.16. I am compiling the document with "\listfiles"
I have this:
*File List* article.cls 2018/09/03 v1.4i Standard LaTeX document class size10.clo 2018/09/03 v1.4i Standard LaTeX file (size option) babel.sty 2018/11/13 3.27 The Babel package bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to "declared" options of babel english.ldf 2017/06/06 v3.3r English support from the babel system inputenc.sty 2018/08/11 v1.3c Input encoding file fontenc.sty t1enc.def 2018/08/11 v2.0j Standard LaTeX file geometry.sty 2018/04/16 v5.8 Page Geometry
@manooooh Well, I sugest then you ask a question on the main page, that we can see the complete code and play with it. Usually you can set versions with \pgfplotsset{compat=1.15} ...
@manooooh Sorry, I ment without version number, not with ... Yes, I recognized that the image was shift to the right while testing the different numbers and none and looked for the reason ...
You can use the command line option:
pdflatex --pool-size=5000000 ....
You can also change the pool size e.g. for pdflatex permanantly:
Run on the command line
initexmf --edit-config-file pdflatex
This will open a local pdflatex.ini in the editor. Add
pool_size=4250000
Then save the file...
I end up with:
(and after typing "initexmf --dump=pdflatex"):
On the Build Output of TeXnicCenter:
And since I created a new document and compiled it, the folder containing the .tex, .aux etc. is:
What is happening? The .txt file with the name "pdflatex" which I wrote is:
I couldn't find a solution for initexmf errors.
Instead I used
\tikzset{external/system call= {pdflatex -save-size=80000
-pool-size=10000000
-extra-mem-top=50000000
-extra-mem-bot=10000000
...
No, it does not work either. I paste the code \tikzset{external/system call={...}, compile the document, and still showing the message "Sorry, but ... did not succeed" :(
@UlrikeFischer I think the message "Sorry, but MiKTeX Configuration Utility" did not succeed" is due to there no exist such .exe, since we have to manage everything using the new MiKTeX Console, right?
@UlrikeFischer done (I have clicked on the button that is on the left of the filter and then click on "pgfplots -> Update package database")
I updated it, compiled the document and the error keeps showing up
The "pdflatex.txt" file in it's last lines says:
2019-02-27 04:54:06,395-0300 INFO pdflatex - running 'initexmf' to create font map files 2019-02-27 04:54:16,634-0300 INFO pdflatex - allowing known shell commands 2019-02-27 04:54:16,635-0300 INFO pdflatex - enabling input (output) from (to) processes 2019-02-27 04:54:16,661-0300 FATAL pdflatex - Bad parameter value. 2019-02-27 04:54:16,661-0300 FATAL pdflatex - Info: parameterName="font_mem_size" 2019-02-27 04:54:16,661-0300 FATAL pdflatex - Source: libraries\miktex\texandfriends\include\miktex\texandfriends\TeXMFMemoryHandlerImpl.h
@Kurt could you please tell me if with LuaLaTeX I can get a PDF? Also, all the code that I have with using the other format, will it still be the same, or should I change things?
@manooooh The problem is not your lack of knowledge but that you click faster than you look. I would say you should spent a bit time to learn the miktex console. Open it and go through the various windows and also through the menus at the top and read what they are showing. Check also the symbols - they have tooltips. Try to find out how to switch between admin and user mode.
@UlrikeFischer I have learned a new lesson with this challenge. I will be more careful, because I worry a lot about these things. Thank you, your help has solved my problem
@manooooh I compiled the first tex code you linked to without any changings on the code with lualatex, because I got with my first try the error message capacity error when compiling with pdflatex. I never changed capacity configuration, because lualatex does it. And if I do not use very special fonts I can run the same code with lualatex too ... But at last it depends on the used code, of course ...
@barbarabeeton, @UlrikeFischer: oopsie, now that I looked closely at the TUGBoat photo with the Bär and the marmot, I realised that I am one edition short! I got my TUG2018 proceedings edition!
@DavidCarlisle regarding Javier's bug report in hyperref, I think one can expand the hyperref command before passing it to \l@section. But is it sane code from titletoc, if \def\somecontents{XXX}\l@section{\somecontents} breaks because \l@section closes a group opened by a previous \l@subsection before processing \somecontents?
In TikZ, what is the meaning of postaction and preaction
Also, what is the meaning of the code `\draw[thick,red,zigzag,postaction={ decoration={ markings, mark=at position 0.7 with \coordinate (x); }, decorate }] (-2,0) coordinate(a) -- (2,0) coordinate(b);`
@DavidCarlisle thanks, I only wanted to know if I'm getting over picky ;-). (I think he is somehow trying to decide about some formatting for the subsection entry only when the section entry has started. But I don't know if there aren't better solutions than overlapping groups).
@DavidCarlisle I guess there is no sane way to get overlarge longtables stick in the outer margin in twoside mode?
@DavidCarlisle what does once mean? tex.sx, usenet, your private file collection? (It is not really important, I only saw a question about it and started thinking.)
@DavidCarlisle texdoc usrguide.pdf works fine for me in miktex.
@egreg I have certainly seen (and used) it for the negative part of a number: $x^{-}=-\min(x,0)$. But you're talking about writing $10^{-}$ instead of $-10$, perhaps? Not sure I have ever seen that.
@HaraldHanche-Olsen At school level in the UK it is common practice to write -10 as ${}^-10$ so that it is easier to distinguish a literal for a negative number from the subtraction operator.
@mickep I tend to use the latter. But I avoid $\frac{1}{x}$ and the like, reserving the fractions for numerical fractions involving (mostly) single digit numbers.
@Jasper actually, it wouldn't make a difference for me, since I do not use webcams. :) Also, once you have a machine with an integrated iSight, every other camera looks cheap. :)
@Jasper Probably, but I think their hardware to be the best available, given our options.
@PauloCereda I got an Acer Swift 3 last year, but the backlight of the keyboard does not work as expected. It goes off after 30 seconds until you press another key. So avoid that if the backlight is important to you.
Today I tried to compile a class of mine using XeLaTeX (which I thought had worked previously). I'm getting the error message Package fontspec Error: The font "TeX Gyre Heros" cannot be found. with kpathsea:make_tex: Invalid filename TeX Gyre Heros', contains ' '` previously...
@Skillmon I assume that you have linux, and you can't use font by names from the texmf tree unless you add the tree to your fontconfig. See e.g. tex.stackexchange.com/a/257232/2388
@UlrikeFischer that seems to be the case. Do you know how to find the .otf replacements for font names (so that I don't have to bother you every time)?
@DavidCarlisle do you think we can do something about this tex.stackexchange.com/a/476742/2388 in the kernel? microtype uses a function which without luatexbase doesn't do what it is supposed to do.
local err, warn, info, log = luatexbase.provides_module(microtype.module)
microtype.warning = warn
@UlrikeFischer not really, we could of course have kept that provides_module interface returning the warning functions when luatexbase was incorporated as ltluatex but we (@JosephWright and me, I guess) decided not to, so it wouldn't really be consistent to change now, just because microtype didn't update., I haven't looked at the microtype code but is it possible to add a lua definition of microtype.warning after loading the package or is this a private table?
@UlrikeFischer oh as you have posted, loading luatexbase is easier, yes
@DavidCarlisle the error is already during loading the package/lua code: microtype detects that a luaotfload function is now defined and wants to warn about it:
if luaotfload.letterspace.keepligature then
microtype.warning("overwriting function `keepligature'")
end
@DavidCarlisle yes, but as you can see from the comments, people don't like this ;-(.
@DavidCarlisle which one? luaotfload.letterspace.keepligature? that's a documented interface to influence the ligature handling during letterspacing. So it is more or less okay that microtype overwrites it (and it does it in a sensible way). The only problem is that the warning message gives an lua error.
@UlrikeFischer oh OK the warning is just a microtype bug (or you could say that microtype has a dependency on luatexbase) I just wondered if the actual redefinition was OK, sounds like it.
@DavidCarlisle I'm not sure if the function was a good idea - if only one package defines it, it is ok, but with more package it could easily give a mess. We actually considered to remove it, it is much more sensible to set the ligatures through the font options, but then we discovered that microtype uses it and so had to keep it.