Giter Site home page Giter Site logo

Comments (11)

cmhughes avatar cmhughes commented on May 27, 2024

Thanks for the feedback, and sorry for my delayed response (will respond more quickly in the future).

This is an important issue, and I'm really glad that you bought it to my attention. I'll look into the issue- it would be nice to have this support UTF8.

from latexindent.pl.

cmhughes avatar cmhughes commented on May 27, 2024

Presumably this link would help: http://stackoverflow.com/questions/627661/how-can-i-output-utf-8-from-perl

I'm posting this mainly as a note to myself, but other feedback welcome.

from latexindent.pl.

cmhughes avatar cmhughes commented on May 27, 2024

Just wanted to follow-up on this issue.

Could you paste a small example into the comments here so that I can play with it. As a native English speaker I would only be guessing at what issues might come up.

Thanks in advance.

from latexindent.pl.

Tchiller avatar Tchiller commented on May 27, 2024

Hi, unluckily I am now getting this error (#2) again and can't indent anymore. But I think, this example should work:

% arara: lualatex
% arara: indent: { trace : yes, overwrite : yes }

\documentclass[ngerman]{scrartcl}
\usepackage{babel}
\usepackage{fontspec}
\usepackage{verse}
\begin{document}
\begin{verse}
Wenn ich ein Vöglein wär
und auch zwei Flügel hätt,
flög ich zu dir,
weil's aber nicht kann sein
bleib ich allhier
\end{verse}
\end{document}

To be saved as a utf8 file. Have a look on arara.log afterwards.

PS: can't paste the code correctly. There is a "" missing after each verse line.

from latexindent.pl.

cmhughes avatar cmhughes commented on May 27, 2024

Thanks for the follow-up, I'll look into it.

Regarding your other issue, have you tried installing the missing perl module? Alternatively, you could use latexindent.exe which shouldn't require any perl modules (I'll update the .exe file later today).

from latexindent.pl.

Tchiller avatar Tchiller commented on May 27, 2024

Hi, the problem is, I didn't find a solution for Win XP yet. But thanks for the new exe. Maybe this works tomorrow. I do not really understand, why I succeed sometimes, and sometimes don't...

from latexindent.pl.

cmhughes avatar cmhughes commented on May 27, 2024

When I use your sample code my indent.log doesn't contain any of the offending characters. Does yours?

from latexindent.pl.

Tchiller avatar Tchiller commented on May 27, 2024

Hi, still not able to indent. Sorry (.exe not tried, yet). But the offending characters are only visible in the arara.log or during the building process (at least in TC). indent.log just shows the workflow but not the traced text of my document.

from latexindent.pl.

Tchiller avatar Tchiller commented on May 27, 2024

12 Nov 2013 10:59:44.901 INFO CommandTrigger - 'LuaLaTeX' was successfully executed.
12 Nov 2013 10:59:44.901 INFO CommandTrigger - Running 'Indent'.
12 Nov 2013 10:59:44.901 TRACE CommandTrigger - Command: cmd /c latexindent.exe -t -w "cmhughes.tex"
12 Nov 2013 10:59:45.323 TRACE CommandTrigger - Output logging:
12 Nov 2013 10:59:45.323 TRACE CommandTrigger - % arara: lualatex
% arara: indent: { trace : yes, overwrite : yes }

\documentclass[ngerman]{scrartcl}
\usepackage{babel}
\usepackage{fontspec}
\usepackage{verse}
\begin{document}
\begin{verse}
Wenn ich ein Vöglein wär
und auch zwei Flügel hätt,
flög ich zu dir,
weil's aber nicht kann sein
bleib ich allhier
\end{verse}
\end{document}

12 Nov 2013 10:59:45.323 INFO CommandTrigger - 'Indent' was successfully executed.
12 Nov 2013 10:59:45.323 INFO CommandTrigger - All commands were successfully executed.
12 Nov 2013 10:59:45.323 INFO Arara - Done.

from latexindent.pl.

cmhughes avatar cmhughes commented on May 27, 2024

Thanks for the follow-up. It would be best to have a file that demonstrates the problem in indent.log.

from latexindent.pl.

Tchiller avatar Tchiller commented on May 27, 2024

Hi, I think it was false alarm. It is more a problem of arara logging or the main log-file. Not sure. I can't get your indent.log to be broken.
So you may close this, I guess.
Thanks anyway.

from latexindent.pl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.