Re: Bug in getmap?
Josef Kleber <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <[email protected]> |
Am 23.06.2014 15:09, schrieb Ulrike Fischer:
> Am Mon, 23 Jun 2014 14:29:11 +0200 schrieb Josef Kleber:
>
>> Hi,
>>
>> i just installed MiKTeX beside TeXLive to test my getmap package.
>> With some weird results. First it tries to use runscript.tlu from
>> TeXLive to run osmimage. After goggleing, i learned that there should be
>> a copy of runtexlua.exe renamed to osmimage.exe in \miktex\bin\
>> When i do that manually, i get:
>>
>> osmimage: The Lua script is not registered.
>> osmimage: Data: osmimage
>>
>> Does that mean that you can't manually install a lua script in MiKTeX?
>
> No, not if you want to use it through an exe in the miktex
> bin-folder. The path to the scripts must be registered in
> scripts.ini -- and this file is protected so you can't change it
> manually, miktex must do it.
Ah, okay! Then install.bat will not have a miktex option! ;-)
> But I just installed getmap in miktex and it worked fine. There is
> an osmimage.exe in the miktex/bin folder and the path to the script
> is registered in scripts.ini:
>
> osmimage=scripts/getmap/osmimage.lua
Good to know.
> You should perhaps check your path and other environment variables.
> If you have both texsystem they could be some interference.
Probably. I now deinstalled MiKTeX and TL2014, which i can't reinstall
at the moment. I can't download the installer.
> I also tried your example with TL14 but there getmap could not be
> found. Isn't getmap yet part of TL? CTAN seems to be down currently.
> So I can't check what's going on.
I uploaded getmap during the freeze of TL2013. There still is a delay in
package generation.
> Btw: While your script works fine with your example address it
> doesn't like mine: The city name (Mönchengladbach) doesn't work
> correctly.
>
> utf8 + Mönchengladbach -> error when pdflatex tries to include the
> graphics (pdflatex in miktex doesn't like Umlauts in graphic names).
>
> ansinew + Mönchengladbach, or Moenchengladbach: no error but no
> correct map either (only water and the text "solomon river").
>
> The only thing that worked was to remove the city name and to use
> only the Postleitzahl. I found not way to search for streetnames
> with Umlauts.
TL2013 still running! ;-)
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage[overwrite]{getmap}
\begin{document}
\getmap{Hürenhof, 41065 Mönchengladbach, Deutschland}
\includegraphics[width=10cm]{osmimage}
\end{document}
Works fine here with TL2013. I can confirm a problem with utf8.
Strangely, this worked before uploading. I will look into it.
As Würg-around use inputencoding=utf-8 as option:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage[inputencoding=utf-8,overwrite]{getmap}
\begin{document}
\getmap{Hürenhof, 41065 Mönchengladbach, Deutschland}
\includegraphics[width=10cm]{osmimage}
\end{document}
It also works with lualatex without inputenc.
Josef
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems