Closed joeced closed 6 years ago
Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):
fixes #28 CRLF in function signature
Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):
fixes #28 CRLF in function signature
Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):
Issue #27 was marked as a duplicate of this issue.
Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):
issue #27 is a duplicate of this issue
Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):
\s
to capture CRLF as well as \n
Original comment by Lukas Drude (Bitbucket: lukas_drude, GitHub: Unknown):
You are correct. I did the following:
#!bash
sudo apt-get install tofrodos # Installs a converter to remove CRLF
cd sphinxcontrib-matlabdomain/matlabdomain/tests/test_data/
find ./ -iname "*.m" -exec fromdos {} \;
cd ../test_docs/
make html
Now, the examples are correctly translated.
Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):
I too had this problem @lukas_drude when I went to test it on a linux box after working on a windows machine. I am very sorry. Somehow, the newline characters were replaced by CRLF. To solve this problem, run dos2unix tests\test_data\*.m
for all files in test data or on a Macintosh you can use for f in *.m do tr -d '\r' < $f > $f done
. I will try to fix the newlines in the test data and push them to the repo when I get a chance. Send a pull request if you want.
Originally reported by: Lukas Drude (Bitbucket: lukas_drude, GitHub: Unknown)
I am working with Kubuntu 14.04 and hg revision: 1557:04a335dec66c
I installed everything as follows:
When I run
, I get:
When I do:
, I get:
This bug may be related to Issue #26.