From your screenshot, I noticed you inserted the import at line 111 (instead of line 1), so I guess you have other CSS rules before it, which is wrong.
Also the error clearly reads:
"@import are not allowed after
any" valid statement..." so it is self-descriptive.
I'm afraid I can not help you if you are not following my advice.
Please use a clean (new) .css file
I just sent the correct .css file (containing only the 2 statements) to your email address so you must use that specific .css file as-is (without adding any other rules).
I used the "taskbook.ditamap" bookmap from the sample project in <oXygen/> XML Editor 20.1, build 2018061313 to test the DITA Map PDF - Based on DITA and CSS, using this custom.css file and you can see in the below screenshot that the deep numbering works correctly in the PDF output.
Exact steps to follow:
- install a clean oXygen XML v20.1 (clear of any changes)
- open in the DITA Maps Manager view the "taskbook.ditamap" bookmap from the "it-book" sample dita folder from oXygen's sample project (to test if it works correctly)
- go into the "Configure Transformation Scenario(s)" dialog and duplicate the predefined "
DITA Map PDF - Based on DITA and CSS (WYSIWYG)" available in the transformation scenarios list, then edit the copy.
- go into the "Parameters" tab and enable the
args.css parameter. As its value, browse for the "custom.css" file that I provided you by email, then apply the changes -> OK.
- apply the custom transformation scenario that you have just created at previous steps. Does the deep numbering work correctly?
If it does, try applying the same transformation scenario on your bookmap.
If the issue still persists even if you follow the exact above steps, I'm afraid I could not help you much, as this could be most probably related to your own customization, (be it a custom CSS of yours, modified DITA-OT files, or any other specific setup), not an oXygen functionality issue.
Please note that we can only provide support for oXygen products functionality issues, but we do not offer training, consultancy or customization services. There is a list of companies that could provide such services in the
Partners section from our website so you should feel free to contact the one of your choice if you decide so.