troubleshooting
PDF Generation Errors
# PDF Generation Errors
Common issues when generating PDFs and how to fix them.
## Error: "PDF generation failed"
### Causes
- Invalid LaTeX syntax
- Missing special character escaping
- Compilation timeout
### Solutions
1. **Check LaTeX syntax**
- Ensure all $ symbols are balanced
- Escape special characters: `, $, %, &, #
2. **Simplify the document**
- Remove complex LaTeX commands
- Break into smaller sections
3. **Check error messages**
- Look in the chat for specific error details
- Ask the AI to fix LaTeX errors
## Error: "Timeout"
### Causes
- Document too large
- Complex LaTeX processing
### Solutions
1. **Reduce document size**
- Split into multiple documents
- Remove unnecessary content
2. **Simplify formatting**
- Use simpler LaTeX commands
- Reduce number of images
## Error: "Invalid characters"
### Causes
- Unescaped special characters
- Unsupported Unicode characters
### Solutions
1. **Escape special characters**
```
Use \$ instead of $
Use \% instead of %
```
2. **Remove unsupported characters**
- Stick to standard ASCII
- Use LaTeX commands for special symbols
## Still Having Issues?
- Check the [Troubleshooting Guide](/help/troubleshooting)
- [Contact Support](/contact)