Self-publishing has transformed from a last resort for rejected manuscripts into a legitimate and often profitable path for authors worldwide.