Highlighted

Word output - CSS error

Explorer ,
Sep 16, 2019

Copy link to clipboard

Copied

Adobe RoboHelp 2019
2019.0.9

 

When generating output using the Word preset, RH gives the following error message.  

 

//Error:
//Unhandled
//CssParser error: line 343 col 3: invalid identity. CSS => /**/
//body {
//font-family:'Segoe UI';
//font-size:13px
//}

 

Does anyone know why this CSS is generating an error? 

 

PS I had to add // to the code sample to get this message to post.

Views

201

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Word output - CSS error

Explorer ,
Sep 16, 2019

Copy link to clipboard

Copied

Adobe RoboHelp 2019
2019.0.9

 

When generating output using the Word preset, RH gives the following error message.  

 

//Error:
//Unhandled
//CssParser error: line 343 col 3: invalid identity. CSS => /**/
//body {
//font-family:'Segoe UI';
//font-size:13px
//}

 

Does anyone know why this CSS is generating an error? 

 

PS I had to add // to the code sample to get this message to post.

Views

202

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 16, 2019 0
Adobe Community Professional ,
Sep 16, 2019

Copy link to clipboard

Copied

Could you open the css file in your project in code view and post the code for the body tag and one tag either side of it? I haven't tried posting code, but if you're having problems, just post a screenshot.

 

The error suggests there's some syntax or character that isn't valid, but I'm not sure what's going on. And sometimes these errors get the lines wrong, so the error could be a bit either side of where it says.

 

When I get home, I can double check what the code view looks like, and hopefully post some more detailed information and questions.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 16, 2019 0
Explorer ,
Sep 16, 2019

Copy link to clipboard

Copied

I've attached an image to the original post.

The second screenshot shows line 343 which the error log says is the problem

CssParser error: line 343 col 3: invalid identity. CSS => /**/

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 16, 2019 0
Adobe Community Professional ,
Sep 16, 2019

Copy link to clipboard

Copied

BTW. You can paste images into the body of a reply. After pasting there's a short delay while it uploads, then you may see a smaller version of the image but anyone needing to see it can expand the image.

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 16, 2019 0
Adobe Community Professional ,
Sep 16, 2019

Copy link to clipboard

Copied

I can't see anything obvious in the css you posted. All I can think of is that maybe the word output processor doesn't deal well with CSS variables (the text starting with two dashes -- ). I can't test the theory though, as I can't generate Word output at all at the moment - I need to research system requirements.

 

Could you try generating Word output with one of the sample projects? If that works, I'd then try adding a style or two with variables to see what happens.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 16, 2019 0
Explorer ,
Sep 16, 2019

Copy link to clipboard

Copied

I'll try one of the sample. Also, if you use a Word template instead of the RH CSS, it still generates an error.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 16, 2019 0
Adobe Community Professional ,
Sep 16, 2019

Copy link to clipboard

Copied

Could you try commenting out all or some of that section to see if it helps?

I had a problem with RoboHelp Reimagined and my usual template I created a new one with just some basic styles in it and that worked. The problem with the original one is being investigated. The project also generated with no template set.

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 16, 2019 0
Explorer ,
Sep 19, 2019

Copy link to clipboard

Copied

It made no difference. It still shows the same error message. I've commented out entire blocks and still same prob.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 19, 2019 0
Adobe Community Professional ,
Sep 19, 2019

Copy link to clipboard

Copied

Try it with the attached "template". Obviously it will not be your styles but I have been able to generate using it.

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 19, 2019 0