Wp2LaTeX(1)

πŸ’– Wp2LaTeX πŸ’–

okay so bestie, welcome to the manual page for Wp2LaTeX, section 1 of the General Commands Manual πŸŽ€ this is literally the whole thing, every flag, every path, no skips, i gotchu 🫢


✨ NAME ✨

wp2latex β€” the converter that takes MAC WP1.x, WP2,3,4.x, PC WP4.x, WP5.x, WP6.x .. 11.x documents and turns them into LaTeX πŸ‘‘


✨ SYNOPSIS ✨

wp2latex [input_file [output_file]] [switches]

✨ DESCRIPTION ✨

okay so wp2latex is the program that converts WordPerfect documents β€” MAC WP1.x, MAC WP2,3,4.x, PC WP4.x, WP5.x and PC WP6.x .. 11.x β€” into the LaTeX typesetting system. it's giving translator but make it typesetting πŸ’…

it's also not a one-trick pony bestie, it can convert a bunch of other formats too: AbiWord, ACCENT, docbook, HTML, RTF, T602 and Word 97 🌈

and the feature list in the current version? obsessed. you got Headers, Tables, Equations, Centered+Right+Left text, a whole lot of extended characters (greek, math, cyrilic, accented) and of course, like, normal text πŸ’–

πŸŽ€ Options πŸŽ€

  • -accents β€” use accents to support extra accents ✨
  • -amssymb β€” pull in the additional package AMSsymb so you get special characters.
  • -arabtex β€” use arabtex.sty to support arrabic glyphs.
  • -AmsMath β€” use AmsMath together with special characters.
  • -Arevmath β€” use arevmath together with special characters.
  • -bbm β€” use the additional package bbm with special characters.
  • -copyright β€” displays copyright info related to the wp2latex package.
  • -Cyrillic β€” use cyrillic.sty to support cyrillic script.
  • -? or --help β€” write a short help on the screen. and psst, '-help images' lists supported image formats πŸ‘€
  • -charset1 β€” switch internal WordPerfect char set to set 1. this option is the default ✨
  • -charsetCZ β€” switch internal WordPerfect char set to keybcs.
  • -cjHebrew β€” allow Hebrew font translation.
  • -cp-xxx β€” switch output code table (LaTeX code page) to xxx. currently supported code pages are: 852 (ISO8); 866; 895 (Kamenicky); 1250 (Microsoft Windows); 1251; 1252; 1253; 1254; 1255; 1256; ISO8859-1; ISO8859-2; ISO8859-3; ISO8859-4; ISO8859-5; ISO8859-6; KOI8R; UTF8; none
UTF8 codepage is the default, and a codepage named none reverts to ANSI encoding πŸ’œ
  • -cp-styles β€” this feature causes writing special styles for given codepages.
  • -CurrentFontSet β€” change codepage for a current font. it's the "Magical" WP's codepage 12 πŸͺ„
  • -extract-images β€” extract images into separate files.
  • -fancyhdr β€” use package fancyhdr.sty for headers and footers.
  • -fig-output-dir β€” use this directory for storing images. prefer a relative path πŸ’… the relative path is related to the output .tex file. default value is '.'.
  • -fix-spaces β€” try to fix more spaces by ~. this might by userfull when spacess fills some space (e.g. in the table).
  • -FontEnc-T1 β€” use package fontenc.sty [T1] with additional characters.
  • -force-xxx β€” WP2LaTeX has a sophisticaded way how to autodetect file format of given document. some file formats like WP4.x could not be fully detected. turning this parameter on switches to the selected conversion module in the case when autodetection do not find any appropriate file format. xxx stands for the conversion module shortcut. these are WP3.x, WP4.x, WP5.x, WP6.x and even several non-WP ones like abiword, Accent, MTEFF, OLE Stream, HTML, RTF, T602, UNICODE and WORD. type Wp2LaTeX -v to obtain the list of them. (e.g. if you have WP4.x documents it is a good idea to use -force-WP4.x switch.)
  • -FORCE-xxx β€” this argument turns off any autodetection and enforces using of a given conversion module.
bestie, use it only if you are sure about it, and expect troubles, because your file might be corrupted πŸ’€
  • -fontenc-T1 β€” use package fontenc.sty [T1] with additional characters. available for LaTeX 2.0e.
  • -graphics β€” use style graphics.sty for Postscript images.
this setting turns off any other setting for postscript images (e.g. -input-PS).
  • -graphicx β€” use style graphicx.sty for Postscript images.
