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.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to