-
Notifications
You must be signed in to change notification settings - Fork 7
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
add double line as default border #20
Conversation
If the default is going to change, I'd prefer to do one release that keeps single as the default, with a warning that the default is going to change to double in a future release. |
I changed the default to single line and added a warning that the default would change in future releases. |
table_type == :latex && return "\\bottomrule\n\\end{tabular}" | ||
elseif border == :none | ||
table_type == :latex && return "\\bottomrule\n\\end{tabular}" | ||
@warn("default border will change to double in future releases") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're missing an end statement here. That's why the travis builds are failing.
In general, you can catch some of these mistakes locally by running ] test TexTables
on your machine. All of the tests should pass before we merge this pr.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the error and ran the build on my local machine as you suggested. The tests all passed locally.
This pull request addresses issue #6 to add a default option
border :double
for latex table borders\hline\hline
. I made this the default option, but I also included aborder :single
option to allow the user to keep\toprule' and
\bottomrule' if they want.I ran runtests.jl and there were no errors.
Let me know if there is anything I need to fix or tests that I should create.