Just to add to the question about trans characters in fiction: the main character in the Jinx Ballou series by Dharma Kelleher is a trans woman.

This is the first one:
https://www.kobo.com/us/en/ebook/chaser-22