[racket] Help generating PDF documents with Scribble
Could be well Windiws 7. I have experienced the same type of problem and
solved it by removing the read-only vink in the properties of the whole
Racket directory. When installing a new nightly build I (sometimes?) have to
repeat that.
Jos
> -----Original Message-----
> From: users-bounces at racket-lang.org
> [mailto:users-bounces at racket-lang.org] On Behalf Of George Rudolph
> Sent: sábado, 23 de marzo de 2013 3:09
> To: Matthew Flatt
> Cc: users at racket-lang.org
> Subject: Re: [racket] Help generating PDF documents with Scribble
>
> Matt,
> I am beginning to think it is a Windows 7 problem and has
> something to do with file permissions.
> Not sure how to work around that.
>
> George
>
> -----Original Message-----
> From: Matthew Flatt [mailto:mflatt at cs.utah.edu]
> Sent: Friday, March 22, 2013 12:21 PM
> To: George Rudolph
> Cc: users at racket-lang.org
> Subject: RE: [racket] Help generating PDF documents with Scribble
>
> It sounds like Scribble itself isn't really getting stuck,
> but it creates Latex that your pdflatex doesn't like.
>
> Assuming that your "example-paper2.tex" is the same as the "ex.tex"
> that I've enclosed, then there must be something in the
> document that is tripping up your version of Latex and
> doesn't bother the version of Latex that I have installed.
> Possibly it's the use of the `stabular'
> environment (via `bigtabular'), which doesn't show up with
> the default bibliography style.
>
> Does commenting out the `bigtabular' use allow the ".tex"
> file to build?
>
>
> At Fri, 22 Mar 2013 10:29:00 -0400, "George Rudolph" wrote:
> > scribble --pdf works fine if I leave out the number-style tag, yes.
> > If I do not specify a target file, I get the error saying I
> should specify one.
> >
> > Note: I obfuscated user-specific path information with **** below.
> >
> > scribble --latex ... generates a .tex file as expected,
> with numbered
> > entries, but compiling the .tex file example_paper2.tex in my LaTeX
> > editor hangs. See below, snipped for brevity:
> > -------------------
> > Command Line: latex.exe --src --interaction=errorstopmode
> --synctex=-1
> > "example_paper2.tex"
> > Startup Folder: C:\Sp13\notes
> >
> > This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) entering
> > extended mode (C:\*****\example_paper2.tex ...
> >
> > ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\wasysym\uwasy.fd")
> > -----------------------------
> >
> > WRT stack trace, when I run scribble --pdf example_paper2.scrbl and
> > ctl-c, the stacktrace is
> >
> > delete-file: cannot delete file
> > path:
> >
> C:\*****\AppData\Local\Temp\scribble-tex-to-pdf-1363962024136396202419
> > 0\example_
> > paper2.aux
> > system error: Permission denied; errno=13
> > context...:
> > c:\Racket\collects\racket\private/map.rkt:53:19: loop
> > c:\Racket\collects\racket\file.rkt:52:0: delete-directory/files
> > c:\Racket\collects\scribble\private\indirect-renderer.rkt:28:28:
> > with-handlers-handler37
> > c:\Racket\collects\racket\private\more-scheme.rkt:161:2:
> > select-handler/no-breaks
> > c:\Racket\collects\scribble\render.rkt:30:0: render31
> > c:\Racket\collects\scribble\run.rkt: [running body]
> >
> >
> >
> >
> > -----Original Message-----
> > From: Matthew Flatt [mailto:mflatt at cs.utah.edu]
> > Sent: Thursday, March 21, 2013 4:38 PM
> > To: George Rudolph
> > Cc: users at racket-lang.org
> > Subject: Re: [racket] Help generating PDF documents with Scribble
> >
> > I guess that `scribble --pdf' normally works for you, and
> >
> > scribble --latex example_paper2.scrbl
> >
> > similarly hangs?
> >
> > Does interrupting Scribble with Ctl-C provide a stack trace?
> >
> > At Thu, 21 Mar 2013 16:30:48 -0400, "George Rudolph" wrote:
> > > Matt,
> > > I am running Racket 5.3.1 on Windows 7.
> > >
> > > When I include the style parameter as you have shown,
> either in your
> > > document or mine:
> > > 1. command line
> > > scribble example_paper2.scrbl
> > > generates the expected html document.
> > > 2. command line
> > > scribble --pdf example_paper2.scrbl hangs.
> > >
> > > George
> > >
> > > -----Original Message-----
> > > From: Matthew Flatt [mailto:mflatt at cs.utah.edu]
> > > Sent: Tuesday, March 19, 2013 7:17 PM
> > > To: George Rudolph
> > > Cc: users at racket-lang.org
> > > Subject: Re: [racket] Help generating PDF documents with Scribble
> > >
> > > At Thu, 14 Mar 2013 16:52:20 -0400, "George Rudolph" wrote:
> > > > 2. Where/how can I set the option to use number-style
> in the bibliography?
> > > > I assumed it was an option in (define-cite....), but I cannot
> > > > figure out how to specify it correctly.
> > >
> > > Yes, it's an option in `define-cite'.
> > >
> > > Here's an example:
> > >
> > > ----------------------------------------
> > >
> > > #lang scribble/base
> > > @(require scriblib/autobib)
> > >
> > > @(define-cite ~cite citet generate-bibliography
> > > #:style number-style)
> > >
> > > @(define a (make-bib #:author "Alpha" #:title "A" #:date 2013))
> > > @(define b (make-bib #:author "Beta" #:title "B" #:date 2014))
> > >
> > > @title{Example}
> > >
> > > The first letter@~cite[a] and the second@~cite[b].
> > >
> > > @generate-bibliography[]
> > >
> > >
> > >
> > > ____________________
> > > Racket Users list:
> > > http://lists.racket-lang.org/users
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users