---
name: "rd2"
section: "1"
platform: "linux"
package: "rdtool"
version: "0.6.38-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rd2"
---

# rd2(1)

converter from RD to other mark-up language.

## NAME

rd2 - converter from RD to other mark-up language.

## SYNOPSIS

```
    rd2 [-r <visitor>] [options] <file>
```

## DESCRIPTION

rd2 inputs from \<file\> and outputs into **STDOUT**. you can choose \<visitor\> to select output format. For example, use "rd/rd2html-lib.rb" to translate it into HTML, and "rd/rd2man-lib.rb" to tranlate it into roff with man macros.

## OPTIONS

please read output of

```
    % rd2 --help
```

and

```
    % rd2 -r rd/rd2html-lib.rb --help
```

## FILES

-

  **•** ~/.rd2rc - User configration file.

## SEE ALSO

[ruby(1)](/ruby/1.md)
