change xml info when exporting to LyXHTML
ehud.behar at protonmail.com
ehud.behar at protonmail.com
Sat Jul 9 15:54:06 UTC 2022
I want to override the default information LyX provides to my document when I export it to xml with Export->LyXHTML
At the moment the info inserted to <head> tag is
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="GENERATOR" content="LyX 2.3.6.2" />
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
I am writing my own layout file in which all my customization will be inserted.
I want for example to change the first line simply to
<!DOCTYPE html>
to add
<html lang="en">
and to include my style sheet:
<link href="css/myStyle.css" type="text/css" rel="stylesheet">
What changes should I make to the my .layout file?
I haven't found this information I am looking for in the Customization manual.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220709/29529c26/attachment.html>
More information about the lyx-users
mailing list