Re: [NTG-context] What is wrong here?
On 6/20/2016 2:24 PM, Thomas A. Schmitz wrote: On 06/20/2016 02:11 PM, Ursula Hermann wrote: \starttext \input Sigmund Freud Band1.pdf \stoptext \input is used for including ConTeXt source files. If you want to include a pdf, you have to use \externalfigure. Difficult to give further advice as we don't know what you are trying to achieve - you won't be able to get any interaction or bookmarks by including an external pdf file. actually already there for years ... \externalfigure[...][...,interaction=yes,...] yes | all | {reference,bookmark,layer} Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] What is wrong here?
Hello Thomas! Thanks for helping me. This was the right command. Uschi -Ursprüngliche Nachricht- Von: ntg-context [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Thomas A. Schmitz Gesendet: Montag, 20. Juni 2016 14:24 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] What is wrong here? On 06/20/2016 02:11 PM, Ursula Hermann wrote: > \starttext > > \input Sigmund Freud Band1.pdf > > \stoptext \input is used for including ConTeXt source files. If you want to include a pdf, you have to use \externalfigure. Difficult to give further advice as we don't know what you are trying to achieve - you won't be able to get any interaction or bookmarks by including an external pdf file. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] What is wrong here?
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] What is wrong here?
On 06/20/2016 02:11 PM, Ursula Hermann wrote: \starttext \input Sigmund Freud Band1.pdf \stoptext \input is used for including ConTeXt source files. If you want to include a pdf, you have to use \externalfigure. Difficult to give further advice as we don't know what you are trying to achieve - you won't be able to get any interaction or bookmarks by including an external pdf file. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] What is wrong here?
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/a86c089b384a3076dc514b a966a1fac9/formats/luatex/cont-en" --jobname="Bookmarks1" --lua="C:/TeXlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514b a966a1fac9/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 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? Thansk Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___