From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95213 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: What is wrong here? Date: Mon, 20 Jun 2016 14:30:22 +0200 Message-ID: References: <000001d1caec$dfd6e470$9f84ad50$@univie.ac.at> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0189550342064711607==" X-Trace: ger.gmane.org 1466425868 29892 80.91.229.3 (20 Jun 2016 12:31:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2016 12:31:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 20 14:30:57 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bEyLr-0002wj-CF for gctc-ntg-context-518@m.gmane.org; Mon, 20 Jun 2016 14:30:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F24A0F877; Mon, 20 Jun 2016 14:30:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m0HNNY8lLiee; Mon, 20 Jun 2016 14:30:36 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 1B406F8B5; Mon, 20 Jun 2016 14:30:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 07ACFF885 for ; Mon, 20 Jun 2016 14:30:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AO9pgxTJJgbE for ; Mon, 20 Jun 2016 14:30:33 +0200 (CEST) Original-Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B78BAF877 for ; Mon, 20 Jun 2016 14:30:23 +0200 (CEST) Original-Received: by mail-lf0-f45.google.com with SMTP id q132so36567791lfe.3 for ; Mon, 20 Jun 2016 05:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=e30T27emOBKRHcchwc//AeYYdffNJ2eVLCXxV5bdmhE=; b=UnIU4LSKkn+mXq6kJCcb3aLdLt2klNPK7BnoIh81Lxa5y3jdB6C7N6fyvWSzINQlHS PxZ4r5dPa/Z7SVnTRUsIbIjEDGNCa5sOyTV0WlYjfNmojecDaUi6ppGSugeq5KkToEMy ZrXN1XqYyHByVGktrKP0AoibrDuIezNYzN0uX4LqeLy4ebTkT75AAYAzidzr2GdORh8T jmo9PNQHfwrM24L4wMeaNPhDfMR88ChcZZgKzSjHIJVZLRUDEY/5QTU4yqpxqOl5RVJS oP4oWhcCl4mfbYy5UryxoCcGeX7vWfnDm5X3758GHltom76PbjNXTM3ia40P4h/GX0T6 RJaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=e30T27emOBKRHcchwc//AeYYdffNJ2eVLCXxV5bdmhE=; b=lMCAHCQ+zcGlgutDhBKDyuIpxv1ykwIYn4gq4mGE8Vvj0AeKTp9Hp0hknVIyRbwCJA KGrUbi7Fz8sfMGkhdOjkinYzpBHHOMOG/yMctk906ztSuogyUYV2AsOYyGaAdMJVnjw/ aSol5fWGfTuLqF55W4vMVybMXNRDq3nE00hMIGwW5zH+IJb6cmGqfQPTDb1D3qM+DrSz Lc8qc62hkV1iJiudp83wgrqnibQj8OItOyfH3Yt2n5CIjkODA3AiNhTeCuzlsmwNZBBP J+BIM0x68l3G+6UHAUw95PIUL6G6Z6RpkLEdmHwyp1S7jaEw+qWYftzDS9f6Np8KLQOK vE/w== X-Gm-Message-State: ALyK8tLQ+gFhVTfEedIYm2C6Fx2kmqH/V34RqIocTQ2+4AxN6xXvRkLD6iAk5IFOlJW2xC2ywBhIwCVhFq4O6g== X-Received: by 10.46.71.77 with SMTP id u74mr3974000lja.14.1466425823152; Mon, 20 Jun 2016 05:30:23 -0700 (PDT) Original-Received: by 10.25.42.194 with HTTP; Mon, 20 Jun 2016 05:30:22 -0700 (PDT) In-Reply-To: <000001d1caec$dfd6e470$9f84ad50$@univie.ac.at> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95213 Archived-At: --===============0189550342064711607== Content-Type: multipart/alternative; boundary=001a114126b2474ed00535b4de3e --001a114126b2474ed00535b4de3e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=3Dstart]%don't forget this line > > % make chapter, section bookmarks visible when opening document > > \placebookmarks[title, chapter,section,subsection][title,chapter,section] > > \setupinteractionscreen[option=3Dbookmark] > > > > \starttext > > \input Sigmund Freud Band1.pdf > > \stoptext > > > > Then i got this : > > > > Command Line: context.exe --synctex=3D-1 "Bookmarks1.tex" > > Startup Folder: D:\My Documents > > > > > > mtx-context | warning: synctex is enabled > > mtx-context | run 1: luatex > --fmt=3D"C:/TeXlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076d= c514ba966a1fac9/formats/luatex/cont-en" > --jobname=3D"Bookmarks1" > --lua=3D"C:/TeXlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076d= c514ba966a1fac9/formats/luatex/cont-en.lui" > --no-parse-first-line --synctex=3D-1 --c:currentrun=3D1 > --c:directives=3D"system.synctex=3D-1" --c:fulljobname=3D"./Bookmarks1.te= x" > --c:input=3D"./Bookmarks1.tex" --c:kindofrun=3D1 --c:maxnofruns=3D9 > --c:synctex=3D"-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=3Dstart]%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=3Dbookmark] > > 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=E2=80=99t 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) --=20 luigi --001a114126b2474ed00535b4de3e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Mon, Jun 20, 2016 at 2:11 PM, Ursula Hermann <<= a href=3D"mailto:ursula.hermann@univie.ac.at" target=3D"_blank">ursula.herm= ann@univie.ac.at> wrote:

