Wikipedia says that BlueGriffon can create and edit pages in accordance to HTML 4, XHTML 1.0, HTML 5 and XHTML 5. But i can't find where to choose the output format, it always creates an xhtml file when saving. Could someone give me a hint?
Thanks,
Stephan
As it turns out you can't. You can pick your new documents format, but afterwards you can't change.
Related
I’d like to have a file containing both structured data XML) and the information to display it by a browser (HTML).
Example: a pretty web page made of one photo and its EXIF data, displayable by a web broser and from which data can be imported by something understanding XML.
Is this XHTML ?
(I understand its not and XHTML is just a stricter way to write HTML)
If it is not XHTML, do you have an idea on how to achieve that ? Thanks!
When generating JavaDoc documentation in IntelliJ 2018.3.3 (Community Edition) I get this information
Constructing Javadoc information...
javadoc: warning - You have not specified the version of HTML to use.
The default is currently HTML 4.01, but this will change to HTML5
in a future release. To suppress this warning, please specify the
version of HTML used in your documentation comments and to be
generated by this doclet, using the -html4 or -html5 options.
At the moment the first statement of all generated HTML-files is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Therefore I changed the default HTML language level from HTML 4 to HTML 5 at
Project Settings - Languages & Frameworks - Schemas and DTDs - Default XML Schemas
In addition I looked at the project settings at
Editor - File and Code Templates - Default Scheme
There are templates for HTML and HTML4, but not for HTML5.
I wonder about how to change to the right version of HTML as required.
Thanks for your help!
As the message you've quoted says, you can specify the version of the HTML generated by JavaDoc by specifying the -html5 option. In IntelliJ IDEA, this option can be specified under "Other command line arguments:" in the Tools | Generate JavaDoc... dialog.
None of the other options you've tried to change have any impact on JavaDoc generation.
I'd like to use the Summoernote editor as alternative to the currently used TinyMCE, but it is a requirement to produce XHTML code.
Per default, it writes HTML5 code, f.i.:
<p>Foo<br>bar<br></p><hr><p>Baz<br></p>
What I would like to get is this:
<p>Foo<br />bar<br /></p><hr /><p>Baz<br /></p>
I can't find any reference to it, but can summernote somehow output XHTML code by a plugin or other means?
I want to indent my text in the article I am writing in docbook 5. I also need to add colors to my text. Is that possible? If so how? I tried indenting as follows but it was not visible when I took the html output of it.(Here I tried to align the text "Kerfun" to the center) I have no idea regarding the colour change. Can someone please tell me how? Where have I gone wrong?
<dbk:para text-indent="center">Kerfun</dbk:para>
<dbk:para text-indent="center">
<dbk:emphasis role="bold">Fadiah</dbk:emphasis>
</dbk:para>
You haven't specified your OS or toolchain.
To format your xml:
I'd suggest using the "xmllint -format" command
To validate your xml:
Same command could be used to ensure your document is valid against the docbook schema
To colorize your xml:
That very much depends on what editor you use. Personally I'm a fan of gvim which has XML high-lighting enabled by default.
Update
As stated I'm not a windows guy but 2 minutes of googling lead me to the following:
Notepad++ appears to have an XML plugin. Source was the following link
I want to convert / transfer HTML Transitional Code into a "MS-Word readable"-format...pdf would also do the job.
The converter should be a standalone program which I can reach by console...
P.S.: The input is created by TinyMCE and after this stored in a OracleDB
P.P.S.: It should be able to understand CSS for div-positioning
P.P.P.S: It should be Open Source :)
Thank you :)
Looks like your are looking for something like wkhtmltopdf.
Here is a guy who blogged about his integration of that tool. It can convert HTML to PDF and includes css: http://beebole.com/en/blog/general/convert-html-to-pdf-with-full-css-support-an-opensource-alternative-based-on-webkit/