# Re: [ProofPower] Generating PDF files with texdvi and docdvi

```On 14/04/2010 17:03, Roger Bishop Jones wrote:
```
`On Wednesday 14 Apr 2010 16:07, Rob Arthan wrote:`
```
```
```Can you test texpdf on wrk066 from maths_egs? makeindex
produces some garbled entries resulting in LaTeX erros
when I try running it by hand.
```
```No, doesn't work.

! Extra }, or forgotten \$.
<argument>  ...\mathgroup \symAMSb \relax R\egroup
{}\kern
.06em\vbox {\hrule...
l.34            47}

?
! Emergency stop.
<argument>  ...\mathgroup \symAMSb \relax R\egroup
{}\kern
.06em\vbox {\hrule...
l.34            47}

!  ==>  Fatal error occurred, no output PDF file produced!

My tex isn't good enough to know what's up there.

```
makeindex is having several problems: it is rejecting some index entries and garbling others. This LaTeX error is caused by it deleting everything up to the "bgroup" in something beginning "... \m...@bgroup". Some combination of your sed commands and your index style file (rbjpp.ist), probably the former, need to be changed to protect special characters like "!" and multiple occurrences of "@". I have attached a small file which shows all the problems. Note that you get error messages from makeindex the first time you run texpdf but not on subsequent runs (even though the errors persist). I don't fully understand your sed commands (why do you change "@@" into "@"?), so you are perhaps better placed to look into this.
```
```
Do you need hierarchic indexes? If not, then it might be better to write a shell function in texpdf (and texdvi) to gather multiple entries for the same name rather than use makeindex.
```
Regards,

Rob.

```
```  Do you use printindex to
include the index in your documents?
```
```Yes

RBJ

_______________________________________________
Proofpower mailing list
Proofpower@lemma-one.com
http://lemma-one.com/mailman/listinfo/proofpower_lemma-one.com

```
```
```

forrbj.doc.gz
Description: GNU Zip compressed data

```_______________________________________________
Proofpower mailing list
Proofpower@lemma-one.com
http://lemma-one.com/mailman/listinfo/proofpower_lemma-one.com
```