Hello !<= u>

=C2=A0

I have=C2=A0 problem with an PDF-File.

=C2=A0

In the=C2=A0 Edito= r i wrote:

=C2=A0

\setupinteraction[state=3Dstart]%don't forget t= his line

% make chapter, section bo= okmarks visible when opening document

\placebookmarks[title, chapter,section,subsection][title,chapter,section= ]

\setupinteractionscreen[option=3D= bookmark]

=C2=A0

<= p class=3D"MsoNormal">\starttext

\i= nput Sigmund Freud Band1.pdf

\stopt= ext

=C2=A0

Then i got this :

= =C2=A0

Command Line:=C2=A0=C2=A0 co= ntext.exe --synctex=3D-1 "Bookmarks1.tex"

Startup Folder: D:\My Documents

=C2=A0

=C2=A0=

mtx-context=C2=A0=C2=A0=C2=A0=C2=A0 | war= ning: synctex is enabled

mtx-contex= t=C2=A0=C2=A0=C2=A0=C2=A0 | run 1: luatex --fmt=3D"C:/TeXlive/2015/tex= mf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex= /cont-en" --jobname=3D"Bookmarks1" --lua=3D"C:/TeXlive/= 2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/format= s/luatex/cont-en.lui" --no-parse-first-line --synctex=3D-1 --c:current= run=3D1 --c:directives=3D"system.synctex=3D-1" --c:fulljobname=3D= "./Bookmarks1.tex" --c:input=3D"./Bookmarks1.tex" --c:k= indofrun=3D1 --c:maxnofruns=3D9 --c:synctex=3D"-1" "cont-yes= .mkiv"

This is LuaTeX, Version= beta-0.80.0 (TeX Live 2015/W32TeX) (rev 5238)

\write18 enabled.

<= /u>=C2=A0

system=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > synctex functionality is enabled (-1)!<= u>

open source=C2=A0=C2=A0=C2=A0=C2=A0= > 1 > 1 > C:/TeXlive/2015/texmf-dist/tex/context/base/cont-yes.mk= iv

=C2=A0

ConTeXt=C2=A0 ver: 2015.05.18 12:26 MKIV current=C2=A0 fmt: = 2015.7.21=C2=A0 int: english/english

=C2=A0

system=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > 'cont-new.mkiv' loaded=

open source=C2=A0=C2=A0=C2=A0=C2=A0 &= gt; 2 > 2 > C:/TeXlive/2015/texmf-dist/tex/context/base/cont-new.mkiv=

close source=C2=A0=C2=A0=C2=A0 >= ; 2 > 2 > C:/TeXlive/2015/texmf-dist/tex/context/base/cont-new.mkiv

system=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 > files > jobname 'Bookmarks1', inpu= t './Bookmarks1', result 'Bookmarks1'

fonts=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 > latin modern fonts are not preloaded

languages=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > languag= e 'en' is active

open sourc= e=C2=A0=C2=A0=C2=A0=C2=A0 > 2 > 3 > D:/My Documents/Bookmarks1.tex=

fonts=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0> preloading latin modern fonts (secon= d stage)

fonts=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > 'fallback modern-designsiz= e rm 12pt' is loaded

=C2= =A0

tex error=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 > error on line 7 in file D:/My Documents/Bookmarks1.tex: ! I = can't find file `Sigmund'.

= =C2=A0

l.7 \input Sigmund=

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Freud Band1.pdf

=C2=A0

1=C2=A0=C2=A0=C2=A0=C2=A0 \setupinteraction[state=3Dstart]%don'= t forget this line

2=C2=A0=C2=A0=C2= =A0=C2=A0 % make chapter, section bookmarks visible when opening document

3=C2=A0=C2=A0=C2=A0=C2=A0 \placebook= marks[title, chapter,section,subsection][title,chapter,section]

4=C2=A0=C2=A0=C2=A0=C2=A0 \setupinteractionscr= een[option=3Dbookmark]

5<= /u>

6=C2=A0=C2=A0=C2=A0=C2=A0 \starttext

7 >>=C2=A0 \input Sigmund Freud Band1= .pdf

8=C2=A0=C2=A0=C2=A0=C2=A0 \sto= ptext

=C2=A0

=

\input "Sigmund Freud Band1.pdf"=
%% or
\input {Sigmund Freud Band1.pdf}

=C2=A0

Please type another input file name:

=C2=A0

I have f= irst saved =C2=A0the files on my computer, then I put them together, becaus= e I had loaded the files before.

<= u>=C2=A0

I don=E2=80=99t understand, w= hat is wrong here. Can somebody help me?

=C2=A0

(at least) one blank = space in the filename that acts as separator between =C2=A0the filename (to= load) and the rest of the text (Band1.pdf) to typeset.
Context s= ees \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 emi= t an error message like "invalid char" or so.
The canonical way to load a pdf is=C2=A0
\externalfigure[Sigmund Freud Band1.pdf]=C2=A0
(no need to use {} or "" in this case)

--
luigi
--001a114126b2474ed00535b4de3e-- --===============0189550342064711607== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0189550342064711607==--