CSS Syntax Error on @footnote
Having trouble installing Oxygen? Got a bug to report? Post it all here.
CSS Syntax Error on @footnote
I am writing a CSS Stylesheet for PDF Chemistry. My @page rule is:
It works as expected. But when i run a Format Document (pretty-print the whole CSS Document) i get a Syntax Error which reads:
The expected keyword for formatting is @footnotes (plural), while CSS Syntax only allows @footnote (singular).
This happens with a fresh Oxygen 26.1 on Linux.
Greetings, Frank
Code: Select all
@page {
size: A4;
@bottom-center {
content: counter(page);
color: #606060;
font-size:0.9rem;
}
@footnote {
content: leader(solid);
color: silver;
}
}
Code: Select all
System-ID: /home/frank/oxygenxml/xsltng-kosit/print-css/oxygen-chemistry.css
Fehlerlevel: error
Beschreibung: Encountered " <ATKEYWORD> "@footnote "" at line 22, column 5.
Was expecting one of:
"}" ...
";" ...
<IDENT> ...
"@top-left-corner" ...
... some more lines ...
"@right-bottom" ...
"@footnotes" ...
This happens with a fresh Oxygen 26.1 on Linux.
Greetings, Frank
-
- Posts: 601
- Joined: Wed Oct 16, 2019 3:47 pm
Re: CSS Syntax Error on @footnote
Post by julien_lacour »
Hello Frank,
We are aware of this issue and it has already been addressed in Oxygen 27.0, the format and indent function will work then.
I will notify this thread once the new version will be available.
Regards,
Julien
We are aware of this issue and it has already been addressed in Oxygen 27.0, the format and indent function will work then.
I will notify this thread once the new version will be available.
Regards,
Julien
Re: CSS Syntax Error on @footnote
Hello Frank,
The new Oxygen 27.0 was now released.
Please give it a try and see if the fix is suitable for your case.
Regards,
Mircea.
The new Oxygen 27.0 was now released.
Please give it a try and see if the fix is suitable for your case.
Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service