Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The configtweak semantic action #32

Open
larsbjorndal opened this issue Apr 25, 2017 · 0 comments
Open

The configtweak semantic action #32

larsbjorndal opened this issue Apr 25, 2017 · 0 comments

Comments

@larsbjorndal
Copy link

Cut&paste from an email thread on the list.

I'm processing a HTML document with file2brl. In the html.sem file I
have the following line:

configtweak h4,class,cont literaryTextTable=no-g1.ctb

When I process the HTML document, I get a line

literaryTextTable=no-g1.ctb

converted into literary braille, at the point wher

Heading text

is placed, directly followed by the
"Heading text". All text after this point is perfectly set according to
the table I specified. The problem is that the literaryTextTable=... is
printed out.

I got an answer from Paul Wood:

I know this doesn't FIX the bug, but what I have found is a) I can
reproduce the error and b) if no text is within the


then the extra text which is, I have confirmed, the text from the third
parameter is not added to the result. I imagine the programmer didn't
think that text would be present for the specified xml element used to
call the 'configtweak'. Can anyone remember who programmed this, maybe
they can shed some light on how to solve this prob?

I replied:

Yes

works. But strangely not if the tag is closed
with

, like

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant