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

Possible bug in table formatting #49

Closed
mn4367 opened this issue Jan 12, 2014 · 8 comments
Closed

Possible bug in table formatting #49

mn4367 opened this issue Jan 12, 2014 · 8 comments

Comments

@mn4367
Copy link

mn4367 commented Jan 12, 2014

I have the follwing table code:

|    Col A    |    Col B    |    Col C     |
| :---------- | :---------: | -----------: |
|   Cell 1A   |   Cell 1B   |    Cell 1C   |
|   Joined Cell 2A         ||    Cell 2B   |
|   Cell 3A   |       Joined Cell 3B      ||
|   Cell 4A   |   Cell 4B   |    Cell 4C   |

Converting this code with MMD 4.5 this results in a table where Cell 2B is centered. While the alignment of Joined Cell 2A and Joined Cell 3B are clearly debatable I think that everybody would excpect that Cell 2B should be right aligned since this cell doesn't really differ from cell Cell 1C.

Michael

table

@fletcher
Copy link
Owner

This should be fixed in 314a1d8.

Thanks!

@mn4367
Copy link
Author

mn4367 commented Jan 13, 2014

Many thanks for fixing it!

Michael

@Loco16
Copy link

Loco16 commented May 12, 2014

Outputs for LaTeX and HTML are slightly different. It seems that the fix does not apply to LaTeX Output.

@fletcher
Copy link
Owner

Can you give an example? The example above works properly in LaTeX -- cell 2B is right aligned.

@Loco16
Copy link

Loco16 commented May 13, 2014

Cell 2B is right aligned, for HTML and LaTeX -- as expected. But cell 2A is left aligned in HTML output and centered in LaTeX output.

@fletcher
Copy link
Owner

OK. That's not what the above issue was about, but I committed a fix.

@Loco16
Copy link

Loco16 commented May 14, 2014

I'm sorry about the confusion and thanks for the fix.

@fletcher
Copy link
Owner

No worries!

Sent from my iPhone

On May 14, 2014, at 1:10 PM, Loco16 notifications@github.com wrote:

I'm sorry about the confusion and thanks for the fix.


Reply to this email directly or view it on GitHub.

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

3 participants