On Mon, Jun 20, 2016 at 2:11 PM, Ursula Hermann wrote: Hello ! I have problem with an PDF-File. In the Editor i wrote: \setupinteraction[state=start]%don't forget this line % make chapter, section bookmarks visible when opening document \placebookmarks[title, chapter,section,subsection][title,chapter,section] \setupinteractionscreen[option=bookmark] \starttext \input Sigmund Freud Band1.pdf \stoptext Then i got this : Command Line: context.exe --synctex=-1 "Bookmarks1.tex" Startup Folder: D:\My Documents mtx-context | warning: synctex is enabled mtx-context | run 1: luatex
--fmt="C:/TeXlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en"
--jobname="Bookmarks1"
--lua="C:/TeXlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui"
--no-parse-first-line --synctex=-1 --c:currentrun=1
--c:directives="system.synctex=-1" --c:fulljobname="./Bookmarks1.tex"
--c:input="./Bookmarks1.tex" --c:kindofrun=1 --c:maxnofruns=9
--c:synctex="-1" "cont-yes.mkiv" This is LuaTeX, Version beta-0.80.0 (TeX Live 2015/W32TeX) (rev 5238) \write18 enabled. system > synctex functionality is enabled (-1)! open source > 1 > 1 >
C:/TeXlive/2015/texmf-dist/tex/context/base/cont-yes.mkiv ConTeXt ver: 2015.05.18 12:26 MKIV current fmt: 2015.7.21 int:
english/english system > 'cont-new.mkiv' loaded open source > 2 > 2 >
C:/TeXlive/2015/texmf-dist/tex/context/base/cont-new.mkiv close source > 2 > 2 >
C:/TeXlive/2015/texmf-dist/tex/context/base/cont-new.mkiv system > files > jobname 'Bookmarks1', input './Bookmarks1',
result 'Bookmarks1' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > 2 > 3 > D:/My Documents/Bookmarks1.tex fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded tex error > error on line 7 in file D:/My Documents/Bookmarks1.tex:
! I can't find file `Sigmund'. l.7 \input Sigmund Freud Band1.pdf 1 \setupinteraction[state=start]%don't forget this line 2 % make chapter, section bookmarks visible when opening document 3 \placebookmarks[title,
chapter,section,subsection][title,chapter,section] 4 \setupinteractionscreen[option=bookmark] 5 6 \starttext 7 >> \input Sigmund Freud Band1.pdf 8 \stoptext \input "Sigmund Freud Band1.pdf"
%% or
\input {Sigmund Freud Band1.pdf} Please type another input file name: I have first saved the files on my computer, then I put them together,
because I had loaded the files before. I don’t understand, what is wrong here. Can somebody help me? (at least) one blank space in the filename that acts as separator between
the filename (to load) and the rest of the text (Band1.pdf) to typeset.
Context sees \input Sigmund
and it tries to load a file named Sigmund,
as the error message shows.
Of course loading a pdf in this way is almost useless, if you are lucky you
will see garbage, but on 99.99% of cases context will emit an error message
like "invalid char" or so.
The canonical way to load a pdf is
\externalfigure[Sigmund Freud Band1.pdf]
(no need to use {} or "" in this case)
--
luigi