this setting turns off any other setting for postscript images (e.g. -input-PS).
  • -charset1 β€” switch internal WordPerfect char set to set 1.
  • -charsetCZ β€” switch internal WordPerfect char set to keybcs.
  • -i β€” force input filename. the next argument is supposed as input file name.
  • -ignore-tabs β€” remove all [TAB] symbols from the WP document. [TAB] characters are usually garbage and the user may not want to convert them.
  • -input-PS β€” use Postscript features in the LaTeX (mainly images).
  • -l β€” force log filename. the next argument is supposed as file name of the log file.
  • -L LANGUAGE β€” switch message translations to language LANGUAGE. it means that WP2LaTeX can communicate with you in your native language 🫢 WP2LaTeX must be compiled with the gettext library for accessing this switch.
  • -LaTeX2 β€” optimize optput for LaTex 2.09 (default).
  • -LaTeX3 β€” optimize optput for LaTex 2.e or LaTeX 3.0
  • -latexsym β€” use latexsym with special characters.
  • -LineNo β€” use package LineNo for line numbering.
  • -LongTable β€” use longtable for better tables.
  • -MakeIdx β€” use makeidx for placing index.
  • -memstream β€” do not create temporary files and store their data in memory. usually it speeds up processing ⚑ (works only if compiled with GCC >= 3.0)
  • -mxedruli β€” use mxedruli for Georgia characters.
  • -no-cjHebrew β€” disable Hebrew font translation.
  • -no-columns β€” do not translate multicolumn text to more columns. the information about newspaper columns will be lost 😭
  • -noclobber β€” prevent overwriting existing files.
  • -no-erase-strip β€” do not erase temporary files of wp2latex. you could extract nearly plain text from those files. even when this text cannot be directly used with LaTeX it could be still useful for some tasks.
  • -no-extract-images β€” turn all extracting images off.
  • -no-input-PS β€” disable using anything from Postscript in the LaTeX.
  • -no-lang-XXX β€” disable loading LaTeX localisation for a given language. e.g. -no-lang-USenglish disables switching this locale.
  • -nooptimizesection β€” turn a code, which optimizes and dectects section, off. expect more Tex errors if you do this πŸ™ˆ
  • -no-safemode β€” disable checking features β€” faster conversion. but if your document is corrupted the conversion results will be wrong πŸ’€
  • -no-shrink-images β€” turn off oversized image shrink.
  • -notexchars β€” all chars 32-128 will be converted to Tex sequencies (Default)
  • -no-ulem β€” disable using of the style ulem.sty.
  • -no-undoredo β€” expand all parts of text that might be marked as already deleted.
  • -no-wasy β€” disable additional package Wasy2 with special characters.
  • -o β€” force output filename. the next argument is supposed as input file name.
  • -optimizesection β€” turn a code, which optimizes and dectects section, on (Default).
  • -rsfs β€” allow using additional package mathrsfs with special characters.
  • -s "password" β€” password for decoding a WP5.x or WP4.x encrypted document. (WP4.x and WP5.x only)"
  • -PiFont β€” use additional package pifont.
  • -Rsfs β€” use mathrsfs with special characters.
  • -S or -silent β€” do not echo output messages. only errors are written.
  • -scalerel β€” use additional package scalerel.
  • -SS or -ssilent β€” do not output any message.
if all errors are suppressed the output file might not satisfy your expectation πŸ‘€
  • -safemode β€” check safely consistency of each object and try to fix all incorrect things. good for corrupted WP files 🩹
  • -shrink-images β€” attempt to shrink oversized vector images. EPS processed by LaTeX has a fixed internal size limit.
  • -texchars β€” do not interpret tex macros (all chars 32-128 will not be converted to Tex sequences)
  • -tipa β€” use additional package tipa with special characters.
  • -ulem β€” use ulem.sty for better underlining. some basic underlining features are included in wp2latex.sty, but without this option it is not possible to typeset underlined text longer than one line.
  • -undoredo β€” process all Undo/Redo commands and emit the last revision of text.
  • -use-all β€” use all supported styles in WP2LaTex. several styles are disabled in default. on the other side, there are exclusive group of styles e.g. Graphics ones.
  • -v β€” display information about the current version of wp2latex and output a list of currently available conversion modules (e.g. WP4.x, WP5.x).
  • -wasy β€” use additional package Wasy2 with special characters.

✨ FILES ✨

  • /usr/local/bin/wp2latex β€” the main conversion program πŸ’–
  • wp2latex.sty β€” the style for future processing in the TeX system. normally located in the directory: /usr/local/teTeX/share/texmf/tex/latex/wp2latex/
  • endnotes.sty β€” the style for including endnotes into LaTeX documents. this style was downloaded from the CTAN archive and is part of many LaTeX installations πŸŽ€
  • /usr/share/locale/cs/LC_MESSAGES/ β€” localisation file of wp2latex. this file contains translation of all messages into the given language 🌸
  • /usr/share/locale/ds/LC_MESSAGES/ β€” localisation file of wp2latex. this file contains translation of all messages into the given language 🌸

✨ SEE ALSO ✨

latex(1), tex(1)

visit one of these www pages bestie 🌈


✨ AUTHORS ✨

this program has been rewritten by the last author Jaroslav Fojtik, email (try one of these): JaFojtik@seznam.cz, JaFojtik@yandex.com πŸ’Œ

there are some other ports of this code. but now i hope, that this release is best one πŸ‘‘


✨ BUGS ✨

  • tabbings are sometimes interpreted incorrectly 😭
  • captions of formulas is loosed
  • many WP features remain unconverted
  • there remain many other LaTeX warnings during TeX processing

okay bestie that's the whole thing, no skips, no crumbs left 🌸 this page is from Wp2LaTeX(1), version 4.23, dated 31 Jul 2026 β€” slay, ate, and it's giving manual, periodt πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from