GoldenDict does not show examples lines
up vote
0
down vote
favorite
Problem: Couldn't see examples for words usage in GoldenDict (very powerful and popular cross-platform dictionary).
I have met this problem on Linux Mint, but it can be cross-platform.
Problem core: in the source code of the articles pages I have found that tags are used as block elements without correct style formatting, so the parser doesn't show them on the page - text in the source code, but not visible.
linux styles
New contributor
add a comment |
up vote
0
down vote
favorite
Problem: Couldn't see examples for words usage in GoldenDict (very powerful and popular cross-platform dictionary).
I have met this problem on Linux Mint, but it can be cross-platform.
Problem core: in the source code of the articles pages I have found that tags are used as block elements without correct style formatting, so the parser doesn't show them on the page - text in the source code, but not visible.
linux styles
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Problem: Couldn't see examples for words usage in GoldenDict (very powerful and popular cross-platform dictionary).
I have met this problem on Linux Mint, but it can be cross-platform.
Problem core: in the source code of the articles pages I have found that tags are used as block elements without correct style formatting, so the parser doesn't show them on the page - text in the source code, but not visible.
linux styles
New contributor
Problem: Couldn't see examples for words usage in GoldenDict (very powerful and popular cross-platform dictionary).
I have met this problem on Linux Mint, but it can be cross-platform.
Problem core: in the source code of the articles pages I have found that tags are used as block elements without correct style formatting, so the parser doesn't show them on the page - text in the source code, but not visible.
linux styles
linux styles
New contributor
New contributor
New contributor
asked Nov 24 at 2:37
DaneSoul
1114
1114
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
1) On FAQ page http://goldendict.org/wiki/index.php/FAQ I found how to add custom styles for the article pages:
The article text you see is actually an HTML page. It has its own CSS style which can be arbitrarily altered. To do so, you need to create a special text file article-style.css, located in Linux in ~/.goldendict, and in Windows in %APPDATA%GoldenDict. You can put arbitrary CSS code there.
So I created such style file in the path provided.
2) I added this style to parse span blocks correctly (the way they are used in the page code):
.dsl_ex,.dsl_opt{
display: inline-block;
}
After this, you should open an article again and see that the problem is solved.
Example of how the article looks with the error and after fixing styles:
https://ibb.co/jTHesA
UPD: I have received the answer in programme support tracker, there is also the more simple solution: https://github.com/goldendict/goldendict/issues/1065
New contributor
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
1) On FAQ page http://goldendict.org/wiki/index.php/FAQ I found how to add custom styles for the article pages:
The article text you see is actually an HTML page. It has its own CSS style which can be arbitrarily altered. To do so, you need to create a special text file article-style.css, located in Linux in ~/.goldendict, and in Windows in %APPDATA%GoldenDict. You can put arbitrary CSS code there.
So I created such style file in the path provided.
2) I added this style to parse span blocks correctly (the way they are used in the page code):
.dsl_ex,.dsl_opt{
display: inline-block;
}
After this, you should open an article again and see that the problem is solved.
Example of how the article looks with the error and after fixing styles:
https://ibb.co/jTHesA
UPD: I have received the answer in programme support tracker, there is also the more simple solution: https://github.com/goldendict/goldendict/issues/1065
New contributor
add a comment |
up vote
1
down vote
1) On FAQ page http://goldendict.org/wiki/index.php/FAQ I found how to add custom styles for the article pages:
The article text you see is actually an HTML page. It has its own CSS style which can be arbitrarily altered. To do so, you need to create a special text file article-style.css, located in Linux in ~/.goldendict, and in Windows in %APPDATA%GoldenDict. You can put arbitrary CSS code there.
So I created such style file in the path provided.
2) I added this style to parse span blocks correctly (the way they are used in the page code):
.dsl_ex,.dsl_opt{
display: inline-block;
}
After this, you should open an article again and see that the problem is solved.
Example of how the article looks with the error and after fixing styles:
https://ibb.co/jTHesA
UPD: I have received the answer in programme support tracker, there is also the more simple solution: https://github.com/goldendict/goldendict/issues/1065
New contributor
add a comment |
up vote
1
down vote
up vote
1
down vote
1) On FAQ page http://goldendict.org/wiki/index.php/FAQ I found how to add custom styles for the article pages:
The article text you see is actually an HTML page. It has its own CSS style which can be arbitrarily altered. To do so, you need to create a special text file article-style.css, located in Linux in ~/.goldendict, and in Windows in %APPDATA%GoldenDict. You can put arbitrary CSS code there.
So I created such style file in the path provided.
2) I added this style to parse span blocks correctly (the way they are used in the page code):
.dsl_ex,.dsl_opt{
display: inline-block;
}
After this, you should open an article again and see that the problem is solved.
Example of how the article looks with the error and after fixing styles:
https://ibb.co/jTHesA
UPD: I have received the answer in programme support tracker, there is also the more simple solution: https://github.com/goldendict/goldendict/issues/1065
New contributor
1) On FAQ page http://goldendict.org/wiki/index.php/FAQ I found how to add custom styles for the article pages:
The article text you see is actually an HTML page. It has its own CSS style which can be arbitrarily altered. To do so, you need to create a special text file article-style.css, located in Linux in ~/.goldendict, and in Windows in %APPDATA%GoldenDict. You can put arbitrary CSS code there.
So I created such style file in the path provided.
2) I added this style to parse span blocks correctly (the way they are used in the page code):
.dsl_ex,.dsl_opt{
display: inline-block;
}
After this, you should open an article again and see that the problem is solved.
Example of how the article looks with the error and after fixing styles:
https://ibb.co/jTHesA
UPD: I have received the answer in programme support tracker, there is also the more simple solution: https://github.com/goldendict/goldendict/issues/1065
New contributor
edited Nov 24 at 11:09
New contributor
answered Nov 24 at 2:37
DaneSoul
1114
1114
New contributor
New contributor
add a comment |
add a comment |
DaneSoul is a new contributor. Be nice, and check out our Code of Conduct.
DaneSoul is a new contributor. Be nice, and check out our Code of Conduct.
DaneSoul is a new contributor. Be nice, and check out our Code of Conduct.
DaneSoul is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377930%2fgoldendict-does-not-show-examples-lines%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown