Hello,

I have a problem, my URL in a `bib-entry` has a ~ in it and I need to
escape it such that scribble correctly generates a PDF and HTML.

Steps to reproduce:

For those who run nix here's a `shell.nix` that'll reproduce a latex
environment needed by drracket to correctly generate a pdf, open
drracket from within this shell.
Please put the below into a filename called `shell.nix` and run
`nix-shell` in the same directory.

```
{ nixpkgs ?  <nixpkgs>
, pkgs ? import nixpkgs {}
}:
with pkgs;
let
latex = texlive.combine {
  inherit (texlive)
    scheme-basic
    mathabx
    wasysym
    framed
    hyphenat
    metafont
    collection-fontsrecommended
    collection-latexrecommended
    relsize
    ;};
in
pkgs.mkShell {
  buildInputs = [
    racket
    latex
  ];
}
```

This is a minimal example taken from the racket documentation on
`bibliography` and I've added a ~ to demonstrate the error, (the link
is incorrect.)

Please save the below in a file called `test.scrbl` which activates
drracket's scribble generation buttons at the top right of the GUI
(standard layout).

```
#lang scribble/manual
@(require scribble/manual )
@(bibliography
  (bib-entry #:key "Goldberg04"
             #:author "David Goldberg, Robert Bruce Findler, and Matthew Flatt"
             #:title "Super and Inner---Together at Last!"
             #:location "Object-Oriented Programming, Languages,
Systems, and Applications"
             #:date "2004"
             #:url "http://www.cs.utah.edu/~plt/publications/oopsla04-gff.pdf";)

  )
```

Now please click on the `Scribble PDF` and relish in the long latex
error, then please click `Scribble HTML` and open it in the browser.

Please remove the above `~` in the url attribute and rerun `Scribble PDF`.

Thanks in advance.

Stewart

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to