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

Commas are stripped off in latex #5

Open
pauleil opened this issue Mar 28, 2011 · 6 comments
Open

Commas are stripped off in latex #5

pauleil opened this issue Mar 28, 2011 · 6 comments

Comments

@pauleil
Copy link

pauleil commented Mar 28, 2011

How do I make commas (e.g., "x,y") show up?
I tried {{latex(${x,y})}} and {{latex(${x{,}y})}}
but in both cases I get simply "xy".
I am using Redmine 1.1.2 w/Textile (i.e., default setup).

@ndl
Copy link
Owner

ndl commented Mar 30, 2011

Please follow the steps described in the installation documentation at https://www.ndl.kiev.ua/content/redmine-wiki-external-filter-plugin - pay special attention to the 6th step (Redmine core patching for arguments preservation).

I'm closing the issue for now, please reopen it if patching does not help.

@ndl ndl closed this as completed Mar 30, 2011
@pauleil
Copy link
Author

pauleil commented Apr 7, 2011

I followed your instructions (i.e., applied the patch for 1.0.2 and skipped to step 7, ignoring the rest of step 6).
It doesn't help. I am using Textile.
Anything else I should try?

@pauleil
Copy link
Author

pauleil commented Apr 7, 2011

I don't have the permissions to reopen this issue.

@ndl ndl reopened this Apr 11, 2011
@ndl
Copy link
Owner

ndl commented May 2, 2011

Sorry for delay with the answer ... Try replacing the command you use for processing the input with latex by something like cat > /tmp/test.txt and examine that file after macro is rendered. This way you should be able to see what exactly is passed as the input to the latex package.

@pauleil
Copy link
Author

pauleil commented May 3, 2011

I'm not sure if I understand your instructions. Your plugin uses latex installed on my system to generate the output, right? What command are you referring to? Could you be more specific?
Or are you referring to somehow passing an argument to {{latex(${x,y})}}, to save the output in test.txt?

@ndl
Copy link
Owner

ndl commented May 3, 2011

Your plugin uses latex installed on my system to generate the output, right?

Not exactly: my plugin with its default config does not support latex at all.

From your question I assumed that you've modified its config to add support for the latex (though I've not tried it, it should be more or less trivial), and the command I refer to in my previous comment was the command that should have been added to wiki_external_filter config to add latex support.

If you have not modified default wiki_external_filter config in any way to add latex support - then you should not expect it to work at all ...

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

2 participants