{"componentChunkName":"component---node-modules-gatsby-theme-document-src-templates-docs-js","path":"/groff","result":{"data":{"mdx":{"body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Groff\",\n  \"description\": \"Groff tutorial\"\n};\n\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\n\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h2\", {\n    \"id\": \"man-pages\"\n  }, \"Man pages\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"man groff\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"man groff_ms\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"man groff_char\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"man eqn\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"man tbl\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"man pic\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"man refer\"))), mdx(\"p\", null, \"Groff is a document formatting system. It is a typesetting system that creates formatted output when given plain text mixed with formatting commands.\"), mdx(\"p\", null, \"All the instructions on this page are targeted to the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"ms\"), \" macros. You can find the man pages by typing \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"man groff_ms\"), \".\"), mdx(\"h2\", {\n    \"id\": \"conversions\"\n  }, \"Conversions\"), mdx(\"h3\", {\n    \"id\": \"from-ms-to-pdf\"\n  }, \"From .ms to .pdf\"), mdx(\"pre\", null, mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {}), \"groff -ms test.ms -T pdf > test.pdf\\n\")), mdx(\"h3\", {\n    \"id\": \"mathematical-from-ms-to-pdf\"\n  }, \"Mathematical from .ms to .pdf\"), mdx(\"pre\", null, mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {}), \"groff -ms -e test.ms -T pdf > test.pdf\\n\")), mdx(\"p\", null, \"It uses the \", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"eqn\"), \" preprocessor\"), mdx(\"h2\", {\n    \"id\": \"example\"\n  }, \"Example\"), mdx(\"pre\", null, mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {}), \".TL\\nMy Document Title\\n.AU\\nThe author of the document\\n\\n\\n.NH\\nThis is a numbered Header\\n.NH 2\\nThis is a numbered sub header\\n.NH 3\\nThis is a numbered sub sub header\\n\\n.SH\\nThis is a non numbered Header\\n\\n\\n.PP\\nThis is an indented parapraph\\n.LP\\nThis is an un-indented paragraph\\n\\n.PP\\nThis is another paragraph, but\\n.B \\\"this text is in bold\\\".\\nIn addition,\\n.I \\\"this text is in italics\\\",\\nand\\n.BI \\\"this is bold italic\\\".\\n\")), mdx(\"h2\", {\n    \"id\": \"tables\"\n  }, \"Tables\"), mdx(\"pre\", null, mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {}), \".TS\\ntab(#);\\nc c c .\\nName#Surname#Position\\nJohn#Doe#Programmer\\nAlice#Doe#Publisher\\n.TE\\n\")), mdx(\"p\", null, \"To compile, you must use the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"tbl\"), \" preprocessor:\"), mdx(\"pre\", null, mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {}), \"groff -ms -t test.ms -T pdf > test.pdf\\n\")), mdx(\"p\", null, \"More info at \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"man tbl\")), mdx(\"h2\", {\n    \"id\": \"8-bit-characters\"\n  }, \"8 Bit Characters\"), mdx(\"p\", null, \"If you want to convert a \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \".ms\"), \" document that uses non common 8 bit characters (basically all languages except English), you must use this command:\"), mdx(\"pre\", null, mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {}), \"preconv test.ms | groff -ms -T pdf > test.pdf\\n\")), mdx(\"p\", null, \"For the full list of characters, visit \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"man groff_char\")));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"url":"#man-pages","title":"Man pages"},{"url":"#conversions","title":"Conversions","items":[{"url":"#from-ms-to-pdf","title":"From .ms to .pdf"},{"url":"#mathematical-from-ms-to-pdf","title":"Mathematical from .ms to .pdf"}]},{"url":"#example","title":"Example"},{"url":"#tables","title":"Tables"},{"url":"#8-bit-characters","title":"8 Bit Characters"}]},"frontmatter":{"title":"Groff","description":"Groff tutorial"}}},"pageContext":{"isCreatedByStatefulCreatePages":false,"id":"3f8e96b4-9f3c-51cb-9035-d1edf086ffd1"}}}